{
  "type": "Program",
  "start": 0,
  "end": 1381,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 42,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "VariableDeclaration",
      "start": 156,
      "end": 170,
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 6,
          "column": 14
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 160,
          "end": 169,
          "loc": {
            "start": {
              "line": 6,
              "column": 4
            },
            "end": {
              "line": 6,
              "column": 13
            }
          },
          "id": {
            "type": "Identifier",
            "start": 160,
            "end": 169,
            "loc": {
              "start": {
                "line": 6,
                "column": 4
              },
              "end": {
                "line": 6,
                "column": 13
              }
            },
            "name": "connector",
            "leadingComments": null
          },
          "init": null,
          "leadingComments": null
        }
      ],
      "kind": "let",
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Assets controller - a set of pure functions for interacting with an assets source (through a connector)\n * @module controllers/assetsController\n ",
          "start": 0,
          "end": 154,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 4,
              "column": 3
            }
          },
          "range": [
            0,
            154
          ]
        }
      ]
    },
    {
      "type": "VariableDeclaration",
      "start": 171,
      "end": 189,
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 7,
          "column": 18
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 175,
          "end": 188,
          "loc": {
            "start": {
              "line": 7,
              "column": 4
            },
            "end": {
              "line": 7,
              "column": 17
            }
          },
          "id": {
            "type": "Identifier",
            "start": 175,
            "end": 188,
            "loc": {
              "start": {
                "line": 7,
                "column": 4
              },
              "end": {
                "line": 7,
                "column": 17
              }
            },
            "name": "connectorName"
          },
          "init": null
        }
      ],
      "kind": "let"
    },
    {
      "type": "VariableDeclaration",
      "start": 190,
      "end": 212,
      "loc": {
        "start": {
          "line": 8,
          "column": 0
        },
        "end": {
          "line": 8,
          "column": 22
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 194,
          "end": 211,
          "loc": {
            "start": {
              "line": 8,
              "column": 4
            },
            "end": {
              "line": 8,
              "column": 21
            }
          },
          "id": {
            "type": "Identifier",
            "start": 194,
            "end": 211,
            "loc": {
              "start": {
                "line": 8,
                "column": 4
              },
              "end": {
                "line": 8,
                "column": 21
              }
            },
            "name": "tempConnectorName"
          },
          "init": null
        }
      ],
      "kind": "let",
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n* Updates the active connector module according to connection params\n* @param {Object} params - connection params\n",
          "start": 214,
          "end": 334,
          "loc": {
            "start": {
              "line": 10,
              "column": 0
            },
            "end": {
              "line": 13,
              "column": 2
            }
          },
          "range": [
            214,
            334
          ]
        }
      ]
    },
    {
      "type": "VariableDeclaration",
      "start": 335,
      "end": 572,
      "loc": {
        "start": {
          "line": 14,
          "column": 0
        },
        "end": {
          "line": 20,
          "column": 2
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 341,
          "end": 571,
          "loc": {
            "start": {
              "line": 14,
              "column": 6
            },
            "end": {
              "line": 20,
              "column": 1
            }
          },
          "id": {
            "type": "Identifier",
            "start": 341,
            "end": 356,
            "loc": {
              "start": {
                "line": 14,
                "column": 6
              },
              "end": {
                "line": 14,
                "column": 21
              }
            },
            "name": "updateConnector",
            "leadingComments": null
          },
          "init": {
            "type": "ArrowFunctionExpression",
            "start": 359,
            "end": 571,
            "loc": {
              "start": {
                "line": 14,
                "column": 24
              },
              "end": {
                "line": 20,
                "column": 1
              }
            },
            "id": null,
            "generator": false,
            "expression": false,
            "async": false,
            "params": [
              {
                "type": "Identifier",
                "start": 360,
                "end": 366,
                "loc": {
                  "start": {
                    "line": 14,
                    "column": 25
                  },
                  "end": {
                    "line": 14,
                    "column": 31
                  }
                },
                "name": "params"
              }
            ],
            "body": {
              "type": "BlockStatement",
              "start": 370,
              "end": 571,
              "loc": {
                "start": {
                  "line": 14,
                  "column": 35
                },
                "end": {
                  "line": 20,
                  "column": 1
                }
              },
              "body": [
                {
                  "type": "ExpressionStatement",
                  "start": 374,
                  "end": 411,
                  "loc": {
                    "start": {
                      "line": 15,
                      "column": 2
                    },
                    "end": {
                      "line": 15,
                      "column": 39
                    }
                  },
                  "expression": {
                    "type": "AssignmentExpression",
                    "start": 374,
                    "end": 410,
                    "loc": {
                      "start": {
                        "line": 15,
                        "column": 2
                      },
                      "end": {
                        "line": 15,
                        "column": 38
                      }
                    },
                    "operator": "=",
                    "left": {
                      "type": "Identifier",
                      "start": 374,
                      "end": 391,
                      "loc": {
                        "start": {
                          "line": 15,
                          "column": 2
                        },
                        "end": {
                          "line": 15,
                          "column": 19
                        }
                      },
                      "name": "tempConnectorName"
                    },
                    "right": {
                      "type": "MemberExpression",
                      "start": 394,
                      "end": 410,
                      "loc": {
                        "start": {
                          "line": 15,
                          "column": 22
                        },
                        "end": {
                          "line": 15,
                          "column": 38
                        }
                      },
                      "object": {
                        "type": "Identifier",
                        "start": 394,
                        "end": 400,
                        "loc": {
                          "start": {
                            "line": 15,
                            "column": 22
                          },
                          "end": {
                            "line": 15,
                            "column": 28
                          }
                        },
                        "name": "params"
                      },
                      "property": {
                        "type": "Identifier",
                        "start": 401,
                        "end": 410,
                        "loc": {
                          "start": {
                            "line": 15,
                            "column": 29
                          },
                          "end": {
                            "line": 15,
                            "column": 38
                          }
                        },
                        "name": "connector"
                      },
                      "computed": false
                    }
                  }
                },
                {
                  "type": "IfStatement",
                  "start": 414,
                  "end": 569,
                  "loc": {
                    "start": {
                      "line": 16,
                      "column": 2
                    },
                    "end": {
                      "line": 19,
                      "column": 3
                    }
                  },
                  "test": {
                    "type": "BinaryExpression",
                    "start": 418,
                    "end": 453,
                    "loc": {
                      "start": {
                        "line": 16,
                        "column": 6
                      },
                      "end": {
                        "line": 16,
                        "column": 41
                      }
                    },
                    "left": {
                      "type": "Identifier",
                      "start": 418,
                      "end": 435,
                      "loc": {
                        "start": {
                          "line": 16,
                          "column": 6
                        },
                        "end": {
                          "line": 16,
                          "column": 23
                        }
                      },
                      "name": "tempConnectorName"
                    },
                    "operator": "!==",
                    "right": {
                      "type": "Identifier",
                      "start": 440,
                      "end": 453,
                      "loc": {
                        "start": {
                          "line": 16,
                          "column": 28
                        },
                        "end": {
                          "line": 16,
                          "column": 41
                        }
                      },
                      "name": "connectorName"
                    }
                  },
                  "consequent": {
                    "type": "BlockStatement",
                    "start": 455,
                    "end": 569,
                    "loc": {
                      "start": {
                        "line": 16,
                        "column": 43
                      },
                      "end": {
                        "line": 19,
                        "column": 3
                      }
                    },
                    "body": [
                      {
                        "type": "ExpressionStatement",
                        "start": 461,
                        "end": 495,
                        "loc": {
                          "start": {
                            "line": 17,
                            "column": 4
                          },
                          "end": {
                            "line": 17,
                            "column": 38
                          }
                        },
                        "expression": {
                          "type": "AssignmentExpression",
                          "start": 461,
                          "end": 494,
                          "loc": {
                            "start": {
                              "line": 17,
                              "column": 4
                            },
                            "end": {
                              "line": 17,
                              "column": 37
                            }
                          },
                          "operator": "=",
                          "left": {
                            "type": "Identifier",
                            "start": 461,
                            "end": 474,
                            "loc": {
                              "start": {
                                "line": 17,
                                "column": 4
                              },
                              "end": {
                                "line": 17,
                                "column": 17
                              }
                            },
                            "name": "connectorName"
                          },
                          "right": {
                            "type": "Identifier",
                            "start": 477,
                            "end": 494,
                            "loc": {
                              "start": {
                                "line": 17,
                                "column": 20
                              },
                              "end": {
                                "line": 17,
                                "column": 37
                              }
                            },
                            "name": "tempConnectorName"
                          }
                        }
                      },
                      {
                        "type": "ExpressionStatement",
                        "start": 500,
                        "end": 565,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 4
                          },
                          "end": {
                            "line": 18,
                            "column": 69
                          }
                        },
                        "expression": {
                          "type": "AssignmentExpression",
                          "start": 500,
                          "end": 564,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 4
                            },
                            "end": {
                              "line": 18,
                              "column": 68
                            }
                          },
                          "operator": "=",
                          "left": {
                            "type": "Identifier",
                            "start": 500,
                            "end": 509,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 4
                              },
                              "end": {
                                "line": 18,
                                "column": 13
                              }
                            },
                            "name": "connector"
                          },
                          "right": {
                            "type": "CallExpression",
                            "start": 512,
                            "end": 564,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 16
                              },
                              "end": {
                                "line": 18,
                                "column": 68
                              }
                            },
                            "callee": {
                              "type": "Identifier",
                              "start": 512,
                              "end": 519,
                              "loc": {
                                "start": {
                                  "line": 18,
                                  "column": 16
                                },
                                "end": {
                                  "line": 18,
                                  "column": 23
                                }
                              },
                              "name": "require"
                            },
                            "arguments": [
                              {
                                "type": "BinaryExpression",
                                "start": 520,
                                "end": 563,
                                "loc": {
                                  "start": {
                                    "line": 18,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 18,
                                    "column": 67
                                  }
                                },
                                "left": {
                                  "type": "Literal",
                                  "start": 520,
                                  "end": 544,
                                  "loc": {
                                    "start": {
                                      "line": 18,
                                      "column": 24
                                    },
                                    "end": {
                                      "line": 18,
                                      "column": 48
                                    }
                                  },
                                  "value": "./../../../connectors/",
                                  "rawValue": "./../../../connectors/",
                                  "raw": "'./../../../connectors/'"
                                },
                                "operator": "+",
                                "right": {
                                  "type": "MemberExpression",
                                  "start": 547,
                                  "end": 563,
                                  "loc": {
                                    "start": {
                                      "line": 18,
                                      "column": 51
                                    },
                                    "end": {
                                      "line": 18,
                                      "column": 67
                                    }
                                  },
                                  "object": {
                                    "type": "Identifier",
                                    "start": 547,
                                    "end": 553,
                                    "loc": {
                                      "start": {
                                        "line": 18,
                                        "column": 51
                                      },
                                      "end": {
                                        "line": 18,
                                        "column": 57
                                      }
                                    },
                                    "name": "params"
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "start": 554,
                                    "end": 563,
                                    "loc": {
                                      "start": {
                                        "line": 18,
                                        "column": 58
                                      },
                                      "end": {
                                        "line": 18,
                                        "column": 67
                                      }
                                    },
                                    "name": "connector"
                                  },
                                  "computed": false
                                }
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "alternate": null
                }
              ]
            }
          },
          "leadingComments": null
        }
      ],
      "kind": "const",
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n* Updates the active connector module according to connection params\n* @param {Object} params - connection params\n",
          "start": 214,
          "end": 334,
          "loc": {
            "start": {
              "line": 10,
              "column": 0
            },
            "end": {
              "line": 13,
              "column": 2
            }
          },
          "range": [
            214,
            334
          ]
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Provides the URI of a specific assets file from connector\n * @param {array|string} path - the path of the assets file to look for\n * @param {Object} params - connection params\n * @returns {function(connectorError: error, uri: string)} callback - possible errors and the uri\n",
          "start": 574,
          "end": 857,
          "loc": {
            "start": {
              "line": 22,
              "column": 0
            },
            "end": {
              "line": 27,
              "column": 2
            }
          },
          "range": [
            574,
            857
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 858,
      "end": 994,
      "loc": {
        "start": {
          "line": 28,
          "column": 0
        },
        "end": {
          "line": 31,
          "column": 2
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 865,
        "end": 994,
        "loc": {
          "start": {
            "line": 28,
            "column": 7
          },
          "end": {
            "line": 31,
            "column": 2
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 871,
            "end": 993,
            "loc": {
              "start": {
                "line": 28,
                "column": 13
              },
              "end": {
                "line": 31,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 871,
              "end": 882,
              "loc": {
                "start": {
                  "line": 28,
                  "column": 13
                },
                "end": {
                  "line": 28,
                  "column": 24
                }
              },
              "name": "getAssetUri",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 885,
              "end": 993,
              "loc": {
                "start": {
                  "line": 28,
                  "column": 27
                },
                "end": {
                  "line": 31,
                  "column": 1
                }
              },
              "id": null,
              "generator": false,
              "expression": false,
              "async": false,
              "params": [
                {
                  "type": "Identifier",
                  "start": 886,
                  "end": 890,
                  "loc": {
                    "start": {
                      "line": 28,
                      "column": 28
                    },
                    "end": {
                      "line": 28,
                      "column": 32
                    }
                  },
                  "name": "path"
                },
                {
                  "type": "Identifier",
                  "start": 892,
                  "end": 898,
                  "loc": {
                    "start": {
                      "line": 28,
                      "column": 34
                    },
                    "end": {
                      "line": 28,
                      "column": 40
                    }
                  },
                  "name": "params"
                },
                {
                  "type": "Identifier",
                  "start": 900,
                  "end": 908,
                  "loc": {
                    "start": {
                      "line": 28,
                      "column": 42
                    },
                    "end": {
                      "line": 28,
                      "column": 50
                    }
                  },
                  "name": "callback"
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start": 912,
                "end": 993,
                "loc": {
                  "start": {
                    "line": 28,
                    "column": 54
                  },
                  "end": {
                    "line": 31,
                    "column": 1
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 916,
                    "end": 940,
                    "loc": {
                      "start": {
                        "line": 29,
                        "column": 2
                      },
                      "end": {
                        "line": 29,
                        "column": 26
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 916,
                      "end": 939,
                      "loc": {
                        "start": {
                          "line": 29,
                          "column": 2
                        },
                        "end": {
                          "line": 29,
                          "column": 25
                        }
                      },
                      "callee": {
                        "type": "Identifier",
                        "start": 916,
                        "end": 931,
                        "loc": {
                          "start": {
                            "line": 29,
                            "column": 2
                          },
                          "end": {
                            "line": 29,
                            "column": 17
                          }
                        },
                        "name": "updateConnector"
                      },
                      "arguments": [
                        {
                          "type": "Identifier",
                          "start": 932,
                          "end": 938,
                          "loc": {
                            "start": {
                              "line": 29,
                              "column": 18
                            },
                            "end": {
                              "line": 29,
                              "column": 24
                            }
                          },
                          "name": "params"
                        }
                      ]
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 943,
                    "end": 991,
                    "loc": {
                      "start": {
                        "line": 30,
                        "column": 2
                      },
                      "end": {
                        "line": 30,
                        "column": 50
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 943,
                      "end": 990,
                      "loc": {
                        "start": {
                          "line": 30,
                          "column": 2
                        },
                        "end": {
                          "line": 30,
                          "column": 49
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 943,
                        "end": 964,
                        "loc": {
                          "start": {
                            "line": 30,
                            "column": 2
                          },
                          "end": {
                            "line": 30,
                            "column": 23
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 943,
                          "end": 952,
                          "loc": {
                            "start": {
                              "line": 30,
                              "column": 2
                            },
                            "end": {
                              "line": 30,
                              "column": 11
                            }
                          },
                          "name": "connector"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 953,
                          "end": 964,
                          "loc": {
                            "start": {
                              "line": 30,
                              "column": 12
                            },
                            "end": {
                              "line": 30,
                              "column": 23
                            }
                          },
                          "name": "getAssetUri"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "ObjectExpression",
                          "start": 965,
                          "end": 979,
                          "loc": {
                            "start": {
                              "line": 30,
                              "column": 24
                            },
                            "end": {
                              "line": 30,
                              "column": 38
                            }
                          },
                          "properties": [
                            {
                              "type": "Property",
                              "start": 966,
                              "end": 970,
                              "loc": {
                                "start": {
                                  "line": 30,
                                  "column": 25
                                },
                                "end": {
                                  "line": 30,
                                  "column": 29
                                }
                              },
                              "method": false,
                              "shorthand": true,
                              "computed": false,
                              "key": {
                                "type": "Identifier",
                                "start": 966,
                                "end": 970,
                                "loc": {
                                  "start": {
                                    "line": 30,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 30,
                                    "column": 29
                                  }
                                },
                                "name": "path"
                              },
                              "kind": "init",
                              "value": {
                                "type": "Identifier",
                                "start": 966,
                                "end": 970,
                                "loc": {
                                  "start": {
                                    "line": 30,
                                    "column": 25
                                  },
                                  "end": {
                                    "line": 30,
                                    "column": 29
                                  }
                                },
                                "name": "path"
                              }
                            },
                            {
                              "type": "Property",
                              "start": 972,
                              "end": 978,
                              "loc": {
                                "start": {
                                  "line": 30,
                                  "column": 31
                                },
                                "end": {
                                  "line": 30,
                                  "column": 37
                                }
                              },
                              "method": false,
                              "shorthand": true,
                              "computed": false,
                              "key": {
                                "type": "Identifier",
                                "start": 972,
                                "end": 978,
                                "loc": {
                                  "start": {
                                    "line": 30,
                                    "column": 31
                                  },
                                  "end": {
                                    "line": 30,
                                    "column": 37
                                  }
                                },
                                "name": "params"
                              },
                              "kind": "init",
                              "value": {
                                "type": "Identifier",
                                "start": 972,
                                "end": 978,
                                "loc": {
                                  "start": {
                                    "line": 30,
                                    "column": 31
                                  },
                                  "end": {
                                    "line": 30,
                                    "column": 37
                                  }
                                },
                                "name": "params"
                              }
                            }
                          ]
                        },
                        {
                          "type": "Identifier",
                          "start": 981,
                          "end": 989,
                          "loc": {
                            "start": {
                              "line": 30,
                              "column": 40
                            },
                            "end": {
                              "line": 30,
                              "column": 48
                            }
                          },
                          "name": "callback"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Provides the URI of a specific assets file from connector\n * @param {array|string} path - the path of the assets file to look for\n * @param {Object} params - connection params\n * @returns {function(connectorError: error, uri: string)} callback - possible errors and the uri\n",
            "start": 574,
            "end": 857,
            "loc": {
              "start": {
                "line": 22,
                "column": 0
              },
              "end": {
                "line": 27,
                "column": 2
              }
            },
            "range": [
              574,
              857
            ]
          }
        ],
        "trailingComments": [
          {
            "type": "Block",
            "value": "*\n* Returns an appropriate connector function for directly reading a file from assets source\n* @param {Object} params - connection params\n* @returns {function(err: error, res: Object)} readFunction - the connector function for directly reading a file contents from assets source\n",
            "start": 996,
            "end": 1279,
            "loc": {
              "start": {
                "line": 33,
                "column": 0
              },
              "end": {
                "line": 37,
                "column": 2
              }
            },
            "range": [
              996,
              1279
            ]
          }
        ]
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Provides the URI of a specific assets file from connector\n * @param {array|string} path - the path of the assets file to look for\n * @param {Object} params - connection params\n * @returns {function(connectorError: error, uri: string)} callback - possible errors and the uri\n",
          "start": 574,
          "end": 857,
          "loc": {
            "start": {
              "line": 22,
              "column": 0
            },
            "end": {
              "line": 27,
              "column": 2
            }
          },
          "range": [
            574,
            857
          ]
        }
      ],
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n* Returns an appropriate connector function for directly reading a file from assets source\n* @param {Object} params - connection params\n* @returns {function(err: error, res: Object)} readFunction - the connector function for directly reading a file contents from assets source\n",
          "start": 996,
          "end": 1279,
          "loc": {
            "start": {
              "line": 33,
              "column": 0
            },
            "end": {
              "line": 37,
              "column": 2
            }
          },
          "range": [
            996,
            1279
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 1280,
      "end": 1380,
      "loc": {
        "start": {
          "line": 38,
          "column": 0
        },
        "end": {
          "line": 41,
          "column": 2
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 1287,
        "end": 1380,
        "loc": {
          "start": {
            "line": 38,
            "column": 7
          },
          "end": {
            "line": 41,
            "column": 2
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 1293,
            "end": 1379,
            "loc": {
              "start": {
                "line": 38,
                "column": 13
              },
              "end": {
                "line": 41,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 1293,
              "end": 1302,
              "loc": {
                "start": {
                  "line": 38,
                  "column": 13
                },
                "end": {
                  "line": 38,
                  "column": 22
                }
              },
              "name": "getReader",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 1305,
              "end": 1379,
              "loc": {
                "start": {
                  "line": 38,
                  "column": 25
                },
                "end": {
                  "line": 41,
                  "column": 1
                }
              },
              "id": null,
              "generator": false,
              "expression": false,
              "async": false,
              "params": [
                {
                  "type": "Identifier",
                  "start": 1306,
                  "end": 1312,
                  "loc": {
                    "start": {
                      "line": 38,
                      "column": 26
                    },
                    "end": {
                      "line": 38,
                      "column": 32
                    }
                  },
                  "name": "params"
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start": 1316,
                "end": 1379,
                "loc": {
                  "start": {
                    "line": 38,
                    "column": 36
                  },
                  "end": {
                    "line": 41,
                    "column": 1
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 1320,
                    "end": 1344,
                    "loc": {
                      "start": {
                        "line": 39,
                        "column": 2
                      },
                      "end": {
                        "line": 39,
                        "column": 26
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 1320,
                      "end": 1343,
                      "loc": {
                        "start": {
                          "line": 39,
                          "column": 2
                        },
                        "end": {
                          "line": 39,
                          "column": 25
                        }
                      },
                      "callee": {
                        "type": "Identifier",
                        "start": 1320,
                        "end": 1335,
                        "loc": {
                          "start": {
                            "line": 39,
                            "column": 2
                          },
                          "end": {
                            "line": 39,
                            "column": 17
                          }
                        },
                        "name": "updateConnector"
                      },
                      "arguments": [
                        {
                          "type": "Identifier",
                          "start": 1336,
                          "end": 1342,
                          "loc": {
                            "start": {
                              "line": 39,
                              "column": 18
                            },
                            "end": {
                              "line": 39,
                              "column": 24
                            }
                          },
                          "name": "params"
                        }
                      ]
                    }
                  },
                  {
                    "type": "ReturnStatement",
                    "start": 1347,
                    "end": 1377,
                    "loc": {
                      "start": {
                        "line": 40,
                        "column": 2
                      },
                      "end": {
                        "line": 40,
                        "column": 32
                      }
                    },
                    "argument": {
                      "type": "MemberExpression",
                      "start": 1354,
                      "end": 1376,
                      "loc": {
                        "start": {
                          "line": 40,
                          "column": 9
                        },
                        "end": {
                          "line": 40,
                          "column": 31
                        }
                      },
                      "object": {
                        "type": "Identifier",
                        "start": 1354,
                        "end": 1363,
                        "loc": {
                          "start": {
                            "line": 40,
                            "column": 9
                          },
                          "end": {
                            "line": 40,
                            "column": 18
                          }
                        },
                        "name": "connector"
                      },
                      "property": {
                        "type": "Identifier",
                        "start": 1364,
                        "end": 1376,
                        "loc": {
                          "start": {
                            "line": 40,
                            "column": 19
                          },
                          "end": {
                            "line": 40,
                            "column": 31
                          }
                        },
                        "name": "readFromPath"
                      },
                      "computed": false
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n* Returns an appropriate connector function for directly reading a file from assets source\n* @param {Object} params - connection params\n* @returns {function(err: error, res: Object)} readFunction - the connector function for directly reading a file contents from assets source\n",
            "start": 996,
            "end": 1279,
            "loc": {
              "start": {
                "line": 33,
                "column": 0
              },
              "end": {
                "line": 37,
                "column": 2
              }
            },
            "range": [
              996,
              1279
            ]
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n* Returns an appropriate connector function for directly reading a file from assets source\n* @param {Object} params - connection params\n* @returns {function(err: error, res: Object)} readFunction - the connector function for directly reading a file contents from assets source\n",
          "start": 996,
          "end": 1279,
          "loc": {
            "start": {
              "line": 33,
              "column": 0
            },
            "end": {
              "line": 37,
              "column": 2
            }
          },
          "range": [
            996,
            1279
          ]
        }
      ]
    }
  ]
}