{
  "type": "Program",
  "start": 0,
  "end": 732,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 24,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "ImportDeclaration",
      "start": 0,
      "end": 26,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 26
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 7,
          "end": 12,
          "loc": {
            "start": {
              "line": 1,
              "column": 7
            },
            "end": {
              "line": 1,
              "column": 12
            }
          },
          "local": {
            "type": "Identifier",
            "start": 7,
            "end": 12,
            "loc": {
              "start": {
                "line": 1,
                "column": 7
              },
              "end": {
                "line": 1,
                "column": 12
              }
            },
            "name": "React"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 18,
        "end": 25,
        "loc": {
          "start": {
            "line": 1,
            "column": 18
          },
          "end": {
            "line": 1,
            "column": 25
          }
        },
        "value": "react",
        "rawValue": "react",
        "raw": "'react'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 27,
      "end": 64,
      "loc": {
        "start": {
          "line": 2,
          "column": 0
        },
        "end": {
          "line": 2,
          "column": 37
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 36,
          "end": 41,
          "loc": {
            "start": {
              "line": 2,
              "column": 9
            },
            "end": {
              "line": 2,
              "column": 14
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 36,
            "end": 41,
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 14
              }
            },
            "name": "Route"
          },
          "local": {
            "type": "Identifier",
            "start": 36,
            "end": 41,
            "loc": {
              "start": {
                "line": 2,
                "column": 9
              },
              "end": {
                "line": 2,
                "column": 14
              }
            },
            "name": "Route"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 49,
        "end": 63,
        "loc": {
          "start": {
            "line": 2,
            "column": 22
          },
          "end": {
            "line": 2,
            "column": 36
          }
        },
        "value": "react-router",
        "rawValue": "react-router",
        "raw": "'react-router'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 66,
      "end": 106,
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 40
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 73,
          "end": 84,
          "loc": {
            "start": {
              "line": 4,
              "column": 7
            },
            "end": {
              "line": 4,
              "column": 18
            }
          },
          "local": {
            "type": "Identifier",
            "start": 73,
            "end": 84,
            "loc": {
              "start": {
                "line": 4,
                "column": 7
              },
              "end": {
                "line": 4,
                "column": 18
              }
            },
            "name": "Application"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 90,
        "end": 105,
        "loc": {
          "start": {
            "line": 4,
            "column": 24
          },
          "end": {
            "line": 4,
            "column": 39
          }
        },
        "value": "./application",
        "rawValue": "./application",
        "raw": "'./application'"
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Route creator\n *\n * @param {!function} routes - A function that takes a reference to potential store and returns a React Router route\n * @returns {function} A function that takes a reference to a potential store, runs the `routes` function and wrapps the\n * result in a _Application component_ wrapper. See the README.md for more information on what it does.\n ",
          "start": 108,
          "end": 477,
          "loc": {
            "start": {
              "line": 6,
              "column": 0
            },
            "end": {
              "line": 12,
              "column": 3
            }
          },
          "range": [
            108,
            477
          ]
        }
      ]
    },
    {
      "type": "ExportDefaultDeclaration",
      "start": 478,
      "end": 731,
      "loc": {
        "start": {
          "line": 13,
          "column": 0
        },
        "end": {
          "line": 23,
          "column": 1
        }
      },
      "declaration": {
        "type": "FunctionDeclaration",
        "start": 493,
        "end": 731,
        "loc": {
          "start": {
            "line": 13,
            "column": 15
          },
          "end": {
            "line": 23,
            "column": 1
          }
        },
        "id": {
          "type": "Identifier",
          "start": 502,
          "end": 514,
          "loc": {
            "start": {
              "line": 13,
              "column": 24
            },
            "end": {
              "line": 13,
              "column": 36
            }
          },
          "name": "createRoutes",
          "leadingComments": null
        },
        "generator": false,
        "expression": false,
        "async": false,
        "params": [
          {
            "type": "Identifier",
            "start": 515,
            "end": 521,
            "loc": {
              "start": {
                "line": 13,
                "column": 37
              },
              "end": {
                "line": 13,
                "column": 43
              }
            },
            "name": "routes"
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start": 523,
          "end": 731,
          "loc": {
            "start": {
              "line": 13,
              "column": 45
            },
            "end": {
              "line": 23,
              "column": 1
            }
          },
          "body": [
            {
              "type": "ReturnStatement",
              "start": 529,
              "end": 729,
              "loc": {
                "start": {
                  "line": 14,
                  "column": 4
                },
                "end": {
                  "line": 22,
                  "column": 6
                }
              },
              "argument": {
                "type": "ArrowFunctionExpression",
                "start": 536,
                "end": 728,
                "loc": {
                  "start": {
                    "line": 14,
                    "column": 11
                  },
                  "end": {
                    "line": 22,
                    "column": 5
                  }
                },
                "id": null,
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "Identifier",
                    "start": 536,
                    "end": 541,
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 11
                      },
                      "end": {
                        "line": 14,
                        "column": 16
                      }
                    },
                    "name": "store"
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 545,
                  "end": 728,
                  "loc": {
                    "start": {
                      "line": 14,
                      "column": 20
                    },
                    "end": {
                      "line": 22,
                      "column": 5
                    }
                  },
                  "body": [
                    {
                      "type": "VariableDeclaration",
                      "start": 555,
                      "end": 587,
                      "loc": {
                        "start": {
                          "line": 15,
                          "column": 8
                        },
                        "end": {
                          "line": 15,
                          "column": 40
                        }
                      },
                      "declarations": [
                        {
                          "type": "VariableDeclarator",
                          "start": 561,
                          "end": 586,
                          "loc": {
                            "start": {
                              "line": 15,
                              "column": 14
                            },
                            "end": {
                              "line": 15,
                              "column": 39
                            }
                          },
                          "id": {
                            "type": "Identifier",
                            "start": 561,
                            "end": 570,
                            "loc": {
                              "start": {
                                "line": 15,
                                "column": 14
                              },
                              "end": {
                                "line": 15,
                                "column": 23
                              }
                            },
                            "name": "appRoutes"
                          },
                          "init": {
                            "type": "CallExpression",
                            "start": 573,
                            "end": 586,
                            "loc": {
                              "start": {
                                "line": 15,
                                "column": 26
                              },
                              "end": {
                                "line": 15,
                                "column": 39
                              }
                            },
                            "callee": {
                              "type": "Identifier",
                              "start": 573,
                              "end": 579,
                              "loc": {
                                "start": {
                                  "line": 15,
                                  "column": 26
                                },
                                "end": {
                                  "line": 15,
                                  "column": 32
                                }
                              },
                              "name": "routes"
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 580,
                                "end": 585,
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 33
                                  },
                                  "end": {
                                    "line": 15,
                                    "column": 38
                                  }
                                },
                                "name": "store"
                              }
                            ]
                          }
                        }
                      ],
                      "kind": "const"
                    },
                    {
                      "type": "ReturnStatement",
                      "start": 597,
                      "end": 722,
                      "loc": {
                        "start": {
                          "line": 17,
                          "column": 8
                        },
                        "end": {
                          "line": 21,
                          "column": 10
                        }
                      },
                      "argument": {
                        "type": "JSXElement",
                        "start": 618,
                        "end": 711,
                        "loc": {
                          "start": {
                            "line": 18,
                            "column": 12
                          },
                          "end": {
                            "line": 20,
                            "column": 20
                          }
                        },
                        "openingElement": {
                          "type": "JSXOpeningElement",
                          "start": 618,
                          "end": 660,
                          "loc": {
                            "start": {
                              "line": 18,
                              "column": 12
                            },
                            "end": {
                              "line": 18,
                              "column": 54
                            }
                          },
                          "attributes": [
                            {
                              "type": "JSXAttribute",
                              "start": 625,
                              "end": 633,
                              "loc": {
                                "start": {
                                  "line": 18,
                                  "column": 19
                                },
                                "end": {
                                  "line": 18,
                                  "column": 27
                                }
                              },
                              "name": {
                                "type": "JSXIdentifier",
                                "start": 625,
                                "end": 629,
                                "loc": {
                                  "start": {
                                    "line": 18,
                                    "column": 19
                                  },
                                  "end": {
                                    "line": 18,
                                    "column": 23
                                  }
                                },
                                "name": "path"
                              },
                              "value": {
                                "type": "Literal",
                                "start": 630,
                                "end": 633,
                                "loc": {
                                  "start": {
                                    "line": 18,
                                    "column": 24
                                  },
                                  "end": {
                                    "line": 18,
                                    "column": 27
                                  }
                                },
                                "value": "/",
                                "rawValue": null,
                                "raw": "\"/\""
                              }
                            },
                            {
                              "type": "JSXAttribute",
                              "start": 634,
                              "end": 659,
                              "loc": {
                                "start": {
                                  "line": 18,
                                  "column": 28
                                },
                                "end": {
                                  "line": 18,
                                  "column": 53
                                }
                              },
                              "name": {
                                "type": "JSXIdentifier",
                                "start": 634,
                                "end": 643,
                                "loc": {
                                  "start": {
                                    "line": 18,
                                    "column": 28
                                  },
                                  "end": {
                                    "line": 18,
                                    "column": 37
                                  }
                                },
                                "name": "component"
                              },
                              "value": {
                                "type": "JSXExpressionContainer",
                                "start": 644,
                                "end": 659,
                                "loc": {
                                  "start": {
                                    "line": 18,
                                    "column": 38
                                  },
                                  "end": {
                                    "line": 18,
                                    "column": 53
                                  }
                                },
                                "expression": {
                                  "type": "Identifier",
                                  "start": 646,
                                  "end": 657,
                                  "loc": {
                                    "start": {
                                      "line": 18,
                                      "column": 40
                                    },
                                    "end": {
                                      "line": 18,
                                      "column": 51
                                    }
                                  },
                                  "name": "Application"
                                }
                              }
                            }
                          ],
                          "name": {
                            "type": "JSXIdentifier",
                            "start": 619,
                            "end": 624,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 13
                              },
                              "end": {
                                "line": 18,
                                "column": 18
                              }
                            },
                            "name": "Route"
                          },
                          "selfClosing": false
                        },
                        "closingElement": {
                          "type": "JSXClosingElement",
                          "start": 703,
                          "end": 711,
                          "loc": {
                            "start": {
                              "line": 20,
                              "column": 12
                            },
                            "end": {
                              "line": 20,
                              "column": 20
                            }
                          },
                          "name": {
                            "type": "JSXIdentifier",
                            "start": 705,
                            "end": 710,
                            "loc": {
                              "start": {
                                "line": 20,
                                "column": 14
                              },
                              "end": {
                                "line": 20,
                                "column": 19
                              }
                            },
                            "name": "Route"
                          }
                        },
                        "children": [
                          {
                            "type": "Literal",
                            "start": 660,
                            "end": 677,
                            "loc": {
                              "start": {
                                "line": 18,
                                "column": 54
                              },
                              "end": {
                                "line": 19,
                                "column": 16
                              }
                            },
                            "value": "\n                ",
                            "rawValue": null,
                            "raw": "\n                "
                          },
                          {
                            "type": "JSXExpressionContainer",
                            "start": 677,
                            "end": 690,
                            "loc": {
                              "start": {
                                "line": 19,
                                "column": 16
                              },
                              "end": {
                                "line": 19,
                                "column": 29
                              }
                            },
                            "expression": {
                              "type": "Identifier",
                              "start": 679,
                              "end": 688,
                              "loc": {
                                "start": {
                                  "line": 19,
                                  "column": 18
                                },
                                "end": {
                                  "line": 19,
                                  "column": 27
                                }
                              },
                              "name": "appRoutes"
                            }
                          },
                          {
                            "type": "Literal",
                            "start": 690,
                            "end": 703,
                            "loc": {
                              "start": {
                                "line": 19,
                                "column": 29
                              },
                              "end": {
                                "line": 20,
                                "column": 12
                              }
                            },
                            "value": "\n            ",
                            "rawValue": null,
                            "raw": "\n            "
                          }
                        ],
                        "parenthesizedExpression": true
                      }
                    }
                  ]
                }
              }
            }
          ]
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Route creator\n *\n * @param {!function} routes - A function that takes a reference to potential store and returns a React Router route\n * @returns {function} A function that takes a reference to a potential store, runs the `routes` function and wrapps the\n * result in a _Application component_ wrapper. See the README.md for more information on what it does.\n ",
            "start": 108,
            "end": 477,
            "loc": {
              "start": {
                "line": 6,
                "column": 0
              },
              "end": {
                "line": 12,
                "column": 3
              }
            },
            "range": [
              108,
              477
            ]
          }
        ],
        "trailingComments": []
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Route creator\n *\n * @param {!function} routes - A function that takes a reference to potential store and returns a React Router route\n * @returns {function} A function that takes a reference to a potential store, runs the `routes` function and wrapps the\n * result in a _Application component_ wrapper. See the README.md for more information on what it does.\n ",
          "start": 108,
          "end": 477,
          "loc": {
            "start": {
              "line": 6,
              "column": 0
            },
            "end": {
              "line": 12,
              "column": 3
            }
          },
          "range": [
            108,
            477
          ]
        }
      ]
    }
  ]
}