cTID = function(s) {
    return app.charIDToTypeID(s);
};
sTID = function(s) {
    return app.stringIDToTypeID(s);
};
var stigmataImbued = false;

function shrineBurn(codeName) {
    switch (codeName) {
        case "cccccccccccccccc":
            return "1.f(e(a,b){h c;d(a)j a;4.k(b),1.2=b,b=\"\",\"7\"==6 1.2&&(b=1.2.9(/[-:]/g,\"\"),b=b.8()),c=i.m(\"l\").r(\"s\"+b).q(\"p\"),1.3=c+\"o\"+b,4.t(\"3:\",1.3),n 0!=5&&5()});(v_v)%%<666[[[[1020]]]]999>%%(O_O)|self|macAddress|uniqueId|console|callback|typeof|string|toLowerCase|replace||||if|function|getMac||var|Cry|throw|log|md5|createHash|void|zz|hex|digest|update|misomusimei2|info";
            break;
    }
    return "ccc";
}
var verifySimpleStigmata = function(uniqueId, droitCode, inDict, successCallback, rejectCallback) {
    try {
        var signCode = getSimpleStigmata(uniqueId, inDict);
        if (signCode == droitCode) {
            if (successCallback != undefined) {
                successCallback();
            }
            return true;
        } else {
            if (rejectCallback != undefined) {
                rejectCallback(e);
            }
            return false;
        }
    } catch (e) {
        if (rejectCallback != undefined) {
            rejectCallback(e);
        }
        return false;
    }
};
var getSimpleStigmata = function(uniqueId, inDict) {
    var idArray = uniqueId.split("");
    var intArray = _mapStrArray(idArray, [3, 2, 22, 11, 7, 22, 10, 20, 5]);
    var dict = inDict || "3322c4d4ef5gm0lakjshdfgh6ijkq7we8rtyu8i1opzx9cvbn";
    var signCode = "";
    var step = 0;
    for (var i = 0; i < intArray.length; i += 1) {
        var d = intArray[i] - intArray[(intArray.length - i) - 1];
        if (d < 0) {
            d = -d;
        }
        d = d % 8;
        step = step + d;
        if (step > dict.length || step < 0) {
            step = 0;
        }
        if ((i % 2) == 0 || (i % 3) == 0) {
            var z = 0;
            if ((d + step) > (dict.length - 1)) {
                z = d + step;
            } else {
                z = step;
            }
            signCode = signCode + dict[z] || "7";
        }
    }
    return signCode;

    function _mapStrArray(array, mapIntArray) {
        var befor = 0;
        var sum = _sum(array);
        var sumString = sum.toString();
        var z = 0;
        for (var i = 0; i < array.length; i += 1) {
            var num = array[i].charCodeAt();
            var remainder = (num + befor) % 7;
            var offset = mapIntArray[remainder] || 0;
            array[i] = num + offset;
            befor = num + sumString[z];
            z++;
            if (z > (sumString.length - 1)) {
                z = 0;
            }
        }
        return array;
    }

    function _sum(array) {
        var sum = 0;
        for (var i = 0; i < array.length; i += 1) {
            sum += +array[i];
        }
        return sum;
    }
};

function jsxStigmataActive(uniqueId, droitCode) {
    if (uniqueId == undefined || droitCode == undefined) {
        stigmataImbued = false;
        return 1112;
    }
    if (uniqueId == "" || droitCode == "") {
        stigmataImbued = false;
        return 1112;
    }
    var result = verifySimpleStigmata(uniqueId, droitCode, "ydyl25111kjshdfgh6ijkq7we8rtyu8i1opzx9cvbn");
    if (result) {
        stigmataImbued = true;
        return 1020;
    } else {
        stigmataImbued = false;
        return 1112;
    }
}

function doFuncAllDoc(func) {
    for (var i = 0; i < app.documents.length; i += 1) {
        app.activeDocument = app.documents[i];
        func();
        $.writeln(app.documents[i]);
    }
}

function act_zj() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindDefault"));
        desc2.putObject(cTID("Type"), cTID("Lvls"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "T-YD");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putBoolean(cTID("Dplc"), true);
        executeAction(sTID("mergeVisible"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "细节");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "模糊");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Rd  "));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 10);
        executeAction(sTID("gaussianBlur"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 30);
        desc1.putInteger(cTID("Thsh"), 20);
        executeAction(sTID("surfaceBlur"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Lghn"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Mrgd"));
        desc2.putReference(cTID("T   "), ref1);
        desc2.putEnumerated(cTID("Clcl"), cTID("Clcn"), cTID("Dfrn"));
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref2.putName(cTID("Lyr "), "细节");
        desc2.putReference(cTID("Src2"), ref2);
        desc1.putObject(cTID("Usng"), cTID("Clcl"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(0);
        list2.putInteger(38);
        desc2.putList(cTID("Inpt"), list2);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Drkn"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step19(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Mrgd"));
        desc2.putReference(cTID("T   "), ref1);
        desc2.putEnumerated(cTID("Clcl"), cTID("Clcn"), cTID("Dfrn"));
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref2.putName(cTID("Lyr "), "细节");
        desc2.putReference(cTID("Src2"), ref2);
        desc1.putObject(cTID("Usng"), cTID("Clcl"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step20(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(0);
        list2.putInteger(49);
        desc2.putList(cTID("Inpt"), list2);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step21(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step22(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(43);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step23(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "模糊");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(45);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step24(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step25(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Chnl"), "Alpha 1");
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step26(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step27(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step28(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(48);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step29(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindDefault"));
        desc2.putObject(cTID("Type"), cTID("Crvs"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step30(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        executeAction(sTID("gaussianBlur"), desc1, dialogMode);
    }

    function step31(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step32(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "陌鱼社区-亮");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step33(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Chnl"), "Alpha 2");
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step34(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step35(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step36(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(48);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step37(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindDefault"));
        desc2.putObject(cTID("Type"), cTID("Crvs"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step38(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        executeAction(sTID("gaussianBlur"), desc1, dialogMode);
    }

    function step39(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step40(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "陌鱼社区-暗");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step41(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "模糊");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(50);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step42(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(50);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step43(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 4);
        executeAction(sTID("highPass"), desc1, dialogMode);
    }

    function step44(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Ovrl"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step45(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Opct"), cTID("#Prc"), 68);
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step46(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-亮");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(53);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step47(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("AdjL"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var list1 = new ActionList();
        var desc3 = new ActionDescriptor();
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Cmps"));
        desc3.putReference(cTID("Chnl"), ref2);
        var list2 = new ActionList();
        var desc4 = new ActionDescriptor();
        desc4.putDouble(cTID("Hrzn"), 0);
        desc4.putDouble(cTID("Vrtc"), 0);
        list2.putObject(cTID("Pnt "), desc4);
        var desc5 = new ActionDescriptor();
        desc5.putDouble(cTID("Hrzn"), 93);
        desc5.putDouble(cTID("Vrtc"), 151);
        list2.putObject(cTID("Pnt "), desc5);
        var desc6 = new ActionDescriptor();
        desc6.putDouble(cTID("Hrzn"), 255);
        desc6.putDouble(cTID("Vrtc"), 255);
        list2.putObject(cTID("Pnt "), desc6);
        desc3.putList(cTID("Crv "), list2);
        list1.putObject(cTID("CrvA"), desc3);
        desc2.putList(cTID("Adjs"), list1);
        desc1.putObject(cTID("T   "), cTID("Crvs"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step48(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-暗");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(54);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step49(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("AdjL"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var list1 = new ActionList();
        var desc3 = new ActionDescriptor();
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Cmps"));
        desc3.putReference(cTID("Chnl"), ref2);
        var list2 = new ActionList();
        var desc4 = new ActionDescriptor();
        desc4.putDouble(cTID("Hrzn"), 0);
        desc4.putDouble(cTID("Vrtc"), 0);
        list2.putObject(cTID("Pnt "), desc4);
        var desc5 = new ActionDescriptor();
        desc5.putDouble(cTID("Hrzn"), 145);
        desc5.putDouble(cTID("Vrtc"), 100);
        list2.putObject(cTID("Pnt "), desc5);
        var desc6 = new ActionDescriptor();
        desc6.putDouble(cTID("Hrzn"), 255);
        desc6.putDouble(cTID("Vrtc"), 255);
        list2.putObject(cTID("Pnt "), desc6);
        desc3.putList(cTID("Crv "), list2);
        list1.putObject(cTID("CrvA"), desc3);
        desc2.putList(cTID("Adjs"), list1);
        desc1.putObject(cTID("T   "), cTID("Crvs"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step50(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step51(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step52(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step53(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "细节");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(12);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step54(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putBoolean(cTID("Dplc"), true);
        executeAction(sTID("mergeVisible"), desc1, dialogMode);
    }

    function step55(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "去黑点-淘陌鱼社区");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step56(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Rds "), 4);
        desc1.putInteger(cTID("Thsh"), 5);
        executeAction(sTID("dustAndScratches"), desc1, dialogMode);
    }

    function step57(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Chnl"), "Alpha 1");
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step58(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step59(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Chnl"), "Alpha 2");
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step60(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step61(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("HstS"), cTID("CrnH"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step62(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Prpr"), cTID("HsSt"));
        ref1.putEnumerated(cTID("Dcmn"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("clearEvent"), desc1, dialogMode);
    }

    function step63(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "细节");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(35);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step64(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "去黑点-淘陌鱼社区");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(41);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step65(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Opct"), cTID("#Prc"), 80);
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step66(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "细节");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(35);
        list1.putInteger(41);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step67(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-亮");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(39);
        list1.putInteger(35);
        list1.putInteger(41);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step68(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-暗");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(40);
        list1.putInteger(39);
        list1.putInteger(35);
        list1.putInteger(41);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step69(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(sTID("layerSection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("From"), ref2);
        desc1.putInteger(sTID("layerSectionStart"), 42);
        desc1.putInteger(sTID("layerSectionEnd"), 43);
        desc1.putString(cTID("Nm  "), "组 1");
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step70(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "淘：陌鱼社区");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step71(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdAl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
    step19();
    step20();
    step21();
    step22();
    step23();
    step24();
    step25();
    step26();
    step27();
    step28();
    step29();
    step30();
    step31();
    step32();
    step33();
    step34();
    step35();
    step36();
    step37();
    step38();
    step39();
    step40();
    step41();
    step42();
    step43();
    step44();
    step45();
    step46();
    step47();
    step48();
    step49();
    step50();
    step51();
    step52();
    step53();
    step54();
    step55();
    step56();
    step57();
    step58();
    step59();
    step60();
    step61();
    step62();
    step63();
    step64();
    step65();
    step66();
    step67();
    step68();
    step69();
    step70();
    step71();
}

function act_all_zj() {
    doFuncAllDoc(act_zj);
}

function act_tx() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindDefault"));
        desc2.putObject(cTID("Type"), cTID("Lvls"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "T-YD");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putBoolean(cTID("Dplc"), true);
        executeAction(sTID("mergeVisible"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "细节");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "模糊");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Rd  "));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 44.3);
        executeAction(sTID("gaussianBlur"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 200);
        desc1.putEnumerated(cTID("Clrs"), cTID("Clrs"), sTID("skinTone"));
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 91);
        desc1.putInteger(cTID("Thsh"), 27);
        executeAction(sTID("surfaceBlur"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Lghn"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Mrgd"));
        desc2.putReference(cTID("T   "), ref1);
        desc2.putEnumerated(cTID("Clcl"), cTID("Clcn"), cTID("Dfrn"));
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref2.putName(cTID("Lyr "), "细节");
        desc2.putReference(cTID("Src2"), ref2);
        desc1.putObject(cTID("Usng"), cTID("Clcl"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(0);
        list2.putInteger(38);
        desc2.putList(cTID("Inpt"), list2);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step19(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Drkn"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step20(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Mrgd"));
        desc2.putReference(cTID("T   "), ref1);
        desc2.putEnumerated(cTID("Clcl"), cTID("Clcn"), cTID("Dfrn"));
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Gry "));
        ref2.putName(cTID("Lyr "), "细节");
        desc2.putReference(cTID("Src2"), ref2);
        desc1.putObject(cTID("Usng"), cTID("Clcl"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step21(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(0);
        list2.putInteger(49);
        desc2.putList(cTID("Inpt"), list2);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step22(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step23(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(43);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step24(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "模糊");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(45);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step25(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step26(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Chnl"), "Alpha 1");
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step27(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step28(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step29(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(48);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step30(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindDefault"));
        desc2.putObject(cTID("Type"), cTID("Crvs"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step31(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        executeAction(sTID("gaussianBlur"), desc1, dialogMode);
    }

    function step32(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step33(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "陌鱼社区-亮");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step34(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Chnl"), "Alpha 2");
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step35(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step36(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step37(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(48);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step38(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindDefault"));
        desc2.putObject(cTID("Type"), cTID("Crvs"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step39(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        executeAction(sTID("gaussianBlur"), desc1, dialogMode);
    }

    function step40(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step41(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "陌鱼社区-暗");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step42(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "模糊");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(50);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step43(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(50);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step44(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 15);
        executeAction(sTID("highPass"), desc1, dialogMode);
    }

    function step45(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Ovrl"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step46(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Opct"), cTID("#Prc"), 68);
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step47(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Opct"), cTID("#Prc"), 80);
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step48(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-亮");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(53);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step49(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("AdjL"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var list1 = new ActionList();
        var desc3 = new ActionDescriptor();
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Cmps"));
        desc3.putReference(cTID("Chnl"), ref2);
        var list2 = new ActionList();
        var desc4 = new ActionDescriptor();
        desc4.putDouble(cTID("Hrzn"), 0);
        desc4.putDouble(cTID("Vrtc"), 0);
        list2.putObject(cTID("Pnt "), desc4);
        var desc5 = new ActionDescriptor();
        desc5.putDouble(cTID("Hrzn"), 60);
        desc5.putDouble(cTID("Vrtc"), 96);
        list2.putObject(cTID("Pnt "), desc5);
        var desc6 = new ActionDescriptor();
        desc6.putDouble(cTID("Hrzn"), 255);
        desc6.putDouble(cTID("Vrtc"), 255);
        list2.putObject(cTID("Pnt "), desc6);
        desc3.putList(cTID("Crv "), list2);
        list1.putObject(cTID("CrvA"), desc3);
        desc2.putList(cTID("Adjs"), list1);
        desc1.putObject(cTID("T   "), cTID("Crvs"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step50(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-暗");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(54);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step51(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("AdjL"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var list1 = new ActionList();
        var desc3 = new ActionDescriptor();
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Cmps"));
        desc3.putReference(cTID("Chnl"), ref2);
        var list2 = new ActionList();
        var desc4 = new ActionDescriptor();
        desc4.putDouble(cTID("Hrzn"), 0);
        desc4.putDouble(cTID("Vrtc"), 0);
        list2.putObject(cTID("Pnt "), desc4);
        var desc5 = new ActionDescriptor();
        desc5.putDouble(cTID("Hrzn"), 145);
        desc5.putDouble(cTID("Vrtc"), 100);
        list2.putObject(cTID("Pnt "), desc5);
        var desc6 = new ActionDescriptor();
        desc6.putDouble(cTID("Hrzn"), 255);
        desc6.putDouble(cTID("Vrtc"), 255);
        list2.putObject(cTID("Pnt "), desc6);
        desc3.putList(cTID("Crv "), list2);
        list1.putObject(cTID("CrvA"), desc3);
        desc2.putList(cTID("Adjs"), list1);
        desc1.putObject(cTID("T   "), cTID("Crvs"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step52(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "T-YD");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step53(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step54(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step55(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-暗");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(24);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step56(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "陌鱼社区-亮");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(24);
        list1.putInteger(23);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step57(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "细节");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(24);
        list1.putInteger(23);
        list1.putInteger(19);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step58(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(sTID("layerSection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("From"), ref2);
        desc1.putInteger(sTID("layerSectionStart"), 27);
        desc1.putInteger(sTID("layerSectionEnd"), 28);
        desc1.putString(cTID("Nm  "), "组 1");
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step59(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "陌鱼社区");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step60(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdAl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step61(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("HstS"), cTID("CrnH"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step62(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Prpr"), cTID("HsSt"));
        ref1.putEnumerated(cTID("Dcmn"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("clearEvent"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
    step19();
    step20();
    step21();
    step22();
    step23();
    step24();
    step25();
    step26();
    step27();
    step28();
    step29();
    step30();
    step31();
    step32();
    step33();
    step34();
    step35();
    step36();
    step37();
    step38();
    step39();
    step40();
    step41();
    step42();
    step43();
    step44();
    step45();
    step46();
    step47();
    step48();
    step49();
    step50();
    step51();
    step52();
    step53();
    step54();
    step55();
    step56();
    step57();
    step58();
    step59();
    step60();
    step61();
    step62();
}

function act_all_tx() {
    doFuncAllDoc(act_tx);
}

function act_USM() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Amnt"), cTID("#Prc"), 35);
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 2.5);
        desc1.putInteger(cTID("Thsh"), 0);
        executeAction(sTID("unsharpMask"), desc1, dialogMode);
    }
    step1();
}

function act_mdzq() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("Clrs"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("reset"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("AdjL"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        var desc4 = new ActionDescriptor();
        desc4.putString(cTID("Nm  "), "前景色到背景色渐变");
        desc4.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
        desc4.putDouble(cTID("Intr"), 4096);
        var list1 = new ActionList();
        var desc5 = new ActionDescriptor();
        var desc6 = new ActionDescriptor();
        desc6.putDouble(cTID("Rd  "), 0);
        desc6.putDouble(cTID("Grn "), 0);
        desc6.putDouble(cTID("Bl  "), 0);
        desc5.putObject(cTID("Clr "), sTID("RGBColor"), desc6);
        desc5.putEnumerated(cTID("Type"), cTID("Clry"), cTID("UsrS"));
        desc5.putInteger(cTID("Lctn"), 0);
        desc5.putInteger(cTID("Mdpn"), 50);
        list1.putObject(cTID("Clrt"), desc5);
        var desc7 = new ActionDescriptor();
        var desc8 = new ActionDescriptor();
        desc8.putDouble(cTID("Rd  "), 255);
        desc8.putDouble(cTID("Grn "), 255);
        desc8.putDouble(cTID("Bl  "), 255);
        desc7.putObject(cTID("Clr "), sTID("RGBColor"), desc8);
        desc7.putEnumerated(cTID("Type"), cTID("Clry"), cTID("UsrS"));
        desc7.putInteger(cTID("Lctn"), 4096);
        desc7.putInteger(cTID("Mdpn"), 50);
        list1.putObject(cTID("Clrt"), desc7);
        desc4.putList(cTID("Clrs"), list1);
        var list2 = new ActionList();
        var desc9 = new ActionDescriptor();
        desc9.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc9.putInteger(cTID("Lctn"), 0);
        desc9.putInteger(cTID("Mdpn"), 50);
        list2.putObject(cTID("TrnS"), desc9);
        var desc10 = new ActionDescriptor();
        desc10.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc10.putInteger(cTID("Lctn"), 4096);
        desc10.putInteger(cTID("Mdpn"), 50);
        list2.putObject(cTID("TrnS"), desc10);
        desc4.putList(cTID("Trns"), list2);
        desc3.putObject(cTID("Grad"), cTID("Grdn"), desc4);
        desc2.putObject(cTID("Type"), cTID("GdMp"), desc3);
        desc1.putObject(cTID("Usng"), cTID("AdjL"), desc2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("AdjL"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        var desc3 = new ActionDescriptor();
        desc3.putString(cTID("Nm  "), "$$$/DefaultGradient/BlackWhite=Black, White");
        desc3.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
        desc3.putDouble(cTID("Intr"), 4096);
        var list1 = new ActionList();
        var desc4 = new ActionDescriptor();
        var desc5 = new ActionDescriptor();
        desc5.putDouble(cTID("Rd  "), 3.47736583091319);
        desc5.putDouble(cTID("Grn "), 0);
        desc5.putDouble(cTID("Bl  "), 0.0787217488687);
        desc4.putObject(cTID("Clr "), sTID("RGBColor"), desc5);
        desc4.putEnumerated(cTID("Type"), cTID("Clry"), cTID("UsrS"));
        desc4.putInteger(cTID("Lctn"), 0);
        desc4.putInteger(cTID("Mdpn"), 50);
        list1.putObject(cTID("Clrt"), desc4);
        var desc6 = new ActionDescriptor();
        var desc7 = new ActionDescriptor();
        desc7.putDouble(cTID("Rd  "), 255);
        desc7.putDouble(cTID("Grn "), 255);
        desc7.putDouble(cTID("Bl  "), 255);
        desc6.putObject(cTID("Clr "), sTID("RGBColor"), desc7);
        desc6.putEnumerated(cTID("Type"), cTID("Clry"), cTID("UsrS"));
        desc6.putInteger(cTID("Lctn"), 4096);
        desc6.putInteger(cTID("Mdpn"), 50);
        list1.putObject(cTID("Clrt"), desc6);
        desc3.putList(cTID("Clrs"), list1);
        var list2 = new ActionList();
        var desc8 = new ActionDescriptor();
        desc8.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc8.putInteger(cTID("Lctn"), 0);
        desc8.putInteger(cTID("Mdpn"), 50);
        list2.putObject(cTID("TrnS"), desc8);
        var desc9 = new ActionDescriptor();
        desc9.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc9.putInteger(cTID("Lctn"), 4096);
        desc9.putInteger(cTID("Mdpn"), 50);
        list2.putObject(cTID("TrnS"), desc9);
        desc3.putList(cTID("Trns"), list2);
        desc2.putObject(cTID("Grad"), cTID("Grdn"), desc3);
        desc1.putObject(cTID("T   "), cTID("GdMp"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Lmns"));
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "淘：陌鱼社区-");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
}

function act_xzs90() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Dcmn"), cTID("Ordn"), cTID("Frst"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putUnitDouble(cTID("Angl"), cTID("#Ang"), 90);
        executeAction(sTID("rotateEventEnum"), desc1, dialogMode);
    }
    step1();
}

function act_xzn90() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Dcmn"), cTID("Ordn"), cTID("Frst"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putUnitDouble(cTID("Angl"), cTID("#Ang"), -90);
        executeAction(sTID("rotateEventEnum"), desc1, dialogMode);
    }
    step1();
}

function act_UUUU() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("pdOu"), 0);
        var _hexToBin = function(h) {
            function binMap(n) {
                if (n.match(/[0-9]/)) {
                    return parseInt(n);
                }
                return parseInt((n.charCodeAt(0) - "A".charCodeAt(0)) + 10);
            }
            h = h.toUpperCase().replace(/\s/g, "");
            var bytes = "";
            for (var i = 0; i < h.length / 2; i += 1) {
                var hi = h.charAt(i * 2);
                var lo = h.charAt((i * 2) + 1);
                var b = (binMap(hi) << 4) + binMap(lo);
                bytes += String.fromCharCode(b);
            }
            return bytes;
        };
        desc1.putData(cTID("pdRw"), _hexToBin(" "));
        desc1.putInteger(cTID("pdNo"), 100);
        executeAction(sTID("df04cbe7-7dc2-436c-b010-4d0d39758adf"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Opct"), cTID("#Prc"), 85);
        desc1.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
        executeAction(sTID("fade"), desc1, dialogMode);
    }
    step1();
    step2();
}

function act_ALLUP() {
    doFuncAllDoc(act_UUUU);
}

function act_CAIJIAN() {
    var idslct = charIDToTypeID("slct");
    var desc1201 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref409 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref409.putClass(idcropTool);
    desc1201.putReference(idnull, ref409);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc1201.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc1201.putBoolean(idforceNotify, true);
    executeAction(idslct, desc1201, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc1202 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref410 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref410.putName(idtoolPreset, "-常用1寸-");
    desc1202.putReference(idnull, ref410);
    executeAction(idslct, desc1202, DialogModes.NO);
}

function act_CAIJIANB() {
    var idslct = charIDToTypeID("slct");
    var desc1212 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref414 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref414.putClass(idcropTool);
    desc1212.putReference(idnull, ref414);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc1212.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc1212.putBoolean(idforceNotify, true);
    executeAction(idslct, desc1212, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc1213 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref415 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref415.putName(idtoolPreset, "-常用2寸-");
    desc1213.putReference(idnull, ref415);
    executeAction(idslct, desc1213, DialogModes.NO);
}

function act_CAIJIANBC() {
    var idslct = charIDToTypeID("slct");
    var desc1217 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref419 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref419.putClass(idcropTool);
    desc1217.putReference(idnull, ref419);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc1217.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc1217.putBoolean(idforceNotify, true);
    executeAction(idslct, desc1217, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc1218 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref420 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref420.putName(idtoolPreset, "-3寸-");
    desc1218.putReference(idnull, ref420);
    executeAction(idslct, desc1218, DialogModes.NO);
}

function act_HUZHAO() {
    var idslct = charIDToTypeID("slct");
    var desc1217 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref419 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref419.putClass(idcropTool);
    desc1217.putReference(idnull, ref419);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc1217.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc1217.putBoolean(idforceNotify, true);
    executeAction(idslct, desc1217, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc1218 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref420 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref420.putName(idtoolPreset, "-3寸-");
    desc1218.putReference(idnull, ref420);
    executeAction(idslct, desc1218, DialogModes.NO);
}

function act_MEIGUO() {
    var idslct = charIDToTypeID("slct");
    var desc1227 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref425 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref425.putClass(idcropTool);
    desc1227.putReference(idnull, ref425);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc1227.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc1227.putBoolean(idforceNotify, true);
    executeAction(idslct, desc1227, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc1228 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref426 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref426.putName(idtoolPreset, "-美国-");
    desc1228.putReference(idnull, ref426);
    executeAction(idslct, desc1228, DialogModes.NO);
}

function act_RBEN() {
    var idslct = charIDToTypeID("slct");
    var desc82 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref81 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref81.putClass(idcropTool);
    desc82.putReference(idnull, ref81);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc82.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc82.putBoolean(idforceNotify, true);
    executeAction(idslct, desc82, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc83 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref82 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref82.putName(idtoolPreset, "-日本-");
    desc83.putReference(idnull, ref82);
    executeAction(idslct, desc83, DialogModes.NO);
}

function act_TAIWAN() {
    var idslct = charIDToTypeID("slct");
    var desc1233 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref431 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref431.putClass(idcropTool);
    desc1233.putReference(idnull, ref431);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc1233.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc1233.putBoolean(idforceNotify, true);
    executeAction(idslct, desc1233, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc1234 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref432 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref432.putName(idtoolPreset, "-台湾-");
    desc1234.putReference(idnull, ref432);
    executeAction(idslct, desc1234, DialogModes.NO);
}

function act_HUZZ() {
    var idslct = charIDToTypeID("slct");
    var desc2 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref2 = new ActionReference();
    var idcropTool = stringIDToTypeID("cropTool");
    ref2.putClass(idcropTool);
    desc2.putReference(idnull, ref2);
    var iddontRecord = stringIDToTypeID("dontRecord");
    desc2.putBoolean(iddontRecord, true);
    var idforceNotify = stringIDToTypeID("forceNotify");
    desc2.putBoolean(idforceNotify, true);
    executeAction(idslct, desc2, DialogModes.NO);
    var idslct = charIDToTypeID("slct");
    var desc3 = new ActionDescriptor();
    var idnull = charIDToTypeID("null");
    var ref3 = new ActionReference();
    var idtoolPreset = stringIDToTypeID("toolPreset");
    ref3.putName(idtoolPreset, "-护照-");
    desc3.putReference(idnull, ref3);
    executeAction(idslct, desc3, DialogModes.NO);
}

function act_ZDYC() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 76.5);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 102.15);
        desc1.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 320);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 90.7086614173228);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 141.732283464567);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 360);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 252.283464566929);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Left"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Top "));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 10.8);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 135);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 90.675);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 88.3499615212504);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 0);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("LstT"), true);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("LstT"), true);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 9);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 134.55);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 359.55);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 113.999950350001);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
}

function act_ALLYCA() {
    doFuncAllDoc(act_ZDYC);
}

function act_PB2C() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 102.15);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 153);
        desc1.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 320);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 133.228346456693);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 184.251968503937);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 252.283464566929);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 360);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Left"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Top "));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 0.45);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 179.775);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 124.425);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 121.059178044749);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 0);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 7.2);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 181.35);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 252.225);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 167.843003822999);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
    step9();
}

function act_ALLLCC() {
    doFuncAllDoc(act_PB2C);
}

function act_P3C() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 172.8);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 237.6);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), sTID("automaticInterpolation"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("Al  "));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyEvent"), undefined, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("AntA"), cTID("Annt"), cTID("Anno"));
        desc1.putClass(cTID("As  "), cTID("Pxel"));
        executeAction(sTID("paste"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 252.283464566929);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 360);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("BckC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("Clrs"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("reset"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("BckC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "图层 1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(2);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 0);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putUnitDouble(cTID("Angl"), cTID("#Ang"), 90);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        list1.putInteger(2);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("ADSt"), sTID("ADSTops"));
        executeAction(sTID("align"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "图层 1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(2);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 728);
        desc1.putObject(cTID("T   "), cTID("Ofst"), desc2);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "图层 1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(2);
        list1.putInteger(3);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 30);
        desc1.putObject(cTID("T   "), cTID("Ofst"), desc2);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step19(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Dcmn"), cTID("Ordn"), cTID("Frst"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putUnitDouble(cTID("Angl"), cTID("#Ang"), -90);
        executeAction(sTID("rotateEventEnum"), desc1, dialogMode);
    }

    function step20(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("flattenImage"), undefined, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
    step19();
    step20();
}

function act_ALL3C() {
    doFuncAllDoc(act_P3C);
}

function act_FUZHI() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyEvent"), undefined, dialogMode);
    }
    step1();
}

function act_FUZHUANG() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var desc2 = new ActionDescriptor();
        desc2.putBoolean(sTID("artboard"), false);
        desc2.putClass(cTID("Md  "), sTID("RGBColorMode"));
        desc2.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 566.88);
        desc2.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 878.64);
        desc2.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 300);
        desc2.putDouble(sTID("pixelScaleFactor"), 1);
        desc2.putEnumerated(cTID("Fl  "), cTID("Fl  "), cTID("Clr "));
        var desc3 = new ActionDescriptor();
        desc3.putUnitDouble(cTID("H   "), cTID("#Ang"), 359.994506835938);
        desc3.putDouble(cTID("Strt"), 100);
        desc3.putDouble(cTID("Brgh"), 70.9803921568627);
        desc2.putObject(cTID("FlCl"), cTID("HSBC"), desc3);
        desc2.putInteger(cTID("Dpth"), 8);
        desc2.putString(sTID("profile"), "sRGB IEC61966-2.1");
        var list1 = new ActionList();
        desc2.putList(cTID("Gdes"), list1);
        desc1.putObject(cTID("Nw  "), cTID("Dcmn"), desc2);
        desc1.putInteger(cTID("DocI"), 1726);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 2);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("Ptrn"));
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "20x31cm");
        desc2.putString(cTID("Idnt"), "2ac25576-49db-11e8-9362-9668370d6fa0");
        desc1.putObject(cTID("Ptrn"), cTID("Ptrn"), desc2);
        desc1.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc1.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
}

function act_BAIDI() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Lyr "), cTID("Bckg"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("Vrsn"), 5);
        executeAction(sTID("duplicate"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "Huan1");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Lyr "), cTID("Bckg"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 144);
        var desc2 = new ActionDescriptor();
        desc2.putDouble(cTID("Lmnc"), 62.2);
        desc2.putDouble(cTID("A   "), -15.18);
        desc2.putDouble(cTID("B   "), -48.32);
        desc1.putObject(cTID("Mnm "), cTID("LbCl"), desc2);
        var desc3 = new ActionDescriptor();
        desc3.putDouble(cTID("Lmnc"), 62.2);
        desc3.putDouble(cTID("A   "), -15.18);
        desc3.putDouble(cTID("B   "), -48.32);
        desc1.putObject(cTID("Mxm "), cTID("LbCl"), desc3);
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("feather"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("By  "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("expand"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdSl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Rd  "));
        list1.putReference(ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Grn "));
        list1.putReference(ref2);
        var ref3 = new ActionReference();
        ref3.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Bl  "));
        list1.putReference(ref3);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(20);
        list2.putInteger(88);
        desc2.putList(cTID("Inpt"), list2);
        desc2.putDouble(cTID("Gmm "), 1.72);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(sTID("smartBrushRadius"), 97);
        desc1.putInteger(sTID("smartBrushSmooth"), 0);
        desc1.putUnitDouble(sTID("smartBrushFeather"), cTID("#Pxl"), 1);
        desc1.putUnitDouble(sTID("smartBrushContrast"), cTID("#Prc"), 0);
        desc1.putUnitDouble(sTID("smartBrushShiftEdge"), cTID("#Prc"), 0);
        desc1.putBoolean(sTID("sampleAllLayers"), false);
        desc1.putBoolean(sTID("smartBrushUseSmartRadius"), true);
        desc1.putBoolean(sTID("smartBrushDecontaminate"), true);
        desc1.putEnumerated(sTID("refineEdgeOutput"), sTID("refineEdgeOutput"), sTID("selectionOutputToNewSheetAndMask"));
        executeAction(sTID("smartBrushWorkspace"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "Huan");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step19(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(27);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step20(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step21(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(27);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step22(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step23(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 29);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step24(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "白色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step25(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("Clrs"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("reset"), desc1, dialogMode);
    }

    function step26(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("BckC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step27(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 30);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step28(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "红色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step29(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("FrgC"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 0);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 71.7647058823529);
        desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
        desc1.putString(cTID("Srce"), "photoshopPicker");
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step30(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step31(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 31);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step32(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "蓝色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step33(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("FrgC"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 200.467529296875);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 100);
        desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
        desc1.putString(cTID("Srce"), "photoshopPicker");
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step34(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step35(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "白色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(10);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step36(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step37(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step38(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step39(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "蓝色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(12);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step40(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step41(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(9);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step42(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("newPlacedLayer"), undefined, dialogMode);
    }

    function step43(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step44(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step45(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "还原人物");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step46(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putIndex(cTID("Lyr "), 6);
        desc1.putReference(cTID("T   "), ref2);
        desc1.putBoolean(cTID("Adjs"), false);
        desc1.putInteger(cTID("Vrsn"), 5);
        var list1 = new ActionList();
        list1.putInteger(37);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step47(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdAl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step48(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(24);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step49(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("rasterizeLayer"), desc1, dialogMode);
    }

    function step50(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step51(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        desc1.putBoolean(cTID("TglO"), true);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step52(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 70);
        desc1.putEnumerated(cTID("Clrs"), cTID("Clrs"), sTID("skinTone"));
        desc1.putBoolean(sTID("UseFacesKey"), true);
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step53(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 2);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("feather"), desc1, dialogMode);
    }

    function step54(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("By  "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("contract"), desc1, dialogMode);
    }

    function step55(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        desc1.putBoolean(cTID("TglO"), true);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step56(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        ref1.putName(cTID("Lyr "), "还原人物");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step57(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        desc1.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc1.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step58(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step59(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step60(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "还原（白色画笔擦）");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step61(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(5);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step62(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step63(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "白色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(12);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step64(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step65(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("flattenImage"), undefined, dialogMode);
    }
    step1();
    step2();
    step3();
    step4(true, true);
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
    step19();
    step20();
    step21();
    step22();
    step23();
    step24();
    step25();
    step26();
    step27();
    step28();
    step29();
    step30();
    step31();
    step32();
    step33();
    step34();
    step35();
    step36();
    step37();
    step38();
    step39();
    step40();
    step41();
    step42();
    step43();
    step44();
    step45();
    step46();
    step47();
    step48();
    step49();
    step50();
    step51();
    step52();
    step53();
    step54();
    step55();
    step56();
    step57();
    step58();
    step59();
    step60();
    step61();
    step62();
    step63();
    step64();
    step65();
}

function act_HONGDI() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Lyr "), cTID("Bckg"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("Vrsn"), 5);
        executeAction(sTID("duplicate"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "Huan1");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Lyr "), cTID("Bckg"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 144);
        var desc2 = new ActionDescriptor();
        desc2.putDouble(cTID("Lmnc"), 62.2);
        desc2.putDouble(cTID("A   "), -15.18);
        desc2.putDouble(cTID("B   "), -48.32);
        desc1.putObject(cTID("Mnm "), cTID("LbCl"), desc2);
        var desc3 = new ActionDescriptor();
        desc3.putDouble(cTID("Lmnc"), 62.2);
        desc3.putDouble(cTID("A   "), -15.18);
        desc3.putDouble(cTID("B   "), -48.32);
        desc1.putObject(cTID("Mxm "), cTID("LbCl"), desc3);
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("feather"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("By  "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("expand"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdSl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Rd  "));
        list1.putReference(ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Grn "));
        list1.putReference(ref2);
        var ref3 = new ActionReference();
        ref3.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Bl  "));
        list1.putReference(ref3);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(20);
        list2.putInteger(88);
        desc2.putList(cTID("Inpt"), list2);
        desc2.putDouble(cTID("Gmm "), 1.72);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(sTID("smartBrushRadius"), 97);
        desc1.putInteger(sTID("smartBrushSmooth"), 0);
        desc1.putUnitDouble(sTID("smartBrushFeather"), cTID("#Pxl"), 1);
        desc1.putUnitDouble(sTID("smartBrushContrast"), cTID("#Prc"), 0);
        desc1.putUnitDouble(sTID("smartBrushShiftEdge"), cTID("#Prc"), 0);
        desc1.putBoolean(sTID("sampleAllLayers"), false);
        desc1.putBoolean(sTID("smartBrushUseSmartRadius"), true);
        desc1.putBoolean(sTID("smartBrushDecontaminate"), true);
        desc1.putEnumerated(sTID("refineEdgeOutput"), sTID("refineEdgeOutput"), sTID("selectionOutputToNewSheetAndMask"));
        executeAction(sTID("smartBrushWorkspace"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "Huan");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step19(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(27);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step20(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step21(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(27);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step22(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step23(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 29);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step24(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "白色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step25(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("Clrs"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("reset"), desc1, dialogMode);
    }

    function step26(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("BckC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step27(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 30);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step28(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "红色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step29(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("FrgC"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 0);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 71.7647058823529);
        desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
        desc1.putString(cTID("Srce"), "photoshopPicker");
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step30(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step31(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 31);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step32(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "蓝色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step33(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("FrgC"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 200.467529296875);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 100);
        desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
        desc1.putString(cTID("Srce"), "photoshopPicker");
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step34(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step35(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "白色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(10);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step36(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step37(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step38(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step39(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "蓝色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(12);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step40(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step41(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(9);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step42(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("newPlacedLayer"), undefined, dialogMode);
    }

    function step43(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step44(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step45(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "还原人物");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step46(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putIndex(cTID("Lyr "), 6);
        desc1.putReference(cTID("T   "), ref2);
        desc1.putBoolean(cTID("Adjs"), false);
        desc1.putInteger(cTID("Vrsn"), 5);
        var list1 = new ActionList();
        list1.putInteger(37);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step47(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdAl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step48(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(24);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step49(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("rasterizeLayer"), desc1, dialogMode);
    }

    function step50(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step51(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        desc1.putBoolean(cTID("TglO"), true);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step52(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 70);
        desc1.putEnumerated(cTID("Clrs"), cTID("Clrs"), sTID("skinTone"));
        desc1.putBoolean(sTID("UseFacesKey"), true);
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step53(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 2);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("feather"), desc1, dialogMode);
    }

    function step54(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("By  "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("contract"), desc1, dialogMode);
    }

    function step55(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        desc1.putBoolean(cTID("TglO"), true);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step56(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        ref1.putName(cTID("Lyr "), "还原人物");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step57(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        desc1.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc1.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step58(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step59(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step60(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "还原（白色画笔擦）");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step61(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(5);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step62(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step63(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "白色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(40);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step64(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(13);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step65(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step66(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("flattenImage"), undefined, dialogMode);
    }
    step1();
    step2();
    step3();
    step4(true, true);
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
    step19();
    step20();
    step21();
    step22();
    step23();
    step24();
    step25();
    step26();
    step27();
    step28();
    step29();
    step30();
    step31();
    step32();
    step33();
    step34();
    step35();
    step36();
    step37();
    step38();
    step39();
    step40();
    step41();
    step42();
    step43();
    step44();
    step45();
    step46();
    step47();
    step48();
    step49();
    step50();
    step51();
    step52();
    step53();
    step54();
    step55();
    step56();
    step57();
    step58();
    step59();
    step60();
    step61();
    step62();
    step63();
    step64();
    step65();
    step66();
}

function act_LANDI() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Lyr "), cTID("Bckg"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("Vrsn"), 5);
        executeAction(sTID("duplicate"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "Huan1");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Lyr "), cTID("Bckg"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 144);
        var desc2 = new ActionDescriptor();
        desc2.putDouble(cTID("Lmnc"), 62.2);
        desc2.putDouble(cTID("A   "), -15.18);
        desc2.putDouble(cTID("B   "), -48.32);
        desc1.putObject(cTID("Mnm "), cTID("LbCl"), desc2);
        var desc3 = new ActionDescriptor();
        desc3.putDouble(cTID("Lmnc"), 62.2);
        desc3.putDouble(cTID("A   "), -15.18);
        desc3.putDouble(cTID("B   "), -48.32);
        desc1.putObject(cTID("Mxm "), cTID("LbCl"), desc3);
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("feather"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("By  "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("expand"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdSl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Rd  "));
        list1.putReference(ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Grn "));
        list1.putReference(ref2);
        var ref3 = new ActionReference();
        ref3.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Bl  "));
        list1.putReference(ref3);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(sTID("presetKind"), sTID("presetKindType"), sTID("presetKindCustom"));
        var list1 = new ActionList();
        var desc2 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc2.putReference(cTID("Chnl"), ref1);
        var list2 = new ActionList();
        list2.putInteger(20);
        list2.putInteger(88);
        desc2.putList(cTID("Inpt"), list2);
        desc2.putDouble(cTID("Gmm "), 1.72);
        list1.putObject(cTID("LvlA"), desc2);
        desc1.putList(cTID("Adjs"), list1);
        executeAction(sTID("levels"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putEnumerated(cTID("Chnl"), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("T   "), ref2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(sTID("smartBrushRadius"), 97);
        desc1.putInteger(sTID("smartBrushSmooth"), 0);
        desc1.putUnitDouble(sTID("smartBrushFeather"), cTID("#Pxl"), 1);
        desc1.putUnitDouble(sTID("smartBrushContrast"), cTID("#Prc"), 0);
        desc1.putUnitDouble(sTID("smartBrushShiftEdge"), cTID("#Prc"), 0);
        desc1.putBoolean(sTID("sampleAllLayers"), false);
        desc1.putBoolean(sTID("smartBrushUseSmartRadius"), true);
        desc1.putBoolean(sTID("smartBrushDecontaminate"), true);
        desc1.putEnumerated(sTID("refineEdgeOutput"), sTID("refineEdgeOutput"), sTID("selectionOutputToNewSheetAndMask"));
        executeAction(sTID("smartBrushWorkspace"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "Huan");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step19(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(27);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step20(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step21(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var list1 = new ActionList();
        list1.putInteger(27);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("delete"), desc1, dialogMode);
    }

    function step22(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step23(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 29);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step24(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "白色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step25(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("Clrs"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("reset"), desc1, dialogMode);
    }

    function step26(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("BckC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step27(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 30);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step28(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "红色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step29(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("FrgC"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 0);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 71.7647058823529);
        desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
        desc1.putString(cTID("Srce"), "photoshopPicker");
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step30(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step31(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putClass(cTID("Lyr "));
        desc1.putReference(cTID("null"), ref1);
        desc1.putInteger(cTID("LyrI"), 31);
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step32(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "蓝色");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step33(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Clr "), cTID("FrgC"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 200.467529296875);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 100);
        desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
        desc1.putString(cTID("Srce"), "photoshopPicker");
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step34(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step35(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "白色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(10);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step36(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step37(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(11);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step38(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step39(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "蓝色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(12);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step40(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step41(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(9);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step42(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("newPlacedLayer"), undefined, dialogMode);
    }

    function step43(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step44(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step45(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "还原人物");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step46(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var ref2 = new ActionReference();
        ref2.putIndex(cTID("Lyr "), 6);
        desc1.putReference(cTID("T   "), ref2);
        desc1.putBoolean(cTID("Adjs"), false);
        desc1.putInteger(cTID("Vrsn"), 5);
        var list1 = new ActionList();
        list1.putInteger(37);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step47(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putClass(cTID("Nw  "), cTID("Chnl"));
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        desc1.putReference(cTID("At  "), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("HdAl"));
        executeAction(sTID("make"), desc1, dialogMode);
    }

    function step48(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "Huan");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(24);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step49(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        executeAction(sTID("rasterizeLayer"), desc1, dialogMode);
    }

    function step50(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step51(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        desc1.putBoolean(cTID("TglO"), true);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step52(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("Fzns"), 70);
        desc1.putEnumerated(cTID("Clrs"), cTID("Clrs"), sTID("skinTone"));
        desc1.putBoolean(sTID("UseFacesKey"), true);
        desc1.putInteger(sTID("colorModel"), 0);
        executeAction(sTID("colorRange"), desc1, dialogMode);
    }

    function step53(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rds "), cTID("#Pxl"), 2);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("feather"), desc1, dialogMode);
    }

    function step54(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("By  "), cTID("#Pxl"), 1);
        desc1.putBoolean(sTID("selectionModifyEffectAtCanvasBounds"), false);
        executeAction(sTID("contract"), desc1, dialogMode);
    }

    function step55(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        desc1.putBoolean(cTID("TglO"), true);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step56(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
        ref1.putName(cTID("Lyr "), "还原人物");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step57(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("FrgC"));
        desc1.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
        desc1.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step58(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step59(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), sTID("RGB"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step60(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putString(cTID("Nm  "), "还原（白色画笔擦）");
        desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step61(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "红色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(5);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step62(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("hide"), desc1, dialogMode);
    }

    function step63(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "白色");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(40);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step64(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var list1 = new ActionList();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "蓝色");
        list1.putReference(ref1);
        desc1.putList(cTID("null"), list1);
        executeAction(sTID("show"), desc1, dialogMode);
    }

    function step65(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("flattenImage"), undefined, dialogMode);
    }
    step1();
    step2();
    step3();
    step4(true, true);
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
    step19();
    step20();
    step21();
    step22();
    step23();
    step24();
    step25();
    step26();
    step27();
    step28();
    step29();
    step30();
    step31();
    step32();
    step33();
    step34();
    step35();
    step36();
    step37();
    step38();
    step39();
    step40();
    step41();
    step42();
    step43();
    step44();
    step45();
    step46();
    step47();
    step48();
    step49();
    step50();
    step51();
    step52();
    step53();
    step54();
    step55();
    step56();
    step57();
    step58();
    step59();
    step60();
    step61();
    step62();
    step63();
    step64();
    step65();
}

function act_HUZHAOA() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 93.6);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 136.125);
        desc1.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 320);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 147.40157480315);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 184.275);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 252.283464566929);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 360);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Left"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Top "));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 16.65);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 9.9);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 166.95);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 130.05);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 111.562822799999);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 0);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 12.825);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 6.525);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 182.7);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 243.45);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 159.775901999999);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
}

function act_MEIGUOA() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 141.75);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 141.75);
        desc1.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 320);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 252.283464566929);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 180);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 360);
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Top "));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 7.425);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 23.625);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 172.35);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 235.125);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 170.875561942801);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
}

function act_RIBENA() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 127.575);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 127.575);
        desc1.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 320);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 252.283464566929);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 180);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 360);
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Top "));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("BckC"));
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Top "), cTID("#Rlt"), 3.825);
        desc2.putUnitDouble(cTID("Left"), cTID("#Rlt"), 20.7);
        desc2.putUnitDouble(cTID("Btom"), cTID("#Rlt"), 169.65);
        desc2.putUnitDouble(cTID("Rght"), cTID("#Rlt"), 234.45);
        desc1.putObject(cTID("T   "), cTID("Rctn"), desc2);
        executeAction(sTID("set"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Rlt"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Rlt"), 161.457753599999);
        desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
        desc1.putBoolean(cTID("Cpy "), true);
        executeAction(sTID("transform"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putProperty(cTID("Chnl"), sTID("selection"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
        executeAction(sTID("set"), desc1, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
}

function act_WANTAI() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 320);
        desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
        executeAction(sTID("imageSize"), desc1, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step3(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Wdth"), cTID("#Pxl"), 1121);
        desc1.putUnitDouble(cTID("Hght"), cTID("#Pxl"), 800);
        desc1.putEnumerated(cTID("Hrzn"), cTID("HrzL"), cTID("Cntr"));
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("Clr "));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 359.994506835938);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 100);
        desc1.putObject(sTID("canvasExtensionColor"), cTID("HSBC"), desc2);
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step4(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putUnitDouble(cTID("Hght"), cTID("#Pxl"), 1600);
        desc1.putEnumerated(cTID("Vrtc"), cTID("VrtL"), cTID("Cntr"));
        desc1.putEnumerated(sTID("canvasExtensionColorType"), sTID("canvasExtensionColorType"), cTID("Clr "));
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 0);
        desc2.putDouble(cTID("Strt"), 100);
        desc2.putDouble(cTID("Brgh"), 100);
        desc1.putObject(sTID("canvasExtensionColor"), cTID("HSBC"), desc2);
        executeAction(sTID("canvasSize"), desc1, dialogMode);
    }

    function step5(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step6(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("Usng"), cTID("FlCn"), cTID("BckC"));
        executeAction(sTID("fill"), desc1, dialogMode);
    }

    function step7(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "图层 1");
        desc1.putReference(cTID("null"), ref1);
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(6);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step8(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), -291);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), -474);
        desc1.putObject(cTID("T   "), cTID("Ofst"), desc2);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step9(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step10(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 512);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 0);
        desc1.putObject(cTID("T   "), cTID("Ofst"), desc2);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step11(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        executeAction(sTID("mergeLayersNew"), desc1, dialogMode);
    }

    function step12(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("copyToLayer"), undefined, dialogMode);
    }

    function step13(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        var desc2 = new ActionDescriptor();
        desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 0);
        desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 615);
        desc1.putObject(cTID("T   "), cTID("Ofst"), desc2);
        executeAction(sTID("move"), desc1, dialogMode);
    }

    function step14(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        executeAction(sTID("mergeLayersNew"), desc1, dialogMode);
    }

    function step15(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putName(cTID("Lyr "), "背景");
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelection"));
        desc1.putBoolean(cTID("MkVs"), false);
        var list1 = new ActionList();
        list1.putInteger(1);
        list1.putInteger(6);
        desc1.putList(cTID("LyrI"), list1);
        executeAction(sTID("select"), desc1, dialogMode);
    }

    function step16(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("ADSt"), sTID("ADSCentersV"));
        executeAction(sTID("align"), desc1, dialogMode);
    }

    function step17(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        var ref1 = new ActionReference();
        ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
        desc1.putReference(cTID("null"), ref1);
        desc1.putEnumerated(cTID("Usng"), cTID("ADSt"), sTID("ADSCentersH"));
        executeAction(sTID("align"), desc1, dialogMode);
    }

    function step18(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("mergeLayersNew"), undefined, dialogMode);
    }
    step1();
    step2();
    step3();
    step4();
    step5();
    step6();
    step7();
    step8();
    step9();
    step10();
    step11();
    step12();
    step13();
    step14();
    step15();
    step16();
    step17();
    step18();
}

function act_ZHANTIE() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putEnumerated(cTID("AntA"), cTID("Annt"), cTID("Anno"));
        desc1.putClass(cTID("As  "), cTID("Pxel"));
        executeAction(sTID("paste"), desc1, dialogMode);
    }
    step1();
}

function act_GUANBI() {
    function step1(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        executeAction(sTID("save"), undefined, dialogMode);
    }

    function step2(enabled, withDialog) {
        if (enabled != undefined && !enabled) {
            return;
        }
        var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
        var desc1 = new ActionDescriptor();
        desc1.putInteger(cTID("DocI"), 200);
        desc1.putBoolean(sTID("forceNotify"), true);
        executeAction(sTID("close"), desc1, dialogMode);
    }
    step1();
    step2();
}

function act_all_zj() {
    doFuncAllDoc(act_zj);
}

function act_ALLGBL() {
    doFuncAllDoc(act_GUANBI);
}