---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "rippleDataApi",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "deployment_env_config",
        position: (8, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "builtins",
        position: (8, 27),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "toJSON",
          position: (8, 36),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "production",
             position: (9, 5),
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "port",
                position: (10, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "toString",
               position: (10, 14),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (10, 23),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "port",
                   position: (10, 27),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "maxSockets",
                position: (11, 7),
               },
              ],
             },
             Int {
              value: 150,
              position: (11, 20),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "batchSize",
                position: (12, 7),
               },
              ],
             },
             Int {
              value: 100,
              position: (12, 19),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "startIndex",
                position: (13, 7),
               },
              ],
             },
             Int {
              value: 32570,
              position: (13, 20),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "rippleds",
                position: (14, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (14, 18),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "rippleds",
                 position: (14, 22),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "redis",
                position: (15, 7),
               },
              ],
             },
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "enable",
                   position: (16, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (16, 18),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "redis",
                    position: (16, 22),
                   },
                   Raw {
                    content: "enable",
                    position: (16, 28),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "host",
                   position: (17, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (17, 16),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "redis",
                    position: (17, 20),
                   },
                   Raw {
                    content: "host",
                    position: (17, 26),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "port",
                   position: (18, 9),
                  },
                 ],
                },
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (18, 16),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "redis",
                    position: (18, 20),
                   },
                   Raw {
                    content: "port",
                    position: (18, 26),
                   },
                  ],
                 },
                 default: None,
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "options",
                   position: (19, 9),
                  },
                  Raw {
                   content: "auth_pass",
                   position: (19, 17),
                  },
                 ],
                },
                Variable {
                 identifier: "null",
                 position: (19, 29),
                },
               ),
              ],
              recursive: false,
              position: (15, 15),
             },
            ),
           ],
           recursive: false,
           position: (9, 18),
          },
         ),
        ],
        recursive: false,
        position: (8, 43),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "db_config",
        position: (24, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "builtins",
        position: (24, 15),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "toJSON",
          position: (24, 24),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "production",
             position: (25, 5),
            },
           ],
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "username",
                position: (26, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "optional",
               position: (26, 18),
              },
              arguments: [
               BinaryOperation {
                operator: NotEqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (26, 28),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "couchdb",
                     position: (26, 32),
                    },
                    Raw {
                     content: "pass",
                     position: (26, 40),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [],
                 },
                ],
                position: (26, 45),
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (26, 52),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "couchdb",
                   position: (26, 56),
                  },
                  Raw {
                   content: "user",
                   position: (26, 64),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "password",
                position: (27, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "optional",
               position: (27, 18),
              },
              arguments: [
               BinaryOperation {
                operator: NotEqualTo,
                operands: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (27, 28),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "couchdb",
                     position: (27, 32),
                    },
                    Raw {
                     content: "pass",
                     position: (27, 40),
                    },
                   ],
                  },
                  default: None,
                 },
                 String {
                  parts: [],
                 },
                ],
                position: (27, 45),
               },
               PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (27, 52),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "couchdb",
                   position: (27, 56),
                  },
                  Raw {
                   content: "pass",
                   position: (27, 64),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "host",
                position: (28, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (28, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "couchdb",
                 position: (28, 18),
                },
                Raw {
                 content: "host",
                 position: (28, 26),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "port",
                position: (29, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (29, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "couchdb",
                 position: (29, 18),
                },
                Raw {
                 content: "port",
                 position: (29, 26),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "database",
                position: (30, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (30, 18),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "couchdb",
                 position: (30, 22),
                },
                Raw {
                 content: "db",
                 position: (30, 30),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "protocol",
                position: (31, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                content: "http",
                position: (31, 19),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (25, 18),
          },
         ),
        ],
        recursive: false,
        position: (24, 31),
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (36, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "services",
            position: (37, 5),
           },
           Raw {
            content: "rippleDataApi",
            position: (37, 14),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (38, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (38, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "ripple data api",
                 position: (38, 32),
                },
               ],
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "port",
               position: (40, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (40, 14),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (41, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Ripple data api port",
                    position: (41, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (42, 9),
                   },
                  ],
                 },
                 Int {
                  value: 5993,
                  position: (42, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (43, 9),
                   },
                  ],
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (43, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "int",
                     position: (43, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                ),
               ],
               recursive: false,
               position: (40, 23),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "importMode",
               position: (46, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (46, 20),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (47, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Ripple data api import mode.",
                    position: (47, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (48, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "liveOnly",
                    position: (48, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (49, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (49, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "enum",
                      position: (49, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "live",
                        position: (49, 29),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "liveOnly",
                        position: (49, 36),
                       },
                      ],
                     },
                    ],
                    position: (49, 27),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (46, 29),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "minLedger",
               position: (52, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (52, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (53, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Ripple data api minimal ledger to fetch.",
                    position: (53, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (54, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (54, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (55, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (55, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (55, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (55, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "int",
                       position: (55, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (52, 28),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "maxLedger",
               position: (58, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (58, 19),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (59, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "Ripple data api maximal ledger to fetch.",
                    position: (59, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (60, 9),
                   },
                  ],
                 },
                 Variable {
                  identifier: "null",
                  position: (60, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (61, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (61, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "nullOr",
                      position: (61, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (61, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "int",
                       position: (61, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (58, 28),
              },
             ],
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "redis",
               position: (64, 7),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "enable",
                  position: (65, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (65, 18),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (66, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Whether to enable caching of ripple data to redis.",
                       position: (66, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (67, 11),
                      },
                     ],
                    },
                    Variable {
                     identifier: "true",
                     position: (67, 21),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (68, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (68, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "bool",
                        position: (68, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (65, 27),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "host",
                  position: (71, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (71, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (72, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api redis host.",
                       position: (72, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (73, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "localhost",
                       position: (73, 22),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (74, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (74, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (74, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (71, 25),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "port",
                  position: (77, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (77, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (78, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api redis port.",
                       position: (78, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (79, 11),
                      },
                     ],
                    },
                    Int {
                     value: 5984,
                     position: (79, 21),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (80, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (80, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "int",
                        position: (80, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (77, 25),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (64, 15),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "couchdb",
               position: (84, 7),
              },
             ],
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "host",
                  position: (85, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (85, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (86, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api couchdb host.",
                       position: (86, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (87, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "localhost",
                       position: (87, 22),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (88, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (88, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (88, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (85, 25),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "port",
                  position: (91, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (91, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (92, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api couchdb port.",
                       position: (92, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (93, 11),
                      },
                     ],
                    },
                    Int {
                     value: 5984,
                     position: (93, 21),
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (94, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (94, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "int",
                        position: (94, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (91, 25),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "db",
                  position: (97, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (97, 14),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (98, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api couchdb database.",
                       position: (98, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (99, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "rippled",
                       position: (99, 22),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (100, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (100, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (100, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (97, 23),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "user",
                  position: (103, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (103, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (104, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api couchdb username.",
                       position: (104, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (105, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "rippled",
                       position: (105, 22),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (106, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (106, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (106, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (103, 25),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "pass",
                  position: (109, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (109, 16),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (110, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Ripple data api couchdb password.",
                       position: (110, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (111, 11),
                      },
                     ],
                    },
                    String {
                     parts: [],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (112, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (112, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "str",
                        position: (112, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                  ],
                  recursive: false,
                  position: (109, 25),
                 },
                ],
               },
              ),
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "create",
                  position: (115, 9),
                 },
                ],
               },
               FunctionApplication {
                function: Variable {
                 identifier: "mkOption",
                 position: (115, 18),
                },
                arguments: [
                 Map {
                  bindings: [
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "description",
                       position: (116, 11),
                      },
                     ],
                    },
                    String {
                     parts: [
                      Raw {
                       content: "Whether to create couchdb database needed by ripple data api.",
                       position: (116, 26),
                      },
                     ],
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "type",
                       position: (117, 11),
                      },
                     ],
                    },
                    PropertyAccess {
                     expression: Variable {
                      identifier: "types",
                      position: (117, 18),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "bool",
                        position: (117, 24),
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                   KeyValue(
                    AttributePath {
                     attributes: [
                      Raw {
                       content: "default",
                       position: (118, 11),
                      },
                     ],
                    },
                    Variable {
                     identifier: "true",
                     position: (118, 21),
                    },
                   ),
                  ],
                  recursive: false,
                  position: (115, 27),
                 },
                ],
               },
              ),
             ],
             recursive: false,
             position: (84, 17),
            },
           ),
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "rippleds",
               position: (122, 7),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (122, 18),
             },
             arguments: [
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "description",
                    position: (123, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "List of rippleds to be used by ripple data api.",
                    position: (123, 24),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "default",
                    position: (124, 9),
                   },
                  ],
                 },
                 List {
                  elements: [
                   String {
                    parts: [
                     Raw {
                      content: "http://s_east.ripple.com:51234",
                      position: (125, 12),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Raw {
                      content: "http://s_west.ripple.com:51234",
                      position: (126, 12),
                     },
                    ],
                   },
                  ],
                  position: (124, 19),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "type",
                    position: (128, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "types",
                    position: (128, 16),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "listOf",
                      position: (128, 22),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "types",
                     position: (128, 29),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "str",
                       position: (128, 35),
                      },
                     ],
                    },
                    default: None,
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (122, 27),
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (37, 30),
         },
        ),
       ],
       recursive: false,
       position: (36, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (133, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (133, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (133, 18),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (133, 22),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (134, 5),
             },
             Raw {
              content: "couchdb",
              position: (134, 14),
             },
             Raw {
              content: "enable",
              position: (134, 22),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkDefault",
             position: (134, 31),
            },
            arguments: [
             Variable {
              identifier: "true",
              position: (134, 41),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (135, 5),
             },
             Raw {
              content: "couchdb",
              position: (135, 14),
             },
             Raw {
              content: "bindAddress",
              position: (135, 22),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkDefault",
             position: (135, 36),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "0.0.0.0",
                position: (135, 47),
               },
              ],
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "services",
              position: (136, 5),
             },
             Raw {
              content: "redis",
              position: (136, 14),
             },
             Raw {
              content: "enable",
              position: (136, 20),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkDefault",
             position: (136, 29),
            },
            arguments: [
             Variable {
              identifier: "true",
              position: (136, 39),
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (138, 5),
             },
             Raw {
              content: "services",
              position: (138, 13),
             },
             Raw {
              content: "ripple-data-api",
              position: (138, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (139, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "couchdb.service",
                   position: (139, 18),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "redis.service",
                   position: (139, 36),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "ripple-data-api-importer.service",
                   position: (139, 52),
                  },
                 ],
                },
               ],
               position: (139, 15),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (140, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (140, 21),
                  },
                 ],
                },
               ],
               position: (140, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "environment",
                 position: (142, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "NODE_ENV",
                    position: (143, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "production",
                    position: (143, 21),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "DEPLOYMENT_ENVS_CONFIG",
                    position: (144, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (144, 34),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "writeText",
                      position: (144, 39),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "deployment.environment.json",
                      position: (144, 50),
                     },
                    ],
                   },
                   Variable {
                    identifier: "deployment_env_config",
                    position: (144, 79),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "DB_CONFIG",
                    position: (145, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (145, 21),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "writeText",
                      position: (145, 26),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "db.config.json",
                      position: (145, 37),
                     },
                    ],
                   },
                   Variable {
                    identifier: "db_config",
                    position: (145, 53),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (142, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (148, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "ExecStart",
                    position: (149, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Expression {
                    expression: PropertyAccess {
                     expression: Variable {
                      identifier: "pkgs",
                      position: (149, 24),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "ripple-data-api",
                        position: (149, 29),
                       },
                      ],
                     },
                     default: None,
                    },
                   },
                   Raw {
                    content: "/bin/api",
                    position: (149, 45),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "Restart",
                    position: (150, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "always",
                    position: (150, 20),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "User",
                    position: (151, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "ripple-data-api",
                    position: (151, 17),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (148, 23),
              },
             ),
            ],
            recursive: false,
            position: (138, 40),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "systemd",
              position: (155, 5),
             },
             Raw {
              content: "services",
              position: (155, 13),
             },
             Raw {
              content: "ripple-data-importer",
              position: (155, 22),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "after",
                 position: (156, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "couchdb.service",
                   position: (156, 18),
                  },
                 ],
                },
               ],
               position: (156, 15),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "wantedBy",
                 position: (157, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (157, 21),
                  },
                 ],
                },
               ],
               position: (157, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "path",
                 position: (158, 7),
                },
               ],
              },
              List {
               elements: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "pkgs",
                  position: (158, 16),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "curl",
                    position: (158, 21),
                   },
                  ],
                 },
                 default: None,
                },
               ],
               position: (158, 14),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "environment",
                 position: (160, 7),
                },
               ],
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "NODE_ENV",
                    position: (161, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "production",
                    position: (161, 21),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "DEPLOYMENT_ENVS_CONFIG",
                    position: (162, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (162, 34),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "writeText",
                      position: (162, 39),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "deployment.environment.json",
                      position: (162, 50),
                     },
                    ],
                   },
                   Variable {
                    identifier: "deployment_env_config",
                    position: (162, 79),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "DB_CONFIG",
                    position: (163, 9),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (163, 21),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "writeText",
                      position: (163, 26),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "db.config.json",
                      position: (163, 37),
                     },
                    ],
                   },
                   Variable {
                    identifier: "db_config",
                    position: (163, 53),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "LOG_FILE",
                    position: (164, 9),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "/dev/null",
                    position: (164, 21),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (160, 21),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "serviceConfig",
                 position: (167, 7),
                },
               ],
              },
              LetIn {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "importMode",
                    position: (168, 9),
                   },
                  ],
                 },
                 IfThenElse {
                  predicate: BinaryOperation {
                   operator: LogicalAnd,
                   operands: [
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (169, 14),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "minLedger",
                          position: (169, 18),
                         },
                        ],
                       },
                       default: None,
                      },
                      Variable {
                       identifier: "null",
                       position: (169, 31),
                      },
                     ],
                     position: (169, 28),
                    },
                    BinaryOperation {
                     operator: NotEqualTo,
                     operands: [
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (169, 39),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "maxLedger",
                          position: (169, 43),
                         },
                        ],
                       },
                       default: None,
                      },
                      Variable {
                       identifier: "null",
                       position: (169, 56),
                      },
                     ],
                     position: (169, 53),
                    },
                   ],
                   position: (169, 36),
                  },
                  then: String {
                   parts: [
                    Expression {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "toString",
                       position: (170, 16),
                      },
                      arguments: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (170, 25),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "minLedger",
                           position: (170, 29),
                          },
                         ],
                        },
                        default: None,
                       },
                      ],
                     },
                    },
                    Raw {
                     content: " ",
                     position: (170, 39),
                    },
                    Expression {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "toString",
                       position: (170, 42),
                      },
                      arguments: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (170, 51),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "maxLedger",
                           position: (170, 55),
                          },
                         ],
                        },
                        default: None,
                       },
                      ],
                     },
                    },
                   ],
                  },
                  else_: PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (172, 13),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "importMode",
                      position: (172, 17),
                     },
                    ],
                   },
                   default: None,
                  },
                  position: (169, 11),
                 },
                ),
               ],
               target: Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "ExecStart",
                     position: (174, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "pkgs",
                       position: (174, 24),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "ripple-data-api",
                         position: (174, 29),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/bin/importer ",
                     position: (174, 45),
                    },
                    Expression {
                     expression: Variable {
                      identifier: "importMode",
                      position: (174, 61),
                     },
                    },
                    Raw {
                     content: " debug",
                     position: (174, 72),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "Restart",
                     position: (175, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "always",
                     position: (175, 20),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "User",
                     position: (176, 9),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "ripple-data-api",
                     position: (176, 17),
                    },
                   ],
                  },
                 ),
                ],
                recursive: false,
                position: (173, 10),
               },
               position: (167, 23),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "preStart",
                 position: (179, 7),
                },
               ],
              },
              FunctionApplication {
               function: Variable {
                identifier: "mkMerge",
                position: (179, 18),
               },
               arguments: [
                List {
                 elements: [
                  FunctionApplication {
                   function: Variable {
                    identifier: "mkIf",
                    position: (180, 10),
                   },
                   arguments: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (180, 16),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "couchdb",
                        position: (180, 20),
                       },
                       Raw {
                        content: "create",
                        position: (180, 28),
                       },
                      ],
                     },
                     default: None,
                    },
                    String {
                     parts: [
                      Raw {
                       content: "HOST=\"http://",
                       position: (181, 1),
                      },
                      Expression {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "optionalString",
                         position: (181, 26),
                        },
                        arguments: [
                         BinaryOperation {
                          operator: NotEqualTo,
                          operands: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "cfg",
                             position: (181, 42),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "couchdb",
                               position: (181, 46),
                              },
                              Raw {
                               content: "pass",
                               position: (181, 54),
                              },
                             ],
                            },
                            default: None,
                           },
                           String {
                            parts: [],
                           },
                          ],
                          position: (181, 59),
                         },
                         String {
                          parts: [
                           Expression {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (181, 69),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "couchdb",
                                position: (181, 73),
                               },
                               Raw {
                                content: "user",
                                position: (181, 81),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: ":",
                            position: (181, 86),
                           },
                           Expression {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (181, 89),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "couchdb",
                                position: (181, 93),
                               },
                               Raw {
                                content: "pass",
                                position: (181, 101),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: "@",
                            position: (181, 106),
                           },
                          ],
                         },
                        ],
                       },
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (181, 111),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "couchdb",
                           position: (181, 115),
                          },
                          Raw {
                           content: "host",
                           position: (181, 123),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: ":",
                       position: (181, 128),
                      },
                      Expression {
                       expression: FunctionApplication {
                        function: Variable {
                         identifier: "toString",
                         position: (181, 131),
                        },
                        arguments: [
                         PropertyAccess {
                          expression: Variable {
                           identifier: "cfg",
                           position: (181, 140),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "couchdb",
                             position: (181, 144),
                            },
                            Raw {
                             content: "port",
                             position: (181, 152),
                            },
                           ],
                          },
                          default: None,
                         },
                        ],
                       },
                      },
                      Raw {
                       content: "\"\ncurl -X PUT $HOST/",
                       position: (181, 157),
                      },
                      Expression {
                       expression: PropertyAccess {
                        expression: Variable {
                         identifier: "cfg",
                         position: (182, 31),
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "couchdb",
                           position: (182, 35),
                          },
                          Raw {
                           content: "db",
                           position: (182, 43),
                          },
                         ],
                        },
                        default: None,
                       },
                      },
                      Raw {
                       content: " || true\n",
                       position: (182, 46),
                      },
                     ],
                    },
                   ],
                  },
                  String {
                   parts: [
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "pkgs",
                       position: (184, 12),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "ripple-data-api",
                         position: (184, 17),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/bin/update-views",
                     position: (184, 33),
                    },
                   ],
                  },
                 ],
                 position: (179, 26),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (155, 45),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (188, 5),
             },
             Raw {
              content: "users",
              position: (188, 11),
             },
             Raw {
              content: "ripple-data-api",
              position: (188, 17),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (189, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Ripple data api user",
                 position: (189, 24),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "isSystemUser",
                 position: (190, 9),
                },
               ],
              },
              Variable {
               identifier: "true",
               position: (190, 24),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "group",
                 position: (191, 9),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "ripple-data-api",
                 position: (191, 18),
                },
               ],
              },
             ),
            ],
            recursive: false,
            position: (189, 7),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "users",
              position: (193, 5),
             },
             Raw {
              content: "groups",
              position: (193, 11),
             },
             Raw {
              content: "ripple-data-api",
              position: (193, 18),
             },
            ],
           },
           Map {
            bindings: [],
            recursive: false,
            position: (193, 36),
           },
          ),
         ],
         recursive: false,
         position: (133, 30),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (35, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}