{
  "type": "Program",
  "start": 0,
  "end": 3439,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 89,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "VariableDeclaration",
      "start": 921,
      "end": 954,
      "loc": {
        "start": {
          "line": 17,
          "column": 0
        },
        "end": {
          "line": 17,
          "column": 33
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 927,
          "end": 953,
          "loc": {
            "start": {
              "line": 17,
              "column": 6
            },
            "end": {
              "line": 17,
              "column": 32
            }
          },
          "id": {
            "type": "Identifier",
            "start": 927,
            "end": 933,
            "loc": {
              "start": {
                "line": 17,
                "column": 6
              },
              "end": {
                "line": 17,
                "column": 12
              }
            },
            "name": "Prince",
            "leadingComments": null
          },
          "init": {
            "type": "CallExpression",
            "start": 936,
            "end": 953,
            "loc": {
              "start": {
                "line": 17,
                "column": 15
              },
              "end": {
                "line": 17,
                "column": 32
              }
            },
            "callee": {
              "type": "Identifier",
              "start": 936,
              "end": 943,
              "loc": {
                "start": {
                  "line": 17,
                  "column": 15
                },
                "end": {
                  "line": 17,
                  "column": 22
                }
              },
              "name": "require"
            },
            "arguments": [
              {
                "type": "Literal",
                "start": 944,
                "end": 952,
                "loc": {
                  "start": {
                    "line": 17,
                    "column": 23
                  },
                  "end": {
                    "line": 17,
                    "column": 31
                  }
                },
                "value": "prince",
                "rawValue": "prince",
                "raw": "'prince'"
              }
            ]
          },
          "leadingComments": null
        }
      ],
      "kind": "const",
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Prince PDF exporter\n * @module exporters/pdfExporter\n ",
          "start": 0,
          "end": 63,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 4,
              "column": 3
            }
          },
          "range": [
            0,
            63
          ]
        },
        {
          "type": "Block",
          "value": "*\n * This module inputs a specific peritext section, including possibly its children sections\n * and outputs a pdf file ready to display.\n * The converter used is PrinceXML non-commercial version.\n * After endless trials with free software converters such as wkhtmltopdf, weasyprint or phantomjs-pdf,\n * I could not find a way to use a free (gratis & open) tech. to produce & sufficiently reliable and user-customizable pdf output (notably via css3 @paged-media props).\n * For instance, wkhtmltopdf (and webkit-based converters in general) does not support 'float:footnotes' feature which is mandatory for scholarly outputs like peritext's ones\n * Therefore I chose proprietary software PrinceXML, which works wonderfully well. It is used in its free version for now (which is why Prince logo is added on the first page, no commercial use license)\n ",
          "start": 66,
          "end": 919,
          "loc": {
            "start": {
              "line": 7,
              "column": 0
            },
            "end": {
              "line": 15,
              "column": 3
            }
          },
          "range": [
            66,
            919
          ]
        }
      ]
    },
    {
      "type": "ImportDeclaration",
      "start": 955,
      "end": 984,
      "loc": {
        "start": {
          "line": 18,
          "column": 0
        },
        "end": {
          "line": 18,
          "column": 29
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 963,
          "end": 970,
          "loc": {
            "start": {
              "line": 18,
              "column": 8
            },
            "end": {
              "line": 18,
              "column": 15
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 963,
            "end": 970,
            "loc": {
              "start": {
                "line": 18,
                "column": 8
              },
              "end": {
                "line": 18,
                "column": 15
              }
            },
            "name": "resolve"
          },
          "local": {
            "type": "Identifier",
            "start": 963,
            "end": 970,
            "loc": {
              "start": {
                "line": 18,
                "column": 8
              },
              "end": {
                "line": 18,
                "column": 15
              }
            },
            "name": "resolve"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 977,
        "end": 983,
        "loc": {
          "start": {
            "line": 18,
            "column": 22
          },
          "end": {
            "line": 18,
            "column": 28
          }
        },
        "value": "path",
        "rawValue": "path",
        "raw": "'path'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 985,
      "end": 1017,
      "loc": {
        "start": {
          "line": 19,
          "column": 0
        },
        "end": {
          "line": 19,
          "column": 32
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 993,
          "end": 1002,
          "loc": {
            "start": {
              "line": 19,
              "column": 8
            },
            "end": {
              "line": 19,
              "column": 17
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 993,
            "end": 1002,
            "loc": {
              "start": {
                "line": 19,
                "column": 8
              },
              "end": {
                "line": 19,
                "column": 17
              }
            },
            "name": "waterfall"
          },
          "local": {
            "type": "Identifier",
            "start": 993,
            "end": 1002,
            "loc": {
              "start": {
                "line": 19,
                "column": 8
              },
              "end": {
                "line": 19,
                "column": 17
              }
            },
            "name": "waterfall"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1009,
        "end": 1016,
        "loc": {
          "start": {
            "line": 19,
            "column": 24
          },
          "end": {
            "line": 19,
            "column": 31
          }
        },
        "value": "async",
        "rawValue": "async",
        "raw": "'async'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 1018,
      "end": 1070,
      "loc": {
        "start": {
          "line": 20,
          "column": 0
        },
        "end": {
          "line": 24,
          "column": 12
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 1029,
          "end": 1038,
          "loc": {
            "start": {
              "line": 21,
              "column": 2
            },
            "end": {
              "line": 21,
              "column": 11
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1029,
            "end": 1038,
            "loc": {
              "start": {
                "line": 21,
                "column": 2
              },
              "end": {
                "line": 21,
                "column": 11
              }
            },
            "name": "writeFile"
          },
          "local": {
            "type": "Identifier",
            "start": 1029,
            "end": 1038,
            "loc": {
              "start": {
                "line": 21,
                "column": 2
              },
              "end": {
                "line": 21,
                "column": 11
              }
            },
            "name": "writeFile"
          }
        },
        {
          "type": "ImportSpecifier",
          "start": 1042,
          "end": 1048,
          "loc": {
            "start": {
              "line": 22,
              "column": 2
            },
            "end": {
              "line": 22,
              "column": 8
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1042,
            "end": 1048,
            "loc": {
              "start": {
                "line": 22,
                "column": 2
              },
              "end": {
                "line": 22,
                "column": 8
              }
            },
            "name": "exists"
          },
          "local": {
            "type": "Identifier",
            "start": 1042,
            "end": 1048,
            "loc": {
              "start": {
                "line": 22,
                "column": 2
              },
              "end": {
                "line": 22,
                "column": 8
              }
            },
            "name": "exists"
          }
        },
        {
          "type": "ImportSpecifier",
          "start": 1052,
          "end": 1057,
          "loc": {
            "start": {
              "line": 23,
              "column": 2
            },
            "end": {
              "line": 23,
              "column": 7
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1052,
            "end": 1057,
            "loc": {
              "start": {
                "line": 23,
                "column": 2
              },
              "end": {
                "line": 23,
                "column": 7
              }
            },
            "name": "mkdir"
          },
          "local": {
            "type": "Identifier",
            "start": 1052,
            "end": 1057,
            "loc": {
              "start": {
                "line": 23,
                "column": 2
              },
              "end": {
                "line": 23,
                "column": 7
              }
            },
            "name": "mkdir"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1065,
        "end": 1069,
        "loc": {
          "start": {
            "line": 24,
            "column": 7
          },
          "end": {
            "line": 24,
            "column": 11
          }
        },
        "value": "fs",
        "rawValue": "fs",
        "raw": "'fs'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 1072,
      "end": 1133,
      "loc": {
        "start": {
          "line": 26,
          "column": 0
        },
        "end": {
          "line": 26,
          "column": 61
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 1080,
          "end": 1092,
          "loc": {
            "start": {
              "line": 26,
              "column": 8
            },
            "end": {
              "line": 26,
              "column": 20
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1080,
            "end": 1092,
            "loc": {
              "start": {
                "line": 26,
                "column": 8
              },
              "end": {
                "line": 26,
                "column": 20
              }
            },
            "name": "getMetaValue"
          },
          "local": {
            "type": "Identifier",
            "start": 1080,
            "end": 1092,
            "loc": {
              "start": {
                "line": 26,
                "column": 8
              },
              "end": {
                "line": 26,
                "column": 20
              }
            },
            "name": "getMetaValue"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1099,
        "end": 1132,
        "loc": {
          "start": {
            "line": 26,
            "column": 27
          },
          "end": {
            "line": 26,
            "column": 60
          }
        },
        "value": "./../../core/utils/sectionUtils",
        "rawValue": "./../../core/utils/sectionUtils",
        "raw": "'./../../core/utils/sectionUtils'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 1134,
      "end": 1201,
      "loc": {
        "start": {
          "line": 27,
          "column": 0
        },
        "end": {
          "line": 27,
          "column": 67
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 1142,
          "end": 1155,
          "loc": {
            "start": {
              "line": 27,
              "column": 8
            },
            "end": {
              "line": 27,
              "column": 21
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1142,
            "end": 1155,
            "loc": {
              "start": {
                "line": 27,
                "column": 8
              },
              "end": {
                "line": 27,
                "column": 21
              }
            },
            "name": "renderSection"
          },
          "local": {
            "type": "Identifier",
            "start": 1142,
            "end": 1155,
            "loc": {
              "start": {
                "line": 27,
                "column": 8
              },
              "end": {
                "line": 27,
                "column": 21
              }
            },
            "name": "renderSection"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1162,
        "end": 1200,
        "loc": {
          "start": {
            "line": 27,
            "column": 28
          },
          "end": {
            "line": 27,
            "column": 66
          }
        },
        "value": "./../../renderers/renderToStaticHtml",
        "rawValue": "./../../renderers/renderToStaticHtml",
        "raw": "'./../../renderers/renderToStaticHtml'"
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Exports a section representation to a pdf file\n * @param {Object} params - The params of the export\n * @param {Object} params.section - the (root) section to export\n * @param {array} params.sectionList - the section context (if necessary)\n * @param {Object} params.settings - the specific rendering settings to use in order to produce the output\n * @param {boolean} params.includeChildren - whether to include section's children sections\n * @param {string} params.destinationFolder - where to output the file\n * @params {Object} assetsController - the module to use in order to communicate with assets\n * @param {Object} assetsParams - the assets parameters to use while communicating with assetsController\n * @param {function(err:error)} callback - the possible errors encountered during export\n ",
          "start": 1203,
          "end": 2009,
          "loc": {
            "start": {
              "line": 29,
              "column": 0
            },
            "end": {
              "line": 40,
              "column": 3
            }
          },
          "range": [
            1203,
            2009
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 2010,
      "end": 3438,
      "loc": {
        "start": {
          "line": 41,
          "column": 0
        },
        "end": {
          "line": 88,
          "column": 2
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 2017,
        "end": 3438,
        "loc": {
          "start": {
            "line": 41,
            "column": 7
          },
          "end": {
            "line": 88,
            "column": 2
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 2023,
            "end": 3437,
            "loc": {
              "start": {
                "line": 41,
                "column": 13
              },
              "end": {
                "line": 88,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 2023,
              "end": 2041,
              "loc": {
                "start": {
                  "line": 41,
                  "column": 13
                },
                "end": {
                  "line": 41,
                  "column": 31
                }
              },
              "name": "exportSectionToPdf",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 2044,
              "end": 3437,
              "loc": {
                "start": {
                  "line": 41,
                  "column": 34
                },
                "end": {
                  "line": 88,
                  "column": 1
                }
              },
              "id": null,
              "generator": false,
              "expression": false,
              "async": false,
              "params": [
                {
                  "type": "ObjectPattern",
                  "start": 2045,
                  "end": 2126,
                  "loc": {
                    "start": {
                      "line": 41,
                      "column": 35
                    },
                    "end": {
                      "line": 47,
                      "column": 1
                    }
                  },
                  "properties": [
                    {
                      "type": "Property",
                      "start": 2049,
                      "end": 2056,
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 2
                        },
                        "end": {
                          "line": 42,
                          "column": 9
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2049,
                        "end": 2056,
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 2
                          },
                          "end": {
                            "line": 42,
                            "column": 9
                          }
                        },
                        "name": "section"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2049,
                        "end": 2056,
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 2
                          },
                          "end": {
                            "line": 42,
                            "column": 9
                          }
                        },
                        "name": "section"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2060,
                      "end": 2071,
                      "loc": {
                        "start": {
                          "line": 43,
                          "column": 2
                        },
                        "end": {
                          "line": 43,
                          "column": 13
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2060,
                        "end": 2071,
                        "loc": {
                          "start": {
                            "line": 43,
                            "column": 2
                          },
                          "end": {
                            "line": 43,
                            "column": 13
                          }
                        },
                        "name": "sectionList"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2060,
                        "end": 2071,
                        "loc": {
                          "start": {
                            "line": 43,
                            "column": 2
                          },
                          "end": {
                            "line": 43,
                            "column": 13
                          }
                        },
                        "name": "sectionList"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2075,
                      "end": 2083,
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 2
                        },
                        "end": {
                          "line": 44,
                          "column": 10
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2075,
                        "end": 2083,
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 2
                          },
                          "end": {
                            "line": 44,
                            "column": 10
                          }
                        },
                        "name": "settings"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2075,
                        "end": 2083,
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 2
                          },
                          "end": {
                            "line": 44,
                            "column": 10
                          }
                        },
                        "name": "settings"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2087,
                      "end": 2102,
                      "loc": {
                        "start": {
                          "line": 45,
                          "column": 2
                        },
                        "end": {
                          "line": 45,
                          "column": 17
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2087,
                        "end": 2102,
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 2
                          },
                          "end": {
                            "line": 45,
                            "column": 17
                          }
                        },
                        "name": "includeChildren"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2087,
                        "end": 2102,
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 2
                          },
                          "end": {
                            "line": 45,
                            "column": 17
                          }
                        },
                        "name": "includeChildren"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2106,
                      "end": 2123,
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 2
                        },
                        "end": {
                          "line": 46,
                          "column": 19
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2106,
                        "end": 2123,
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 2
                          },
                          "end": {
                            "line": 46,
                            "column": 19
                          }
                        },
                        "name": "destinationFolder"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2106,
                        "end": 2123,
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 2
                          },
                          "end": {
                            "line": 46,
                            "column": 19
                          }
                        },
                        "name": "destinationFolder"
                      }
                    }
                  ]
                },
                {
                  "type": "Identifier",
                  "start": 2128,
                  "end": 2144,
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 3
                    },
                    "end": {
                      "line": 47,
                      "column": 19
                    }
                  },
                  "name": "assetsController"
                },
                {
                  "type": "Identifier",
                  "start": 2146,
                  "end": 2158,
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 21
                    },
                    "end": {
                      "line": 47,
                      "column": 33
                    }
                  },
                  "name": "assetsParams"
                },
                {
                  "type": "Identifier",
                  "start": 2160,
                  "end": 2173,
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 35
                    },
                    "end": {
                      "line": 47,
                      "column": 48
                    }
                  },
                  "name": "finalCallback"
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start": 2177,
                "end": 3437,
                "loc": {
                  "start": {
                    "line": 47,
                    "column": 52
                  },
                  "end": {
                    "line": 88,
                    "column": 1
                  }
                },
                "body": [
                  {
                    "type": "VariableDeclaration",
                    "start": 2182,
                    "end": 2253,
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 2
                      },
                      "end": {
                        "line": 49,
                        "column": 73
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 2188,
                        "end": 2252,
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 8
                          },
                          "end": {
                            "line": 49,
                            "column": 72
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 2188,
                          "end": 2197,
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 8
                            },
                            "end": {
                              "line": 49,
                              "column": 17
                            }
                          },
                          "name": "motherKey"
                        },
                        "init": {
                          "type": "CallExpression",
                          "start": 2200,
                          "end": 2252,
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 20
                            },
                            "end": {
                              "line": 49,
                              "column": 72
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 2200,
                            "end": 2212,
                            "loc": {
                              "start": {
                                "line": 49,
                                "column": 20
                              },
                              "end": {
                                "line": 49,
                                "column": 32
                              }
                            },
                            "name": "getMetaValue"
                          },
                          "arguments": [
                            {
                              "type": "MemberExpression",
                              "start": 2213,
                              "end": 2229,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 33
                                },
                                "end": {
                                  "line": 49,
                                  "column": 49
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 2213,
                                "end": 2220,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 33
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 40
                                  }
                                },
                                "name": "section"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 2221,
                                "end": 2229,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 41
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 49
                                  }
                                },
                                "name": "metadata"
                              },
                              "computed": false
                            },
                            {
                              "type": "Literal",
                              "start": 2231,
                              "end": 2240,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 51
                                },
                                "end": {
                                  "line": 49,
                                  "column": 60
                                }
                              },
                              "value": "general",
                              "rawValue": "general",
                              "raw": "'general'"
                            },
                            {
                              "type": "Literal",
                              "start": 2242,
                              "end": 2251,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 62
                                },
                                "end": {
                                  "line": 49,
                                  "column": 71
                                }
                              },
                              "value": "citeKey",
                              "rawValue": "citeKey",
                              "raw": "'citeKey'"
                            }
                          ]
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 2256,
                    "end": 2321,
                    "loc": {
                      "start": {
                        "line": 50,
                        "column": 2
                      },
                      "end": {
                        "line": 50,
                        "column": 67
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 2262,
                        "end": 2320,
                        "loc": {
                          "start": {
                            "line": 50,
                            "column": 8
                          },
                          "end": {
                            "line": 50,
                            "column": 66
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 2262,
                          "end": 2266,
                          "loc": {
                            "start": {
                              "line": 50,
                              "column": 8
                            },
                            "end": {
                              "line": 50,
                              "column": 12
                            }
                          },
                          "name": "path"
                        },
                        "init": {
                          "type": "LogicalExpression",
                          "start": 2269,
                          "end": 2320,
                          "loc": {
                            "start": {
                              "line": 50,
                              "column": 15
                            },
                            "end": {
                              "line": 50,
                              "column": 66
                            }
                          },
                          "left": {
                            "type": "Identifier",
                            "start": 2269,
                            "end": 2286,
                            "loc": {
                              "start": {
                                "line": 50,
                                "column": 15
                              },
                              "end": {
                                "line": 50,
                                "column": 32
                              }
                            },
                            "name": "destinationFolder"
                          },
                          "operator": "||",
                          "right": {
                            "type": "CallExpression",
                            "start": 2290,
                            "end": 2320,
                            "loc": {
                              "start": {
                                "line": 50,
                                "column": 36
                              },
                              "end": {
                                "line": 50,
                                "column": 66
                              }
                            },
                            "callee": {
                              "type": "Identifier",
                              "start": 2290,
                              "end": 2297,
                              "loc": {
                                "start": {
                                  "line": 50,
                                  "column": 36
                                },
                                "end": {
                                  "line": 50,
                                  "column": 43
                                }
                              },
                              "name": "resolve"
                            },
                            "arguments": [
                              {
                                "type": "BinaryExpression",
                                "start": 2298,
                                "end": 2319,
                                "loc": {
                                  "start": {
                                    "line": 50,
                                    "column": 44
                                  },
                                  "end": {
                                    "line": 50,
                                    "column": 65
                                  }
                                },
                                "left": {
                                  "type": "Identifier",
                                  "start": 2298,
                                  "end": 2307,
                                  "loc": {
                                    "start": {
                                      "line": 50,
                                      "column": 44
                                    },
                                    "end": {
                                      "line": 50,
                                      "column": 53
                                    }
                                  },
                                  "name": "__dirname"
                                },
                                "operator": "+",
                                "right": {
                                  "type": "Literal",
                                  "start": 2310,
                                  "end": 2319,
                                  "loc": {
                                    "start": {
                                      "line": 50,
                                      "column": 56
                                    },
                                    "end": {
                                      "line": 50,
                                      "column": 65
                                    }
                                  },
                                  "value": "./temp/",
                                  "rawValue": "./temp/",
                                  "raw": "'./temp/'"
                                }
                              }
                            ]
                          }
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 2324,
                    "end": 2350,
                    "loc": {
                      "start": {
                        "line": 51,
                        "column": 2
                      },
                      "end": {
                        "line": 51,
                        "column": 28
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 2324,
                      "end": 2349,
                      "loc": {
                        "start": {
                          "line": 51,
                          "column": 2
                        },
                        "end": {
                          "line": 51,
                          "column": 27
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 2324,
                        "end": 2335,
                        "loc": {
                          "start": {
                            "line": 51,
                            "column": 2
                          },
                          "end": {
                            "line": 51,
                            "column": 13
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 2324,
                          "end": 2331,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 2
                            },
                            "end": {
                              "line": 51,
                              "column": 9
                            }
                          },
                          "name": "console"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 2332,
                          "end": 2335,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 10
                            },
                            "end": {
                              "line": 51,
                              "column": 13
                            }
                          },
                          "name": "log"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "Literal",
                          "start": 2336,
                          "end": 2342,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 14
                            },
                            "end": {
                              "line": 51,
                              "column": 20
                            }
                          },
                          "value": "path",
                          "rawValue": "path",
                          "raw": "'path'"
                        },
                        {
                          "type": "Identifier",
                          "start": 2344,
                          "end": 2348,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 22
                            },
                            "end": {
                              "line": 51,
                              "column": 26
                            }
                          },
                          "name": "path"
                        }
                      ]
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 2353,
                    "end": 3435,
                    "loc": {
                      "start": {
                        "line": 52,
                        "column": 2
                      },
                      "end": {
                        "line": 87,
                        "column": 5
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 2353,
                      "end": 3434,
                      "loc": {
                        "start": {
                          "line": 52,
                          "column": 2
                        },
                        "end": {
                          "line": 87,
                          "column": 4
                        }
                      },
                      "callee": {
                        "type": "Identifier",
                        "start": 2353,
                        "end": 2362,
                        "loc": {
                          "start": {
                            "line": 52,
                            "column": 2
                          },
                          "end": {
                            "line": 52,
                            "column": 11
                          }
                        },
                        "name": "waterfall"
                      },
                      "arguments": [
                        {
                          "type": "ArrayExpression",
                          "start": 2363,
                          "end": 2924,
                          "loc": {
                            "start": {
                              "line": 52,
                              "column": 12
                            },
                            "end": {
                              "line": 70,
                              "column": 3
                            }
                          },
                          "elements": [
                            {
                              "type": "ArrowFunctionExpression",
                              "start": 2409,
                              "end": 2577,
                              "loc": {
                                "start": {
                                  "line": 54,
                                  "column": 4
                                },
                                "end": {
                                  "line": 61,
                                  "column": 5
                                }
                              },
                              "id": null,
                              "generator": false,
                              "expression": false,
                              "async": false,
                              "params": [
                                {
                                  "type": "Identifier",
                                  "start": 2410,
                                  "end": 2418,
                                  "loc": {
                                    "start": {
                                      "line": 54,
                                      "column": 5
                                    },
                                    "end": {
                                      "line": 54,
                                      "column": 13
                                    }
                                  },
                                  "name": "existsCb",
                                  "leadingComments": null
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "start": 2422,
                                "end": 2577,
                                "loc": {
                                  "start": {
                                    "line": 54,
                                    "column": 17
                                  },
                                  "end": {
                                    "line": 61,
                                    "column": 5
                                  }
                                },
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "start": 2430,
                                    "end": 2571,
                                    "loc": {
                                      "start": {
                                        "line": 55,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 60,
                                        "column": 9
                                      }
                                    },
                                    "expression": {
                                      "type": "CallExpression",
                                      "start": 2430,
                                      "end": 2570,
                                      "loc": {
                                        "start": {
                                          "line": 55,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 60,
                                          "column": 8
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 2430,
                                        "end": 2436,
                                        "loc": {
                                          "start": {
                                            "line": 55,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 55,
                                            "column": 12
                                          }
                                        },
                                        "name": "exists"
                                      },
                                      "arguments": [
                                        {
                                          "type": "Identifier",
                                          "start": 2437,
                                          "end": 2441,
                                          "loc": {
                                            "start": {
                                              "line": 55,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 55,
                                              "column": 17
                                            }
                                          },
                                          "name": "path"
                                        },
                                        {
                                          "type": "ArrowFunctionExpression",
                                          "start": 2443,
                                          "end": 2569,
                                          "loc": {
                                            "start": {
                                              "line": 55,
                                              "column": 19
                                            },
                                            "end": {
                                              "line": 60,
                                              "column": 7
                                            }
                                          },
                                          "id": null,
                                          "generator": false,
                                          "expression": false,
                                          "async": false,
                                          "params": [
                                            {
                                              "type": "Identifier",
                                              "start": 2444,
                                              "end": 2451,
                                              "loc": {
                                                "start": {
                                                  "line": 55,
                                                  "column": 20
                                                },
                                                "end": {
                                                  "line": 55,
                                                  "column": 27
                                                }
                                              },
                                              "name": "isThere"
                                            }
                                          ],
                                          "body": {
                                            "type": "BlockStatement",
                                            "start": 2455,
                                            "end": 2569,
                                            "loc": {
                                              "start": {
                                                "line": 55,
                                                "column": 31
                                              },
                                              "end": {
                                                "line": 60,
                                                "column": 7
                                              }
                                            },
                                            "body": [
                                              {
                                                "type": "IfStatement",
                                                "start": 2465,
                                                "end": 2530,
                                                "loc": {
                                                  "start": {
                                                    "line": 56,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 58,
                                                    "column": 9
                                                  }
                                                },
                                                "test": {
                                                  "type": "UnaryExpression",
                                                  "start": 2469,
                                                  "end": 2477,
                                                  "loc": {
                                                    "start": {
                                                      "line": 56,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 56,
                                                      "column": 20
                                                    }
                                                  },
                                                  "operator": "!",
                                                  "prefix": true,
                                                  "argument": {
                                                    "type": "Identifier",
                                                    "start": 2470,
                                                    "end": 2477,
                                                    "loc": {
                                                      "start": {
                                                        "line": 56,
                                                        "column": 13
                                                      },
                                                      "end": {
                                                        "line": 56,
                                                        "column": 20
                                                      }
                                                    },
                                                    "name": "isThere"
                                                  }
                                                },
                                                "consequent": {
                                                  "type": "BlockStatement",
                                                  "start": 2479,
                                                  "end": 2530,
                                                  "loc": {
                                                    "start": {
                                                      "line": 56,
                                                      "column": 22
                                                    },
                                                    "end": {
                                                      "line": 58,
                                                      "column": 9
                                                    }
                                                  },
                                                  "body": [
                                                    {
                                                      "type": "ReturnStatement",
                                                      "start": 2491,
                                                      "end": 2520,
                                                      "loc": {
                                                        "start": {
                                                          "line": 57,
                                                          "column": 10
                                                        },
                                                        "end": {
                                                          "line": 57,
                                                          "column": 39
                                                        }
                                                      },
                                                      "argument": {
                                                        "type": "CallExpression",
                                                        "start": 2498,
                                                        "end": 2519,
                                                        "loc": {
                                                          "start": {
                                                            "line": 57,
                                                            "column": 17
                                                          },
                                                          "end": {
                                                            "line": 57,
                                                            "column": 38
                                                          }
                                                        },
                                                        "callee": {
                                                          "type": "Identifier",
                                                          "start": 2498,
                                                          "end": 2503,
                                                          "loc": {
                                                            "start": {
                                                              "line": 57,
                                                              "column": 17
                                                            },
                                                            "end": {
                                                              "line": 57,
                                                              "column": 22
                                                            }
                                                          },
                                                          "name": "mkdir"
                                                        },
                                                        "arguments": [
                                                          {
                                                            "type": "Identifier",
                                                            "start": 2504,
                                                            "end": 2508,
                                                            "loc": {
                                                              "start": {
                                                                "line": 57,
                                                                "column": 23
                                                              },
                                                              "end": {
                                                                "line": 57,
                                                                "column": 27
                                                              }
                                                            },
                                                            "name": "path"
                                                          },
                                                          {
                                                            "type": "Identifier",
                                                            "start": 2510,
                                                            "end": 2518,
                                                            "loc": {
                                                              "start": {
                                                                "line": 57,
                                                                "column": 29
                                                              },
                                                              "end": {
                                                                "line": 57,
                                                                "column": 37
                                                              }
                                                            },
                                                            "name": "existsCb"
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                },
                                                "alternate": null
                                              },
                                              {
                                                "type": "ReturnStatement",
                                                "start": 2539,
                                                "end": 2561,
                                                "loc": {
                                                  "start": {
                                                    "line": 59,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 59,
                                                    "column": 30
                                                  }
                                                },
                                                "argument": {
                                                  "type": "CallExpression",
                                                  "start": 2546,
                                                  "end": 2560,
                                                  "loc": {
                                                    "start": {
                                                      "line": 59,
                                                      "column": 15
                                                    },
                                                    "end": {
                                                      "line": 59,
                                                      "column": 29
                                                    }
                                                  },
                                                  "callee": {
                                                    "type": "Identifier",
                                                    "start": 2546,
                                                    "end": 2554,
                                                    "loc": {
                                                      "start": {
                                                        "line": 59,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 59,
                                                        "column": 23
                                                      }
                                                    },
                                                    "name": "existsCb"
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Literal",
                                                      "start": 2555,
                                                      "end": 2559,
                                                      "loc": {
                                                        "start": {
                                                          "line": 59,
                                                          "column": 24
                                                        },
                                                        "end": {
                                                          "line": 59,
                                                          "column": 28
                                                        }
                                                      },
                                                      "value": null,
                                                      "rawValue": null,
                                                      "raw": "null"
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              },
                              "leadingComments": [
                                {
                                  "type": "CommentLine",
                                  "value": " get or create destination folder",
                                  "start": 2369,
                                  "end": 2404,
                                  "loc": {
                                    "start": {
                                      "line": 53,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 53,
                                      "column": 39
                                    }
                                  },
                                  "range": [
                                    2369,
                                    2404
                                  ]
                                }
                              ]
                            },
                            {
                              "type": "ArrowFunctionExpression",
                              "start": 2624,
                              "end": 2767,
                              "loc": {
                                "start": {
                                  "line": 63,
                                  "column": 4
                                },
                                "end": {
                                  "line": 65,
                                  "column": 5
                                }
                              },
                              "id": null,
                              "generator": false,
                              "expression": false,
                              "async": false,
                              "params": [
                                {
                                  "type": "Identifier",
                                  "start": 2625,
                                  "end": 2633,
                                  "loc": {
                                    "start": {
                                      "line": 63,
                                      "column": 5
                                    },
                                    "end": {
                                      "line": 63,
                                      "column": 13
                                    }
                                  },
                                  "name": "renderCb",
                                  "leadingComments": null
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "start": 2637,
                                "end": 2767,
                                "loc": {
                                  "start": {
                                    "line": 63,
                                    "column": 17
                                  },
                                  "end": {
                                    "line": 65,
                                    "column": 5
                                  }
                                },
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "start": 2645,
                                    "end": 2761,
                                    "loc": {
                                      "start": {
                                        "line": 64,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 64,
                                        "column": 122
                                      }
                                    },
                                    "expression": {
                                      "type": "CallExpression",
                                      "start": 2645,
                                      "end": 2760,
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 121
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 2645,
                                        "end": 2658,
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 64,
                                            "column": 19
                                          }
                                        },
                                        "name": "renderSection"
                                      },
                                      "arguments": [
                                        {
                                          "type": "ObjectExpression",
                                          "start": 2659,
                                          "end": 2717,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 20
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 78
                                            }
                                          },
                                          "properties": [
                                            {
                                              "type": "Property",
                                              "start": 2660,
                                              "end": 2667,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 28
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2660,
                                                "end": 2667,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 21
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 28
                                                  }
                                                },
                                                "name": "section"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2660,
                                                "end": 2667,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 21
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 28
                                                  }
                                                },
                                                "name": "section"
                                              }
                                            },
                                            {
                                              "type": "Property",
                                              "start": 2669,
                                              "end": 2680,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 30
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 41
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2669,
                                                "end": 2680,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 30
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 41
                                                  }
                                                },
                                                "name": "sectionList"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2669,
                                                "end": 2680,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 30
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 41
                                                  }
                                                },
                                                "name": "sectionList"
                                              }
                                            },
                                            {
                                              "type": "Property",
                                              "start": 2682,
                                              "end": 2697,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 43
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 58
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2682,
                                                "end": 2697,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 43
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 58
                                                  }
                                                },
                                                "name": "includeChildren"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2682,
                                                "end": 2697,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 43
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 58
                                                  }
                                                },
                                                "name": "includeChildren"
                                              }
                                            },
                                            {
                                              "type": "Property",
                                              "start": 2699,
                                              "end": 2716,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 60
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 77
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2699,
                                                "end": 2716,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 60
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 77
                                                  }
                                                },
                                                "name": "destinationFolder"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2699,
                                                "end": 2716,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 60
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 77
                                                  }
                                                },
                                                "name": "destinationFolder"
                                              }
                                            }
                                          ]
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2719,
                                          "end": 2735,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 80
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 96
                                            }
                                          },
                                          "name": "assetsController"
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2737,
                                          "end": 2749,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 98
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 110
                                            }
                                          },
                                          "name": "assetsParams"
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2751,
                                          "end": 2759,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 112
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 120
                                            }
                                          },
                                          "name": "renderCb"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              },
                              "leadingComments": [
                                {
                                  "type": "CommentLine",
                                  "value": " render the section to static html",
                                  "start": 2583,
                                  "end": 2619,
                                  "loc": {
                                    "start": {
                                      "line": 62,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 62,
                                      "column": 40
                                    }
                                  },
                                  "range": [
                                    2583,
                                    2619
                                  ]
                                }
                              ]
                            },
                            {
                              "type": "ArrowFunctionExpression",
                              "start": 2820,
                              "end": 2920,
                              "loc": {
                                "start": {
                                  "line": 67,
                                  "column": 4
                                },
                                "end": {
                                  "line": 69,
                                  "column": 5
                                }
                              },
                              "id": null,
                              "generator": false,
                              "expression": false,
                              "async": false,
                              "params": [
                                {
                                  "type": "Identifier",
                                  "start": 2821,
                                  "end": 2825,
                                  "loc": {
                                    "start": {
                                      "line": 67,
                                      "column": 5
                                    },
                                    "end": {
                                      "line": 67,
                                      "column": 9
                                    }
                                  },
                                  "name": "html",
                                  "leadingComments": null
                                },
                                {
                                  "type": "Identifier",
                                  "start": 2827,
                                  "end": 2834,
                                  "loc": {
                                    "start": {
                                      "line": 67,
                                      "column": 11
                                    },
                                    "end": {
                                      "line": 67,
                                      "column": 18
                                    }
                                  },
                                  "name": "writeCb"
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "start": 2838,
                                "end": 2920,
                                "loc": {
                                  "start": {
                                    "line": 67,
                                    "column": 22
                                  },
                                  "end": {
                                    "line": 69,
                                    "column": 5
                                  }
                                },
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "start": 2846,
                                    "end": 2914,
                                    "loc": {
                                      "start": {
                                        "line": 68,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 68,
                                        "column": 74
                                      }
                                    },
                                    "expression": {
                                      "type": "CallExpression",
                                      "start": 2846,
                                      "end": 2913,
                                      "loc": {
                                        "start": {
                                          "line": 68,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 68,
                                          "column": 73
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 2846,
                                        "end": 2855,
                                        "loc": {
                                          "start": {
                                            "line": 68,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 68,
                                            "column": 15
                                          }
                                        },
                                        "name": "writeFile"
                                      },
                                      "arguments": [
                                        {
                                          "type": "BinaryExpression",
                                          "start": 2856,
                                          "end": 2888,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 48
                                            }
                                          },
                                          "left": {
                                            "type": "BinaryExpression",
                                            "start": 2856,
                                            "end": 2878,
                                            "loc": {
                                              "start": {
                                                "line": 68,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 68,
                                                "column": 38
                                              }
                                            },
                                            "left": {
                                              "type": "BinaryExpression",
                                              "start": 2856,
                                              "end": 2866,
                                              "loc": {
                                                "start": {
                                                  "line": 68,
                                                  "column": 16
                                                },
                                                "end": {
                                                  "line": 68,
                                                  "column": 26
                                                }
                                              },
                                              "left": {
                                                "type": "Identifier",
                                                "start": 2856,
                                                "end": 2860,
                                                "loc": {
                                                  "start": {
                                                    "line": 68,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 68,
                                                    "column": 20
                                                  }
                                                },
                                                "name": "path"
                                              },
                                              "operator": "+",
                                              "right": {
                                                "type": "Literal",
                                                "start": 2863,
                                                "end": 2866,
                                                "loc": {
                                                  "start": {
                                                    "line": 68,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 68,
                                                    "column": 26
                                                  }
                                                },
                                                "value": "/",
                                                "rawValue": "/",
                                                "raw": "'/'"
                                              }
                                            },
                                            "operator": "+",
                                            "right": {
                                              "type": "Identifier",
                                              "start": 2869,
                                              "end": 2878,
                                              "loc": {
                                                "start": {
                                                  "line": 68,
                                                  "column": 29
                                                },
                                                "end": {
                                                  "line": 68,
                                                  "column": 38
                                                }
                                              },
                                              "name": "motherKey"
                                            }
                                          },
                                          "operator": "+",
                                          "right": {
                                            "type": "Literal",
                                            "start": 2881,
                                            "end": 2888,
                                            "loc": {
                                              "start": {
                                                "line": 68,
                                                "column": 41
                                              },
                                              "end": {
                                                "line": 68,
                                                "column": 48
                                              }
                                            },
                                            "value": ".html",
                                            "rawValue": ".html",
                                            "raw": "'.html'"
                                          }
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2890,
                                          "end": 2894,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 50
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 54
                                            }
                                          },
                                          "name": "html"
                                        },
                                        {
                                          "type": "Literal",
                                          "start": 2896,
                                          "end": 2903,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 56
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 63
                                            }
                                          },
                                          "value": "utf-8",
                                          "rawValue": "utf-8",
                                          "raw": "'utf-8'"
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2905,
                                          "end": 2912,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 65
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 72
                                            }
                                          },
                                          "name": "writeCb"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              },
                              "leadingComments": [
                                {
                                  "type": "CommentLine",
                                  "value": " write the section to a static html file",
                                  "start": 2773,
                                  "end": 2815,
                                  "loc": {
                                    "start": {
                                      "line": 66,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 66,
                                      "column": 46
                                    }
                                  },
                                  "range": [
                                    2773,
                                    2815
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "type": "ArrowFunctionExpression",
                          "start": 2926,
                          "end": 3433,
                          "loc": {
                            "start": {
                              "line": 70,
                              "column": 5
                            },
                            "end": {
                              "line": 87,
                              "column": 3
                            }
                          },
                          "id": null,
                          "generator": false,
                          "expression": false,
                          "async": false,
                          "params": [
                            {
                              "type": "Identifier",
                              "start": 2927,
                              "end": 2930,
                              "loc": {
                                "start": {
                                  "line": 70,
                                  "column": 6
                                },
                                "end": {
                                  "line": 70,
                                  "column": 9
                                }
                              },
                              "name": "err"
                            }
                          ],
                          "body": {
                            "type": "BlockStatement",
                            "start": 2934,
                            "end": 3433,
                            "loc": {
                              "start": {
                                "line": 70,
                                "column": 13
                              },
                              "end": {
                                "line": 87,
                                "column": 3
                              }
                            },
                            "body": [
                              {
                                "type": "IfStatement",
                                "start": 2940,
                                "end": 3429,
                                "loc": {
                                  "start": {
                                    "line": 71,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 86,
                                    "column": 5
                                  }
                                },
                                "test": {
                                  "type": "UnaryExpression",
                                  "start": 2944,
                                  "end": 2948,
                                  "loc": {
                                    "start": {
                                      "line": 71,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 71,
                                      "column": 12
                                    }
                                  },
                                  "operator": "!",
                                  "prefix": true,
                                  "argument": {
                                    "type": "Identifier",
                                    "start": 2945,
                                    "end": 2948,
                                    "loc": {
                                      "start": {
                                        "line": 71,
                                        "column": 9
                                      },
                                      "end": {
                                        "line": 71,
                                        "column": 12
                                      }
                                    },
                                    "name": "err"
                                  }
                                },
                                "consequent": {
                                  "type": "BlockStatement",
                                  "start": 2950,
                                  "end": 3313,
                                  "loc": {
                                    "start": {
                                      "line": 71,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 83,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ExpressionStatement",
                                      "start": 2958,
                                      "end": 3307,
                                      "loc": {
                                        "start": {
                                          "line": 72,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 82,
                                          "column": 9
                                        }
                                      },
                                      "expression": {
                                        "type": "CallExpression",
                                        "start": 2958,
                                        "end": 3306,
                                        "loc": {
                                          "start": {
                                            "line": 72,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 82,
                                            "column": 8
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 2958,
                                          "end": 3090,
                                          "loc": {
                                            "start": {
                                              "line": 72,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 76,
                                              "column": 11
                                            }
                                          },
                                          "object": {
                                            "type": "CallExpression",
                                            "start": 2958,
                                            "end": 3078,
                                            "loc": {
                                              "start": {
                                                "line": 72,
                                                "column": 6
                                              },
                                              "end": {
                                                "line": 75,
                                                "column": 16
                                              }
                                            },
                                            "callee": {
                                              "type": "MemberExpression",
                                              "start": 2958,
                                              "end": 3076,
                                              "loc": {
                                                "start": {
                                                  "line": 72,
                                                  "column": 6
                                                },
                                                "end": {
                                                  "line": 75,
                                                  "column": 14
                                                }
                                              },
                                              "object": {
                                                "type": "CallExpression",
                                                "start": 2958,
                                                "end": 3061,
                                                "loc": {
                                                  "start": {
                                                    "line": 72,
                                                    "column": 6
                                                  },
                                                  "end": {
                                                    "line": 74,
                                                    "column": 46
                                                  }
                                                },
                                                "callee": {
                                                  "type": "MemberExpression",
                                                  "start": 2958,
                                                  "end": 3028,
                                                  "loc": {
                                                    "start": {
                                                      "line": 72,
                                                      "column": 6
                                                    },
                                                    "end": {
                                                      "line": 74,
                                                      "column": 13
                                                    }
                                                  },
                                                  "object": {
                                                    "type": "CallExpression",
                                                    "start": 2958,
                                                    "end": 3014,
                                                    "loc": {
                                                      "start": {
                                                        "line": 72,
                                                        "column": 6
                                                      },
                                                      "end": {
                                                        "line": 73,
                                                        "column": 47
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 2958,
                                                      "end": 2980,
                                                      "loc": {
                                                        "start": {
                                                          "line": 72,
                                                          "column": 6
                                                        },
                                                        "end": {
                                                          "line": 73,
                                                          "column": 13
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "CallExpression",
                                                        "start": 2958,
                                                        "end": 2966,
                                                        "loc": {
                                                          "start": {
                                                            "line": 72,
                                                            "column": 6
                                                          },
                                                          "end": {
                                                            "line": 72,
                                                            "column": 14
                                                          }
                                                        },
                                                        "callee": {
                                                          "type": "Identifier",
                                                          "start": 2958,
                                                          "end": 2964,
                                                          "loc": {
                                                            "start": {
                                                              "line": 72,
                                                              "column": 6
                                                            },
                                                            "end": {
                                                              "line": 72,
                                                              "column": 12
                                                            }
                                                          },
                                                          "name": "Prince"
                                                        },
                                                        "arguments": []
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 2974,
                                                        "end": 2980,
                                                        "loc": {
                                                          "start": {
                                                            "line": 73,
                                                            "column": 7
                                                          },
                                                          "end": {
                                                            "line": 73,
                                                            "column": 13
                                                          }
                                                        },
                                                        "name": "inputs"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "BinaryExpression",
                                                        "start": 2981,
                                                        "end": 3013,
                                                        "loc": {
                                                          "start": {
                                                            "line": 73,
                                                            "column": 14
                                                          },
                                                          "end": {
                                                            "line": 73,
                                                            "column": 46
                                                          }
                                                        },
                                                        "left": {
                                                          "type": "BinaryExpression",
                                                          "start": 2981,
                                                          "end": 3003,
                                                          "loc": {
                                                            "start": {
                                                              "line": 73,
                                                              "column": 14
                                                            },
                                                            "end": {
                                                              "line": 73,
                                                              "column": 36
                                                            }
                                                          },
                                                          "left": {
                                                            "type": "BinaryExpression",
                                                            "start": 2981,
                                                            "end": 2991,
                                                            "loc": {
                                                              "start": {
                                                                "line": 73,
                                                                "column": 14
                                                              },
                                                              "end": {
                                                                "line": 73,
                                                                "column": 24
                                                              }
                                                            },
                                                            "left": {
                                                              "type": "Identifier",
                                                              "start": 2981,
                                                              "end": 2985,
                                                              "loc": {
                                                                "start": {
                                                                  "line": 73,
                                                                  "column": 14
                                                                },
                                                                "end": {
                                                                  "line": 73,
                                                                  "column": 18
                                                                }
                                                              },
                                                              "name": "path"
                                                            },
                                                            "operator": "+",
                                                            "right": {
                                                              "type": "Literal",
                                                              "start": 2988,
                                                              "end": 2991,
                                                              "loc": {
                                                                "start": {
                                                                  "line": 73,
                                                                  "column": 21
                                                                },
                                                                "end": {
                                                                  "line": 73,
                                                                  "column": 24
                                                                }
                                                              },
                                                              "value": "/",
                                                              "rawValue": "/",
                                                              "raw": "'/'"
                                                            }
                                                          },
                                                          "operator": "+",
                                                          "right": {
                                                            "type": "Identifier",
                                                            "start": 2994,
                                                            "end": 3003,
                                                            "loc": {
                                                              "start": {
                                                                "line": 73,
                                                                "column": 27
                                                              },
                                                              "end": {
                                                                "line": 73,
                                                                "column": 36
                                                              }
                                                            },
                                                            "name": "motherKey"
                                                          }
                                                        },
                                                        "operator": "+",
                                                        "right": {
                                                          "type": "Literal",
                                                          "start": 3006,
                                                          "end": 3013,
                                                          "loc": {
                                                            "start": {
                                                              "line": 73,
                                                              "column": 39
                                                            },
                                                            "end": {
                                                              "line": 73,
                                                              "column": 46
                                                            }
                                                          },
                                                          "value": ".html",
                                                          "rawValue": ".html",
                                                          "raw": "'.html'"
                                                        }
                                                      }
                                                    ]
                                                  },
                                                  "property": {
                                                    "type": "Identifier",
                                                    "start": 3022,
                                                    "end": 3028,
                                                    "loc": {
                                                      "start": {
                                                        "line": 74,
                                                        "column": 7
                                                      },
                                                      "end": {
                                                        "line": 74,
                                                        "column": 13
                                                      }
                                                    },
                                                    "name": "output"
                                                  },
                                                  "computed": false
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "BinaryExpression",
                                                    "start": 3029,
                                                    "end": 3060,
                                                    "loc": {
                                                      "start": {
                                                        "line": 74,
                                                        "column": 14
                                                      },
                                                      "end": {
                                                        "line": 74,
                                                        "column": 45
                                                      }
                                                    },
                                                    "left": {
                                                      "type": "BinaryExpression",
                                                      "start": 3029,
                                                      "end": 3051,
                                                      "loc": {
                                                        "start": {
                                                          "line": 74,
                                                          "column": 14
                                                        },
                                                        "end": {
                                                          "line": 74,
                                                          "column": 36
                                                        }
                                                      },
                                                      "left": {
                                                        "type": "BinaryExpression",
                                                        "start": 3029,
                                                        "end": 3039,
                                                        "loc": {
                                                          "start": {
                                                            "line": 74,
                                                            "column": 14
                                                          },
                                                          "end": {
                                                            "line": 74,
                                                            "column": 24
                                                          }
                                                        },
                                                        "left": {
                                                          "type": "Identifier",
                                                          "start": 3029,
                                                          "end": 3033,
                                                          "loc": {
                                                            "start": {
                                                              "line": 74,
                                                              "column": 14
                                                            },
                                                            "end": {
                                                              "line": 74,
                                                              "column": 18
                                                            }
                                                          },
                                                          "name": "path"
                                                        },
                                                        "operator": "+",
                                                        "right": {
                                                          "type": "Literal",
                                                          "start": 3036,
                                                          "end": 3039,
                                                          "loc": {
                                                            "start": {
                                                              "line": 74,
                                                              "column": 21
                                                            },
                                                            "end": {
                                                              "line": 74,
                                                              "column": 24
                                                            }
                                                          },
                                                          "value": "/",
                                                          "rawValue": "/",
                                                          "raw": "'/'"
                                                        }
                                                      },
                                                      "operator": "+",
                                                      "right": {
                                                        "type": "Identifier",
                                                        "start": 3042,
                                                        "end": 3051,
                                                        "loc": {
                                                          "start": {
                                                            "line": 74,
                                                            "column": 27
                                                          },
                                                          "end": {
                                                            "line": 74,
                                                            "column": 36
                                                          }
                                                        },
                                                        "name": "motherKey"
                                                      }
                                                    },
                                                    "operator": "+",
                                                    "right": {
                                                      "type": "Literal",
                                                      "start": 3054,
                                                      "end": 3060,
                                                      "loc": {
                                                        "start": {
                                                          "line": 74,
                                                          "column": 39
                                                        },
                                                        "end": {
                                                          "line": 74,
                                                          "column": 45
                                                        }
                                                      },
                                                      "value": ".pdf",
                                                      "rawValue": ".pdf",
                                                      "raw": "'.pdf'"
                                                    }
                                                  }
                                                ]
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "start": 3069,
                                                "end": 3076,
                                                "loc": {
                                                  "start": {
                                                    "line": 75,
                                                    "column": 7
                                                  },
                                                  "end": {
                                                    "line": 75,
                                                    "column": 14
                                                  }
                                                },
                                                "name": "execute"
                                              },
                                              "computed": false
                                            },
                                            "arguments": []
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 3086,
                                            "end": 3090,
                                            "loc": {
                                              "start": {
                                                "line": 76,
                                                "column": 7
                                              },
                                              "end": {
                                                "line": 76,
                                                "column": 11
                                              }
                                            },
                                            "name": "then"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "FunctionExpression",
                                            "start": 3091,
                                            "end": 3195,
                                            "loc": {
                                              "start": {
                                                "line": 76,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 7
                                              }
                                            },
                                            "id": null,
                                            "generator": false,
                                            "expression": false,
                                            "async": false,
                                            "params": [],
                                            "body": {
                                              "type": "BlockStatement",
                                              "start": 3102,
                                              "end": 3195,
                                              "loc": {
                                                "start": {
                                                  "line": 76,
                                                  "column": 23
                                                },
                                                "end": {
                                                  "line": 79,
                                                  "column": 7
                                                }
                                              },
                                              "body": [
                                                {
                                                  "type": "ExpressionStatement",
                                                  "start": 3112,
                                                  "end": 3155,
                                                  "loc": {
                                                    "start": {
                                                      "line": 77,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 77,
                                                      "column": 51
                                                    }
                                                  },
                                                  "expression": {
                                                    "type": "CallExpression",
                                                    "start": 3112,
                                                    "end": 3154,
                                                    "loc": {
                                                      "start": {
                                                        "line": 77,
                                                        "column": 8
                                                      },
                                                      "end": {
                                                        "line": 77,
                                                        "column": 50
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 3112,
                                                      "end": 3123,
                                                      "loc": {
                                                        "start": {
                                                          "line": 77,
                                                          "column": 8
                                                        },
                                                        "end": {
                                                          "line": 77,
                                                          "column": 19
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 3112,
                                                        "end": 3119,
                                                        "loc": {
                                                          "start": {
                                                            "line": 77,
                                                            "column": 8
                                                          },
                                                          "end": {
                                                            "line": 77,
                                                            "column": 15
                                                          }
                                                        },
                                                        "name": "console"
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 3120,
                                                        "end": 3123,
                                                        "loc": {
                                                          "start": {
                                                            "line": 77,
                                                            "column": 16
                                                          },
                                                          "end": {
                                                            "line": 77,
                                                            "column": 19
                                                          }
                                                        },
                                                        "name": "log"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Literal",
                                                        "start": 3124,
                                                        "end": 3153,
                                                        "loc": {
                                                          "start": {
                                                            "line": 77,
                                                            "column": 20
                                                          },
                                                          "end": {
                                                            "line": 77,
                                                            "column": 49
                                                          }
                                                        },
                                                        "value": "saved to pdf with PrinceXML",
                                                        "rawValue": "saved to pdf with PrinceXML",
                                                        "raw": "'saved to pdf with PrinceXML'"
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "type": "ReturnStatement",
                                                  "start": 3164,
                                                  "end": 3187,
                                                  "loc": {
                                                    "start": {
                                                      "line": 78,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 78,
                                                      "column": 31
                                                    }
                                                  },
                                                  "argument": {
                                                    "type": "CallExpression",
                                                    "start": 3171,
                                                    "end": 3186,
                                                    "loc": {
                                                      "start": {
                                                        "line": 78,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 78,
                                                        "column": 30
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "Identifier",
                                                      "start": 3171,
                                                      "end": 3184,
                                                      "loc": {
                                                        "start": {
                                                          "line": 78,
                                                          "column": 15
                                                        },
                                                        "end": {
                                                          "line": 78,
                                                          "column": 28
                                                        }
                                                      },
                                                      "name": "finalCallback"
                                                    },
                                                    "arguments": []
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "type": "FunctionExpression",
                                            "start": 3197,
                                            "end": 3305,
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 9
                                              },
                                              "end": {
                                                "line": 82,
                                                "column": 7
                                              }
                                            },
                                            "id": null,
                                            "generator": false,
                                            "expression": false,
                                            "async": false,
                                            "params": [
                                              {
                                                "type": "Identifier",
                                                "start": 3206,
                                                "end": 3211,
                                                "loc": {
                                                  "start": {
                                                    "line": 79,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 79,
                                                    "column": 23
                                                  }
                                                },
                                                "name": "error"
                                              }
                                            ],
                                            "body": {
                                              "type": "BlockStatement",
                                              "start": 3213,
                                              "end": 3305,
                                              "loc": {
                                                "start": {
                                                  "line": 79,
                                                  "column": 25
                                                },
                                                "end": {
                                                  "line": 82,
                                                  "column": 7
                                                }
                                              },
                                              "body": [
                                                {
                                                  "type": "ExpressionStatement",
                                                  "start": 3223,
                                                  "end": 3260,
                                                  "loc": {
                                                    "start": {
                                                      "line": 80,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 80,
                                                      "column": 45
                                                    }
                                                  },
                                                  "expression": {
                                                    "type": "CallExpression",
                                                    "start": 3223,
                                                    "end": 3259,
                                                    "loc": {
                                                      "start": {
                                                        "line": 80,
                                                        "column": 8
                                                      },
                                                      "end": {
                                                        "line": 80,
                                                        "column": 44
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 3223,
                                                      "end": 3234,
                                                      "loc": {
                                                        "start": {
                                                          "line": 80,
                                                          "column": 8
                                                        },
                                                        "end": {
                                                          "line": 80,
                                                          "column": 19
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 3223,
                                                        "end": 3230,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 8
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 15
                                                          }
                                                        },
                                                        "name": "console"
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 3231,
                                                        "end": 3234,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 16
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 19
                                                          }
                                                        },
                                                        "name": "log"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Literal",
                                                        "start": 3235,
                                                        "end": 3251,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 20
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 36
                                                          }
                                                        },
                                                        "value": "Prince ERROR: ",
                                                        "rawValue": "Prince ERROR: ",
                                                        "raw": "'Prince ERROR: '"
                                                      },
                                                      {
                                                        "type": "Identifier",
                                                        "start": 3253,
                                                        "end": 3258,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 38
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 43
                                                          }
                                                        },
                                                        "name": "error"
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "type": "ReturnStatement",
                                                  "start": 3269,
                                                  "end": 3297,
                                                  "loc": {
                                                    "start": {
                                                      "line": 81,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 81,
                                                      "column": 36
                                                    }
                                                  },
                                                  "argument": {
                                                    "type": "CallExpression",
                                                    "start": 3276,
                                                    "end": 3296,
                                                    "loc": {
                                                      "start": {
                                                        "line": 81,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 81,
                                                        "column": 35
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "Identifier",
                                                      "start": 3276,
                                                      "end": 3289,
                                                      "loc": {
                                                        "start": {
                                                          "line": 81,
                                                          "column": 15
                                                        },
                                                        "end": {
                                                          "line": 81,
                                                          "column": 28
                                                        }
                                                      },
                                                      "name": "finalCallback"
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Identifier",
                                                        "start": 3290,
                                                        "end": 3295,
                                                        "loc": {
                                                          "start": {
                                                            "line": 81,
                                                            "column": 29
                                                          },
                                                          "end": {
                                                            "line": 81,
                                                            "column": 34
                                                          }
                                                        },
                                                        "name": "error"
                                                      }
                                                    ]
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "alternate": {
                                  "type": "BlockStatement",
                                  "start": 3319,
                                  "end": 3429,
                                  "loc": {
                                    "start": {
                                      "line": 83,
                                      "column": 11
                                    },
                                    "end": {
                                      "line": 86,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ExpressionStatement",
                                      "start": 3327,
                                      "end": 3390,
                                      "loc": {
                                        "start": {
                                          "line": 84,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 84,
                                          "column": 69
                                        }
                                      },
                                      "expression": {
                                        "type": "CallExpression",
                                        "start": 3327,
                                        "end": 3389,
                                        "loc": {
                                          "start": {
                                            "line": 84,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 84,
                                            "column": 68
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 3327,
                                          "end": 3340,
                                          "loc": {
                                            "start": {
                                              "line": 84,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 84,
                                              "column": 19
                                            }
                                          },
                                          "object": {
                                            "type": "Identifier",
                                            "start": 3327,
                                            "end": 3334,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 6
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 13
                                              }
                                            },
                                            "name": "console"
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 3335,
                                            "end": 3340,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 14
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 19
                                              }
                                            },
                                            "name": "error"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "Literal",
                                            "start": 3341,
                                            "end": 3383,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 20
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 62
                                              }
                                            },
                                            "value": "error during rendering to static html : ",
                                            "rawValue": "error during rendering to static html : ",
                                            "raw": "'error during rendering to static html : '"
                                          },
                                          {
                                            "type": "Identifier",
                                            "start": 3385,
                                            "end": 3388,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 64
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 67
                                              }
                                            },
                                            "name": "err"
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "type": "ReturnStatement",
                                      "start": 3397,
                                      "end": 3423,
                                      "loc": {
                                        "start": {
                                          "line": 85,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 85,
                                          "column": 32
                                        }
                                      },
                                      "argument": {
                                        "type": "CallExpression",
                                        "start": 3404,
                                        "end": 3422,
                                        "loc": {
                                          "start": {
                                            "line": 85,
                                            "column": 13
                                          },
                                          "end": {
                                            "line": 85,
                                            "column": 31
                                          }
                                        },
                                        "callee": {
                                          "type": "Identifier",
                                          "start": 3404,
                                          "end": 3417,
                                          "loc": {
                                            "start": {
                                              "line": 85,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 85,
                                              "column": 26
                                            }
                                          },
                                          "name": "finalCallback"
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "start": 3418,
                                            "end": 3421,
                                            "loc": {
                                              "start": {
                                                "line": 85,
                                                "column": 27
                                              },
                                              "end": {
                                                "line": 85,
                                                "column": 30
                                              }
                                            },
                                            "name": "err"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Exports a section representation to a pdf file\n * @param {Object} params - The params of the export\n * @param {Object} params.section - the (root) section to export\n * @param {array} params.sectionList - the section context (if necessary)\n * @param {Object} params.settings - the specific rendering settings to use in order to produce the output\n * @param {boolean} params.includeChildren - whether to include section's children sections\n * @param {string} params.destinationFolder - where to output the file\n * @params {Object} assetsController - the module to use in order to communicate with assets\n * @param {Object} assetsParams - the assets parameters to use while communicating with assetsController\n * @param {function(err:error)} callback - the possible errors encountered during export\n ",
            "start": 1203,
            "end": 2009,
            "loc": {
              "start": {
                "line": 29,
                "column": 0
              },
              "end": {
                "line": 40,
                "column": 3
              }
            },
            "range": [
              1203,
              2009
            ]
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Exports a section representation to a pdf file\n * @param {Object} params - The params of the export\n * @param {Object} params.section - the (root) section to export\n * @param {array} params.sectionList - the section context (if necessary)\n * @param {Object} params.settings - the specific rendering settings to use in order to produce the output\n * @param {boolean} params.includeChildren - whether to include section's children sections\n * @param {string} params.destinationFolder - where to output the file\n * @params {Object} assetsController - the module to use in order to communicate with assets\n * @param {Object} assetsParams - the assets parameters to use while communicating with assetsController\n * @param {function(err:error)} callback - the possible errors encountered during export\n ",
          "start": 1203,
          "end": 2009,
          "loc": {
            "start": {
              "line": 29,
              "column": 0
            },
            "end": {
              "line": 40,
              "column": 3
            }
          },
          "range": [
            1203,
            2009
          ]
        }
      ]
    }
  ]
}