(function(args) {
    try {
        console.debug("GFACL_Logic in dom");
        let load_ACL_Logic = function() {
            new GFACL_Logic(args);
        };
        if (typeof GFACL_Logic === "undefined") { // if the class is not defined, then defer the script to jQuery
            console.debug("GFACL_Logic: loading after dom");
            window.addEventListener("DOMContentLoaded", function() {
                console.debug("GFACL_Logic: ", args);
                if (typeof GFACL_Logic === "undefined" && typeof gform === "undefined") {
                    console.warn("GFACL_Logic: gform and GFACL are not yet ready");
                } else {
                    load_ACL_Logic();
                }
            });
        } else {
            console.debug("GFACL_Logic: loading now");
            load_ACL_Logic();
        }
    } catch(e) {
        console.warn("GFACL_Logic: ", e);
    }
})({
    "formId": 90,
    "logic": {
        "field\/9\/90": {
            "actionType": "hide",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Tankless Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                }
            ]
        },
        "field\/53\/90": {
            "actionType": "hide",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "is",
                            "value": "Tankless Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                }
            ]
        },
        "field\/54\/90": {
            "actionType": "hide",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "is",
                            "value": "Tankless Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                }
            ]
        },
        "field\/67\/90": {
            "actionType": "show",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 16,
                            "operator": "inList",
                            "value": "Repair & Service, Regular Maintenance & Tune-Up, Electrical, Plumbing"
                        }
                    ]
                }
            ]
        },
        "field\/34\/90": {
            "actionType": "show",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "is",
                            "value": "Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "is",
                            "value": "Tankless Water Heater"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps, Water Purification, New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Reverse Osmosis, Water Softener"
                        }
                    ]
                }
            ]
        },
        "field\/89\/90": {
            "actionType": "show",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Water Purification"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps,  New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Tankless Water Heater"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Water Softener"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps,  New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Tankless Water Heater"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 97,
                            "operator": "contains",
                            "value": "Reverse Osmosis"
                        },
                        {
                            "fieldId": 97,
                            "operator": "notInList",
                            "value": "New Furnace \/ Boiler, Heat Pumps,  New AC, New Furnace and AC System, New Humidifier \/ Air Quality, Smart Home Solutions, Smart Home Solutions, Garage Heater, Geothermal, EV Chargers, Tankless Water Heater"
                        }
                    ]
                }
            ]
        },
        "field\/62\/90": {
            "actionType": "show",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 16,
                            "operator": "inList",
                            "value": "Repair & Service, Service & Repair, Regular Maintenance & Tune-Up, Plumbing"
                        },
                        {
                            "fieldId": 46,
                            "operator": "isnot",
                            "value": "Other"
                        },
                        {
                            "fieldId": 47,
                            "operator": "isnot",
                            "value": "Other"
                        },
                        {
                            "fieldId": 48,
                            "operator": "isnot",
                            "value": "Other"
                        },
                        {
                            "fieldId": 49,
                            "operator": "isnot",
                            "value": "Other"
                        },
                        {
                            "fieldId": 39,
                            "operator": "isnot",
                            "value": "Other"
                        },
                        {
                            "fieldId": 41,
                            "operator": "isnot",
                            "value": "Other"
                        },
                        {
                            "fieldId": 45,
                            "operator": "isnot",
                            "value": "Electrical"
                        }
                    ]
                }
            ]
        },
        "field\/63\/90": {
            "actionType": "show",
            "logicType": "any",
            "groups": [
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 16,
                            "operator": "is",
                            "value": "Electrical"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 46,
                            "operator": "is",
                            "value": "Other"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 47,
                            "operator": "is",
                            "value": "Other"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 48,
                            "operator": "is",
                            "value": "Other"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 49,
                            "operator": "is",
                            "value": "Other"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 39,
                            "operator": "is",
                            "value": "Other"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 41,
                            "operator": "is",
                            "value": "Other"
                        }
                    ]
                },
                {
                    "actionType": "show",
                    "logicType": "all",
                    "rules": [
                        {
                            "fieldId": 45,
                            "operator": "is",
                            "value": "Electrical"
                        }
                    ]
                }
            ]
        }
    },
    "pages": {
        "1": "96",
        "44": "1",
        "50": "3"
    }
});