if (app) {
    try {
        MainCatch();
    } catch (e) {

    }
}

function MainCatch() {
    function Actionsphere() {
        function step1(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            desc1.putString(PSKey.Message, "       如果显示错误，请创建一个新文档并使用该装置的任何旋钮，然后再次单击该按钮。 有关此练习的信息，您可以在操作指南中找到。      ");
            desc1.putBoolean(PSKey.Continue, true);
            executeAction(PSEvent.Stop, desc1, dialogMode);
        }
        step1(true, true);
    }
    cTID = function(s) {
        return app.charIDToTypeID(s);
    };
    sTID = function(s) {
        return app.stringIDToTypeID(s);
    };
    Actionsphere.loadSymbols = function() {
        var dbgLevel = $.level;
        $.level = 0;
        try {
            PSConstants;
            return;
        } catch (e) {

        } finally {
            $.level = dbgLevel;
        }
        var needDefs = true;
        $.level = 0;
        try {
            PSClass;
            needDefs = false;
        } catch (e) {

        } finally {
            $.level = dbgLevel;
        }
        if (needDefs) {
            PSClass = function() {

            };
            PSEnum = function() {

            };
            PSEvent = function() {

            };
            PSForm = function() {

            };
            PSKey = function() {

            };
            PSType = function() {

            };
            PSUnit = function() {

            };
            PSString = function() {

            };
        }
        PSEvent.Stop = cTID("Stop");
        PSKey.Continue = cTID("Cntn");
        PSKey.Message = cTID("Msge");
    };
    Actionsphere.loadSymbols();
    Actionsphere.main = function() {
        Actionsphere();
    };
    Actionsphere.main();

    function CreateSphere() {
        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.putString(cTID("Nm  "), "Dodge and Burn Training");
            desc2.putClass(cTID("Md  "), sTID("RGBColorMode"));
            desc2.putUnitDouble(cTID("Wdth"), cTID("#Rlt"), 480);
            desc2.putUnitDouble(cTID("Hght"), cTID("#Rlt"), 480);
            desc2.putUnitDouble(cTID("Rslt"), cTID("#Rsl"), 300);
            desc2.putDouble(sTID("pixelScaleFactor"), 1);
            desc2.putEnumerated(cTID("Fl  "), cTID("Fl  "), cTID("Wht "));
            desc2.putInteger(cTID("Dpth"), 8);
            desc2.putString(sTID("profile"), "sRGB IEC61966-2.1");
            desc1.putObject(cTID("Nw  "), cTID("Dcmn"), desc2);
            executeAction(cTID("Mk  "), 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("Clr "), cTID("Clrs"));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Rset"), 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.putProperty(cTID("Clr "), cTID("Clrs"));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Exch"), 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("Lyr "), cTID("Bckg"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putString(cTID("Nm  "), "Base_0");
            desc2.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.putClass(cTID("Lyr "));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Mk  "), 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  "), "1");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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("#Pxl"), 416);
            desc2.putUnitDouble(cTID("Left"), cTID("#Pxl"), 284);
            desc2.putUnitDouble(cTID("Btom"), cTID("#Pxl"), 1725);
            desc2.putUnitDouble(cTID("Rght"), cTID("#Pxl"), 1593);
            desc1.putObject(cTID("T   "), cTID("Elps"), desc2);
            desc1.putUnitDouble(cTID("Fthr"), cTID("#Pxl"), 50);
            desc1.putBoolean(cTID("AntA"), true);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step8(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 702);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 711);
            desc1.putObject(cTID("From"), cTID("Pnt "), desc2);
            var desc3 = new ActionDescriptor();
            desc3.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 1388);
            desc3.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1490);
            desc1.putObject(cTID("T   "), cTID("Pnt "), desc3);
            desc1.putEnumerated(cTID("Type"), cTID("GrdT"), cTID("Rdl "));
            desc1.putBoolean(cTID("Dthr"), true);
            desc1.putBoolean(cTID("UsMs"), true);
            var desc4 = new ActionDescriptor();
            desc4.putString(cTID("Nm  "), "$$$/DefaultGradient/ForegroundToBackground=Foreground to Background");
            desc4.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
            desc4.putDouble(cTID("Intr"), 4096);
            var list1 = new ActionList();
            var desc5 = new ActionDescriptor();
            desc5.putEnumerated(cTID("Type"), cTID("Clry"), cTID("FrgC"));
            desc5.putInteger(cTID("Lctn"), 0);
            desc5.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc5);
            var desc6 = new ActionDescriptor();
            desc6.putEnumerated(cTID("Type"), cTID("Clry"), cTID("BckC"));
            desc6.putInteger(cTID("Lctn"), 4096);
            desc6.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc6);
            desc4.putList(cTID("Clrs"), list1);
            var list2 = new ActionList();
            var desc7 = new ActionDescriptor();
            desc7.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc7.putInteger(cTID("Lctn"), 0);
            desc7.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc7);
            var desc8 = new ActionDescriptor();
            desc8.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc8.putInteger(cTID("Lctn"), 4096);
            desc8.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc8);
            desc4.putList(cTID("Trns"), list2);
            desc1.putObject(cTID("Grad"), cTID("Grdn"), desc4);
            executeAction(cTID("Grdn"), desc1, dialogMode);
        }

        function step9(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("RvlS"));
            executeAction(cTID("Mk  "), 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);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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"), cTID("Msk "));
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step12(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();
            var desc3 = new ActionDescriptor();
            desc3.putDouble(cTID("Hrzn"), 129);
            desc3.putDouble(cTID("Vrtc"), 0);
            list2.putObject(cTID("Pnt "), desc3);
            var desc4 = new ActionDescriptor();
            desc4.putDouble(cTID("Hrzn"), 134);
            desc4.putDouble(cTID("Vrtc"), 255);
            list2.putObject(cTID("Pnt "), desc4);
            desc2.putList(cTID("Crv "), list2);
            list1.putObject(cTID("CrvA"), desc2);
            desc1.putList(cTID("Adjs"), list1);
            executeAction(cTID("Crvs"), 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.putClass(cTID("Lyr "));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Mk  "), 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.putString(cTID("Nm  "), "2");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step15(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            executeAction(cTID("Clds"), 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.putUnitDouble(cTID("Opct"), cTID("#Prc"), 70);
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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);
            var desc2 = new ActionDescriptor();
            desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Ovrl"));
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            var ref2 = new ActionReference();
            ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
            ref2.putName(cTID("Lyr "), "1");
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), 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 ref1 = new ActionReference();
            ref1.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
            desc1.putReference(cTID("At  "), ref1);
            desc1.putEnumerated(cTID("Usng"), cTID("UsrM"), cTID("RvlS"));
            executeAction(cTID("Mk  "), desc1, dialogMode);
        }

        function step20(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);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step21(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            executeAction(sTID("copyToLayer"), undefined, 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("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putString(cTID("Nm  "), "1_1");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step23(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            executeAction(sTID("copyToLayer"), undefined, 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  "), "1_2");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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("Lyr "), "1");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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("Lyr "), "1_2");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step27(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            executeAction(sTID("mergeLayersNew"), 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  "), "1");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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 "), "Base_0");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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("Lyr "));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Mk  "), 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("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putString(cTID("Nm  "), "3");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.putName(cTID("Lyr "), "1");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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("Lyr "), "2");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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.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"), 3);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), -51);
            desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
            desc1.putUnitDouble(cTID("Wdth"), cTID("#Prc"), 88);
            desc1.putUnitDouble(cTID("Hght"), cTID("#Prc"), 88);
            desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
            executeAction(cTID("Trnf"), 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 "), "3");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Top "), cTID("#Pxl"), 1277);
            desc2.putUnitDouble(cTID("Left"), cTID("#Pxl"), 764);
            desc2.putUnitDouble(cTID("Btom"), cTID("#Pxl"), 1758);
            desc2.putUnitDouble(cTID("Rght"), cTID("#Pxl"), 1920);
            desc1.putObject(cTID("T   "), cTID("Elps"), desc2);
            desc1.putBoolean(cTID("AntA"), true);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step37(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 1343);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1538);
            desc1.putObject(cTID("From"), cTID("Pnt "), desc2);
            var desc3 = new ActionDescriptor();
            desc3.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 2624);
            desc3.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1487);
            desc1.putObject(cTID("T   "), cTID("Pnt "), desc3);
            desc1.putEnumerated(cTID("Type"), cTID("GrdT"), cTID("Rdl "));
            desc1.putBoolean(cTID("Dthr"), true);
            desc1.putBoolean(cTID("UsMs"), true);
            var desc4 = new ActionDescriptor();
            desc4.putString(cTID("Nm  "), "$$$/DefaultGradient/ForegroundToBackground=Foreground to Background");
            desc4.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
            desc4.putDouble(cTID("Intr"), 4096);
            var list1 = new ActionList();
            var desc5 = new ActionDescriptor();
            desc5.putEnumerated(cTID("Type"), cTID("Clry"), cTID("FrgC"));
            desc5.putInteger(cTID("Lctn"), 0);
            desc5.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc5);
            var desc6 = new ActionDescriptor();
            desc6.putEnumerated(cTID("Type"), cTID("Clry"), cTID("BckC"));
            desc6.putInteger(cTID("Lctn"), 4096);
            desc6.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc6);
            desc4.putList(cTID("Clrs"), list1);
            var list2 = new ActionList();
            var desc7 = new ActionDescriptor();
            desc7.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc7.putInteger(cTID("Lctn"), 0);
            desc7.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc7);
            var desc8 = new ActionDescriptor();
            desc8.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc8.putInteger(cTID("Lctn"), 4096);
            desc8.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc8);
            desc4.putList(cTID("Trns"), list2);
            desc1.putObject(cTID("Grad"), cTID("Grdn"), desc4);
            executeAction(cTID("Grdn"), 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"), 57.8);
            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("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"), -66);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 0);
            desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
            desc1.putUnitDouble(cTID("Wdth"), cTID("#Prc"), 104.338394793926);
            desc1.putUnitDouble(cTID("Hght"), cTID("#Prc"), 85.5878634639697);
            desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
            executeAction(cTID("Trnf"), desc1, dialogMode);
        }

        function step40(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            executeAction(sTID("copyToLayer"), undefined, 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  "), "3_1");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step42(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            executeAction(sTID("copyToLayer"), 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.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Dlt "), 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.putString(cTID("Nm  "), "3_2");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.putName(cTID("Lyr "), "3");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step46(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            executeAction(sTID("mergeLayersNew"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            var ref2 = new ActionReference();
            ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Trsp"));
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), 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.putClass(cTID("Lyr "));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Mk  "), desc1, dialogMode);
        }

        function step49(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 1067);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1547);
            desc1.putObject(cTID("From"), cTID("Pnt "), desc2);
            var desc3 = new ActionDescriptor();
            desc3.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 741);
            desc3.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1553);
            desc1.putObject(cTID("T   "), cTID("Pnt "), desc3);
            desc1.putEnumerated(cTID("Type"), cTID("GrdT"), cTID("Rdl "));
            desc1.putBoolean(cTID("Dthr"), true);
            desc1.putBoolean(cTID("UsMs"), true);
            var desc4 = new ActionDescriptor();
            desc4.putString(cTID("Nm  "), "$$$/DefaultGradient/ForegroundToBackground=Foreground to Background");
            desc4.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
            desc4.putDouble(cTID("Intr"), 4096);
            var list1 = new ActionList();
            var desc5 = new ActionDescriptor();
            desc5.putEnumerated(cTID("Type"), cTID("Clry"), cTID("FrgC"));
            desc5.putInteger(cTID("Lctn"), 0);
            desc5.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc5);
            var desc6 = new ActionDescriptor();
            desc6.putEnumerated(cTID("Type"), cTID("Clry"), cTID("BckC"));
            desc6.putInteger(cTID("Lctn"), 4096);
            desc6.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc6);
            desc4.putList(cTID("Clrs"), list1);
            var list2 = new ActionList();
            var desc7 = new ActionDescriptor();
            desc7.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc7.putInteger(cTID("Lctn"), 0);
            desc7.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc7);
            var desc8 = new ActionDescriptor();
            desc8.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc8.putInteger(cTID("Lctn"), 4096);
            desc8.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc8);
            desc4.putList(cTID("Trns"), list2);
            desc1.putObject(cTID("Grad"), cTID("Grdn"), desc4);
            executeAction(cTID("Grdn"), 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.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Mltp"));
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step51(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 1094);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1535);
            desc1.putObject(cTID("From"), cTID("Pnt "), desc2);
            var desc3 = new ActionDescriptor();
            desc3.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 582);
            desc3.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1532);
            desc1.putObject(cTID("T   "), cTID("Pnt "), desc3);
            desc1.putEnumerated(cTID("Type"), cTID("GrdT"), cTID("Rdl "));
            desc1.putBoolean(cTID("Dthr"), true);
            desc1.putBoolean(cTID("UsMs"), true);
            var desc4 = new ActionDescriptor();
            desc4.putString(cTID("Nm  "), "$$$/DefaultGradient/ForegroundToBackground=Foreground to Background");
            desc4.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
            desc4.putDouble(cTID("Intr"), 4096);
            var list1 = new ActionList();
            var desc5 = new ActionDescriptor();
            desc5.putEnumerated(cTID("Type"), cTID("Clry"), cTID("FrgC"));
            desc5.putInteger(cTID("Lctn"), 0);
            desc5.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc5);
            var desc6 = new ActionDescriptor();
            desc6.putEnumerated(cTID("Type"), cTID("Clry"), cTID("BckC"));
            desc6.putInteger(cTID("Lctn"), 4096);
            desc6.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc6);
            desc4.putList(cTID("Clrs"), list1);
            var list2 = new ActionList();
            var desc7 = new ActionDescriptor();
            desc7.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc7.putInteger(cTID("Lctn"), 0);
            desc7.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc7);
            var desc8 = new ActionDescriptor();
            desc8.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc8.putInteger(cTID("Lctn"), 4096);
            desc8.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc8);
            desc4.putList(cTID("Trns"), list2);
            desc1.putObject(cTID("Grad"), cTID("Grdn"), desc4);
            executeAction(cTID("Grdn"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
            executeAction(cTID("setd"), 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("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"), 18);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), -48);
            desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
            desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
            executeAction(cTID("Trnf"), desc1, dialogMode);
        }

        function step54(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            executeAction(sTID("mergeLayersNew"), 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);
            desc1.putEnumerated(cTID("FTcs"), cTID("QCSt"), sTID("QCSAverage"));
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 15);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 14.9999999999999);
            desc1.putObject(cTID("Ofst"), cTID("Ofst"), desc2);
            desc1.putUnitDouble(cTID("Wdth"), cTID("#Prc"), 100.41067761807);
            desc1.putUnitDouble(cTID("Hght"), cTID("#Prc"), 92.551724137931);
            desc1.putEnumerated(cTID("Intr"), cTID("Intp"), cTID("Bcbc"));
            executeAction(cTID("Trnf"), 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 "), "Base_0");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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.putClass(cTID("Lyr "));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("Mk  "), 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("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putString(cTID("Nm  "), "4");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.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"), 0);
            desc2.putDouble(cTID("Brgh"), 67.843137254902);
            desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
            desc1.putString(cTID("Srce"), "photoshopPicker");
            executeAction(cTID("setd"), 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.putProperty(cTID("Clr "), cTID("BckC"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("H   "), cTID("#Ang"), 0);
            desc2.putDouble(cTID("Strt"), 0);
            desc2.putDouble(cTID("Brgh"), 38.0392156862745);
            desc1.putObject(cTID("T   "), cTID("HSBC"), desc2);
            desc1.putString(cTID("Srce"), "photoshopPicker");
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step61(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 960);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1025);
            desc1.putObject(cTID("From"), cTID("Pnt "), desc2);
            var desc3 = new ActionDescriptor();
            desc3.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 1619);
            desc3.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 39);
            desc1.putObject(cTID("T   "), cTID("Pnt "), desc3);
            desc1.putEnumerated(cTID("Type"), cTID("GrdT"), cTID("Rdl "));
            desc1.putBoolean(cTID("Dthr"), true);
            desc1.putBoolean(cTID("UsMs"), true);
            var desc4 = new ActionDescriptor();
            desc4.putString(cTID("Nm  "), "$$$/DefaultGradient/ForegroundToBackground=Foreground to Background");
            desc4.putEnumerated(cTID("GrdF"), cTID("GrdF"), cTID("CstS"));
            desc4.putDouble(cTID("Intr"), 4096);
            var list1 = new ActionList();
            var desc5 = new ActionDescriptor();
            desc5.putEnumerated(cTID("Type"), cTID("Clry"), cTID("FrgC"));
            desc5.putInteger(cTID("Lctn"), 0);
            desc5.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc5);
            var desc6 = new ActionDescriptor();
            desc6.putEnumerated(cTID("Type"), cTID("Clry"), cTID("BckC"));
            desc6.putInteger(cTID("Lctn"), 4096);
            desc6.putInteger(cTID("Mdpn"), 50);
            list1.putObject(cTID("Clrt"), desc6);
            desc4.putList(cTID("Clrs"), list1);
            var list2 = new ActionList();
            var desc7 = new ActionDescriptor();
            desc7.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc7.putInteger(cTID("Lctn"), 0);
            desc7.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc7);
            var desc8 = new ActionDescriptor();
            desc8.putUnitDouble(cTID("Opct"), cTID("#Prc"), 100);
            desc8.putInteger(cTID("Lctn"), 4096);
            desc8.putInteger(cTID("Mdpn"), 50);
            list2.putObject(cTID("TrnS"), desc8);
            desc4.putList(cTID("Trns"), list2);
            desc1.putObject(cTID("Grad"), cTID("Grdn"), desc4);
            executeAction(cTID("Grdn"), 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.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Opct"), cTID("#Prc"), 81);
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            var ref2 = new ActionReference();
            ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
            ref2.putName(cTID("Lyr "), "2");
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step64(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();
            var desc3 = new ActionDescriptor();
            desc3.putDouble(cTID("Hrzn"), 111);
            desc3.putDouble(cTID("Vrtc"), 0);
            list2.putObject(cTID("Pnt "), desc3);
            var desc4 = new ActionDescriptor();
            desc4.putDouble(cTID("Hrzn"), 172);
            desc4.putDouble(cTID("Vrtc"), 255);
            list2.putObject(cTID("Pnt "), desc4);
            desc2.putList(cTID("Crv "), list2);
            list1.putObject(cTID("CrvA"), desc2);
            desc1.putList(cTID("Adjs"), list1);
            executeAction(cTID("Crvs"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            var ref2 = new ActionReference();
            ref2.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Trsp"));
            ref2.putName(cTID("Lyr "), "3_2");
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), 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 "), "3_2");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), 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.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Mltp"));
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), 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.putProperty(cTID("Chnl"), sTID("selection"));
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(cTID("T   "), cTID("Ordn"), cTID("None"));
            executeAction(cTID("setd"), 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.putName(cTID("Lyr "), "4");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

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

        function step71(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 "), "3_2");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step72(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  "), "Shadow");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step73(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 "), "Shadow");
            list1.putReference(ref1);
            desc1.putList(cTID("null"), list1);
            executeAction(cTID("Hd  "), desc1, dialogMode);
        }

        function step74(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);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step75(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  "), "Sphere");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step76(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 "), "2");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step77(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  "), "Training_clouds");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step78(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);
            executeAction(cTID("Mk  "), desc1, dialogMode);
        }

        function step79(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  "), "1");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step80(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("Chnl"), cTID("Trsp"));
            ref2.putName(cTID("Lyr "), "Sphere");
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step81(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(cTID("Fl  "), desc1, dialogMode);
        }

        function step82(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(sTID("fillOpacity"), cTID("#Prc"), 0);
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step83(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("Lefx"));
            ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Scl "), cTID("#Prc"), 100);
            var desc3 = new ActionDescriptor();
            desc3.putBoolean(cTID("enab"), true);
            desc3.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Scrn"));
            var desc4 = new ActionDescriptor();
            desc4.putDouble(cTID("Rd  "), 255);
            desc4.putDouble(cTID("Grn "), 255);
            desc4.putDouble(cTID("Bl  "), 255);
            desc3.putObject(cTID("Clr "), sTID("RGBColor"), desc4);
            desc3.putUnitDouble(cTID("Opct"), cTID("#Prc"), 50);
            desc3.putBoolean(cTID("uglg"), false);
            desc3.putUnitDouble(cTID("lagl"), cTID("#Ang"), -58);
            desc3.putUnitDouble(cTID("Dstn"), cTID("#Pxl"), 24);
            desc3.putUnitDouble(cTID("Ckmt"), cTID("#Pxl"), 0);
            desc3.putUnitDouble(cTID("blur"), cTID("#Pxl"), 29);
            desc3.putUnitDouble(cTID("Nose"), cTID("#Prc"), 0);
            desc3.putBoolean(cTID("AntA"), false);
            var desc5 = new ActionDescriptor();
            desc5.putString(cTID("Nm  "), "Linear");
            desc3.putObject(cTID("TrnS"), cTID("ShpC"), desc5);
            desc2.putObject(cTID("IrSh"), cTID("IrSh"), desc3);
            desc1.putObject(cTID("T   "), cTID("Lefx"), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step84(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 "), 3);
            desc1.putReference(cTID("T   "), ref2);
            desc1.putBoolean(cTID("Adjs"), false);
            desc1.putInteger(cTID("Vrsn"), 5);
            executeAction(cTID("move"), desc1, dialogMode);
        }

        function step85(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("Lefx"));
            ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Scl "), cTID("#Prc"), 100);
            var desc3 = new ActionDescriptor();
            desc3.putBoolean(cTID("enab"), true);
            desc3.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
            var desc4 = new ActionDescriptor();
            desc4.putDouble(cTID("Rd  "), 255);
            desc4.putDouble(cTID("Grn "), 255);
            desc4.putDouble(cTID("Bl  "), 255);
            desc3.putObject(cTID("Clr "), sTID("RGBColor"), desc4);
            desc3.putUnitDouble(cTID("Opct"), cTID("#Prc"), 36);
            desc3.putBoolean(cTID("uglg"), false);
            desc3.putUnitDouble(cTID("lagl"), cTID("#Ang"), -58);
            desc3.putUnitDouble(cTID("Dstn"), cTID("#Pxl"), 38);
            desc3.putUnitDouble(cTID("Ckmt"), cTID("#Pxl"), 0);
            desc3.putUnitDouble(cTID("blur"), cTID("#Pxl"), 57);
            desc3.putUnitDouble(cTID("Nose"), cTID("#Prc"), 0);
            desc3.putBoolean(cTID("AntA"), false);
            var desc5 = new ActionDescriptor();
            desc5.putString(cTID("Nm  "), "Linear");
            desc3.putObject(cTID("TrnS"), cTID("ShpC"), desc5);
            desc2.putObject(cTID("IrSh"), cTID("IrSh"), desc3);
            desc1.putObject(cTID("T   "), cTID("Lefx"), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step86(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(cTID("setd"), desc1, dialogMode);
        }

        function step87(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  "), "Hardness");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step88(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 "), "Shadow");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step89(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);
            executeAction(cTID("Mk  "), desc1, dialogMode);
        }

        function step90(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  "), "Training_Sphere");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step91(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 "), "Training_clouds");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step92(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 "), 5);
            desc1.putReference(cTID("T   "), ref2);
            desc1.putBoolean(cTID("Adjs"), false);
            desc1.putInteger(cTID("Vrsn"), 5);
            executeAction(cTID("move"), desc1, dialogMode);
        }

        function step93(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 "), "Hardness");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step94(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  "), "Reflex");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step95(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 "), "Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

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

        function step97(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  "), "Sphere_1");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

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

        function step99(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  "), "Sphere_2");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

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

        function step101(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  "), "Sphere_3");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step102(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 "), "Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

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

        function step104(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  "), "Sphere");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step105(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 "), "Reflex");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step106(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("Lefx"));
            ref1.putEnumerated(cTID("Lyr "), cTID("Ordn"), cTID("Trgt"));
            desc1.putReference(cTID("null"), ref1);
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Scl "), cTID("#Prc"), 100);
            var desc3 = new ActionDescriptor();
            desc3.putBoolean(cTID("enab"), true);
            desc3.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Nrml"));
            var desc4 = new ActionDescriptor();
            desc4.putDouble(cTID("Rd  "), 255);
            desc4.putDouble(cTID("Grn "), 255);
            desc4.putDouble(cTID("Bl  "), 255);
            desc3.putObject(cTID("Clr "), sTID("RGBColor"), desc4);
            desc3.putUnitDouble(cTID("Opct"), cTID("#Prc"), 34);
            desc3.putBoolean(cTID("uglg"), false);
            desc3.putUnitDouble(cTID("lagl"), cTID("#Ang"), -58);
            desc3.putUnitDouble(cTID("Dstn"), cTID("#Pxl"), 38);
            desc3.putUnitDouble(cTID("Ckmt"), cTID("#Pxl"), 0);
            desc3.putUnitDouble(cTID("blur"), cTID("#Pxl"), 57);
            desc3.putUnitDouble(cTID("Nose"), cTID("#Prc"), 0);
            desc3.putBoolean(cTID("AntA"), false);
            var desc5 = new ActionDescriptor();
            desc5.putString(cTID("Nm  "), "Linear");
            desc3.putObject(cTID("TrnS"), cTID("ShpC"), desc5);
            desc2.putObject(cTID("IrSh"), cTID("IrSh"), desc3);
            desc1.putObject(cTID("T   "), cTID("Lefx"), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step107(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 "), "Training_clouds");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step108(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"), 50);
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step109(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 "), "Reflex");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step110(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(cTID("setd"), desc1, dialogMode);
        }

        function step111(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 "), "Training_clouds");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step112(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"), 40);
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step113(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("Chnl"), cTID("Trsp"));
            ref2.putName(cTID("Lyr "), "Shadow");
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step114(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 "), "Shadow");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step115(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(cTID("Shw "), desc1, dialogMode);
        }

        function step116(enabled, withDialog) {
            if (enabled != undefined && !enabled) {
                return;
            }
            var dialogMode = withDialog ? DialogModes.ALL : DialogModes.NO;
            var desc1 = new ActionDescriptor();
            var desc2 = new ActionDescriptor();
            desc2.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 1022);
            desc2.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1538);
            desc1.putObject(cTID("From"), cTID("Pnt "), desc2);
            var desc3 = new ActionDescriptor();
            desc3.putUnitDouble(cTID("Hrzn"), cTID("#Pxl"), 2048);
            desc3.putUnitDouble(cTID("Vrtc"), cTID("#Pxl"), 1532);
            desc1.putObject(cTID("T   "), cTID("Pnt "), desc3);
            desc1.putEnumerated(cTID("Type"), cTID("GrdT"), cTID("Rdl "));
            desc1.putBoolean(cTID("Dthr"), true);
            desc1.putBoolean(cTID("UsMs"), true);
            var desc4 = new ActionDescriptor();
            desc4.putString(cTID("Nm  "), "$$$/DefaultGradient/BlackWhite=Black, White");
            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("Cyn "), 75.02);
            desc6.putDouble(cTID("Mgnt"), 68.01);
            desc6.putDouble(cTID("Ylw "), 67);
            desc6.putDouble(cTID("Blck"), 90.19);
            desc5.putObject(cTID("Clr "), cTID("CMYC"), 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("Cyn "), 0);
            desc8.putDouble(cTID("Mgnt"), 0);
            desc8.putDouble(cTID("Ylw "), 0);
            desc8.putDouble(cTID("Blck"), 0);
            desc7.putObject(cTID("Clr "), cTID("CMYC"), 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);
            desc1.putObject(cTID("Grad"), cTID("Grdn"), desc4);
            executeAction(cTID("Grdn"), desc1, dialogMode);
        }

        function step117(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(cTID("setd"), desc1, dialogMode);
        }

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

        function step119(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 "), "Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step120(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("Chnl"), cTID("Trsp"));
            desc1.putReference(cTID("T   "), ref2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step121(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 "), "Reflex");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

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

        function step123(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(cTID("setd"), desc1, dialogMode);
        }

        function step124(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 "), "Training_Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step125(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);
            var desc2 = new ActionDescriptor();
            desc2.putString(cTID("Nm  "), "D&B Overlay 1");
            desc2.putEnumerated(cTID("Md  "), cTID("BlnM"), cTID("Ovrl"));
            desc2.putBoolean(cTID("FlNt"), true);
            desc1.putObject(cTID("Usng"), cTID("Lyr "), desc2);
            executeAction(cTID("Mk  "), desc1, dialogMode);
        }

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

        function step127(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  "), "D&B Overlay 2");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

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

        function step129(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  "), "D&B Overlay 3");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step130(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 "), "D&B Overlay 1");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step131(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();
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step132(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 "), "D&B Overlay 1");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step133(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 "), "Training_Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step134(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 "), "Training_clouds");
            list1.putReference(ref1);
            desc1.putList(cTID("null"), list1);
            executeAction(cTID("Hd  "), desc1, dialogMode);
        }

        function step135(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 step136(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  "), "Clean Sample");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step137(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(cTID("Hd  "), desc1, dialogMode);
        }

        function step138(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 "), "Training_Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step139(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("ungroupLayersEvent"), desc1, dialogMode);
        }

        function step140(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 "), "Training_clouds");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step141(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(cTID("Shw "), desc1, dialogMode);
        }

        function step142(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 "), "Base_0");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

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

        function step144(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  "), "Sphere");
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step145(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 "), "Clean Sample");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step146(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 "), "Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putEnumerated(sTID("selectionModifier"), sTID("selectionModifierType"), sTID("addToSelectionContinuous"));
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step147(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("Clr "), cTID("Clr "), cTID("Bl  "));
            desc1.putObject(cTID("T   "), cTID("Lyr "), desc2);
            executeAction(cTID("setd"), desc1, dialogMode);
        }

        function step148(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 "), "Sphere");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

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

        function step150(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 "), "D&B Overlay 1");
            desc1.putReference(cTID("null"), ref1);
            desc1.putBoolean(cTID("MkVs"), false);
            executeAction(cTID("slct"), desc1, dialogMode);
        }

        function step151(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("DdTl"));
            desc1.putReference(cTID("null"), ref1);
            executeAction(cTID("slct"), 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();
        step72();
        step73();
        step74();
        step75();
        step76();
        step77();
        step78();
        step79();
        step80();
        step81();
        step82();
        step83();
        step84();
        step85();
        step86();
        step87();
        step88();
        step89();
        step90();
        step91();
        step92();
        step93();
        step94();
        step95();
        step96();
        step97();
        step98();
        step99();
        step100();
        step101();
        step102();
        step103();
        step104();
        step105();
        step106();
        step107();
        step108();
        step109();
        step110();
        step111();
        step112();
        step113();
        step114();
        step115();
        step116();
        step117();
        step118();
        step119();
        step120();
        step121();
        step122();
        step123();
        step124();
        step125();
        step126();
        step127();
        step128();
        step129();
        step130();
        step131();
        step132();
        step133();
        step134();
        step135();
        step136();
        step137();
        step138();
        step139();
        step140();
        step141();
        step142();
        step143();
        step144();
        step145();
        step146();
        step147();
        step148();
        step149();
        step150();
        step151();
    }
    CreateSphere.main = function() {
        CreateSphere();
    };
    CreateSphere.main();
}