[
  {
    "path": ".dockerignore",
    "content": "node-modules/\n.git/\n.gitignore"
  },
  {
    "path": ".github/workflows/main.yml",
    "content": "name: Deploy\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Install Heroku CLI # <- IMPORTANT!!! Make sure the cli is installed before using the action\n        run: |\n          curl https://cli-assets.heroku.com/install.sh | sh \n      - uses: akhileshns/heroku-deploy@v3.14.15 # This is the action\n        with:\n          heroku_api_key: ${{secrets.HEROKU_API_KEY}}\n          heroku_app_name: ${{ secrets.HEROKU_APP_NAME }} #Must be unique in Heroku\n          heroku_email: ${{ secrets.HEROKU_EMAIL }}"
  },
  {
    "path": ".github/workflows/test.yml",
    "content": "name: UnitTests\n\non: [push]\n\njobs:\n  build:\n\n    runs-on: ubuntu-latest\n\n    strategy:\n      matrix:\n        node-version: [22.x]\n\n    steps:\n      - uses: actions/checkout@v2\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v1\n        with:\n          node-version: ${{ matrix.node-version }}\n      - run: npm i\n      - run: npm run test"
  },
  {
    "path": ".gitignore",
    "content": "**/node_modules\n**/.DS_Store\n.vscode/\nnpm-debug.log\n.idea"
  },
  {
    "path": "Dockerfile",
    "content": "FROM node:22\n\n# Copy restful-booker across\nRUN mkdir /restful-booker\n\nWORKDIR /restful-booker\n\nCOPY ./ ./\n\nRUN npm install\n\nCMD npm start\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "Procfile",
    "content": "web: npm start\n"
  },
  {
    "path": "README.md",
    "content": "# restful-booker\nA simple Node booking form for testing RESTful web services.\n\n# Requirements\n- Docker 17.09.0\n- Docker Compose 1.16.1\n\n# Installation\n1. Ensure mongo is up and running by executing ```mongod``` in your terminal\n2. Clone the repo\n3. Navigate into the restful-booker root folder\n4. Run ```npm install```\n5. Run ```npm start```\n \nOr you can run this via Docker:\n1. Clone the repo\n2. Navigate into the restful-booker root folder\n3. Run ```docker-compose build```\n4. Run ```docker-compose up```\n5. APIs are exposed on http://localhost:3001\n\n# API\nAPI details can be found on the [publically deployed version of Restful-Booker](https://restful-booker.herokuapp.com/).\n"
  },
  {
    "path": "app.js",
    "content": "const express = require('express');\nconst path = require('path');\nconst logger = require('morgan');\nconst cookieParser = require('cookie-parser');\nconst xmlparser = require('express-xml-bodyparser');\n\nconst routes = require('./routes/index');\n\nconst app = express();\n\napp.use(logger('dev'));\napp.use(express.json());\napp.use(express.urlencoded({ extended: true }));\napp.use(cookieParser());\napp.use(express.static(path.join(__dirname, 'public')));\napp.use(xmlparser({trim: false, explicitArray: false}));\n\napp.use('/', routes);\n\n// catch 404 and forward to error handler\napp.use(function(req, res, next) {\n  const err = new Error('Not Found');\n  err.status = 404;\n  next(err);\n});\n\n// error handlers\n\n// development error handler\n// will print stacktrace\nif (app.get('env') === 'development') {\n  app.use(function(err, req, res, next) {\n    console.log(err);\n    res.sendStatus(err.status || 500);\n  });\n}\n\n// production error handler\n// no stacktraces leaked to user\napp.use(function(err, req, res, next) {\n  res.sendStatus(err.status || 500);\n});\n\n\nmodule.exports = app;\n"
  },
  {
    "path": "app.json",
    "content": "{\n  \"name\": \"restful-booker\",\n  \"description\": \"An API for practising your testing skills against\",\n  \"image\": \"mwinteringham/restful-booker\"\n}\n"
  },
  {
    "path": "bin/www",
    "content": "#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\nconst app = require('../app');\nconst debug = require('debug')('restful-booker-v2:server');\nconst http = require('http');\n\n/**\n * Get port from environment and store in Express.\n */\nconst port = normalizePort(process.env.PORT || '3001');\napp.set('port', port);\n\n/**\n * Create HTTP server.\n */\nconst server = http.createServer(app);\n\n/**\n * Listen on provided port, on all network interfaces.\n */\n\nserver.listen(port);\nserver.on('error', onError);\nserver.on('listening', onListening);\n\n/**\n * Normalize a port into a number, string, or false.\n */\n\nfunction normalizePort(val) {\n  const port = parseInt(val, 10);\n\n  if (isNaN(port)) {\n    // named pipe\n    return val;\n  }\n\n  if (port >= 0) {\n    // port number\n    return port;\n  }\n\n  return false;\n}\n\n/**\n * Event listener for HTTP server \"error\" event.\n */\n\nfunction onError(error) {\n  if (error.syscall !== 'listen') {\n    throw error;\n  }\n\n  const bind = typeof port === 'string'\n      ? 'Pipe ' + port\n      : 'Port ' + port;\n\n  // handle specific listen errors with friendly messages\n  switch (error.code) {\n    case 'EACCES':\n      console.error(bind + ' requires elevated privileges');\n      process.exit(1);\n      break;\n    case 'EADDRINUSE':\n      console.error(bind + ' is already in use');\n      process.exit(1);\n      break;\n    default:\n      throw error;\n  }\n}\n\n/**\n * Event listener for HTTP server \"listening\" event.\n */\n\nfunction onListening() {\n  const addr = server.address();\n  const bind = typeof addr === 'string'\n      ? 'pipe ' + addr\n      : 'port ' + addr.port;\n  debug('Listening on ' + bind);\n}\n"
  },
  {
    "path": "docker-compose.yml",
    "content": "version: '2'\nservices:\n  restful-booker:\n    build: ./\n    ports:\n      - \"3001:3001\"\n"
  },
  {
    "path": "helpers/bookingcreator.js",
    "content": "date = require('date-and-time');\n\nconst randomiseDate = function (start, end) {\n  return new Date(start.getTime() + Math.random() * (end.getTime() - start.getTime()));\n};\n\nconst randomiseNumber = function (from, to) {\n  return Math.floor(Math.random() * (to - from + 1) + from);\n};\n\nconst randomiseFirstName = function () {\n  const name = [\"Mark\", \"Mary\", \"Sally\", \"Jim\", \"Eric\", \"Susan\"];\n\n  return name[randomiseNumber(0, name.length - 1)];\n};\n\nconst randomiseLastName = function () {\n  const surname = [\"Jones\", \"Wilson\", \"Jackson\", \"Brown\", \"Smith\", \"Ericsson\"];\n\n  return surname[randomiseNumber(0, surname.length - 1)];\n};\n\nconst randomiseBool = function () {\n  const bool = [true, false];\n\n  return bool[randomiseNumber(0, bool.length - 1)];\n};\n\nexports.createBooking = function(){\n  const checkInDate = randomiseDate(new Date(2015, 1, 1), new Date());\n  const latestDate = new Date();\n  latestDate.setDate(latestDate.getDate() + 3)\n\n  const booking = {\n    firstname: randomiseFirstName(),\n    lastname: randomiseLastName(),\n    totalprice: randomiseNumber(100, 1000),\n    depositpaid: randomiseBool(),\n    bookingdates: {\n      checkin: date.format(new Date(checkInDate.setHours(15, 0, 0, 0)), 'YYYY-MM-DD'),\n      checkout: date.format(new Date(randomiseDate(checkInDate, latestDate).setHours(12, 0, 0, 0)), 'YYYY-MM-DD')\n    }\n  };\n\n  if(randomiseBool()){\n    booking.additionalneeds = \"Breakfast\";\n  }\n\n  return booking;\n}"
  },
  {
    "path": "helpers/parser.js",
    "content": "const js2xmlparser = require(\"js2xmlparser\"),\n    formurlencoded = require('form-urlencoded').default,\n    date = require('date-and-time');\n\nexports.bookingids = function(req, rawBooking){\n  const payload = [];\n\n  rawBooking.forEach(function(b){\n    const tmpBooking = {\n      bookingid: b.bookingid,\n    };\n\n    payload.push(tmpBooking);\n  });\n\n  return payload;\n}\n\nexports.booking = function(accept, rawBooking){\n  try {\n    const booking = {\n      'firstname': rawBooking.firstname,\n      'lastname': rawBooking.lastname,\n      'totalprice': parseInt(rawBooking.totalprice),\n      'depositpaid': Boolean(rawBooking.depositpaid),\n      'bookingdates': {\n        'checkin': date.format(new Date(rawBooking.bookingdates.checkin), 'YYYY-MM-DD'),\n        'checkout': date.format(new Date(rawBooking.bookingdates.checkout), 'YYYY-MM-DD'),\n      }\n    };\n\n    if(typeof(rawBooking.additionalneeds) !== 'undefined'){\n      booking.additionalneeds = rawBooking.additionalneeds;\n    }\n\n    switch(accept){\n      case 'application/xml':\n        return js2xmlparser.parse('booking', booking);\n      case 'application/json':\n        return booking;\n      case 'application/x-www-form-urlencoded':\n        return formurlencoded(booking);\n      case '*/*':\n        return booking;\n      default:\n        return null;\n    }\n  } catch(err) {\n    return err.message;\n  }\n}\n\nexports.bookingWithId = function(req, rawBooking){\n  try {\n    const booking = {\n      'firstname': rawBooking.firstname,\n      'lastname': rawBooking.lastname,\n      'totalprice': parseInt(rawBooking.totalprice),\n      'depositpaid': Boolean(rawBooking.depositpaid),\n      'bookingdates': {\n        'checkin': date.format(new Date(rawBooking.bookingdates.checkin), 'YYYY-MM-DD'),\n        'checkout': date.format(new Date(rawBooking.bookingdates.checkout), 'YYYY-MM-DD'),\n      }\n    };\n\n    if(typeof(rawBooking.additionalneeds) !== 'undefined'){\n      booking.additionalneeds = rawBooking.additionalneeds;\n    }\n\n    const payload = {\n      \"bookingid\": rawBooking.bookingid,\n      \"booking\": booking\n    };\n\n    switch(req.headers.accept){\n      case 'application/xml':\n        return js2xmlparser.parse('created-booking', payload);\n      case 'application/json':\n        return payload;\n      case 'application/x-www-form-urlencoded':\n        return formurlencoded(payload);\n      case '*/*':\n        return payload;\n      default:\n        return null;\n    }\n  } catch(err) {\n    return err.message;\n  }\n}\n"
  },
  {
    "path": "helpers/validationrules.js",
    "content": "exports.returnRuleSet = function(){\n  const constraints = {\n    firstname: {presence: true},\n    lastname: {presence: true},\n    totalprice: {presence: true},\n    depositpaid: {presence: true},\n    'bookingdates.checkin': {presence: true},\n    'bookingdates.checkout': {presence: true},\n  };\n\n  return constraints\n}\n"
  },
  {
    "path": "helpers/validator.js",
    "content": "const rules = require('../helpers/validationrules'),\n    validate = require('validate.js');\n\nexports.scrubAndValidate = function(payload, callback){\n  if(payload.firstname){\n      payload.firstname = payload.firstname.trim();\n  }\n\n  if(payload.lastname){\n      payload.lastname = payload.lastname.trim();\n  }\n\n  callback(payload, validate(payload, rules.returnRuleSet()))\n};\n"
  },
  {
    "path": "models/booking.js",
    "content": "const loki = require('lokijs');\n\nlet counter = 0;\nconst db = new loki('booking.db');\nconst booking = db.addCollection('bookings');\n\nexports.getIDs = function(query, callback) {\n  try {\n    // Convert nedb-style query to LokiJS query\n    const results = booking.find(query);\n    callback(null, results);\n  } catch (err) {\n    callback(err);\n  }\n};\n\nexports.get = function(id, callback) {\n  try {\n    const result = booking.findOne({ bookingid: parseInt(id) });\n    callback(null, result);\n  } catch (err) {\n    callback(err, null);\n  }\n};\n\nexports.create = function(payload, callback) {\n  try {\n    counter++;\n    payload.bookingid = counter;\n    booking.insert(payload);\n    callback(null, payload);\n  } catch (err) {\n    callback(err);\n  }\n};\n\nexports.update = function(id, updatedBooking, callback) {\n  try {\n    const doc = booking.findOne({ bookingid: parseInt(id) });\n    if (!doc) {\n      return callback(new Error(`Booking ${id} not found`));\n    }\n    Object.assign(doc, updatedBooking);\n    booking.update(doc);\n    callback(null);\n  } catch (err) {\n    callback(err);\n  }\n};\n\nexports.delete = function(id, callback) {\n  try {\n    const doc = booking.findOne({ bookingid: parseInt(id) });\n    if (!doc) {\n      return callback(new Error(`Booking ${id} not found`));\n    }\n    booking.remove(doc);\n    callback(null);\n  } catch (err) {\n    callback(err);\n  }\n};\n\nexports.deleteAll = function(callback) {\n  try {\n    counter = 0;\n    booking.clear();\n    callback(null);\n  } catch (err) {\n    callback(err);\n  }\n};"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"restful-booker\",\n  \"version\": \"1.0.0\",\n  \"private\": true,\n  \"scripts\": {\n    \"start\": \"cross-env SEED=true node ./bin/www\",\n    \"test\": \"mocha -R spec tests/spec.js\",\n    \"build_docs\": \"apidoc -i ./routes/ -o public/apidoc/\"\n  },\n  \"dependencies\": {\n    \"body-parser\": \"2.2.2\",\n    \"cookie-parser\": \"1.4.7\",\n    \"cross-env\": \"10.1.0\",\n    \"date-and-time\": \"4.3.1\",\n    \"debug\": \"4.4.3\",\n    \"express\": \"5.2.1\",\n    \"express-xml-bodyparser\": \"0.4.1\",\n    \"form-urlencoded\": \"6.1.6\",\n    \"js2xmlparser\": \"5.0.0\",\n    \"lokijs\": \"^1.5.12\",\n    \"morgan\": \"1.10.1\",\n    \"pug\": \"3.0.4\",\n    \"uuid\": \"13.0.0\",\n    \"validate.js\": \"0.13.1\",\n    \"xml2js\": \"0.6.2\"\n  },\n  \"devDependencies\": {\n    \"chai\": \"6.2.2\",\n    \"mocha\": \"11.7.5\",\n    \"supertest\": \"7.2.2\"\n  }\n}\n"
  },
  {
    "path": "public/apidoc/api_data.js",
    "content": "define({ \"api\": [\n  {\n    \"type\": \"post\",\n    \"url\": \"auth\",\n    \"title\": \"CreateToken\",\n    \"name\": \"CreateToken\",\n    \"group\": \"Auth\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Creates a new auth token to use for access to the PUT and DELETE /booking</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"username\",\n            \"defaultValue\": \"admin\",\n            \"description\": \"<p>Username for authentication</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"password\",\n            \"defaultValue\": \"password123\",\n            \"description\": \"<p>Password for authentication</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/auth \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"username\\\" : \\\"admin\\\",\\n    \\\"password\\\" : \\\"password123\\\"\\n}'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"token\",\n            \"description\": \"<p>Token to use in future requests</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"token\\\": \\\"abc123\\\"\\n}\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Auth\"\n  },\n  {\n    \"type\": \"post\",\n    \"url\": \"booking\",\n    \"title\": \"CreateBooking\",\n    \"name\": \"CreateBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Creates a new booking in the API</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending. Can be application/json or text/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"JSON example usage:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/booking \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"firstname\\\" : \\\"Jim\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"XML example usage:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/booking \\\\\\n  -H 'Content-Type: text/xml' \\\\\\n  -d '<booking>\\n    <firstname>Jim</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n  </booking>'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"URLencoded example usage:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/booking \\\\\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\\\\n  -d 'firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2018-01-02'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"bookingid\",\n            \"description\": \"<p>ID for newly created booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"booking\",\n            \"description\": \"<p>Object that contains</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"booking.firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"booking.lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"booking.totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"booking.depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"booking.bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"booking.bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"booking.bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"booking.additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"bookingid\\\": 1,\\n    \\\"booking\\\": {\\n        \\\"firstname\\\": \\\"Jim\\\",\\n        \\\"lastname\\\": \\\"Brown\\\",\\n        \\\"totalprice\\\": 111,\\n        \\\"depositpaid\\\": true,\\n        \\\"bookingdates\\\": {\\n            \\\"checkin\\\": \\\"2018-01-01\\\",\\n            \\\"checkout\\\": \\\"2019-01-01\\\"\\n        },\\n        \\\"additionalneeds\\\": \\\"Breakfast\\\"\\n    }\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<?xml version='1.0'?>\\n<created-booking>\\n    <bookingid>1</bookingid>\\n    <booking>\\n        <firstname>Jim</firstname>\\n        <lastname>Brown</lastname>\\n        <totalprice>111</totalprice>\\n        <depositpaid>true</depositpaid>\\n        <bookingdates>\\n            <checkin>2018-01-01</checkin>\\n            <checkout>2019-01-01</checkout>\\n        </bookingdates>\\n        <additionalneeds>Breakfast</additionalneeds>\\n    </booking>\\n</created-booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nbookingid=1&booking%5Bfirstname%5D=Jim&booking%5Blastname%5D=Brown&booking%5Btotalprice%5D=111&booking%5Bdepositpaid%5D=true&booking%5Bbookingdates%5D%5Bcheckin%5D=2018-01-01&booking%5Bbookingdates%5D%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"delete\",\n    \"url\": \"booking/1\",\n    \"title\": \"DeleteBooking\",\n    \"name\": \"DeleteBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Deletes a booking from the API. Requires an authorization token to be set in the header or a Basic auth header.</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>ID for the booking you want to update</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Cookie\",\n            \"defaultValue\": \"token=&lt;token_value&gt;\",\n            \"description\": \"<p>Sets an authorization token to access the DELETE endpoint, can be used as an alternative to the Authorization</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Authorization\",\n            \"defaultValue\": \"Basic\",\n            \"description\": \"<p>YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the DELETE endpoint, can be used as an alternative to the Cookie header</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1 (Cookie):\",\n        \"content\": \"curl -X DELETE \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Cookie: token=abc123'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"Example 2 (Basic auth):\",\n        \"content\": \"curl -X DELETE \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM='\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"OK\",\n            \"description\": \"<p>Default HTTP 201 response</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 201 Created\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"get\",\n    \"url\": \"booking/:id\",\n    \"title\": \"GetBooking\",\n    \"name\": \"GetBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Returns a specific booking based upon the booking id provided</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>The id of the booking you would like to retrieve</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1 (Get booking):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking/1\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"firstname\\\": \\\"Sally\\\",\\n    \\\"lastname\\\": \\\"Brown\\\",\\n    \\\"totalprice\\\": 111,\\n    \\\"depositpaid\\\": true,\\n    \\\"bookingdates\\\": {\\n        \\\"checkin\\\": \\\"2013-02-23\\\",\\n        \\\"checkout\\\": \\\"2014-10-23\\\"\\n    },\\n    \\\"additionalneeds\\\": \\\"Breakfast\\\"\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<booking>\\n    <firstname>Sally</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n        <checkin>2013-02-23</checkin>\\n        <checkout>2014-10-23</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n</booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nfirstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"get\",\n    \"url\": \"booking\",\n    \"title\": \"GetBookingIds\",\n    \"name\": \"GetBookings\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Returns the ids of all the bookings that exist within the API. Can take optional query strings to search and return a subset of booking ids.</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Parameter\": [\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Return bookings with a specific firstname</p>\"\n          },\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Return bookings with a specific lastname</p>\"\n          },\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"date\",\n            \"optional\": true,\n            \"field\": \"checkin\",\n            \"description\": \"<p>Return bookings that have a checkin date greater than or equal to the set checkin date. Format must be CCYY-MM-DD</p>\"\n          },\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"date\",\n            \"optional\": true,\n            \"field\": \"checkout\",\n            \"description\": \"<p>Return bookings that have a checkout date greater than or equal to the set checkout date. Format must be CCYY-MM-DD</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1 (All IDs):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"Example 2 (Filter by name):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking?firstname=sally&lastname=brown\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"Example 3 (Filter by checkin/checkout date):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking?checkin=2014-03-13&checkout=2014-05-21\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"object[]\",\n            \"optional\": false,\n            \"field\": \"object\",\n            \"description\": \"<p>Array of objects that contain unique booking IDs</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"number\",\n            \"optional\": false,\n            \"field\": \"object.bookingid\",\n            \"description\": \"<p>ID of a specific booking that matches search criteria</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n[\\n  {\\n    \\\"bookingid\\\": 1\\n  },\\n  {\\n    \\\"bookingid\\\": 2\\n  },\\n  {\\n    \\\"bookingid\\\": 3\\n  },\\n  {\\n    \\\"bookingid\\\": 4\\n  }\\n]\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"patch\",\n    \"url\": \"booking/:id\",\n    \"title\": \"PartialUpdateBooking\",\n    \"name\": \"PartialUpdateBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Updates a current booking with a partial payload</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>ID for the booking you want to update</p>\"\n          }\n        ],\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Number\",\n            \"optional\": true,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Boolean\",\n            \"optional\": true,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": true,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": true,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending. Can be application/json or text/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Cookie\",\n            \"defaultValue\": \"token=&lt;token_value&gt;\",\n            \"description\": \"<p>Sets an authorization token to access the PUT endpoint, can be used as an alternative to the Authorization</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Authorization\",\n            \"defaultValue\": \"Basic\",\n            \"description\": \"<p>YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the PUT endpoint, can be used as an alternative to the Cookie header</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"JSON example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Accept: application/json' \\\\\\n  -H 'Cookie: token=abc123' \\\\\\n  -d '{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\"\\n}'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"XML example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: text/xml' \\\\\\n  -H 'Accept: application/xml' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d '<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n  </booking>'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"URLencoded example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\\\\n  -H 'Accept: application/x-www-form-urlencoded' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d 'firstname=Jim&lastname=Brown'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n</booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nfirstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"put\",\n    \"url\": \"booking/:id\",\n    \"title\": \"UpdateBooking\",\n    \"name\": \"UpdateBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Updates a current booking</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>ID for the booking you want to update</p>\"\n          }\n        ],\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending. Can be application/json or text/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Cookie\",\n            \"defaultValue\": \"token=&lt;token_value&gt;\",\n            \"description\": \"<p>Sets an authorization token to access the PUT endpoint, can be used as an alternative to the Authorization</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Authorization\",\n            \"defaultValue\": \"Basic\",\n            \"description\": \"<p>YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the PUT endpoint, can be used as an alternative to the Cookie header</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"JSON example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Accept: application/json' \\\\\\n  -H 'Cookie: token=abc123' \\\\\\n  -d '{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"XML example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: text/xml' \\\\\\n  -H 'Accept: application/xml' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d '<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n  </booking>'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"URLencoded example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\\\\n  -H 'Accept: application/x-www-form-urlencoded' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d 'firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2018-01-02'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n</booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nfirstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"get\",\n    \"url\": \"ping\",\n    \"title\": \"HealthCheck\",\n    \"name\": \"Ping\",\n    \"group\": \"Ping\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>A simple health check endpoint to confirm whether the API is up and running.</p>\",\n    \"examples\": [\n      {\n        \"title\": \"Ping server:\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/ping\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"OK\",\n            \"description\": \"<p>Default HTTP 201 response</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 201 Created\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Ping\"\n  }\n] });\n"
  },
  {
    "path": "public/apidoc/api_data.json",
    "content": "[\n  {\n    \"type\": \"post\",\n    \"url\": \"auth\",\n    \"title\": \"CreateToken\",\n    \"name\": \"CreateToken\",\n    \"group\": \"Auth\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Creates a new auth token to use for access to the PUT and DELETE /booking</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"username\",\n            \"defaultValue\": \"admin\",\n            \"description\": \"<p>Username for authentication</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"password\",\n            \"defaultValue\": \"password123\",\n            \"description\": \"<p>Password for authentication</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/auth \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"username\\\" : \\\"admin\\\",\\n    \\\"password\\\" : \\\"password123\\\"\\n}'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"token\",\n            \"description\": \"<p>Token to use in future requests</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"token\\\": \\\"abc123\\\"\\n}\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Auth\"\n  },\n  {\n    \"type\": \"post\",\n    \"url\": \"booking\",\n    \"title\": \"CreateBooking\",\n    \"name\": \"CreateBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Creates a new booking in the API</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending. Can be application/json or text/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"JSON example usage:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/booking \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -d '{\\n    \\\"firstname\\\" : \\\"Jim\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"XML example usage:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/booking \\\\\\n  -H 'Content-Type: text/xml' \\\\\\n  -d '<booking>\\n    <firstname>Jim</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n  </booking>'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"URLencoded example usage:\",\n        \"content\": \"curl -X POST \\\\\\n  https://restful-booker.herokuapp.com/booking \\\\\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\\\\n  -d 'firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2018-01-02'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"bookingid\",\n            \"description\": \"<p>ID for newly created booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"booking\",\n            \"description\": \"<p>Object that contains</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"booking.firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"booking.lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"booking.totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"booking.depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"booking.bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"booking.bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"booking.bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"booking.additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"bookingid\\\": 1,\\n    \\\"booking\\\": {\\n        \\\"firstname\\\": \\\"Jim\\\",\\n        \\\"lastname\\\": \\\"Brown\\\",\\n        \\\"totalprice\\\": 111,\\n        \\\"depositpaid\\\": true,\\n        \\\"bookingdates\\\": {\\n            \\\"checkin\\\": \\\"2018-01-01\\\",\\n            \\\"checkout\\\": \\\"2019-01-01\\\"\\n        },\\n        \\\"additionalneeds\\\": \\\"Breakfast\\\"\\n    }\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<?xml version='1.0'?>\\n<created-booking>\\n    <bookingid>1</bookingid>\\n    <booking>\\n        <firstname>Jim</firstname>\\n        <lastname>Brown</lastname>\\n        <totalprice>111</totalprice>\\n        <depositpaid>true</depositpaid>\\n        <bookingdates>\\n            <checkin>2018-01-01</checkin>\\n            <checkout>2019-01-01</checkout>\\n        </bookingdates>\\n        <additionalneeds>Breakfast</additionalneeds>\\n    </booking>\\n</created-booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nbookingid=1&booking%5Bfirstname%5D=Jim&booking%5Blastname%5D=Brown&booking%5Btotalprice%5D=111&booking%5Bdepositpaid%5D=true&booking%5Bbookingdates%5D%5Bcheckin%5D=2018-01-01&booking%5Bbookingdates%5D%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"delete\",\n    \"url\": \"booking/1\",\n    \"title\": \"DeleteBooking\",\n    \"name\": \"DeleteBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Deletes a booking from the API. Requires an authorization token to be set in the header or a Basic auth header.</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>ID for the booking you want to update</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Cookie\",\n            \"defaultValue\": \"token=&lt;token_value&gt;\",\n            \"description\": \"<p>Sets an authorization token to access the DELETE endpoint, can be used as an alternative to the Authorization</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Authorization\",\n            \"defaultValue\": \"Basic\",\n            \"description\": \"<p>YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the DELETE endpoint, can be used as an alternative to the Cookie header</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1 (Cookie):\",\n        \"content\": \"curl -X DELETE \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Cookie: token=abc123'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"Example 2 (Basic auth):\",\n        \"content\": \"curl -X DELETE \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM='\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"OK\",\n            \"description\": \"<p>Default HTTP 201 response</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 201 Created\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"get\",\n    \"url\": \"booking/:id\",\n    \"title\": \"GetBooking\",\n    \"name\": \"GetBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Returns a specific booking based upon the booking id provided</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>The id of the booking you would like to retrieve</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1 (Get booking):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking/1\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"firstname\\\": \\\"Sally\\\",\\n    \\\"lastname\\\": \\\"Brown\\\",\\n    \\\"totalprice\\\": 111,\\n    \\\"depositpaid\\\": true,\\n    \\\"bookingdates\\\": {\\n        \\\"checkin\\\": \\\"2013-02-23\\\",\\n        \\\"checkout\\\": \\\"2014-10-23\\\"\\n    },\\n    \\\"additionalneeds\\\": \\\"Breakfast\\\"\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<booking>\\n    <firstname>Sally</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n        <checkin>2013-02-23</checkin>\\n        <checkout>2014-10-23</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n</booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nfirstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"get\",\n    \"url\": \"booking\",\n    \"title\": \"GetBookingIds\",\n    \"name\": \"GetBookings\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Returns the ids of all the bookings that exist within the API. Can take optional query strings to search and return a subset of booking ids.</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Parameter\": [\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Return bookings with a specific firstname</p>\"\n          },\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Return bookings with a specific lastname</p>\"\n          },\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"date\",\n            \"optional\": true,\n            \"field\": \"checkin\",\n            \"description\": \"<p>Return bookings that have a checkin date greater than or equal to the set checkin date. Format must be CCYY-MM-DD</p>\"\n          },\n          {\n            \"group\": \"Parameter\",\n            \"type\": \"date\",\n            \"optional\": true,\n            \"field\": \"checkout\",\n            \"description\": \"<p>Return bookings that have a checkout date greater than or equal to the set checkout date. Format must be CCYY-MM-DD</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"Example 1 (All IDs):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"Example 2 (Filter by name):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking?firstname=sally&lastname=brown\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"Example 3 (Filter by checkin/checkout date):\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/booking?checkin=2014-03-13&checkout=2014-05-21\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"object[]\",\n            \"optional\": false,\n            \"field\": \"object\",\n            \"description\": \"<p>Array of objects that contain unique booking IDs</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"number\",\n            \"optional\": false,\n            \"field\": \"object.bookingid\",\n            \"description\": \"<p>ID of a specific booking that matches search criteria</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n[\\n  {\\n    \\\"bookingid\\\": 1\\n  },\\n  {\\n    \\\"bookingid\\\": 2\\n  },\\n  {\\n    \\\"bookingid\\\": 3\\n  },\\n  {\\n    \\\"bookingid\\\": 4\\n  }\\n]\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"patch\",\n    \"url\": \"booking/:id\",\n    \"title\": \"PartialUpdateBooking\",\n    \"name\": \"PartialUpdateBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Updates a current booking with a partial payload</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>ID for the booking you want to update</p>\"\n          }\n        ],\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Number\",\n            \"optional\": true,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Boolean\",\n            \"optional\": true,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": true,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": true,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": true,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending. Can be application/json or text/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Cookie\",\n            \"defaultValue\": \"token=&lt;token_value&gt;\",\n            \"description\": \"<p>Sets an authorization token to access the PUT endpoint, can be used as an alternative to the Authorization</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Authorization\",\n            \"defaultValue\": \"Basic\",\n            \"description\": \"<p>YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the PUT endpoint, can be used as an alternative to the Cookie header</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"JSON example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Accept: application/json' \\\\\\n  -H 'Cookie: token=abc123' \\\\\\n  -d '{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\"\\n}'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"XML example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: text/xml' \\\\\\n  -H 'Accept: application/xml' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d '<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n  </booking>'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"URLencoded example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\\\\n  -H 'Accept: application/x-www-form-urlencoded' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d 'firstname=Jim&lastname=Brown'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n</booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nfirstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"put\",\n    \"url\": \"booking/:id\",\n    \"title\": \"UpdateBooking\",\n    \"name\": \"UpdateBooking\",\n    \"group\": \"Booking\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>Updates a current booking</p>\",\n    \"parameter\": {\n      \"fields\": {\n        \"Url Parameter\": [\n          {\n            \"group\": \"Url Parameter\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"id\",\n            \"description\": \"<p>ID for the booking you want to update</p>\"\n          }\n        ],\n        \"Request body\": [\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Request body\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      }\n    },\n    \"header\": {\n      \"fields\": {\n        \"Header\": [\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Content-Type\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets the format of payload you are sending. Can be application/json or text/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": false,\n            \"field\": \"Accept\",\n            \"defaultValue\": \"application/json\",\n            \"description\": \"<p>Sets what format the response body is returned in. Can be application/json or application/xml</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Cookie\",\n            \"defaultValue\": \"token=&lt;token_value&gt;\",\n            \"description\": \"<p>Sets an authorization token to access the PUT endpoint, can be used as an alternative to the Authorization</p>\"\n          },\n          {\n            \"group\": \"Header\",\n            \"type\": \"string\",\n            \"optional\": true,\n            \"field\": \"Authorization\",\n            \"defaultValue\": \"Basic\",\n            \"description\": \"<p>YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the PUT endpoint, can be used as an alternative to the Cookie header</p>\"\n          }\n        ]\n      }\n    },\n    \"examples\": [\n      {\n        \"title\": \"JSON example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/json' \\\\\\n  -H 'Accept: application/json' \\\\\\n  -H 'Cookie: token=abc123' \\\\\\n  -d '{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"XML example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: text/xml' \\\\\\n  -H 'Accept: application/xml' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d '<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n  </booking>'\",\n        \"type\": \"json\"\n      },\n      {\n        \"title\": \"URLencoded example usage:\",\n        \"content\": \"curl -X PUT \\\\\\n  https://restful-booker.herokuapp.com/booking/1 \\\\\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\\\\n  -H 'Accept: application/x-www-form-urlencoded' \\\\\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\\\\n  -d 'firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2018-01-02'\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"firstname\",\n            \"description\": \"<p>Firstname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"lastname\",\n            \"description\": \"<p>Lastname for the guest who made the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Number\",\n            \"optional\": false,\n            \"field\": \"totalprice\",\n            \"description\": \"<p>The total price for the booking</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Boolean\",\n            \"optional\": false,\n            \"field\": \"depositpaid\",\n            \"description\": \"<p>Whether the deposit has been paid or not</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Object\",\n            \"optional\": false,\n            \"field\": \"bookingdates\",\n            \"description\": \"<p>Sub-object that contains the checkin and checkout dates</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkin\",\n            \"description\": \"<p>Date the guest is checking in</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"Date\",\n            \"optional\": false,\n            \"field\": \"bookingdates.checkout\",\n            \"description\": \"<p>Date the guest is checking out</p>\"\n          },\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"additionalneeds\",\n            \"description\": \"<p>Any other needs the guest has</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"JSON Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n{\\n    \\\"firstname\\\" : \\\"James\\\",\\n    \\\"lastname\\\" : \\\"Brown\\\",\\n    \\\"totalprice\\\" : 111,\\n    \\\"depositpaid\\\" : true,\\n    \\\"bookingdates\\\" : {\\n        \\\"checkin\\\" : \\\"2018-01-01\\\",\\n        \\\"checkout\\\" : \\\"2019-01-01\\\"\\n    },\\n    \\\"additionalneeds\\\" : \\\"Breakfast\\\"\\n}\",\n          \"type\": \"json\"\n        },\n        {\n          \"title\": \"XML Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\n<booking>\\n    <firstname>James</firstname>\\n    <lastname>Brown</lastname>\\n    <totalprice>111</totalprice>\\n    <depositpaid>true</depositpaid>\\n    <bookingdates>\\n      <checkin>2018-01-01</checkin>\\n      <checkout>2019-01-01</checkout>\\n    </bookingdates>\\n    <additionalneeds>Breakfast</additionalneeds>\\n</booking>\",\n          \"type\": \"xml\"\n        },\n        {\n          \"title\": \"URL Response:\",\n          \"content\": \"HTTP/1.1 200 OK\\n\\nfirstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\",\n          \"type\": \"url\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Booking\"\n  },\n  {\n    \"type\": \"get\",\n    \"url\": \"ping\",\n    \"title\": \"HealthCheck\",\n    \"name\": \"Ping\",\n    \"group\": \"Ping\",\n    \"version\": \"1.0.0\",\n    \"description\": \"<p>A simple health check endpoint to confirm whether the API is up and running.</p>\",\n    \"examples\": [\n      {\n        \"title\": \"Ping server:\",\n        \"content\": \"curl -i https://restful-booker.herokuapp.com/ping\",\n        \"type\": \"json\"\n      }\n    ],\n    \"success\": {\n      \"fields\": {\n        \"Success 200\": [\n          {\n            \"group\": \"Success 200\",\n            \"type\": \"String\",\n            \"optional\": false,\n            \"field\": \"OK\",\n            \"description\": \"<p>Default HTTP 201 response</p>\"\n          }\n        ]\n      },\n      \"examples\": [\n        {\n          \"title\": \"Response:\",\n          \"content\": \"HTTP/1.1 201 Created\",\n          \"type\": \"json\"\n        }\n      ]\n    },\n    \"filename\": \"routes/index.js\",\n    \"groupTitle\": \"Ping\"\n  }\n]\n"
  },
  {
    "path": "public/apidoc/api_project.js",
    "content": "define({\n  \"name\": \"restful-booker\",\n  \"version\": \"1.0.0\",\n  \"description\": \"API documentation for the playground API restful-booker. <a href='/' style='font-size: 24px'>Click here to go back to Home</a>\",\n  \"title\": \"Restful-booker\",\n  \"url\": \"https://restful-booker.herokuapp.com/\",\n  \"order\": [\n    \"GetBookings\",\n    \"GetBooking\",\n    \"CreateBooking\",\n    \"UpdateBooking\",\n    \"PartialUpdateBooking\",\n    \"DeleteBooking\"\n  ],\n  \"sampleUrl\": false,\n  \"defaultVersion\": \"0.0.0\",\n  \"apidoc\": \"0.3.0\",\n  \"generator\": {\n    \"name\": \"apidoc\",\n    \"time\": \"2025-06-11T20:24:26.733Z\",\n    \"url\": \"https://apidocjs.com\",\n    \"version\": \"0.25.0\"\n  }\n});\n"
  },
  {
    "path": "public/apidoc/api_project.json",
    "content": "{\n  \"name\": \"restful-booker\",\n  \"version\": \"1.0.0\",\n  \"description\": \"API documentation for the playground API restful-booker. <a href='/' style='font-size: 24px'>Click here to go back to Home</a>\",\n  \"title\": \"Restful-booker\",\n  \"url\": \"https://restful-booker.herokuapp.com/\",\n  \"order\": [\n    \"GetBookings\",\n    \"GetBooking\",\n    \"CreateBooking\",\n    \"UpdateBooking\",\n    \"PartialUpdateBooking\",\n    \"DeleteBooking\"\n  ],\n  \"sampleUrl\": false,\n  \"defaultVersion\": \"0.0.0\",\n  \"apidoc\": \"0.3.0\",\n  \"generator\": {\n    \"name\": \"apidoc\",\n    \"time\": \"2025-06-11T20:24:26.733Z\",\n    \"url\": \"https://apidocjs.com\",\n    \"version\": \"0.25.0\"\n  }\n}\n"
  },
  {
    "path": "public/apidoc/css/style.css",
    "content": "/* ------------------------------------------------------------------------------------------\n * Content\n * ------------------------------------------------------------------------------------------ */\nbody {\n  max-width: 1280px;\n}\n\nbody, p, a, div, th, td {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 400;\n  font-size: 16px;\n}\n\n@media (min-width: 1200px) {\n  body.container-fluid {\n    padding-right: 0px;\n    padding-left: 0px;\n    margin-right: 0px;\n    margin-left: 0px;\n  }\n}\n\ntd.code {\n  font-size: 14px;\n  font-family: \"Source Code Pro\", monospace;\n  font-style: normal;\n  font-weight: 400;\n}\n\n#content {\n  padding-top: 16px;\n  z-Index: -1;\n  margin-left: 270px;\n}\n\np {\n  color: #808080;\n}\n\nh1 {\n  font-family: \"Source Sans Pro Semibold\", sans-serif;\n  font-weight: normal;\n  font-size: 44px;\n  line-height: 50px;\n  margin: 0 0 10px 0;\n  padding: 0;\n}\n\nh2 {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: normal;\n  font-size: 24px;\n  line-height: 40px;\n  margin: 0 0 20px 0;\n  padding: 0;\n}\n\nsection {\n  border-top: 1px solid #ebebeb;\n  padding: 30px 0;\n}\n\nsection h1 {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 700;\n  font-size: 32px;\n  line-height: 40px;\n  padding-bottom: 14px;\n  margin: 0 0 20px 0;\n  padding: 0;\n}\n\narticle {\n  padding: 14px 0 30px 0;\n}\n\narticle h1 {\n  font-family: \"Source Sans Pro Bold\", sans-serif;\n  font-weight: 600;\n  font-size: 24px;\n  line-height: 26px;\n}\n\narticle h2 {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 600;\n  font-size: 18px;\n  line-height: 24px;\n  margin: 0 0 10px 0;\n}\n\narticle h3 {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 600;\n  font-size: 16px;\n  line-height: 18px;\n  margin: 0 0 10px 0;\n}\n\narticle h4 {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 600;\n  font-size: 14px;\n  line-height: 16px;\n  margin: 0 0 8px 0;\n}\n\ntable {\n  border-collapse: collapse;\n  width: 100%;\n  margin: 0 0 20px 0;\n}\n\nth {\n  background-color: #f5f5f5;\n  text-align: left;\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 700;\n  padding: 4px 8px;\n  border: #e0e0e0 1px solid;\n}\n\ntd {\n  vertical-align: top;\n  padding: 10px 8px 0 8px;\n  border: #e0e0e0 1px solid;\n}\n\n#generator .content {\n  color: #b0b0b0;\n  border-top: 1px solid #ebebeb;\n  padding: 10px 0;\n}\n\n.label-optional {\n  float: right;\n  background-color: grey;\n  margin-top: 4px;\n}\n\n.open-left {\n  right: 0;\n  left: auto;\n}\n\n/* ------------------------------------------------------------------------------------------\n * apidoc - intro\n * ------------------------------------------------------------------------------------------ */\n\n#apidoc .apidoc {\n  border-top: 1px solid #ebebeb;\n  padding: 30px 0;\n}\n\n#apidoc h1 {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 700;\n  font-size: 32px;\n  line-height: 40px;\n  padding-bottom: 14px;\n  margin: 0 0 20px 0;\n  padding: 0;\n}\n\n#apidoc h2 {\n  font-family: \"Source Sans Pro Bold\", sans-serif;\n  font-weight: 600;\n  font-size: 22px;\n  line-height: 26px;\n  padding-top: 14px;\n}\n\n/* ------------------------------------------------------------------------------------------\n * Request type\n * ------------------------------------------------------------------------------------------ */\n.type {\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 600;\n  font-size: 15px;\n  display: inline-block;\n  margin: 0 0 5px 0;\n  padding: 4px 5px;\n  border-radius: 6px;\n  text-transform: uppercase;\n  background-color: #3387CC;\n  color: #ffffff;\n}\n\n.type__get {\n  background-color: green;\n}\n\n.type__put {\n  background-color: #e5c500;\n}\n\n.type__post {\n  background-color: #4070ec;\n}\n\n.type__delete {\n  background-color: #ed0039;\n}\n\n/* ------------------------------------------------------------------------------------------\n * Sidenav\n * ------------------------------------------------------------------------------------------ */\n.sidenav {\n  width: 228px;\n  margin: 0;\n  padding: 0 20px 20px 20px;\n  position: fixed;\n  top: 50px;\n  left: 0;\n  bottom: 0;\n  overflow-x: hidden;\n  overflow-y: auto;\n  background-color: #f5f5f5;\n  z-index: 10;\n}\n\n.sidenav > li > a {\n  display: block;\n  width: 192px;\n  margin: 0;\n  padding: 2px 11px;\n  border: 0;\n  border-left: transparent 4px solid;\n  border-right: transparent 4px solid;\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 400;\n  font-size: 14px;\n}\n\n.sidenav > li.nav-header {\n  margin-top: 8px;\n  margin-bottom: 8px;\n}\n\n.sidenav > li.nav-header > a {\n  padding: 5px 15px;\n  border: 1px solid #e5e5e5;\n  width: 190px;\n  font-family: \"Source Sans Pro\", sans-serif;\n  font-weight: 700;\n  font-size: 16px;\n  background-color: #ffffff;\n}\n\n.sidenav > li.active > a {\n    position: relative;\n    z-index: 2;\n    background-color: #0088cc;\n    color: #ffffff;\n}\n\n.sidenav > li.has-modifications a {\n  border-right: #60d060 4px solid;\n}\n\n.sidenav > li.is-new a {\n  border-left: #e5e5e5 4px solid;\n}\n\n/* ------------------------------------------------------------------------------------------\n * Side nav search\n * ------------------------------------------------------------------------------------------ */\n.sidenav-search {\n  width: 228px;\n  left: 0px;\n  position: fixed;\n  padding: 16px 20px 10px 20px;\n  background-color: #F5F5F5;\n  z-index: 11;\n}\n\n.sidenav-search .search {\n  height: 26px;\n}\n\n.search-reset {\n  position: absolute;\n  display: block;\n  cursor: pointer;\n  width: 20px;\n  height: 20px;\n  text-align: center;\n  right: 28px;\n  top: 17px;\n  background-color: #fff;\n}\n\n/* ------------------------------------------------------------------------------------------\n * Compare\n * ------------------------------------------------------------------------------------------ */\n\nins {\n  background: #60d060;\n  text-decoration: none;\n  color: #000000;\n}\n\ndel {\n  background: #f05050;\n  color: #000000;\n}\n\n.label-ins {\n  background-color: #60d060;\n}\n\n.label-del {\n  background-color: #f05050;\n  text-decoration: line-through;\n}\n\npre.ins {\n  background-color: #60d060;\n}\n\npre.del {\n  background-color: #f05050;\n  text-decoration: line-through;\n}\n\ntable.ins th,\ntable.ins td {\n  background-color: #60d060;\n}\n\ntable.del th,\ntable.del td {\n  background-color: #f05050;\n  text-decoration: line-through;\n}\n\ntr.ins td {\n  background-color: #60d060;\n}\n\ntr.del td {\n  background-color: #f05050;\n  text-decoration: line-through;\n}\n\n/* ------------------------------------------------------------------------------------------\n * Spinner\n * ------------------------------------------------------------------------------------------ */\n\n#loader {\n  position: absolute;\n  width: 100%;\n}\n\n#loader p {\n  padding-top: 80px;\n  margin-left: -4px;\n}\n\n.spinner {\n  margin: 200px auto;\n  width: 60px;\n  height: 60px;\n  position: relative;\n}\n\n.container1 > div, .container2 > div, .container3 > div {\n  width: 14px;\n  height: 14px;\n  background-color: #0088cc;\n\n  border-radius: 100%;\n  position: absolute;\n  -webkit-animation: bouncedelay 1.2s infinite ease-in-out;\n  animation: bouncedelay 1.2s infinite ease-in-out;\n  /* Prevent first frame from flickering when animation starts */\n  -webkit-animation-fill-mode: both;\n  animation-fill-mode: both;\n}\n\n.spinner .spinner-container {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n\n.container2 {\n  -webkit-transform: rotateZ(45deg);\n  transform: rotateZ(45deg);\n}\n\n.container3 {\n  -webkit-transform: rotateZ(90deg);\n  transform: rotateZ(90deg);\n}\n\n.circle1 { top: 0; left: 0; }\n.circle2 { top: 0; right: 0; }\n.circle3 { right: 0; bottom: 0; }\n.circle4 { left: 0; bottom: 0; }\n\n.container2 .circle1 {\n  -webkit-animation-delay: -1.1s;\n  animation-delay: -1.1s;\n}\n\n.container3 .circle1 {\n  -webkit-animation-delay: -1.0s;\n  animation-delay: -1.0s;\n}\n\n.container1 .circle2 {\n  -webkit-animation-delay: -0.9s;\n  animation-delay: -0.9s;\n}\n\n.container2 .circle2 {\n  -webkit-animation-delay: -0.8s;\n  animation-delay: -0.8s;\n}\n\n.container3 .circle2 {\n  -webkit-animation-delay: -0.7s;\n  animation-delay: -0.7s;\n}\n\n.container1 .circle3 {\n  -webkit-animation-delay: -0.6s;\n  animation-delay: -0.6s;\n}\n\n.container2 .circle3 {\n  -webkit-animation-delay: -0.5s;\n  animation-delay: -0.5s;\n}\n\n.container3 .circle3 {\n  -webkit-animation-delay: -0.4s;\n  animation-delay: -0.4s;\n}\n\n.container1 .circle4 {\n  -webkit-animation-delay: -0.3s;\n  animation-delay: -0.3s;\n}\n\n.container2 .circle4 {\n  -webkit-animation-delay: -0.2s;\n  animation-delay: -0.2s;\n}\n\n.container3 .circle4 {\n  -webkit-animation-delay: -0.1s;\n  animation-delay: -0.1s;\n}\n\n@-webkit-keyframes bouncedelay {\n  0%, 80%, 100% { -webkit-transform: scale(0.0) }\n  40% { -webkit-transform: scale(1.0) }\n}\n\n@keyframes bouncedelay {\n  0%, 80%, 100% {\n    transform: scale(0.0);\n    -webkit-transform: scale(0.0);\n  } 40% {\n    transform: scale(1.0);\n    -webkit-transform: scale(1.0);\n  }\n}\n\n/* ------------------------------------------------------------------------------------------\n * Tabs\n * ------------------------------------------------------------------------------------------ */\nul.nav-tabs {\n  margin: 0;\n}\n\np.deprecated span{\n  color: #ff0000;\n  font-weight: bold;\n  text-decoration: underline;\n}\n\n/* ------------------------------------------------------------------------------------------\n * Print\n * ------------------------------------------------------------------------------------------ */\n\n@media print {\n\n  #sidenav,\n  #version,\n  #versions,\n  section .version,\n  section .versions {\n    display: none;\n  }\n\n  #content {\n    margin-left: 0;\n  }\n\n  a {\n    text-decoration: none;\n    color: inherit;\n  }\n\n  a:after {\n    content: \" [\" attr(href) \"] \";\n  }\n\n  p {\n    color: #000000\n  }\n\n  pre {\n    background-color: #ffffff;\n    color: #000000;\n    padding: 10px;\n    border: #808080 1px solid;\n    border-radius: 6px;\n    position: relative;\n    margin: 10px 0 20px 0;\n  }\n\n} /* /@media print */\n"
  },
  {
    "path": "public/apidoc/index.html",
    "content": "<!DOCTYPE html>\n<html>\n<head>\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n  <title>Loading...</title>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n  <link href=\"vendor/bootstrap.min.css\" rel=\"stylesheet\" media=\"screen\">\n  <link href=\"vendor/prism.css\" rel=\"stylesheet\" />\n  <link href=\"css/style.css\" rel=\"stylesheet\" media=\"screen, print\">\n  <link href=\"img/favicon.ico\" rel=\"icon\" type=\"image/x-icon\">\n  <script src=\"vendor/polyfill.js\"></script>\n</head>\n<body class=\"container-fluid\">\n\n<script id=\"template-sidenav\" type=\"text/x-handlebars-template\">\n<nav id=\"scrollingNav\">\n  <div class=\"sidenav-search\">\n    <input class=\"form-control search\" type=\"text\" placeholder=\"{{__ \"Filter...\"}}\">\n    <span class=\"search-reset\">x</span>\n  </div>\n  <ul class=\"sidenav nav nav-list list\">\n  {{#each nav}}\n    {{#if title}}\n      {{#if isHeader}}\n        {{#if isFixed}}\n          <li class=\"nav-fixed nav-header navbar-btn nav-list-item\" data-group=\"{{group}}\"><a href=\"#api-{{group}}\" data-name=\"show-api-{{group}}\" class=\"show-api api-{{group}}-init\">{{underscoreToSpace title}}</a></li>\n        {{else}}\n          <li class=\"nav-header nav-list-item\" data-group=\"{{group}}\"><a href=\"#api-{{group}}\" data-group=\"show-api-{{group}}\" class=\"show-group api-{{group}}-init\">{{underscoreToSpace title}}</a></li>\n        {{/if}}\n      {{else}}\n        <li class=\"{{#if hidden}}hide {{/if}}\" data-group=\"{{group}}\" data-name=\"{{name}}\" data-version=\"{{version}}\">\n          <a href=\"#api-{{group}}-{{name}}\" title=\"{{url}}\" data-group=\"show-api-{{group}}\" data-name=\"show-api-{{group}}-{{name}}\" class=\"nav-list-item show-api api-{{group}}-{{name}}-init\">{{title}}<div class=\"nav-list-url-item hide\">{{url}}</div></a>\n        </li>\n      {{/if}}\n    {{/if}}\n  {{/each}}\n  </ul>\n</nav>\n</script>\n\n<script id=\"template-project\" type=\"text/x-handlebars-template\">\n  <div class=\"pull-left\">\n    <h1>{{name}}</h1>\n    {{#if description}}<h2>{{{nl2br description}}}</h2>{{/if}}\n  </div>\n  <div class=\"pull-right\">\n    {{#if template.withCompare}}\n    <div class=\"btn-group\">\n      <button id=\"version\" class=\"btn btn-lg btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n        <strong>{{version}}</strong>&nbsp;<span class=\"caret\"></span>\n      </button>\n      <ul id=\"versions\" class=\"dropdown-menu open-left\">\n        <li><a id=\"compareAllWithPredecessor\" href=\"#\">{{__ \"Compare all with predecessor\"}}</a></li>\n        <li class=\"divider\"></li>\n        <li class=\"disabled\"><a href=\"#\">{{__ \"show up to version:\"}}</a></li>\n      {{#each versions}}\n        <li class=\"version\"><a href=\"#\">{{this}}</a></li>\n      {{/each}}\n      </ul>\n    </div>\n    {{else}}\n    <div id=\"version\" class=\"well well-sm\">\n      <strong>{{version}}</strong>\n    </div>\n    {{/if}}\n  </div>\n  <div class=\"clearfix\"></div>\n</script>\n\n<script id=\"template-header\" type=\"text/x-handlebars-template\">\n  {{#if content}}\n    <div id=\"api-_\" class=\"show-api-article show-api-_-article\">{{{content}}}</div>\n  {{/if}}\n</script>\n\n<script id=\"template-footer\" type=\"text/x-handlebars-template\">\n  {{#if content}}\n    <div id=\"api-_footer\" class=\"show-api-article show-api-_-article\">{{{content}}}</div>\n  {{/if}}\n</script>\n\n<script id=\"template-generator\" type=\"text/x-handlebars-template\">\n  {{#if template.withGenerator}}\n    {{#if generator}}\n      <div class=\"content\">\n        {{__ \"Generated with\"}} <a href=\"{{{generator.url}}}\">{{{generator.name}}}</a> {{{generator.version}}} - {{{generator.time}}}\n      </div>\n    {{/if}}\n  {{/if}}\n</script>\n\n<script id=\"template-sections\" type=\"text/x-handlebars-template\">\n  <section id=\"api-{{group}}\" class=\"show-api-group show-api-{{group}}-group {{#if aloneDisplay}} hide{{/if}}\">\n    <h1>{{underscoreToSpace title}}</h1>\n    {{#if description}}\n      <p>{{{nl2br description}}}</p>\n    {{/if}}\n    {{#each articles}}\n      <div id=\"api-{{group}}-{{name}}\" class=\"show-api-article show-api-{{group}}-article show-api-{{group}}-{{name}}-article {{#if aloneDisplay}} hide{{/if}}\">\n        {{{article}}}\n      </div>\n    {{/each}}\n  </section>\n</script>\n\n<script id=\"template-article\" type=\"text/x-handlebars-template\">\n  <article id=\"api-{{article.group}}-{{article.name}}-{{article.version}}\" {{#if hidden}}class=\"hide\"{{/if}} data-group=\"{{article.group}}\" data-name=\"{{article.name}}\" data-version=\"{{article.version}}\">\n    <div class=\"pull-left\">\n      <h1>{{underscoreToSpace article.groupTitle}}{{#if article.title}} - {{article.title}}{{/if}}</h1>\n    </div>\n    {{#if template.withCompare}}\n    <div class=\"pull-right\">\n      <div class=\"btn-group\">\n        <button class=\"version btn btn-default dropdown-toggle\" data-toggle=\"dropdown\">\n          <strong>{{article.version}}</strong>&nbsp;<span class=\"caret\"></span>\n        </button>\n        <ul class=\"versions dropdown-menu open-left\">\n          <li class=\"disabled\"><a href=\"#\">{{__ \"compare changes to:\"}}</a></li>\n        {{#each versions}}\n          <li class=\"version\"><a href=\"#\">{{this}}</a></li>\n        {{/each}}\n        </ul>\n      </div>\n    </div>\n    {{/if}}\n    <div class=\"clearfix\"></div>\n\n    {{#if article.author}}<h4 class=\"muted\">Authored by: {{article.author}}</h4>{{/if}}\n\n    {{#if article.deprecated}}\n      <p class=\"deprecated\"><span>{{__ \"DEPRECATED\"}}</span>\n        {{{markdown article.deprecated.content}}}\n      </p>\n    {{/if}}\n\n    {{#if article.description}}\n      <p>{{{nl2br article.description}}}</p>\n    {{/if}}\n    <span class=\"type type__{{toLowerCase article.type}}\">{{toLowerCase article.type}}</span>\n    <pre data-type=\"{{toLowerCase article.type}}\"><code class=\"language-http\">{{article.url}}</code></pre>\n\n    {{#if article.permission}}\n      <p>\n        {{__ \"Permission:\"}}\n        {{#each article.permission}}\n          {{name}}\n          {{#if title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{title}}\" data-content=\"{{nl2br description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n              <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{/if}}\n        {{/each}}\n      </p>\n    {{/if}}\n\n    {{!-- CODE EXAMPLES IN TABS --}}\n    {{#if_gt article.examples.length compare=0}}\n      <ul class=\"nav nav-tabs nav-tabs-examples\">\n        {{#each article.examples}}\n          <li{{#if_eq @index compare=0}} class=\"active\"{{/if_eq}}>\n            <a href=\"#examples-{{../id}}-{{@index}}\">{{title}}</a>\n          </li>\n        {{/each}}\n      </ul>\n\n      <div class=\"tab-content\">\n      {{#each article.examples}}\n        <div class=\"tab-pane{{#if_eq @index compare=0}} active{{/if_eq}}\" id=\"examples-{{../id}}-{{@index}}\">\n          <pre data-type=\"{{type}}\"><code class=\"language-{{type}}\">{{content}}</code></pre>\n        </div>\n      {{/each}}\n      </div>\n    {{/if_gt}}\n\n    {{subTemplate \"article-param-block\" params=article.header _hasType=_hasTypeInHeaderFields section=\"header\"}}\n    {{subTemplate \"article-param-block\" params=article.parameter _hasType=_hasTypeInParameterFields section=\"parameter\"}}\n    {{subTemplate \"article-param-block\" params=article.success _hasType=_hasTypeInSuccessFields section=\"success\"}}\n    {{subTemplate \"article-param-block\" params=article.error _col1=\"Name\" _hasType=_hasTypeInErrorFields section=\"error\"}}\n\n    {{subTemplate \"article-sample-request\" article=article id=id}}\n  </article>\n</script>\n\n<script id=\"template-article-param-block\" type=\"text/x-handlebars-template\">\n  {{#if params}}\n    {{#each params.fields}}\n      <h2>{{__ @key}}</h2>\n      <table>\n        <thead>\n          <tr>\n          <th style=\"width: 30%\">{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ \"Field\"}}{{/if}}</th>\n            {{#if ../_hasType}}<th style=\"width: 10%\">{{__ \"Type\"}}</th>{{/if}}\n            <th style=\"width: {{#if ../_hasType}}60%{{else}}70%{{/if}}\">{{__ \"Description\"}}</th>\n          </tr>\n        </thead>\n        <tbody>\n        {{#each this}}\n          <tr>\n            <td class=\"code\">{{{splitFill field \".\" \"&nbsp;&nbsp;\"}}}{{#if optional}} <span class=\"label label-optional\">{{__ \"optional\"}}</span>{{/if}}</td>\n            {{#if ../../_hasType}}\n              <td>\n                {{{type}}}\n              </td>\n            {{/if}}\n            <td>\n            {{{nl2br description}}}\n            {{#if defaultValue}}<p class=\"default-value\">{{__ \"Default value:\"}} <code>{{{defaultValue}}}</code></p>{{/if}}\n            {{#if size}}<p class=\"type-size\">{{__ \"Size range:\"}} <code>{{{size}}}</code></p>{{/if}}\n            {{#if allowedValues}}<p class=\"type-size\">{{__ \"Allowed values:\"}}\n              {{#each allowedValues}}\n                <code>{{{this}}}</code>{{#unless @last}}, {{/unless}}\n              {{/each}}\n              </p>\n            {{/if}}\n            </td>\n          </tr>\n        {{/each}}\n        </tbody>\n      </table>\n    {{/each}}\n    {{#if_gt params.examples.length compare=0}}\n      <ul class=\"nav nav-tabs nav-tabs-examples\">\n      {{#each params.examples}}\n        <li{{#if_eq @index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#{{../section}}-examples-{{../id}}-{{@index}}\">{{title}}</a>\n        </li>\n      {{/each}}\n      </ul>\n\n      <div class=\"tab-content\">\n      {{#each params.examples}}\n        <div class=\"tab-pane{{#if_eq @index compare=0}} active{{/if_eq}}\" id=\"{{../section}}-examples-{{../id}}-{{@index}}\">\n        <pre data-type=\"{{type}}\"><code class=\"language-{{type}}\">{{reformat content type}}</code></pre>\n        </div>\n      {{/each}}\n      </div>\n    {{/if_gt}}\n  {{/if}}\n</script>\n\n<script id=\"template-article-sample-request\" type=\"text/x-handlebars-template\">\n    {{#if article.sampleRequest}}\n      <h2>{{__ \"Send a Sample Request\"}}</h2>\n      <form class=\"form-horizontal\">\n        <fieldset>\n            <div class=\"form-group\">\n              <label class=\"col-md-3 control-label\" for=\"{{../id}}-sample-request-url\"></label>\n              <div class=\"input-group\">\n                <input id=\"{{../id}}-sample-request-url\" type=\"text\" class=\"form-control sample-request-url\" value=\"{{article.sampleRequest.0.url}}\" />\n                <span class=\"input-group-addon\">{{__ \"url\"}}</span>\n              </div>\n            </div>\n\n      {{#if article.header}}\n        {{#if article.header.fields}}\n          <h3>{{__ \"Headers\"}}</h3>\n          {{#each article.header.fields}}\n            <h4><input type=\"checkbox\" data-sample-request-header-group-id=\"sample-request-header-{{@index}}\" name=\"{{../id}}-sample-request-header\" value=\"{{@index}}\" class=\"sample-request-header sample-request-switch\" checked />{{__ @key}}</h4>\n            <div class=\"{{../id}}-sample-request-header-fields\">\n              {{#each this}}\n              <div class=\"form-group\">\n                <label class=\"col-md-3 control-label\" for=\"sample-request-header-field-{{field}}\">{{field}}</label>\n                <div class=\"input-group\">\n                  <input type=\"text\" placeholder=\"{{field}}\" value=\"{{defaultValue}}\" id=\"sample-request-header-field-{{field}}\" class=\"form-control sample-request-header\" data-sample-request-header-name=\"{{field}}\" data-sample-request-header-group=\"sample-request-header-{{@../index}}\">\n                  <span class=\"input-group-addon\">{{{type}}}</span>\n                </div>\n              </div>\n              {{/each}}\n            </div>\n          {{/each}}\n        {{/if}}\n      {{/if}}\n\n      {{#if article.parameter}}\n        {{#if article.parameter.fields}}\n          <h3>{{__ \"Parameters\"}}</h3>\n          {{#each article.parameter.fields}}\n            <h4><input type=\"checkbox\" data-sample-request-param-group-id=\"sample-request-param-{{@index}}\"  name=\"{{../id}}-sample-request-param\" value=\"{{@index}}\" class=\"sample-request-param sample-request-switch\" checked/>{{__ @key}}\n              <select   name=\"{{../id}}-sample-header-content-type\" class=\"{{../id}}-sample-request-param-select sample-header-content-type sample-header-content-type-switch\">\n                <option value=\"undefined\"  selected>ajax-auto</option>\n                <option value=\"body-json\" >body/json</option>\n                <option value=\"body-form-data\" >body/form-data</option>\n              </select>\n            </h4>\n            <div class=\"{{../id}}-sample-request-param-body {{../id}}-sample-header-content-type-body hide\">\n              <div class=\"form-group\">\n                <div class=\"input-group\">\n                  <textarea id=\"sample-request-body-json\" class=\"form-control sample-request-body\" data-sample-request-body-group=\"sample-request-param-{{@./index}}\" rows=\"6\" style=\"OVERFLOW: visible\" {{#if optional}}data-sample-request-param-optional=\"true\"{{/if}}></textarea>\n                  <div class=\"input-group-addon\">json</div>\n                </div>\n              </div>\n            </div>\n            <div class=\"{{../id}}-sample-request-param-fields {{../id}}-sample-header-content-type-fields\">\n              {{#each this}}\n              <div class=\"form-group\">\n                <label class=\"col-md-3 control-label\" for=\"sample-request-param-field-{{field}}\">{{field}}</label>\n                <div class=\"input-group\">\n                  <input id=\"sample-request-param-field-{{field}}\" type=\"{{setInputType type}}\" placeholder=\"{{field}}\" class=\"form-control sample-request-param\" data-sample-request-param-name=\"{{field}}\" data-sample-request-param-group=\"sample-request-param-{{@../index}}\" {{#if optional}}data-sample-request-param-optional=\"true\"{{/if}}>\n                  <div class=\"input-group-addon\">{{{type}}}</div>\n                </div>\n              </div>\n              {{/each}}\n            </div>\n          {{/each}}\n        {{/if}}\n      {{/if}}\n\n          <div class=\"form-group\">\n            <div class=\"controls pull-right\">\n              <button class=\"btn btn-primary sample-request-send\" data-sample-request-type=\"{{article.type}}\">{{__ \"Send\"}}</button>\n            </div>\n          </div>\n          <div class=\"form-group sample-request-response\" style=\"display: none;\">\n            <h3>\n              {{__ \"Response\"}}\n              <button class=\"btn btn-default btn-xs pull-right sample-request-clear\">X</button>\n            </h3>\n            <pre data-type=\"json\"><code class=\"language-json sample-request-response-json\"></code></pre>\n          </div>\n        </fieldset>\n      </form>\n    {{/if}}\n</script>\n\n<script id=\"template-compare-article\" type=\"text/x-handlebars-template\">\n  <article id=\"api-{{article.group}}-{{article.name}}-{{article.version}}\" {{#if hidden}}class=\"hide\"{{/if}} data-group=\"{{article.group}}\" data-name=\"{{article.name}}\" data-version=\"{{article.version}}\" data-compare-version=\"{{compare.version}}\">\n    <div class=\"pull-left\">\n      <h1>{{underscoreToSpace article.group}} - {{{showDiff article.title compare.title}}}</h1>\n    </div>\n\n    <div class=\"pull-right\">\n      <div class=\"btn-group\">\n        <button class=\"btn btn-success\" disabled>\n          <strong>{{article.version}}</strong> {{__ \"compared to\"}}\n        </button>\n        <button class=\"version btn btn-danger dropdown-toggle\" data-toggle=\"dropdown\">\n          <strong>{{compare.version}}</strong>&nbsp;<span class=\"caret\"></span>\n        </button>\n        <ul class=\"versions dropdown-menu open-left\">\n          <li class=\"disabled\"><a href=\"#\">{{__ \"compare changes to:\"}}</a></li>\n          <li class=\"divider\"></li>\n        {{#each versions}}\n          <li class=\"version\"><a href=\"#\">{{this}}</a></li>\n        {{/each}}\n        </ul>\n      </div>\n    </div>\n    <div class=\"clearfix\"></div>\n\n    {{#if article.description}}\n      <p>{{{showDiff article.description compare.description \"nl2br\"}}}</p>\n    {{else}}\n      {{#if compare.description}}\n      <p>{{{showDiff \"\" compare.description \"nl2br\"}}}</p>\n      {{/if}}\n    {{/if}}\n\n    <pre data-type=\"{{toLowerCase article.type}}\"><code class=\"language-html\">{{{showDiff article.url compare.url}}}</code></pre>\n\n    {{subTemplate \"article-compare-permission\" article=article compare=compare}}\n\n    <ul class=\"nav nav-tabs nav-tabs-examples\">\n    {{#each_compare_title article.examples compare.examples}}\n      {{#if typeSame}}\n        <li{{#if_eq index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#compare-examples-{{../../article.id}}-{{index}}\">{{{showDiff source.title compare.title}}}</a>\n        </li>\n      {{/if}}\n\n      {{#if typeIns}}\n        <li{{#if_eq index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#compare-examples-{{../../article.id}}-{{index}}\"><ins>{{{source.title}}}</ins></a>\n        </li>\n      {{/if}}\n\n      {{#if typeDel}}\n        <li{{#if_eq index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#compare-examples-{{../../article.id}}-{{index}}\"><del>{{{compare.title}}}</del></a>\n        </li>\n      {{/if}}\n    {{/each_compare_title}}\n    </ul>\n\n    <div class=\"tab-content\">\n    {{#each_compare_title article.examples compare.examples}}\n\n      {{#if typeSame}}\n        <div class=\"tab-pane{{#if_eq index compare=0}} active{{/if_eq}}\" id=\"compare-examples-{{../../article.id}}-{{index}}\">\n          <pre data-type=\"{{source.type}}\"><code class=\"language-{{source.type}}\">{{{showDiff source.content compare.content}}}</code></pre>\n        </div>\n      {{/if}}\n\n      {{#if typeIns}}\n        <div class=\"tab-pane{{#if_eq index compare=0}} active{{/if_eq}}\" id=\"compare-examples-{{../../article.id}}-{{index}}\">\n          <pre data-type=\"{{source.type}}\"><code class=\"language-{{source.type}}\">{{{source.content}}}</code></pre>\n        </div>\n      {{/if}}\n\n      {{#if typeDel}}\n        <div class=\"tab-pane{{#if_eq index compare=0}} active{{/if_eq}}\" id=\"compare-examples-{{../../article.id}}-{{index}}\">\n          <pre data-type=\"{{compare.type}}\"><code class=\"language-{{source.type}}\">{{{compare.content}}}</code></pre>\n        </div>\n      {{/if}}\n\n    {{/each_compare_title}}\n    </div>\n\n    {{subTemplate \"article-compare-param-block\" source=article.parameter compare=compare.parameter _hasType=_hasTypeInParameterFields section=\"parameter\"}}\n    {{subTemplate \"article-compare-param-block\" source=article.success compare=compare.success _hasType=_hasTypeInSuccessFields section=\"success\"}}\n    {{subTemplate \"article-compare-param-block\" source=article.error compare=compare.error _col1=\"Name\" _hasType=_hasTypeInErrorFields section=\"error\"}}\n\n    {{subTemplate \"article-sample-request\" article=article id=id}}\n\n  </article>\n</script>\n\n<script id=\"template-article-compare-permission\" type=\"text/x-handlebars-template\">\n  <p>\n  {{__ \"Permission:\"}}\n  {{#each_compare_list_field article.permission compare.permission field=\"name\"}}\n    {{#if source}}\n      {{#if typeSame}}\n        {{source.name}}\n        {{#if source.title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{source.title}}\" data-content=\"{{nl2br source.description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n            <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{#unless _last}}, {{/unless}}\n        {{/if}}\n      {{/if}}\n\n      {{#if typeIns}}\n        <ins>{{source.name}}</ins>\n        {{#if source.title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{source.title}}\" data-content=\"{{nl2br source.description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n            <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{#unless _last}}, {{/unless}}\n        {{/if}}\n      {{/if}}\n\n      {{#if typeDel}}\n        <del>{{source.name}}</del>\n        {{#if source.title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{source.title}}\" data-content=\"{{nl2br source.description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n            <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{#unless _last}}, {{/unless}}\n        {{/if}}\n      {{/if}}\n    {{else}}\n      {{#if typeSame}}\n        {{compare.name}}\n        {{#if compare.title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{compare.title}}\" data-content=\"{{nl2br compare.description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n            <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{#unless _last}}, {{/unless}}\n        {{/if}}\n      {{/if}}\n\n      {{#if typeIns}}\n        <ins>{{compare.name}}</ins>\n        {{#if compare.title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{compare.title}}\" data-content=\"{{nl2br compare.description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n            <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{#unless _last}}, {{/unless}}\n        {{/if}}\n      {{/if}}\n\n      {{#if typeDel}}\n        <del>{{compare.name}}</del>\n        {{#if compare.title}}\n          <button type=\"button\" class=\"btn btn-info btn-xs\" data-title=\"{{compare.title}}\" data-content=\"{{nl2br compare.description}}\" data-html=\"true\" data-toggle=\"popover\" data-placement=\"right\" data-trigger=\"hover\">\n            <span class=\"glyphicon glyphicon-info-sign\" aria-hidden=\"true\"></span>\n          </button>\n          {{#unless _last}}, {{/unless}}\n        {{/if}}\n      {{/if}}\n    {{/if}}\n  {{/each_compare_list_field}}\n  </p>\n</script>\n\n<script id=\"template-article-compare-param-block\" type=\"text/x-handlebars-template\">\n  {{#if source}}\n    {{#each_compare_keys source.fields compare.fields}}\n      {{#if typeSame}}\n        <h2>{{__ source.key}}</h2>\n        <table>\n        <thead>\n          <tr>\n            <th style=\"width: 30%\">{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ \"Field\"}}{{/if}}</th>\n            {{#if ../_hasType}}<th style=\"width: 10%\">{{__ \"Type\"}}</th>{{/if}}\n            <th style=\"width: {{#if ../_hasType}}60%{{else}}70%{{/if}}\">{{__ \"Description\"}}</th>\n          </tr>\n        </thead>\n        {{subTemplate \"article-compare-param-block-body\" source=source.value compare=compare.value _hasType=../_hasType}}\n        </table>\n      {{/if}}\n\n      {{#if typeIns}}\n        <h2><ins>{{__ source.key}}</ins></h2>\n        <table class=\"ins\">\n        <thead>\n          <tr>\n            <th style=\"width: 30%\">{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ \"Field\"}}{{/if}}</th>\n            {{#if ../_hasType}}<th style=\"width: 10%\">{{__ \"Type\"}}</th>{{/if}}\n            <th style=\"width: {{#if ../_hasType}}60%{{else}}70%{{/if}}\">{{__ \"Description\"}}</th>\n          </tr>\n        </thead>\n        {{subTemplate \"article-compare-param-block-body\" source=source.value compare=source.value _hasType=../_hasType}}\n        </table>\n      {{/if}}\n\n      {{#if typeDel}}\n        <h2><del>{{__ compare.key}}</del></h2>\n        <table class=\"del\">\n        <thead>\n          <tr>\n            <th style=\"width: 30%\">{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ \"Field\"}}{{/if}}</th>\n            {{#if ../_hasType}}<th style=\"width: 10%\">{{__ \"Type\"}}</th>{{/if}}\n            <th style=\"width: {{#if ../_hasType}}60%{{else}}70%{{/if}}\">{{__ \"Description\"}}</th>\n          </tr>\n        </thead>\n        {{subTemplate \"article-compare-param-block-body\" source=compare.value compare=compare.value _hasType=../_hasType}}\n        </table>\n      {{/if}}\n    {{/each_compare_keys}}\n\n    {{#if source.examples}}\n    <ul class=\"nav nav-tabs nav-tabs-examples\">\n    {{#each_compare_title source.examples compare.examples}}\n      {{#if typeSame}}\n        <li{{#if_eq index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#{{../../section}}-compare-examples-{{../../article.id}}-{{index}}\">{{{showDiff source.title compare.title}}}</a>\n        </li>\n      {{/if}}\n\n      {{#if typeIns}}\n        <li{{#if_eq index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#{{../../section}}-compare-examples-{{../../article.id}}-{{index}}\"><ins>{{{source.title}}}</ins></a>\n        </li>\n      {{/if}}\n\n      {{#if typeDel}}\n        <li{{#if_eq index compare=0}} class=\"active\"{{/if_eq}}>\n          <a href=\"#{{../../section}}-compare-examples-{{../../article.id}}-{{index}}\"><del>{{{compare.title}}}</del></a>\n        </li>\n      {{/if}}\n    {{/each_compare_title}}\n    </ul>\n\n    <div class=\"tab-content\">\n    {{#each_compare_title source.examples compare.examples}}\n\n      {{#if typeSame}}\n        <div class=\"tab-pane{{#if_eq index compare=0}} active{{/if_eq}}\" id=\"{{../../section}}-compare-examples-{{../../article.id}}-{{index}}\">\n          <pre data-type=\"{{source.type}}\"><code class=\"language-{{source.type}}\">{{{showDiff source.content compare.content}}}</code></pre>\n        </div>\n      {{/if}}\n\n      {{#if typeIns}}\n        <div class=\"tab-pane{{#if_eq index compare=0}} active{{/if_eq}}\" id=\"{{../../section}}-compare-examples-{{../../article.id}}-{{index}}\">\n          <pre data-type=\"{{source.type}}\"><code class=\"language-{{source.type}}\">{{{source.content}}}</code></pre>\n        </div>\n      {{/if}}\n\n      {{#if typeDel}}\n        <div class=\"tab-pane{{#if_eq index compare=0}} active{{/if_eq}}\" id=\"{{../../section}}-compare-examples-{{../../article.id}}-{{index}}\">\n          <pre data-type=\"{{compare.type}}\"><code class=\"language-{{source.type}}\">{{{compare.content}}}</code></pre>\n        </div>\n      {{/if}}\n    {{/each_compare_title}}\n    </div>\n    {{/if}}\n  {{/if}}\n</script>\n\n<script id=\"template-article-compare-param-block-body\" type=\"text/x-handlebars-template\">\n  <tbody>\n    {{#each_compare_field source compare}}\n      {{#if typeSame}}\n        <tr>\n          <td class=\"code\">\n            {{{splitFill source.field \".\" \"&nbsp;&nbsp;\"}}}\n            {{#if source.optional}}\n              {{#if compare.optional}} <span class=\"label label-optional\">{{__ \"optional\"}}</span>\n              {{else}} <span class=\"label label-optional label-ins\">{{__ \"optional\"}}</span>\n              {{/if}}\n            {{else}}\n              {{#if compare.optional}} <span class=\"label label-optional label-del\">{{__ \"optional\"}}</span>{{/if}}\n            {{/if}}\n          </td>\n\n        {{#if source.type}}\n          {{#if compare.type}}\n          <td>{{{showDiff source.type compare.type}}}</td>\n          {{else}}\n          <td>{{{source.type}}}</td>\n          {{/if}}\n        {{else}}\n          {{#if compare.type}}\n          <td>{{{compare.type}}}</td>\n          {{else}}\n            {{#if ../../../../_hasType}}<td></td>{{/if}}\n          {{/if}}\n        {{/if}}\n          <td>\n            {{{showDiff source.description compare.description \"nl2br\"}}}\n            {{#if source.defaultValue}}<p class=\"default-value\">{{__ \"Default value:\"}} <code>{{{showDiff source.defaultValue compare.defaultValue}}}</code><p>{{/if}}\n          </td>\n        </tr>\n      {{/if}}\n\n      {{#if typeIns}}\n        <tr class=\"ins\">\n          <td class=\"code\">\n            {{{splitFill source.field \".\" \"&nbsp;&nbsp;\"}}}\n            {{#if source.optional}} <span class=\"label label-optional label-ins\">{{__ \"optional\"}}</span>{{/if}}\n          </td>\n\n        {{#if source.type}}\n          <td>{{{source.type}}}</td>\n        {{else}}\n          {{{typRowTd}}}\n        {{/if}}\n\n          <td>\n            {{{nl2br source.description}}}\n            {{#if source.defaultValue}}<p class=\"default-value\">{{__ \"Default value:\"}} <code>{{{source.defaultValue}}}</code><p>{{/if}}\n          </td>\n        </tr>\n      {{/if}}\n\n      {{#if typeDel}}\n        <tr class=\"del\">\n          <td class=\"code\">\n            {{{splitFill compare.field \".\" \"&nbsp;&nbsp;\"}}}\n            {{#if compare.optional}} <span class=\"label label-optional label-del\">{{__ \"optional\"}}</span>{{/if}}\n          </td>\n\n        {{#if compare.type}}\n          <td>{{{compare.type}}}</td>\n        {{else}}\n          {{{typRowTd}}}\n        {{/if}}\n\n          <td>\n            {{{nl2br compare.description}}}\n            {{#if compare.defaultValue}}<p class=\"default-value\">{{__ \"Default value:\"}} <code>{{{compare.defaultValue}}}</code><p>{{/if}}\n          </td>\n        </tr>\n      {{/if}}\n\n    {{/each_compare_field}}\n  </tbody>\n</script>\n\n<div class=\"container-fluid\">\n  <div class=\"row\">\n    <div id=\"sidenav\" class=\"span2\"></div>\n    <div id=\"content\">\n      <div id=\"project\"></div>\n      <div id=\"header\"></div>\n      <div id=\"sections\"></div>\n      <div id=\"footer\"></div>\n      <div id=\"generator\"></div>\n    </div>\n  </div>\n</div>\n\n<div id=\"loader\">\n  <div class=\"spinner\">\n    <div class=\"spinner-container container1\">\n      <div class=\"circle1\"></div><div class=\"circle2\"></div><div class=\"circle3\"></div><div class=\"circle4\"></div>\n    </div>\n    <div class=\"spinner-container container2\">\n      <div class=\"circle1\"></div><div class=\"circle2\"></div><div class=\"circle3\"></div><div class=\"circle4\"></div>\n    </div>\n    <div class=\"spinner-container container3\">\n      <div class=\"circle1\"></div><div class=\"circle2\"></div><div class=\"circle3\"></div><div class=\"circle4\"></div>\n    </div>\n    <p>Loading...</p>\n  </div>\n</div>\n\n<script data-main=\"main.js\" src=\"vendor/require.min.js\"></script>\n</body>\n</html>\n"
  },
  {
    "path": "public/apidoc/locales/ca.js",
    "content": "define({\n    ca: {\n        'Allowed values:'             : 'Valors permesos:',\n        'Compare all with predecessor': 'Comparar tot amb versió anterior',\n        'compare changes to:'         : 'comparar canvis amb:',\n        'compared to'                 : 'comparat amb',\n        'Default value:'              : 'Valor per defecte:',\n        'Description'                 : 'Descripció',\n        'Field'                       : 'Camp',\n        'General'                     : 'General',\n        'Generated with'              : 'Generat amb',\n        'Name'                        : 'Nom',\n        'No response values.'         : 'Sense valors en la resposta.',\n        'optional'                    : 'opcional',\n        'Parameter'                   : 'Paràmetre',\n        'Permission:'                 : 'Permisos:',\n        'Response'                    : 'Resposta',\n        'Send'                        : 'Enviar',\n        'Send a Sample Request'       : 'Enviar una petició d\\'exemple',\n        'show up to version:'         : 'mostrar versió:',\n        'Size range:'                 : 'Tamany de rang:',\n        'Type'                        : 'Tipus',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/cs.js",
    "content": "define({\n    cs: {\n        'Allowed values:'             : 'Povolené hodnoty:',\n        'Compare all with predecessor': 'Porovnat vše s předchozími verzemi',\n        'compare changes to:'         : 'porovnat změny s:',\n        'compared to'                 : 'porovnat s',\n        'Default value:'              : 'Výchozí hodnota:',\n        'Description'                 : 'Popis',\n        'Field'                       : 'Pole',\n        'General'                     : 'Obecné',\n        'Generated with'              : 'Vygenerováno pomocí',\n        'Name'                        : 'Název',\n        'No response values.'         : 'Nebyly vráceny žádné hodnoty.',\n        'optional'                    : 'volitelné',\n        'Parameter'                   : 'Parametr',\n        'Permission:'                 : 'Oprávnění:',\n        'Response'                    : 'Odpověď',\n        'Send'                        : 'Odeslat',\n        'Send a Sample Request'       : 'Odeslat ukázkový požadavek',\n        'show up to version:'         : 'zobrazit po verzi:',\n        'Size range:'                 : 'Rozsah velikosti:',\n        'Type'                        : 'Typ',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/de.js",
    "content": "define({\n    de: {\n        'Allowed values:'             : 'Erlaubte Werte:',\n        'Compare all with predecessor': 'Vergleiche alle mit ihren Vorgängern',\n        'compare changes to:'         : 'vergleiche Änderungen mit:',\n        'compared to'                 : 'verglichen mit',\n        'Default value:'              : 'Standardwert:',\n        'Description'                 : 'Beschreibung',\n        'Field'                       : 'Feld',\n        'General'                     : 'Allgemein',\n        'Generated with'              : 'Erstellt mit',\n        'Name'                        : 'Name',\n        'No response values.'         : 'Keine Rückgabewerte.',\n        'optional'                    : 'optional',\n        'Parameter'                   : 'Parameter',\n        'Permission:'                 : 'Berechtigung:',\n        'Response'                    : 'Antwort',\n        'Send'                        : 'Senden',\n        'Send a Sample Request'       : 'Eine Beispielanfrage senden',\n        'show up to version:'         : 'zeige bis zur Version:',\n        'Size range:'                 : 'Größenbereich:',\n        'Type'                        : 'Typ',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/es.js",
    "content": "define({\n    es: {\n        'Allowed values:'             : 'Valores permitidos:',\n        'Compare all with predecessor': 'Comparar todo con versión anterior',\n        'compare changes to:'         : 'comparar cambios con:',\n        'compared to'                 : 'comparado con',\n        'Default value:'              : 'Valor por defecto:',\n        'Description'                 : 'Descripción',\n        'Field'                       : 'Campo',\n        'General'                     : 'General',\n        'Generated with'              : 'Generado con',\n        'Name'                        : 'Nombre',\n        'No response values.'         : 'Sin valores en la respuesta.',\n        'optional'                    : 'opcional',\n        'Parameter'                   : 'Parámetro',\n        'Permission:'                 : 'Permisos:',\n        'Response'                    : 'Respuesta',\n        'Send'                        : 'Enviar',\n        'Send a Sample Request'       : 'Enviar una petición de ejemplo',\n        'show up to version:'         : 'mostrar a versión:',\n        'Size range:'                 : 'Tamaño de rango:',\n        'Type'                        : 'Tipo',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/fr.js",
    "content": "define({\n    fr: {\n        'Allowed values:'             : 'Valeurs autorisées :',\n        'Compare all with predecessor': 'Tout comparer avec ...',\n        'compare changes to:'         : 'comparer les changements à :',\n        'compared to'                 : 'comparer à',\n        'Default value:'              : 'Valeur par défaut :',\n        'Description'                 : 'Description',\n        'Field'                       : 'Champ',\n        'General'                     : 'Général',\n        'Generated with'              : 'Généré avec',\n        'Name'                        : 'Nom',\n        'No response values.'         : 'Aucune valeur de réponse.',\n        'optional'                    : 'optionnel',\n        'Parameter'                   : 'Paramètre',\n        'Permission:'                 : 'Permission :',\n        'Response'                    : 'Réponse',\n        'Send'                        : 'Envoyer',\n        'Send a Sample Request'       : 'Envoyer une requête représentative',\n        'show up to version:'         : 'Montrer à partir de la version :',\n        'Size range:'                 : 'Ordre de grandeur :',\n        'Type'                        : 'Type',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/it.js",
    "content": "define({\n    it: {\n        'Allowed values:'             : 'Valori permessi:',\n        'Compare all with predecessor': 'Confronta tutto con versioni precedenti',\n        'compare changes to:'         : 'confronta modifiche con:',\n        'compared to'                 : 'confrontato con',\n        'Default value:'              : 'Valore predefinito:',\n        'Description'                 : 'Descrizione',\n        'Field'                       : 'Campo',\n        'General'                     : 'Generale',\n        'Generated with'              : 'Creato con',\n        'Name'                        : 'Nome',\n        'No response values.'         : 'Nessun valore di risposta.',\n        'optional'                    : 'opzionale',\n        'Parameter'                   : 'Parametro',\n        'Permission:'                 : 'Permessi:',\n        'Response'                    : 'Risposta',\n        'Send'                        : 'Invia',\n        'Send a Sample Request'       : 'Invia una richiesta di esempio',\n        'show up to version:'         : 'mostra alla versione:',\n        'Size range:'                 : 'Intervallo dimensione:',\n        'Type'                        : 'Tipo',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/locale.js",
    "content": "define([\n    './locales/ca.js',\n    './locales/cs.js',\n    './locales/de.js',\n    './locales/es.js',\n    './locales/fr.js',\n    './locales/it.js',\n    './locales/nl.js',\n    './locales/pl.js',\n    './locales/pt_br.js',\n    './locales/ro.js',\n    './locales/ru.js',\n    './locales/tr.js',\n    './locales/vi.js',\n    './locales/zh.js',\n    './locales/zh_cn.js'\n], function() {\n    var langId = (navigator.language || navigator.userLanguage).toLowerCase().replace('-', '_');\n    var language = langId.substr(0, 2);\n    var locales = {};\n\n    for (index in arguments) {\n        for (property in arguments[index])\n            locales[property] = arguments[index][property];\n    }\n    if ( ! locales['en'])\n        locales['en'] = {};\n\n    if ( ! locales[langId] && ! locales[language])\n        language = 'en';\n\n    var locale = (locales[langId] ? locales[langId] : locales[language]);\n\n    function __(text) {\n        var index = locale[text];\n        if (index === undefined)\n            return text;\n        return index;\n    };\n\n    function setLanguage(language) {\n        locale = locales[language];\n    }\n\n    return {\n        __         : __,\n        locales    : locales,\n        locale     : locale,\n        setLanguage: setLanguage\n    };\n});\n"
  },
  {
    "path": "public/apidoc/locales/nl.js",
    "content": "define({\n    nl: {\n        'Allowed values:'             : 'Toegestane waarden:',\n        'Compare all with predecessor': 'Vergelijk alle met voorgaande versie',\n        'compare changes to:'         : 'vergelijk veranderingen met:',\n        'compared to'                 : 'vergelijk met',\n        'Default value:'              : 'Standaard waarde:',\n        'Description'                 : 'Omschrijving',\n        'Field'                       : 'Veld',\n        'General'                     : 'Algemeen',\n        'Generated with'              : 'Gegenereerd met',\n        'Name'                        : 'Naam',\n        'No response values.'         : 'Geen response waardes.',\n        'optional'                    : 'optioneel',\n        'Parameter'                   : 'Parameter',\n        'Permission:'                 : 'Permissie:',\n        'Response'                    : 'Antwoorden',\n        'Send'                        : 'Sturen',\n        'Send a Sample Request'       : 'Stuur een sample aanvragen',\n        'show up to version:'         : 'toon tot en met versie:',\n        'Size range:'                 : 'Maatbereik:',\n        'Type'                        : 'Type',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/pl.js",
    "content": "define({\n    pl: {\n        'Allowed values:'             : 'Dozwolone wartości:',\n        'Compare all with predecessor': 'Porównaj z poprzednimi wersjami',\n        'compare changes to:'         : 'porównaj zmiany do:',\n        'compared to'                 : 'porównaj do:',\n        'Default value:'              : 'Wartość domyślna:',\n        'Description'                 : 'Opis',\n        'Field'                       : 'Pole',\n        'General'                     : 'Generalnie',\n        'Generated with'              : 'Wygenerowano z',\n        'Name'                        : 'Nazwa',\n        'No response values.'         : 'Brak odpowiedzi.',\n        'optional'                    : 'opcjonalny',\n        'Parameter'                   : 'Parametr',\n        'Permission:'                 : 'Uprawnienia:',\n        'Response'                    : 'Odpowiedź',\n        'Send'                        : 'Wyślij',\n        'Send a Sample Request'       : 'Wyślij przykładowe żądanie',\n        'show up to version:'         : 'pokaż do wersji:',\n        'Size range:'                 : 'Zakres rozmiaru:',\n        'Type'                        : 'Typ',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/pt_br.js",
    "content": "define({\n    'pt_br': {\n        'Allowed values:'             : 'Valores permitidos:',\n        'Compare all with predecessor': 'Compare todos com antecessores',\n        'compare changes to:'         : 'comparar alterações com:',\n        'compared to'                 : 'comparado com',\n        'Default value:'              : 'Valor padrão:',\n        'Description'                 : 'Descrição',\n        'Field'                       : 'Campo',\n        'General'                     : 'Geral',\n        'Generated with'              : 'Gerado com',\n        'Name'                        : 'Nome',\n        'No response values.'         : 'Sem valores de resposta.',\n        'optional'                    : 'opcional',\n        'Parameter'                   : 'Parâmetro',\n        'Permission:'                 : 'Permissão:',\n        'Response'                    : 'Resposta',\n        'Send'                        : 'Enviar',\n        'Send a Sample Request'       : 'Enviar um Exemplo de Pedido',\n        'show up to version:'         : 'aparecer para a versão:',\n        'Size range:'                 : 'Faixa de tamanho:',\n        'Type'                        : 'Tipo',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/ro.js",
    "content": "define({\n    ro: {\n        'Allowed values:'             : 'Valori permise:',\n        'Compare all with predecessor': 'Compară toate cu versiunea precedentă',\n        'compare changes to:'         : 'compară cu versiunea:',\n        'compared to'                 : 'comparat cu',\n        'Default value:'              : 'Valoare implicită:',\n        'Description'                 : 'Descriere',\n        'Field'                       : 'Câmp',\n        'General'                     : 'General',\n        'Generated with'              : 'Generat cu',\n        'Name'                        : 'Nume',\n        'No response values.'         : 'Nici o valoare returnată.',\n        'optional'                    : 'opțional',\n        'Parameter'                   : 'Parametru',\n        'Permission:'                 : 'Permisiune:',\n        'Response'                    : 'Răspuns',\n        'Send'                        : 'Trimite',\n        'Send a Sample Request'       : 'Trimite o cerere de probă',\n        'show up to version:'         : 'arată până la versiunea:',\n        'Size range:'                 : 'Interval permis:',\n        'Type'                        : 'Tip',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/ru.js",
    "content": "define({\n    ru: {\n        'Allowed values:'             : 'Допустимые значения:',\n        'Compare all with predecessor': 'Сравнить с предыдущей версией',\n        'compare changes to:'         : 'сравнить с:',\n        'compared to'                 : 'в сравнении с',\n        'Default value:'              : 'По умолчанию:',\n        'Description'                 : 'Описание',\n        'Field'                       : 'Название',\n        'General'                     : 'Общая информация',\n        'Generated with'              : 'Сгенерировано с помощью',\n        'Name'                        : 'Название',\n        'No response values.'         : 'Нет значений для ответа.',\n        'optional'                    : 'необязательный',\n        'Parameter'                   : 'Параметр',\n        'Permission:'                 : 'Разрешено:',\n        'Response'                    : 'Ответ',\n        'Send'                        : 'Отправить',\n        'Send a Sample Request'       : 'Отправить тестовый запрос',\n        'show up to version:'         : 'показать версию:',\n        'Size range:'                 : 'Ограничения:',\n        'Type'                        : 'Тип',\n        'url'                         : 'URL'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/tr.js",
    "content": "define({\n    tr: {\n        'Allowed values:'             : 'İzin verilen değerler:',\n        'Compare all with predecessor': 'Tümünü öncekiler ile karşılaştır',\n        'compare changes to:'         : 'değişiklikleri karşılaştır:',\n        'compared to'                 : 'karşılaştır',\n        'Default value:'              : 'Varsayılan değer:',\n        'Description'                 : 'Açıklama',\n        'Field'                       : 'Alan',\n        'General'                     : 'Genel',\n        'Generated with'              : 'Oluşturan',\n        'Name'                        : 'İsim',\n        'No response values.'         : 'Dönüş verisi yok.',\n        'optional'                    : 'opsiyonel',\n        'Parameter'                   : 'Parametre',\n        'Permission:'                 : 'İzin:',\n        'Response'                    : 'Dönüş',\n        'Send'                        : 'Gönder',\n        'Send a Sample Request'       : 'Örnek istek gönder',\n        'show up to version:'         : 'bu versiyona kadar göster:',\n        'Size range:'                 : 'Boyut aralığı:',\n        'Type'                        : 'Tip',\n        'url'                         : 'url'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/vi.js",
    "content": "define({\n    vi: {\n        'Allowed values:'             : 'Giá trị chấp nhận:',\n        'Compare all with predecessor': 'So sánh với tất cả phiên bản trước',\n        'compare changes to:'         : 'so sánh sự thay đổi với:',\n        'compared to'                 : 'so sánh với',\n        'Default value:'              : 'Giá trị mặc định:',\n        'Description'                 : 'Chú thích',\n        'Field'                       : 'Trường dữ liệu',\n        'General'                     : 'Tổng quan',\n        'Generated with'              : 'Được tạo bởi',\n        'Name'                        : 'Tên',\n        'No response values.'         : 'Không có kết quả trả về.',\n        'optional'                    : 'Tùy chọn',\n        'Parameter'                   : 'Tham số',\n        'Permission:'                 : 'Quyền hạn:',\n        'Response'                    : 'Kết quả',\n        'Send'                        : 'Gửi',\n        'Send a Sample Request'       : 'Gửi một yêu cầu mẫu',\n        'show up to version:'         : 'hiển thị phiên bản:',\n        'Size range:'                 : 'Kích cỡ:',\n        'Type'                        : 'Kiểu',\n        'url'                         : 'liên kết'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/zh.js",
    "content": "define({\n    zh: {\n        'Allowed values​​:'             : '允許值:',\n        'Compare all with predecessor': '預先比較所有',\n        'compare changes to:'         : '比較變更:',\n        'compared to'                 : '對比',\n        'Default value:'              : '預設值:',\n        'Description'                 : '描述',\n        'Field'                       : '欄位',\n        'General'                     : '概括',\n        'Generated with'              : '生成工具',\n        'Name'                        : '名稱',\n        'No response values​​.'         : '無對應資料.',\n        'optional'                    : '選填',\n        'Parameter'                   : '參數',\n        'Permission:'                 : '權限:',\n        'Response'                    : '回應',\n        'Send'                        : '發送',\n        'Send a Sample Request'       : '發送試用需求',\n        'show up to version:'         : '顯示到版本:',\n        'Size range:'                 : '區間:',\n        'Type'                        : '類型',\n        'url'                         : '網址'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/locales/zh_cn.js",
    "content": "define({\n    'zh_cn': {\n        'Allowed values:'             : '允许值:',\n        'Compare all with predecessor': '与所有较早的比较',\n        'compare changes to:'         : '将当前版本与指定版本比较:',\n        'compared to'                 : '相比于',\n        'Default value:'              : '默认值:',\n        'Description'                 : '描述',\n        'Field'                       : '字段',\n        'General'                     : '概要',\n        'Generated with'              : '基于',\n        'Name'                        : '名称',\n        'No response values.'         : '无返回值.',\n        'optional'                    : '可选',\n        'Parameter'                   : '参数',\n        'Parameters'                  : '参数',\n        'Headers'                     : '头部参数',\n        'Permission:'                 : '权限:',\n        'Response'                    : '返回',\n        'Send'                        : '发送',\n        'Send a Sample Request'       : '发送示例请求',\n        'show up to version:'         : '显示到指定版本:',\n        'Size range:'                 : '取值范围:',\n        'Type'                        : '类型',\n        'url'                         : '网址'\n    }\n});\n"
  },
  {
    "path": "public/apidoc/main.js",
    "content": "require.config({\n    paths: {\n        bootstrap: './vendor/bootstrap.min',\n        diffMatchPatch: './vendor/diff_match_patch.min',\n        handlebars: './vendor/handlebars.min',\n        handlebarsExtended: './utils/handlebars_helper',\n        jquery: './vendor/jquery.min',\n        locales: './locales/locale',\n        lodash: './vendor/lodash.custom.min',\n        pathToRegexp: './vendor/path-to-regexp/index',\n        prismjs: './vendor/prism',\n        semver: './vendor/semver.min',\n        utilsSampleRequest: './utils/send_sample_request',\n        webfontloader: './vendor/webfontloader',\n        list: './vendor/list.min',\n        apiData: './api_data',\n        apiProject: './api_project',\n    },\n    shim: {\n        bootstrap: {\n            deps: ['jquery']\n        },\n        diffMatchPatch: {\n            exports: 'diff_match_patch'\n        },\n        handlebars: {\n            exports: 'Handlebars'\n        },\n        handlebarsExtended: {\n            deps: ['jquery', 'handlebars'],\n            exports: 'Handlebars'\n        },\n        prismjs: {\n            exports: 'Prism'\n        },\n    },\n    urlArgs: 'v=' + (new Date()).getTime(),\n    waitSeconds: 150\n});\n\nrequire([\n    'jquery',\n    'lodash',\n    'locales',\n    'handlebarsExtended',\n    'apiProject',\n    'apiData',\n    'prismjs',\n    'utilsSampleRequest',\n    'semver',\n    'webfontloader',\n    'bootstrap',\n    'pathToRegexp',\n    'list'\n], function($, _, locale, Handlebars, apiProject, apiData, Prism, sampleRequest, semver, WebFont) {\n\n    // Load google web fonts.\n    WebFont.load({\n        active: function() {\n            // Only init after fonts are loaded.\n            init($, _, locale, Handlebars, apiProject, apiData, Prism, sampleRequest, semver);\n        },\n        inactive: function() {\n            // Run init, even if loading fonts fails\n            init($, _, locale, Handlebars, apiProject, apiData, Prism, sampleRequest, semver);\n        },\n        google: {\n            families: ['Source Code Pro', 'Source Sans Pro:n4,n6,n7']\n        }\n    });\n});\n\nfunction init($, _, locale, Handlebars, apiProject, apiData, Prism, sampleRequest, semver) {\n    var api = apiData.api;\n\n    //\n    // Templates\n    //\n    var templateHeader         = Handlebars.compile( $('#template-header').html() );\n    var templateFooter         = Handlebars.compile( $('#template-footer').html() );\n    var templateArticle        = Handlebars.compile( $('#template-article').html() );\n    var templateCompareArticle = Handlebars.compile( $('#template-compare-article').html() );\n    var templateGenerator      = Handlebars.compile( $('#template-generator').html() );\n    var templateProject        = Handlebars.compile( $('#template-project').html() );\n    var templateSections       = Handlebars.compile( $('#template-sections').html() );\n    var templateSidenav        = Handlebars.compile( $('#template-sidenav').html() );\n\n    //\n    // apiProject defaults\n    //\n    if ( ! apiProject.template)\n        apiProject.template = {};\n\n    if (apiProject.template.withCompare == null)\n        apiProject.template.withCompare = true;\n\n    if (apiProject.template.withGenerator == null)\n        apiProject.template.withGenerator = true;\n\n    if (apiProject.template.forceLanguage)\n        locale.setLanguage(apiProject.template.forceLanguage);\n\n    if (apiProject.template.aloneDisplay == null)\n        apiProject.template.aloneDisplay = false;\n\n    // Setup jQuery Ajax\n    $.ajaxSetup(apiProject.template.jQueryAjaxSetup);\n\n    //\n    // Data transform\n    //\n    // grouped by group\n    var apiByGroup = _.groupBy(api, function(entry) {\n        return entry.group;\n    });\n\n    // grouped by group and name\n    var apiByGroupAndName = {};\n    $.each(apiByGroup, function(index, entries) {\n        apiByGroupAndName[index] = _.groupBy(entries, function(entry) {\n            return entry.name;\n        });\n    });\n\n    //\n    // sort api within a group by title ASC and custom order\n    //\n    var newList = [];\n    var umlauts = { 'ä': 'ae', 'ü': 'ue', 'ö': 'oe', 'ß': 'ss' }; // TODO: remove in version 1.0\n    $.each (apiByGroupAndName, function(index, groupEntries) {\n        // get titles from the first entry of group[].name[] (name has versioning)\n        var titles = [];\n        $.each (groupEntries, function(titleName, entries) {\n            var title = entries[0].title;\n            if(title !== undefined) {\n                title.toLowerCase().replace(/[äöüß]/g, function($0) { return umlauts[$0]; });\n                titles.push(title + '#~#' + titleName); // '#~#' keep reference to titleName after sorting\n            }\n        });\n        // sort by name ASC\n        titles.sort();\n\n        // custom order\n        if (apiProject.order)\n            titles = sortByOrder(titles, apiProject.order, '#~#');\n\n        // add single elements to the new list\n        titles.forEach(function(name) {\n            var values = name.split('#~#');\n            var key = values[1];\n            groupEntries[key].forEach(function(entry) {\n                newList.push(entry);\n            });\n        });\n    });\n    // api overwrite with ordered list\n    api = newList;\n\n    //\n    // Group- and Versionlists\n    //\n    var apiGroups = {};\n    var apiGroupTitles = {};\n    var apiVersions = {};\n    apiVersions[apiProject.version] = 1;\n\n    $.each(api, function(index, entry) {\n        apiGroups[entry.group] = 1;\n        apiGroupTitles[entry.group] = entry.groupTitle || entry.group;\n        apiVersions[entry.version] = 1;\n    });\n\n    // sort groups\n    apiGroups = Object.keys(apiGroups);\n    apiGroups.sort();\n\n    // custom order\n    if (apiProject.order)\n        apiGroups = sortByOrder(apiGroups, apiProject.order);\n\n    // sort versions DESC\n    apiVersions = Object.keys(apiVersions);\n    apiVersions.sort(semver.compare);\n    apiVersions.reverse();\n\n    //\n    // create Navigationlist\n    //\n    var nav = [];\n    apiGroups.forEach(function(group) {\n        // Mainmenu entry\n        nav.push({\n            group: group,\n            isHeader: true,\n            title: apiGroupTitles[group]\n        });\n\n        // Submenu\n        var oldName = '';\n        api.forEach(function(entry) {\n            if (entry.group === group) {\n                if (oldName !== entry.name) {\n                    nav.push({\n                        title: entry.title,\n                        group: group,\n                        name: entry.name,\n                        type: entry.type,\n                        version: entry.version,\n                        url: entry.url\n                    });\n                } else {\n                    nav.push({\n                        title: entry.title,\n                        group: group,\n                        hidden: true,\n                        name: entry.name,\n                        type: entry.type,\n                        version: entry.version,\n                        url: entry.url\n                    });\n                }\n                oldName = entry.name;\n            }\n        });\n    });\n\n    /**\n     * Add navigation items by analyzing the HTML content and searching for h1 and h2 tags\n     * @param nav Object the navigation array\n     * @param content string the compiled HTML content\n     * @param index where to insert items\n     * @return boolean true if any good-looking (i.e. with a group identifier) <h1> tag was found\n     */\n    function add_nav(nav, content, index) {\n        var found_level1 = false;\n        if ( ! content) {\n          return found_level1;\n        }\n        var topics = content.match(/<h(1|2).*?>(.+?)<\\/h(1|2)>/gi);\n        if ( topics ) {\n          topics.forEach(function(entry) {\n              var level = entry.substring(2,3);\n              var title = entry.replace(/<.+?>/g, '');    // Remove all HTML tags for the title\n              var entry_tags = entry.match(/id=\"api-([^\\-]+)(?:-(.+))?\"/);    // Find the group and name in the id property\n              var group = (entry_tags ? entry_tags[1] : null);\n              var name = (entry_tags ? entry_tags[2] : null);\n              if (level==1 && title && group)  {\n                  nav.splice(index, 0, {\n                      group: group,\n                      isHeader: true,\n                      title: title,\n                      isFixed: true\n                  });\n                  index++;\n                  found_level1 = true;\n              }\n              if (level==2 && title && group && name)    {\n                  nav.splice(index, 0, {\n                      group: group,\n                      name: name,\n                      isHeader: false,\n                      title: title,\n                      isFixed: false,\n                      version: '1.0'\n                  });\n                  index++;\n              }\n          });\n        }\n        return found_level1;\n    }\n\n    // Mainmenu Header entry\n    if (apiProject.header) {\n        var found_level1 = add_nav(nav, apiProject.header.content, 0); // Add level 1 and 2 titles\n        if (!found_level1) {    // If no Level 1 tags were found, make a title\n            nav.unshift({\n                group: '_',\n                isHeader: true,\n                title: (apiProject.header.title == null) ? locale.__('General') : apiProject.header.title,\n                isFixed: true\n            });\n        }\n    }\n\n    // Mainmenu Footer entry\n    if (apiProject.footer) {\n        var last_nav_index = nav.length;\n        var found_level1 = add_nav(nav, apiProject.footer.content, nav.length); // Add level 1 and 2 titles\n        if (!found_level1 && apiProject.footer.title != null) {    // If no Level 1 tags were found, make a title\n            nav.splice(last_nav_index, 0, {\n                group: '_footer',\n                isHeader: true,\n                title: apiProject.footer.title,\n                isFixed: true\n            });\n        }\n    }\n\n    // render pagetitle\n    var title = apiProject.title ? apiProject.title : 'apiDoc: ' + apiProject.name + ' - ' + apiProject.version;\n    $(document).attr('title', title);\n\n    // remove loader\n    $('#loader').remove();\n\n    // render sidenav\n    var fields = {\n        nav: nav\n    };\n    $('#sidenav').append( templateSidenav(fields) );\n\n    // render Generator\n    $('#generator').append( templateGenerator(apiProject) );\n\n    // render Project\n    _.extend(apiProject, { versions: apiVersions});\n    $('#project').append( templateProject(apiProject) );\n\n    // render apiDoc, header/footer documentation\n    if (apiProject.header)\n        $('#header').append( templateHeader(apiProject.header) );\n\n    if (apiProject.footer)\n        $('#footer').append( templateFooter(apiProject.footer) );\n\n    //\n    // Render Sections and Articles\n    //\n    var articleVersions = {};\n    var content = '';\n    apiGroups.forEach(function(groupEntry) {\n        var articles = [];\n        var oldName = '';\n        var fields = {};\n        var title = groupEntry;\n        var description = '';\n        articleVersions[groupEntry] = {};\n\n        // render all articles of a group\n        api.forEach(function(entry) {\n            if(groupEntry === entry.group) {\n                if (oldName !== entry.name) {\n                    // determine versions\n                    api.forEach(function(versionEntry) {\n                        if (groupEntry === versionEntry.group && entry.name === versionEntry.name) {\n                            if ( ! articleVersions[entry.group].hasOwnProperty(entry.name) ) {\n                                articleVersions[entry.group][entry.name] = [];\n                            }\n                            articleVersions[entry.group][entry.name].push(versionEntry.version);\n                        }\n                    });\n                    fields = {\n                        article: entry,\n                        versions: articleVersions[entry.group][entry.name]\n                    };\n                } else {\n                    fields = {\n                        article: entry,\n                        hidden: true,\n                        versions: articleVersions[entry.group][entry.name]\n                    };\n                }\n\n                // add prefix URL for endpoint unless it's already absolute\n                if (apiProject.url) {\n                    if (fields.article.url.substr(0, 4).toLowerCase() !== 'http') {\n                        fields.article.url = apiProject.url + fields.article.url;\n                    }\n                }\n\n                addArticleSettings(fields, entry);\n\n                if (entry.groupTitle)\n                    title = entry.groupTitle;\n\n                // TODO: make groupDescription compareable with older versions (not important for the moment)\n                if (entry.groupDescription)\n                    description = entry.groupDescription;\n\n                articles.push({\n                    article: templateArticle(fields),\n                    group: entry.group,\n                    name: entry.name,\n                    aloneDisplay: apiProject.template.aloneDisplay\n                });\n                oldName = entry.name;\n            }\n        });\n\n        // render Section with Articles\n        var fields = {\n            group: groupEntry,\n            title: title,\n            description: description,\n            articles: articles,\n            aloneDisplay: apiProject.template.aloneDisplay\n        };\n        content += templateSections(fields);\n    });\n    $('#sections').append( content );\n\n    // Bootstrap Scrollspy\n    $(this).scrollspy({ target: '#scrollingNav' });\n\n    // Content-Scroll on Navigation click.\n    $('.sidenav').find('a').on('click', function(e) {\n        e.preventDefault();\n        var id = $(this).attr('href');\n        if ($(id).length > 0)\n            $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 400);\n        window.location.hash = $(this).attr('href');\n    });\n\n    /**\n     * Check if Parameter (sub) List has a type Field.\n     * Example: @apiSuccess          varname1 No type.\n     *          @apiSuccess {String} varname2 With type.\n     *\n     * @param {Object} fields\n     */\n    function _hasTypeInFields(fields) {\n        var result = false;\n        $.each(fields, function(name) {\n            result = result || _.some(fields[name], function(item) { return item.type; });\n        });\n        return result;\n    }\n\n    /**\n     * On Template changes, recall plugins.\n     */\n    function initDynamic() {\n        // Bootstrap popover\n        $('button[data-toggle=\"popover\"]').popover().click(function(e) {\n            e.preventDefault();\n        });\n\n        var version = $('#version strong').html();\n        $('#sidenav li').removeClass('is-new');\n        if (apiProject.template.withCompare) {\n            $('#sidenav li[data-version=\\'' + version + '\\']').each(function(){\n                var group = $(this).data('group');\n                var name = $(this).data('name');\n                var length = $('#sidenav li[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\']').length;\n                var index  = $('#sidenav li[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\']').index($(this));\n                if (length === 1 || index === (length - 1))\n                    $(this).addClass('is-new');\n            });\n        }\n\n        // tabs\n        $('.nav-tabs-examples a').click(function (e) {\n            e.preventDefault();\n            $(this).tab('show');\n        });\n        $('.nav-tabs-examples').find('a:first').tab('show');\n\n        // sample header-content-type switch\n        $('.sample-header-content-type-switch').change(function () {\n            var paramName = '.' + $(this).attr('name') + '-fields';\n            var bodyName = '.' + $(this).attr('name') + '-body';\n            var selectName = 'select[name=' + $(this).attr('name') + ']';\n            if ($(this).val() == 'body-json') {\n                $(selectName).val('undefined');\n                $(this).val('body-json');\n                $(paramName).removeClass('hide');\n                $(this).parent().nextAll(paramName).first().addClass('hide');\n                $(bodyName).addClass('hide');\n                $(this).parent().nextAll(bodyName).first().removeClass('hide');\n            } else if ($(this).val() == \"body-form-data\") {\n                $(selectName).val('undefined');\n                $(this).val('body-form-data');\n                $(bodyName).addClass('hide');\n                $(paramName).removeClass('hide');\n            } else {\n                $(this).parent().nextAll(paramName).first().removeClass('hide')\n                $(this).parent().nextAll(bodyName).first().addClass('hide');\n            }\n            $(this).prev('.sample-request-switch').prop('checked', true);\n        });\n\n        // sample request switch\n        $('.sample-request-switch').click(function (e) {\n            var paramName = '.' + $(this).attr('name') + '-fields';\n            var bodyName = '.' + $(this).attr('name') + '-body';\n            var select = $(this).next('.' + $(this).attr('name') + '-select').val();\n            if($(this).prop(\"checked\")){\n                if (select == 'body-json'){\n                    $(this).parent().nextAll(bodyName).first().removeClass('hide');\n                }else {\n                    $(this).parent().nextAll(paramName).first().removeClass('hide');\n                }\n            }else {\n                if (select == 'body-json'){\n                    $(this).parent().nextAll(bodyName).first().addClass('hide');\n                }else {\n                    $(this).parent().nextAll(paramName).first().addClass('hide');\n                }\n            }\n        });\n\n        if (apiProject.template.aloneDisplay){\n            //show group\n            $('.show-group').click(function () {\n                var apiGroup = '.' + $(this).attr('data-group') + '-group';\n                var apiGroupArticle = '.' + $(this).attr('data-group') + '-article';\n                $(\".show-api-group\").addClass('hide');\n                $(apiGroup).removeClass('hide');\n                $(\".show-api-article\").addClass('hide');\n                $(apiGroupArticle).removeClass('hide');\n            });\n\n            //show api\n            $('.show-api').click(function () {\n                var apiName = '.' + $(this).attr('data-name') + '-article';\n                var apiGroup = '.' + $(this).attr('data-group') + '-group';\n                $(\".show-api-group\").addClass('hide');\n                $(apiGroup).removeClass('hide');\n                $(\".show-api-article\").addClass('hide');\n                $(apiName).removeClass('hide');\n            });\n        }\n\n        // call scrollspy refresh method\n        $(window).scrollspy('refresh');\n\n        // init modules\n        sampleRequest.initDynamic();\n        Prism.highlightAll()\n    }\n    initDynamic();\n\n    if (apiProject.template.aloneDisplay) {\n        var hashVal = window.location.hash;\n        if (hashVal != null && hashVal.length !== 0) {\n            $(\".\" + hashVal.slice(1) + \"-init\").click();\n        }\n    }\n\n    //\n    // HTML-Template specific jQuery-Functions\n    //\n    // Change Main Version\n    function setMainVersion(selectedVersion) {\n        if (typeof(selectedVersion) === 'undefined') {\n            selectedVersion = $('#version strong').html();\n        }\n        else {\n            $('#version strong').html(selectedVersion);\n        }\n\n        // hide all\n        $('article').addClass('hide');\n        $('#sidenav li:not(.nav-fixed)').addClass('hide');\n\n        // show 1st equal or lower Version of each entry\n        $('article[data-version]').each(function(index) {\n            var group = $(this).data('group');\n            var name = $(this).data('name');\n            var version = $(this).data('version');\n\n            if (semver.lte(version, selectedVersion)) {\n                if ($('article[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\']:visible').length === 0) {\n                    // enable Article\n                    $('article[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\'][data-version=\\'' + version + '\\']').removeClass('hide');\n                    // enable Navigation\n                    $('#sidenav li[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\'][data-version=\\'' + version + '\\']').removeClass('hide');\n                    $('#sidenav li.nav-header[data-group=\\'' + group + '\\']').removeClass('hide');\n                }\n            }\n        });\n\n        // show 1st equal or lower Version of each entry\n        $('article[data-version]').each(function(index) {\n            var group = $(this).data('group');\n            $('section#api-' + group).removeClass('hide');\n            if ($('section#api-' + group + ' article:visible').length === 0) {\n                $('section#api-' + group).addClass('hide');\n            } else {\n                $('section#api-' + group).removeClass('hide');\n            }\n        });\n\n        initDynamic();\n        return;\n    }\n    setMainVersion();\n\n    $('#versions li.version a').on('click', function(e) {\n        e.preventDefault();\n\n        setMainVersion($(this).html());\n    });\n\n    // compare all article with their predecessor\n    $('#compareAllWithPredecessor').on('click', changeAllVersionCompareTo);\n\n    // change version of an article\n    $('article .versions li.version a').on('click', changeVersionCompareTo);\n\n    // compare url-parameter\n    $.urlParam = function(name) {\n        var results = new RegExp('[\\\\?&amp;]' + name + '=([^&amp;#]*)').exec(window.location.href);\n        return (results && results[1]) ? results[1] : null;\n    };\n\n    if ($.urlParam('compare')) {\n        // URL Paramter ?compare=1 is set\n        $('#compareAllWithPredecessor').trigger('click');\n    }\n\n    // Quick jump on page load to hash position.\n    // Should happen after setting the main version\n    // and after triggering the click on the compare button,\n    // as these actions modify the content\n    // and would make it jump to the wrong position or not jump at all.\n    if (window.location.hash) {\n        var id = decodeURI(window.location.hash);\n        if ($(id).length > 0)\n            $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 0);\n    }\n\n    /**\n     * Initialize search\n     */\n    var options = {\n      valueNames: [ 'nav-list-item','nav-list-url-item']\n    };\n    var endpointsList = new List('scrollingNav', options);\n\n    /**\n     * Set initial focus to search input\n     */\n    $('#scrollingNav .sidenav-search input.search').focus();\n\n    /**\n     * Detect ESC key to reset search\n     */\n    $(document).keyup(function(e) {\n      if (e.keyCode === 27) $('span.search-reset').click();\n    });\n\n    /**\n     * Search reset\n     */\n    $('span.search-reset').on('click', function() {\n      $('#scrollingNav .sidenav-search input.search')\n        .val(\"\")\n        .focus()\n      ;\n      endpointsList.search();\n    });\n\n    /**\n     * Change version of an article to compare it to an other version.\n     */\n    function changeVersionCompareTo(e) {\n        e.preventDefault();\n\n        var $root = $(this).parents('article');\n        var selectedVersion = $(this).html();\n        var $button = $root.find('.version');\n        var currentVersion = $button.find('strong').html();\n        $button.find('strong').html(selectedVersion);\n\n        var group = $root.data('group');\n        var name = $root.data('name');\n        var version = $root.data('version');\n\n        var compareVersion = $root.data('compare-version');\n\n        if (compareVersion === selectedVersion)\n            return;\n\n        if ( ! compareVersion && version == selectedVersion)\n            return;\n\n        if (compareVersion && articleVersions[group][name][0] === selectedVersion || version === selectedVersion) {\n            // the version of the entry is set to the highest version (reset)\n            resetArticle(group, name, version);\n        } else {\n            var $compareToArticle = $('article[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\'][data-version=\\'' + selectedVersion + '\\']');\n\n            var sourceEntry = {};\n            var compareEntry = {};\n            $.each(apiByGroupAndName[group][name], function(index, entry) {\n                if (entry.version === version)\n                    sourceEntry = entry;\n                if (entry.version === selectedVersion)\n                    compareEntry = entry;\n            });\n\n            var fields = {\n                article: sourceEntry,\n                compare: compareEntry,\n                versions: articleVersions[group][name]\n            };\n\n            // add unique id\n            // TODO: replace all group-name-version in template with id.\n            fields.article.id = fields.article.group + '-' + fields.article.name + '-' + fields.article.version;\n            fields.article.id = fields.article.id.replace(/\\./g, '_');\n\n            fields.compare.id = fields.compare.group + '-' + fields.compare.name + '-' + fields.compare.version;\n            fields.compare.id = fields.compare.id.replace(/\\./g, '_');\n\n            var entry = sourceEntry;\n            if (entry.parameter && entry.parameter.fields)\n                fields._hasTypeInParameterFields = _hasTypeInFields(entry.parameter.fields);\n\n            if (entry.error && entry.error.fields)\n                fields._hasTypeInErrorFields = _hasTypeInFields(entry.error.fields);\n\n            if (entry.success && entry.success.fields)\n                fields._hasTypeInSuccessFields = _hasTypeInFields(entry.success.fields);\n\n            if (entry.info && entry.info.fields)\n                fields._hasTypeInInfoFields = _hasTypeInFields(entry.info.fields);\n\n            var entry = compareEntry;\n            if (fields._hasTypeInParameterFields !== true && entry.parameter && entry.parameter.fields)\n                fields._hasTypeInParameterFields = _hasTypeInFields(entry.parameter.fields);\n\n            if (fields._hasTypeInErrorFields !== true && entry.error && entry.error.fields)\n                fields._hasTypeInErrorFields = _hasTypeInFields(entry.error.fields);\n\n            if (fields._hasTypeInSuccessFields !== true && entry.success && entry.success.fields)\n                fields._hasTypeInSuccessFields = _hasTypeInFields(entry.success.fields);\n\n            if (fields._hasTypeInInfoFields !== true && entry.info && entry.info.fields)\n                fields._hasTypeInInfoFields = _hasTypeInFields(entry.info.fields);\n\n            var content = templateCompareArticle(fields);\n            $root.after(content);\n            var $content = $root.next();\n\n            // Event on.click re-assign\n            $content.find('.versions li.version a').on('click', changeVersionCompareTo);\n\n            // select navigation\n            $('#sidenav li[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\'][data-version=\\'' + currentVersion + '\\']').addClass('has-modifications');\n\n            $root.remove();\n            // TODO: on change main version or select the highest version re-render\n        }\n\n        initDynamic();\n    }\n\n    /**\n     * Compare all currently selected Versions with their predecessor.\n     */\n    function changeAllVersionCompareTo(e) {\n        e.preventDefault();\n        $('article:visible .versions').each(function(){\n            var $root = $(this).parents('article');\n            var currentVersion = $root.data('version');\n            var $foundElement = null;\n            $(this).find('li.version a').each(function() {\n                var selectVersion = $(this).html();\n                if (selectVersion < currentVersion && ! $foundElement)\n                    $foundElement = $(this);\n            });\n\n            if($foundElement)\n                $foundElement.trigger('click');\n        });\n        initDynamic();\n    }\n\n    /**\n     * Sort the fields.\n     */\n    function sortFields(fields_object) {\n        $.each(fields_object, function (key, fields) {\n\n            var reversed = fields.slice().reverse()\n\n            var max_dot_count = Math.max.apply(null, reversed.map(function (item) {\n                return item.field.split(\".\").length - 1;\n            }))\n\n            for (var dot_count = 1; dot_count <= max_dot_count; dot_count++) {\n                reversed.forEach(function (item, index) {\n                    var parts = item.field.split(\".\");\n                    if (parts.length - 1 == dot_count) {\n                        var fields_names = fields.map(function (item) { return item.field; });\n                        if (parts.slice(1).length  >= 1) {\n                            var prefix = parts.slice(0, parts.length - 1).join(\".\");\n                            var prefix_index = fields_names.indexOf(prefix);\n                            if (prefix_index > -1) {\n                                fields.splice(fields_names.indexOf(item.field), 1);\n                                fields.splice(prefix_index + 1, 0, item);\n                            }\n                        }\n                    }\n                });\n            }\n        });\n    }\n\n    /**\n     * Add article settings.\n     */\n    function addArticleSettings(fields, entry) {\n        // add unique id\n        // TODO: replace all group-name-version in template with id.\n        fields.id = fields.article.group + '-' + fields.article.name + '-' + fields.article.version;\n        fields.id = fields.id.replace(/\\./g, '_');\n\n        if (entry.header && entry.header.fields) {\n            sortFields(entry.header.fields);\n            fields._hasTypeInHeaderFields = _hasTypeInFields(entry.header.fields);\n        }\n\n        if (entry.parameter && entry.parameter.fields) {\n            sortFields(entry.parameter.fields);\n            fields._hasTypeInParameterFields = _hasTypeInFields(entry.parameter.fields);\n        }\n\n        if (entry.error && entry.error.fields) {\n            sortFields(entry.error.fields);\n            fields._hasTypeInErrorFields = _hasTypeInFields(entry.error.fields);\n        }\n\n        if (entry.success && entry.success.fields) {\n            sortFields(entry.success.fields);\n            fields._hasTypeInSuccessFields = _hasTypeInFields(entry.success.fields);\n        }\n\n        if (entry.info && entry.info.fields) {\n            sortFields(entry.info.fields);\n            fields._hasTypeInInfoFields = _hasTypeInFields(entry.info.fields);\n        }\n\n        // add template settings\n        fields.template = apiProject.template;\n    }\n\n    /**\n     * Render Article.\n     */\n    function renderArticle(group, name, version) {\n        var entry = {};\n        $.each(apiByGroupAndName[group][name], function(index, currentEntry) {\n            if (currentEntry.version === version)\n                entry = currentEntry;\n        });\n        var fields = {\n            article: entry,\n            versions: articleVersions[group][name]\n        };\n\n        addArticleSettings(fields, entry);\n\n        return templateArticle(fields);\n    }\n\n    /**\n     * Render original Article and remove the current visible Article.\n     */\n    function resetArticle(group, name, version) {\n        var $root = $('article[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\']:visible');\n        var content = renderArticle(group, name, version);\n\n        $root.after(content);\n        var $content = $root.next();\n\n        // Event on.click needs to be reassigned (should actually work with on ... automatically)\n        $content.find('.versions li.version a').on('click', changeVersionCompareTo);\n\n        $('#sidenav li[data-group=\\'' + group + '\\'][data-name=\\'' + name + '\\'][data-version=\\'' + version + '\\']').removeClass('has-modifications');\n\n        $root.remove();\n        return;\n    }\n\n    /**\n     * Return ordered entries by custom order and append not defined entries to the end.\n     * @param  {String[]} elements\n     * @param  {String[]} order\n     * @param  {String}   splitBy\n     * @return {String[]} Custom ordered list.\n     */\n    function sortByOrder(elements, order, splitBy) {\n        var results = [];\n        order.forEach (function(name) {\n            if (splitBy)\n                elements.forEach (function(element) {\n                    var parts = element.split(splitBy);\n                    var key = parts[0]; // reference keep for sorting\n                    if (key == name || parts[1] == name)\n                        results.push(element);\n                });\n            else\n                elements.forEach (function(key) {\n                    if (key == name)\n                        results.push(name);\n                });\n        });\n        // Append all other entries that ar not defined in order\n        elements.forEach(function(element) {\n            if (results.indexOf(element) === -1)\n                results.push(element);\n        });\n        return results;\n    }\n    Prism.highlightAll()\n}\n"
  },
  {
    "path": "public/apidoc/utils/handlebars_helper.js",
    "content": "define([\n    'locales',\n    'handlebars',\n    'diffMatchPatch'\n], function(locale, Handlebars, DiffMatchPatch) {\n\n    /**\n     * Return a text as markdown.\n     * Currently only a little helper to replace apidoc-inline Links (#Group:Name).\n     * Should be replaced with a full markdown lib.\n     * @param string text\n     */\n    Handlebars.registerHelper('markdown', function(text) {\n        if ( ! text ) {\n          return text;\n        }\n        text = text.replace(/((\\[(.*?)\\])?\\(#)((.+?):(.+?))(\\))/mg, function(match, p1, p2, p3, p4, p5, p6) {\n          var link = p3 || p5 + '/' + p6;\n          return '<a href=\"#api-' + p5 + '-' + p6 + '\">' + link + '</a>';\n        });\n        return text;\n    });\n\n    /**\n     * set paramater type.\n     */\n    Handlebars.registerHelper(\"setInputType\", function(text) {\n          if (text === \"File\") {\n            return \"file\";\n          }\n          return \"text\";\n    });\n\n    /**\n     * start/stop timer for simple performance check.\n     */\n    var timer;\n    Handlebars.registerHelper('startTimer', function(text) {\n        timer = new Date();\n        return '';\n    });\n\n    Handlebars.registerHelper('stopTimer', function(text) {\n        console.log(new Date() - timer);\n        return '';\n    });\n\n    /**\n     * Return localized Text.\n     * @param string text\n     */\n    Handlebars.registerHelper('__', function(text) {\n        return locale.__(text);\n    });\n\n    /**\n     * Console log.\n     * @param mixed obj\n     */\n    Handlebars.registerHelper('cl', function(obj) {\n        console.log(obj);\n        return '';\n    });\n\n    /**\n     * Replace underscore with space.\n     * @param string text\n     */\n    Handlebars.registerHelper('underscoreToSpace', function(text) {\n        return text.replace(/(_+)/g, ' ');\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('assign', function(name) {\n        if(arguments.length > 0) {\n            var type = typeof(arguments[1]);\n            var arg = null;\n            if(type === 'string' || type === 'number' || type === 'boolean') arg = arguments[1];\n            Handlebars.registerHelper(name, function() { return arg; });\n        }\n        return '';\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('nl2br', function(text) {\n        return _handlebarsNewlineToBreak(text);\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('if_eq', function(context, options) {\n        var compare = context;\n        // Get length if context is an object\n        if (context instanceof Object && ! (options.hash.compare instanceof Object))\n             compare = Object.keys(context).length;\n\n        if (compare === options.hash.compare)\n            return options.fn(this);\n\n        return options.inverse(this);\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('if_gt', function(context, options) {\n        var compare = context;\n        // Get length if context is an object\n        if (context instanceof Object && ! (options.hash.compare instanceof Object))\n             compare = Object.keys(context).length;\n\n        if(compare > options.hash.compare)\n            return options.fn(this);\n\n        return options.inverse(this);\n    });\n\n    /**\n     *\n     */\n    var templateCache = {};\n    Handlebars.registerHelper('subTemplate', function(name, sourceContext) {\n        if ( ! templateCache[name])\n            templateCache[name] = Handlebars.compile($('#template-' + name).html());\n\n        var template = templateCache[name];\n        var templateContext = $.extend({}, this, sourceContext.hash);\n        return new Handlebars.SafeString( template(templateContext) );\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('toLowerCase', function(value) {\n        return (value && typeof value === 'string') ? value.toLowerCase() : '';\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('splitFill', function(value, splitChar, fillChar) {\n        var splits = value.split(splitChar);\n        return new Array(splits.length).join(fillChar) + splits[splits.length - 1];\n    });\n\n    /**\n     * Convert Newline to HTML-Break (nl2br).\n     *\n     * @param {String} text\n     * @returns {String}\n     */\n    function _handlebarsNewlineToBreak(text) {\n        return ('' + text).replace(/([^>\\r\\n]?)(\\r\\n|\\n\\r|\\r|\\n)/g, '$1' + '<br>' + '$2');\n    }\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('each_compare_list_field', function(source, compare, options) {\n        var fieldName = options.hash.field;\n        var newSource = [];\n        if (source) {\n            source.forEach(function(entry) {\n                var values = entry;\n                values['key'] = entry[fieldName];\n                newSource.push(values);\n            });\n        }\n\n        var newCompare = [];\n        if (compare) {\n            compare.forEach(function(entry) {\n                var values = entry;\n                values['key'] = entry[fieldName];\n                newCompare.push(values);\n            });\n        }\n        return _handlebarsEachCompared('key', newSource, newCompare, options);\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('each_compare_keys', function(source, compare, options) {\n        var newSource = [];\n        if (source) {\n            var sourceFields = Object.keys(source);\n            sourceFields.forEach(function(name) {\n                var values = {};\n                values['value'] = source[name];\n                values['key'] = name;\n                newSource.push(values);\n            });\n        }\n\n        var newCompare = [];\n        if (compare) {\n            var compareFields = Object.keys(compare);\n            compareFields.forEach(function(name) {\n                var values = {};\n                values['value'] = compare[name];\n                values['key'] = name;\n                newCompare.push(values);\n            });\n        }\n        return _handlebarsEachCompared('key', newSource, newCompare, options);\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('each_compare_field', function(source, compare, options) {\n        return _handlebarsEachCompared('field', source, compare, options);\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('each_compare_title', function(source, compare, options) {\n        return _handlebarsEachCompared('title', source, compare, options);\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('reformat', function(source, type){\n        if (type == 'json')\n            try {\n               return JSON.stringify(JSON.parse(source.trim()),null, \"    \");\n            } catch(e) {\n\n            }\n        return source\n    });\n\n    /**\n     *\n     */\n    Handlebars.registerHelper('showDiff', function(source, compare, options) {\n        var ds = '';\n        if(source === compare) {\n            ds = source;\n        } else {\n            if( ! source)\n                return compare;\n\n            if( ! compare)\n                return source;\n\n            var d = diffMatchPatch.diff_main(stripHtml(compare), stripHtml(source));\n            diffMatchPatch.diff_cleanupSemantic(d);\n            ds = diffMatchPatch.diff_prettyHtml(d);\n            ds = ds.replace(/&para;/gm, '');\n        }\n        if(options === 'nl2br')\n            ds = _handlebarsNewlineToBreak(ds);\n\n        return ds;\n    });\n\n    /**\n     *\n     */\n    function _handlebarsEachCompared(fieldname, source, compare, options)\n    {\n        var dataList = [];\n        var index = 0;\n        if(source) {\n            source.forEach(function(sourceEntry) {\n                var found = false;\n                if (compare) {\n                    compare.forEach(function(compareEntry) {\n                        if(sourceEntry[fieldname] === compareEntry[fieldname]) {\n                            var data = {\n                                typeSame: true,\n                                source: sourceEntry,\n                                compare: compareEntry,\n                                index: index\n                            };\n                            dataList.push(data);\n                            found = true;\n                            index++;\n                        }\n                    });\n                }\n                if ( ! found) {\n                    var data = {\n                        typeIns: true,\n                        source: sourceEntry,\n                        index: index\n                    };\n                    dataList.push(data);\n                    index++;\n                }\n            });\n        }\n\n        if (compare) {\n            compare.forEach(function(compareEntry) {\n                var found = false;\n                if (source) {\n                    source.forEach(function(sourceEntry) {\n                        if(sourceEntry[fieldname] === compareEntry[fieldname])\n                            found = true;\n                    });\n                }\n                if ( ! found) {\n                    var data = {\n                        typeDel: true,\n                        compare: compareEntry,\n                        index: index\n                    };\n                    dataList.push(data);\n                    index++;\n                }\n            });\n        }\n\n        var ret = '';\n        var length = dataList.length;\n        for (var index in dataList) {\n            if(index == (length - 1))\n                dataList[index]['_last'] = true;\n            ret = ret + options.fn(dataList[index]);\n        }\n        return ret;\n    }\n\n    var diffMatchPatch = new DiffMatchPatch();\n\n    /**\n     * Overwrite Colors\n     */\n    DiffMatchPatch.prototype.diff_prettyHtml = function(diffs) {\n      var html = [];\n      var pattern_amp = /&/g;\n      var pattern_lt = /</g;\n      var pattern_gt = />/g;\n      var pattern_para = /\\n/g;\n      for (var x = 0; x < diffs.length; x++) {\n        var op = diffs[x][0];    // Operation (insert, delete, equal)\n        var data = diffs[x][1];  // Text of change.\n        var text = data.replace(pattern_amp, '&amp;').replace(pattern_lt, '&lt;')\n            .replace(pattern_gt, '&gt;').replace(pattern_para, '&para;<br>');\n        switch (op) {\n          case DIFF_INSERT:\n            html[x] = '<ins>' + text + '</ins>';\n            break;\n          case DIFF_DELETE:\n            html[x] = '<del>' + text + '</del>';\n            break;\n          case DIFF_EQUAL:\n            html[x] = '<span>' + text + '</span>';\n            break;\n        }\n      }\n      return html.join('');\n    };\n\n    /**\n     * Fixes html after comparison (#506, #538, #616, #825)\n     */\n    function stripHtml(html){\n      var div = document.createElement(\"div\");\n      div.innerHTML = html;\n      return div.textContent || div.innerText || \"\";\n    }\n\n    // Exports\n    return Handlebars;\n});\n"
  },
  {
    "path": "public/apidoc/utils/send_sample_request.js",
    "content": "define([\n    'jquery',\n    'lodash',\n    './utils/send_sample_request_utils'\n], function($, _, utils) {\n\n    var initDynamic = function() {\n        // Button send\n        $(\".sample-request-send\").off(\"click\");\n        $(\".sample-request-send\").on(\"click\", function(e) {\n            e.preventDefault();\n            var $root = $(this).parents(\"article\");\n            var group = $root.data(\"group\");\n            var name = $root.data(\"name\");\n            var version = $root.data(\"version\");\n            sendSampleRequest(group, name, version, $(this).data(\"sample-request-type\"));\n        });\n\n        // Button clear\n        $(\".sample-request-clear\").off(\"click\");\n        $(\".sample-request-clear\").on(\"click\", function(e) {\n            e.preventDefault();\n            var $root = $(this).parents(\"article\");\n            var group = $root.data(\"group\");\n            var name = $root.data(\"name\");\n            var version = $root.data(\"version\");\n            clearSampleRequest(group, name, version);\n        });\n    }; // initDynamic\n\n    function sendSampleRequest(group, name, version, type)\n    {\n        var $root = $('article[data-group=\"' + group + '\"][data-name=\"' + name + '\"][data-version=\"' + version + '\"]');\n\n        // Optional header\n        var header = {};\n        $root.find(\".sample-request-header:checked\").each(function(i, element) {\n            var group = $(element).data(\"sample-request-header-group-id\");\n            $root.find(\"[data-sample-request-header-group=\\\"\" + group + \"\\\"]\").each(function(i, element) {\n                var key = $(element).data(\"sample-request-header-name\");\n                var value = element.value;\n                if (typeof element.optional === 'undefined') {\n                  element.optional = true;\n                }\n                if ( ! element.optional && element.defaultValue !== '') {\n                    value = element.defaultValue;\n                }\n                header[key] = value;\n            });\n        });\n\n\n        // create JSON dictionary of parameters\n        var param = {};\n        var paramType = {};\n        var bodyFormData = new FormData();\n        var bodyJson = '';\n        $root.find(\".sample-request-param:checked\").each(function(i, element) {\n            var group = $(element).data(\"sample-request-param-group-id\");\n            var contentType = $(element).nextAll('.sample-header-content-type-switch').first().val();\n            if (contentType == \"body-json\"){\n                $root.find(\"[data-sample-request-body-group=\\\"\" + group + \"\\\"]\").not(function(){\n                    return $(this).val() == \"\" && $(this).is(\"[data-sample-request-param-optional='true']\");\n                }).each(function(i, element) {\n                    if (isJson(element.value)){\n                        header['Content-Type'] = 'application/json';\n                        bodyJson = element.value;\n                    }\n                });\n            }else {\n                $root.find(\"[data-sample-request-param-group=\\\"\" + group + \"\\\"]\").not(function(){\n                    return $(this).val() == \"\" && $(this).is(\"[data-sample-request-param-optional='true']\");\n                }).each(function(i, element) {\n                    var key = $(element).data(\"sample-request-param-name\");\n                    var value = element.value;\n                    if ( ! element.optional && element.defaultValue !== '') {\n                        value = element.defaultValue;\n                    }\n                    if (contentType == \"body-form-data\"){\n                        header['Content-Type'] = 'multipart/form-data'\n                        if (element.type == \"file\") {\n                        value = element.files[0];\n                      }\n                      bodyFormData.append(key,value);\n                    }else {\n                        param[key] = value;\n                        paramType[key] = $(element).next().text();\n                    }\n                });\n            }\n        });\n\n        // grab user-inputted URL\n        var url = $root.find(\".sample-request-url\").val();\n\n        //Convert {param} form to :param\n        url = utils.convertPathParams(url);\n\n        // Insert url parameter\n        var pattern = pathToRegexp(url, null);\n        var matches = pattern.exec(url);\n        for (var i = 1; i < matches.length; i++) {\n            var key = matches[i].substr(1);\n            var optional = false\n            if (key[key.length - 1] === '?') {\n                optional = true;\n                key = key.substr(0, key.length - 1);\n            }\n            if (param[key] !== undefined) {\n                url = url.replace(matches[i], encodeURIComponent(param[key]));\n\n                // remove URL parameters from list\n                delete param[key];\n            } else if (optional) {\n                // if parameter is optional denoted by ending '?' in param (:param?)\n                // and no parameter is given, replace parameter with empty string instead\n                url = url.replace(matches[i], '');\n                delete param[key];\n            }\n        } // for\n\n        //handle nested objects and parsing fields\n        param = utils.handleNestedAndParsingFields(param, paramType);\n\n        //add url search parameter\n        if (header['Content-Type'] == 'application/json') {\n            if (bodyJson) {\n                // bodyJson is set to value if request body: 'body/json' was selected and manual json was input\n                // in this case, use the given bodyJson and add other params in query string\n                url = url + encodeSearchParams(param);\n                param = bodyJson;\n            } else {\n                // bodyJson not set, but Content-Type: application/json header was set. In this case, send parameters\n                // as JSON body. First, try parsing fields of object with given paramType definition so that the json\n                // is valid against the parameter spec (e.g. Boolean params are boolean instead of strings in final json)\n                param = utils.tryParsingWithTypes(param, paramType);\n                param = JSON.stringify(param);\n            }\n        }else if (header['Content-Type'] == 'multipart/form-data'){\n            url = url + encodeSearchParams(param);\n            param = bodyFormData;\n        }\n\n        $root.find(\".sample-request-response\").fadeTo(250, 1);\n        $root.find(\".sample-request-response-json\").html(\"Loading...\");\n        refreshScrollSpy();\n\n        // send AJAX request, catch success or error callback\n        var ajaxRequest = {\n            url        : url,\n            headers    : header,\n            data       : param,\n            type       : type.toUpperCase(),\n            success    : displaySuccess,\n            error      : displayError\n        };\n\n        if(header['Content-Type'] == 'multipart/form-data'){\n            delete ajaxRequest.headers['Content-Type'];\n            ajaxRequest.contentType=false;\n            ajaxRequest.processData=false;\n        }\n        $.ajax(ajaxRequest);\n\n\n        function displaySuccess(data, status, jqXHR) {\n            var jsonResponse;\n            try {\n                jsonResponse = JSON.parse(jqXHR.responseText);\n                jsonResponse = JSON.stringify(jsonResponse, null, 4);\n            } catch (e) {\n                jsonResponse = jqXHR.responseText;\n            }\n            $root.find(\".sample-request-response-json\").text(jsonResponse);\n            refreshScrollSpy();\n        };\n\n        function displayError(jqXHR, textStatus, error) {\n            var message = \"Error \" + jqXHR.status + \": \" + error;\n            var jsonResponse;\n            try {\n                jsonResponse = JSON.parse(jqXHR.responseText);\n                jsonResponse = JSON.stringify(jsonResponse, null, 4);\n            } catch (e) {\n                jsonResponse = jqXHR.responseText;\n            }\n\n            if (jsonResponse)\n                message += \"\\n\" + jsonResponse;\n\n            // flicker on previous error to make clear that there is a new response\n            if($root.find(\".sample-request-response\").is(\":visible\"))\n                $root.find(\".sample-request-response\").fadeTo(1, 0.1);\n\n            $root.find(\".sample-request-response\").fadeTo(250, 1);\n            $root.find(\".sample-request-response-json\").text(message);\n            refreshScrollSpy();\n        };\n    }\n\n    function clearSampleRequest(group, name, version)\n    {\n        var $root = $('article[data-group=\"' + group + '\"][data-name=\"' + name + '\"][data-version=\"' + version + '\"]');\n\n        // hide sample response\n        $root.find(\".sample-request-response-json\").html(\"\");\n        $root.find(\".sample-request-response\").hide();\n\n        // reset value of parameters\n        $root.find(\".sample-request-param\").each(function(i, element) {\n            element.value = \"\";\n        });\n\n        // restore default URL\n        var $urlElement = $root.find(\".sample-request-url\");\n        $urlElement.val($urlElement.prop(\"defaultValue\"));\n\n        refreshScrollSpy();\n    }\n\n    function refreshScrollSpy()\n    {\n        $('[data-spy=\"scroll\"]').each(function () {\n            $(this).scrollspy(\"refresh\");\n        });\n    }\n\n    function escapeHtml(str) {\n        var div = document.createElement(\"div\");\n        div.appendChild(document.createTextNode(str));\n        return div.innerHTML;\n    }\n\n\n    /**\n     * is Json\n     */\n    function isJson(str) {\n        if (typeof str == 'string') {\n            try {\n                var obj=JSON.parse(str);\n                if(typeof obj == 'object' && obj ){\n                    return true;\n                }else{\n                    return false;\n                }\n            } catch(e) {\n                return false;\n            }\n        }\n    }\n\n    /**\n     * encode Search Params\n     */\n    function encodeSearchParams(obj) {\n        const params = [];\n        Object.keys(obj).forEach((key) => {\n            let value = obj[key];\n            params.push([key, encodeURIComponent(value)].join('='));\n        })\n        return params.length === 0 ? '' : '?' + params.join('&');\n    }\n\n    /**\n     * Exports.\n     */\n    return {\n        initDynamic: initDynamic\n    };\n\n});\n"
  },
  {
    "path": "public/apidoc/utils/send_sample_request_utils.js",
    "content": "//this block is used to make this module works with Node (CommonJS module format)\nif (typeof define !== 'function') {\n    var define = require('amdefine')(module)\n}\n\ndefine(['lodash'], function (_) {\n\n    var log = console;\n\n    function handleNestedFields(object, key, params, paramType) {\n        var attributes = key.split('.');\n        var field = attributes[0];\n        params.push(field);\n        if (attributes.length > 1 && paramType[params.join('.')] == 'Object') {\n            var nestedField = attributes.slice(1).join('.');\n            if (!object[field])\n                object[field] = {};\n            if (typeof object[field] == 'object') {\n                object[field][nestedField] = object[key];\n                delete object[key];\n                handleNestedFields(object[field], nestedField, params, paramType);\n            }\n        }\n    }\n\n    function handleNestedFieldsForAllParams(param, paramType) {\n        var result = Object.assign({}, param);\n        Object.keys(result).forEach(function (key) {\n            handleNestedFields(result, key, [], paramType);\n        });\n        return result\n    }\n\n    function handleArraysAndObjectFields(param, paramType) {\n        var result = Object.assign({}, param);\n        Object.keys(paramType).forEach(function (key) {\n            if (result[key] && (paramType[key].endsWith('[]') || paramType[key] === 'Object')) {\n                try {\n                    result[key] = JSON.parse(result[key]);\n                } catch (e) {;}\n            }\n        });\n        return result\n    }\n\n    function tryParsingAsType(object, path, type) {\n        var val = _.get(object, path);\n        if (val !== undefined) {\n            if (type === 'Boolean') {\n                if (val === 'true') {\n                    _.set(object, path, true);\n                } else if (val === 'false') {\n                    _.set(object, path, false);\n                } else {\n                    log.warn('Failed to parse object value at path [' + path + ']. Value: (' + val + '). Type: (' + type + ')');\n                }\n            } else if (type === 'Number') {\n                var parsedInt = parseInt(val, 10);\n                if (!_.isNaN(parsedInt)) {\n                    _.set(object, path, parsedInt);\n                } else {\n                    log.warn('Failed to parse object value at path [' + path + ']. Value: (' + val + '). Type: (' + type + ')');\n                }\n            }\n        }\n    }\n\n    function handleNestedAndParsingFields(param, paramType) {\n        var result = handleArraysAndObjectFields(param, paramType);\n        result = handleNestedFieldsForAllParams(result, paramType);\n        return result;\n    }\n\n    function tryParsingWithTypes(param, paramType) {\n        var result = Object.assign({}, param);\n        Object.keys(paramType).forEach(function (key) {\n            tryParsingAsType(result, key, paramType[key]);\n        });\n        return result;\n    }\n\n    // Converts path params in the {param} format to the accepted :param format, used before inserting the URL params.\n    function convertPathParams(url) {\n        return url.replace(/{(.+?)}/g, ':$1');\n    }\n\n    function setLogger(logger) {\n      log = logger;\n    }\n\n    return {\n        handleNestedAndParsingFields,\n        convertPathParams,\n        tryParsingWithTypes,\n        setLogger\n    };\n});\n"
  },
  {
    "path": "public/apidoc/vendor/path-to-regexp/LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2014 Blake Embrey (hello@blakeembrey.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
  },
  {
    "path": "public/apidoc/vendor/path-to-regexp/index.js",
    "content": "var isArray = Array.isArray || function (arr) {\n  return Object.prototype.toString.call(arr) == '[object Array]';\n};\n\n/**\n * Expose `pathToRegexp`.\n */\n// module.exports = pathToRegexp\n\n/**\n * The main path matching regexp utility.\n *\n * @type {RegExp}\n */\nvar PATH_REGEXP = new RegExp([\n  // Match escaped characters that would otherwise appear in future matches.\n  // This allows the user to escape special characters that won't transform.\n  '(\\\\\\\\.)',\n  // Match Express-style parameters and un-named parameters with a prefix\n  // and optional suffixes. Matches appear as:\n  //\n  // \"/:test(\\\\d+)?\" => [\"/\", \"test\", \"\\d+\", undefined, \"?\"]\n  // \"/route(\\\\d+)\" => [undefined, undefined, undefined, \"\\d+\", undefined]\n  '([\\\\/.])?(?:\\\\:(\\\\w+)(?:\\\\(((?:\\\\\\\\.|[^)])*)\\\\))?|\\\\(((?:\\\\\\\\.|[^)])*)\\\\))([+*?])?',\n  // Match regexp special characters that are always escaped.\n  '([.+*?=^!:${}()[\\\\]|\\\\/])'\n].join('|'), 'g');\n\n/**\n * Escape the capturing group by escaping special characters and meaning.\n *\n * @param  {String} group\n * @return {String}\n */\nfunction escapeGroup (group) {\n  return group.replace(/([=!:$\\/()])/g, '\\\\$1');\n}\n\n/**\n * Attach the keys as a property of the regexp.\n *\n * @param  {RegExp} re\n * @param  {Array}  keys\n * @return {RegExp}\n */\nfunction attachKeys (re, keys) {\n  re.keys = keys;\n  return re;\n}\n\n/**\n * Get the flags for a regexp from the options.\n *\n * @param  {Object} options\n * @return {String}\n */\nfunction flags (options) {\n  return options.sensitive ? '' : 'i';\n}\n\n/**\n * Pull out keys from a regexp.\n *\n * @param  {RegExp} path\n * @param  {Array}  keys\n * @return {RegExp}\n */\nfunction regexpToRegexp (path, keys) {\n  // Use a negative lookahead to match only capturing groups.\n  var groups = path.source.match(/\\((?!\\?)/g);\n\n  if (groups) {\n    for (var i = 0; i < groups.length; i++) {\n      keys.push({\n        name:      i,\n        delimiter: null,\n        optional:  false,\n        repeat:    false\n      });\n    }\n  }\n\n  return attachKeys(path, keys);\n}\n\n/**\n * Transform an array into a regexp.\n *\n * @param  {Array}  path\n * @param  {Array}  keys\n * @param  {Object} options\n * @return {RegExp}\n */\nfunction arrayToRegexp (path, keys, options) {\n  var parts = [];\n\n  for (var i = 0; i < path.length; i++) {\n    parts.push(pathToRegexp(path[i], keys, options).source);\n  }\n\n  var regexp = new RegExp('(?:' + parts.join('|') + ')', flags(options));\n  return attachKeys(regexp, keys);\n}\n\n/**\n * Replace the specific tags with regexp strings.\n *\n * @param  {String} path\n * @param  {Array}  keys\n * @return {String}\n */\nfunction replacePath (path, keys) {\n  var index = 0;\n\n  function replace (_, escaped, prefix, key, capture, group, suffix, escape) {\n    if (escaped) {\n      return escaped;\n    }\n\n    if (escape) {\n      return '\\\\' + escape;\n    }\n\n    var repeat   = suffix === '+' || suffix === '*';\n    var optional = suffix === '?' || suffix === '*';\n\n    keys.push({\n      name:      key || index++,\n      delimiter: prefix || '/',\n      optional:  optional,\n      repeat:    repeat\n    });\n\n    prefix = prefix ? ('\\\\' + prefix) : '';\n    capture = escapeGroup(capture || group || '[^' + (prefix || '\\\\/') + ']+?');\n\n    if (repeat) {\n      capture = capture + '(?:' + prefix + capture + ')*';\n    }\n\n    if (optional) {\n      return '(?:' + prefix + '(' + capture + '))?';\n    }\n\n    // Basic parameter support.\n    return prefix + '(' + capture + ')';\n  }\n\n  return path.replace(PATH_REGEXP, replace);\n}\n\n/**\n * Normalize the given path string, returning a regular expression.\n *\n * An empty array can be passed in for the keys, which will hold the\n * placeholder key descriptions. For example, using `/user/:id`, `keys` will\n * contain `[{ name: 'id', delimiter: '/', optional: false, repeat: false }]`.\n *\n * @param  {(String|RegExp|Array)} path\n * @param  {Array}                 [keys]\n * @param  {Object}                [options]\n * @return {RegExp}\n */\nfunction pathToRegexp (path, keys, options) {\n  keys = keys || [];\n\n  if (!isArray(keys)) {\n    options = keys;\n    keys = [];\n  } else if (!options) {\n    options = {};\n  }\n\n  if (path instanceof RegExp) {\n    return regexpToRegexp(path, keys, options);\n  }\n\n  if (isArray(path)) {\n    return arrayToRegexp(path, keys, options);\n  }\n\n  var strict = options.strict;\n  var end = options.end !== false;\n  var route = replacePath(path, keys);\n  var endsWithSlash = path.charAt(path.length - 1) === '/';\n\n  // In non-strict mode we allow a slash at the end of match. If the path to\n  // match already ends with a slash, we remove it for consistency. The slash\n  // is valid at the end of a path match, not in the middle. This is important\n  // in non-ending mode, where \"/test/\" shouldn't match \"/test//route\".\n  if (!strict) {\n    route = (endsWithSlash ? route.slice(0, -2) : route) + '(?:\\\\/(?=$))?';\n  }\n\n  if (end) {\n    route += '$';\n  } else {\n    // In non-ending mode, we need the capturing groups to match as much as\n    // possible by using a positive lookahead to the end or next path segment.\n    route += strict && endsWithSlash ? '' : '(?=\\\\/|$)';\n  }\n\n  return attachKeys(new RegExp('^' + route, flags(options)), keys);\n}\n"
  },
  {
    "path": "public/apidoc/vendor/polyfill.js",
    "content": "// From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys\nif (!Object.keys) {\n  Object.keys = (function () {\n    'use strict';\n    var hasOwnProperty = Object.prototype.hasOwnProperty,\n        hasDontEnumBug = !({toString: null}).propertyIsEnumerable('toString'),\n        dontEnums = [\n          'toString',\n          'toLocaleString',\n          'valueOf',\n          'hasOwnProperty',\n          'isPrototypeOf',\n          'propertyIsEnumerable',\n          'constructor'\n        ],\n        dontEnumsLength = dontEnums.length;\n\n    return function (obj) {\n      if (typeof obj !== 'object' && (typeof obj !== 'function' || obj === null)) {\n        throw new TypeError('Object.keys called on non-object');\n      }\n\n      var result = [], prop, i;\n\n      for (prop in obj) {\n        if (hasOwnProperty.call(obj, prop)) {\n          result.push(prop);\n        }\n      }\n\n      if (hasDontEnumBug) {\n        for (i = 0; i < dontEnumsLength; i++) {\n          if (hasOwnProperty.call(obj, dontEnums[i])) {\n            result.push(dontEnums[i]);\n          }\n        }\n      }\n      return result;\n    };\n  }());\n}\n\n//Production steps of ECMA-262, Edition 5, 15.4.4.18\n//Reference: http://es5.github.com/#x15.4.4.18\nif (!Array.prototype.forEach) {\n  Array.prototype.forEach = function (callback, thisArg) {\n    var T, k;\n\n    if (this == null) {\n      throw new TypeError(' this is null or not defined');\n    }\n\n    // 1. Let O be the result of calling ToObject passing the |this| value as the argument.\n    var O = Object(this);\n\n    // 2. Let lenValue be the result of calling the Get internal method of O with the argument \"length\".\n    // 3. Let len be ToUint32(lenValue).\n    var len = O.length >>> 0;\n\n    // 4. If IsCallable(callback) is false, throw a TypeError exception.\n    // See: http://es5.github.com/#x9.11\n    if (typeof callback !== \"function\") {\n      throw new TypeError(callback + \" is not a function\");\n    }\n\n    // 5. If thisArg was supplied, let T be thisArg; else let T be undefined.\n    if (arguments.length > 1) {\n      T = thisArg;\n    }\n\n    // 6. Let k be 0\n    k = 0;\n\n    // 7. Repeat, while k < len\n    while (k < len) {\n      var kValue;\n\n      // a. Let Pk be ToString(k).\n      //   This is implicit for LHS operands of the in operator\n      // b. Let kPresent be the result of calling the HasProperty internal method of O with argument Pk.\n      //   This step can be combined with c\n      // c. If kPresent is true, then\n      if (k in O) {\n        // i. Let kValue be the result of calling the Get internal method of O with argument Pk.\n        kValue = O[k];\n\n        // ii. Call the Call internal method of callback with T as the this value and\n        // argument list containing kValue, k, and O.\n        callback.call(T, kValue, k, O);\n      }\n      // d. Increase k by 1.\n      k++;\n    }\n    // 8. return undefined\n  };\n}\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-Splus.js",
    "content": "/*\n\n Copyright (C) 2012 Jeffrey B. Arnold\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$)/,null,\"'\"]],[[\"com\",/^#.*/],[\"kwd\",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],[\"lit\",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],[\"lit\",/^[+-]?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],[\"lit\",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\\.\\.(?:\\.|[0-9]+))(?![A-Za-z0-9_.])/],\n[\"pun\",/^(?:<<?-|->>?|-|==|<=|>=|<|>|&&?|!=|\\|\\|?|\\*|\\+|\\^|\\/|!|%.*?%|=|~|\\$|@|:{1,3}|[\\[\\](){};,?])/],[\"pln\",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\\.[a-zA-Z_][0-9a-zA-Z\\._]*)(?![A-Za-z0-9_.])/],[\"str\",/^`.+`/]]),[\"r\",\"s\",\"R\",\"S\",\"Splus\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-aea.js",
    "content": "/*\n\n Copyright (C) 2009 Onno Hommes.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"com\",/^#[^\\r\\n]*/,null,\"#\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\\s/,\nnull],[\"typ\",/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\\=?|BLOCK|BNKSUM|E?CADR|COUNT\\*?|2?DEC\\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\\s/,null],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[!-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),[\"apollo\",\"agc\",\"aea\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-agc.js",
    "content": "/*\n\n Copyright (C) 2009 Onno Hommes.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"com\",/^#[^\\r\\n]*/,null,\"#\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\\s/,\nnull],[\"typ\",/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\\=?|BLOCK|BNKSUM|E?CADR|COUNT\\*?|2?DEC\\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\\s/,null],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[!-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),[\"apollo\",\"agc\",\"aea\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-apollo.js",
    "content": "/*\n\n Copyright (C) 2009 Onno Hommes.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"com\",/^#[^\\r\\n]*/,null,\"#\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\\s/,\nnull],[\"typ\",/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\\=?|BLOCK|BNKSUM|E?CADR|COUNT\\*?|2?DEC\\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\\s/,null],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[!-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),[\"apollo\",\"agc\",\"aea\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-basic.js",
    "content": "/*\n\n Copyright (C) 2013 Peter Kofler\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^(?:\"(?:[^\\\\\"\\r\\n]|\\\\.)*(?:\"|$))/,null,'\"'],[\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]],[[\"com\",/^REM[^\\r\\n]*/,null],[\"kwd\",/^\\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\\b/,null],[\"pln\",/^[A-Z][A-Z0-9]?(?:\\$|%)?/i,null],[\"lit\",/^(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+\\-]?\\d+)?/i,\nnull,\"0123456789\"],[\"pun\",/^.[^\\s\\w\\.$%\"]*/,null]]),[\"basic\",\"cbm\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-cbm.js",
    "content": "/*\n\n Copyright (C) 2013 Peter Kofler\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^(?:\"(?:[^\\\\\"\\r\\n]|\\\\.)*(?:\"|$))/,null,'\"'],[\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]],[[\"com\",/^REM[^\\r\\n]*/,null],[\"kwd\",/^\\b(?:AND|CLOSE|CLR|CMD|CONT|DATA|DEF ?FN|DIM|END|FOR|GET|GOSUB|GOTO|IF|INPUT|LET|LIST|LOAD|NEW|NEXT|NOT|ON|OPEN|OR|POKE|PRINT|READ|RESTORE|RETURN|RUN|SAVE|STEP|STOP|SYS|THEN|TO|VERIFY|WAIT)\\b/,null],[\"pln\",/^[A-Z][A-Z0-9]?(?:\\$|%)?/i,null],[\"lit\",/^(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+\\-]?\\d+)?/i,\nnull,\"0123456789\"],[\"pun\",/^.[^\\s\\w\\.$%\"]*/,null]]),[\"basic\",\"cbm\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-cl.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-clj.js",
    "content": "/*\n Copyright (C) 2011 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^[\\(\\{\\[]+/,null,\"([{\"],[\"clo\",/^[\\)\\}\\]]+/,null,\")]}\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\\b/,\nnull],[\"typ\",/^:[0-9a-zA-Z\\-]+/]]),[\"clj\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-css.js",
    "content": "/*\n\n Copyright (C) 2009 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[ \\t\\r\\n\\f]+/,null,\" \\t\\r\\n\\f\"]],[[\"str\",/^\\\"(?:[^\\n\\r\\f\\\\\\\"]|\\\\(?:\\r\\n?|\\n|\\f)|\\\\[\\s\\S])*\\\"/,null],[\"str\",/^\\'(?:[^\\n\\r\\f\\\\\\']|\\\\(?:\\r\\n?|\\n|\\f)|\\\\[\\s\\S])*\\'/,null],[\"lang-css-str\",/^url\\(([^\\)\\\"\\']+)\\)/i],[\"kwd\",/^(?:url|rgb|\\!important|@import|@page|@media|@charset|inherit)(?=[^\\-\\w]|$)/i,null],[\"lang-css-kw\",/^(-?(?:[_a-z]|(?:\\\\[0-9a-f]+ ?))(?:[_a-z0-9\\-]|\\\\(?:\\\\[0-9a-f]+ ?))*)\\s*:/i],[\"com\",/^\\/\\*[^*]*\\*+(?:[^\\/*][^*]*\\*+)*\\//],\n[\"com\",/^(?:\\x3c!--|--\\x3e)/],[\"lit\",/^(?:\\d+|\\d*\\.\\d+)(?:%|[a-z]+)?/i],[\"lit\",/^#(?:[0-9a-f]{3}){1,2}\\b/i],[\"pln\",/^-?(?:[_a-z]|(?:\\\\[\\da-f]+ ?))(?:[_a-z\\d\\-]|\\\\(?:\\\\[\\da-f]+ ?))*/i],[\"pun\",/^[^\\s\\w\\'\\\"]+/]]),[\"css\"]);PR.registerLangHandler(PR.createSimpleLexer([],[[\"kwd\",/^-?(?:[_a-z]|(?:\\\\[\\da-f]+ ?))(?:[_a-z\\d\\-]|\\\\(?:\\\\[\\da-f]+ ?))*/i]]),[\"css-kw\"]);PR.registerLangHandler(PR.createSimpleLexer([],[[\"str\",/^[^\\)\\\"\\']+/]]),[\"css-str\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-dart.js",
    "content": "/*\n\n Copyright (C) 2013 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"]],[[\"com\",/^#!(?:.*)/],[\"kwd\",/^\\b(?:import|library|part of|part|as|show|hide)\\b/i],[\"com\",/^\\/\\/(?:.*)/],[\"com\",/^\\/\\*[^*]*\\*+(?:[^\\/*][^*]*\\*+)*\\//],[\"kwd\",/^\\b(?:class|interface)\\b/i],[\"kwd\",/^\\b(?:assert|async|await|break|case|catch|continue|default|do|else|finally|for|if|in|is|new|return|super|switch|sync|this|throw|try|while)\\b/i],[\"kwd\",/^\\b(?:abstract|const|extends|factory|final|get|implements|native|operator|set|static|typedef|var)\\b/i],\n[\"typ\",/^\\b(?:bool|double|Dynamic|int|num|Object|String|void)\\b/i],[\"kwd\",/^\\b(?:false|null|true)\\b/i],[\"str\",/^r?[\\']{3}[\\s|\\S]*?[^\\\\][\\']{3}/],[\"str\",/^r?[\\\"]{3}[\\s|\\S]*?[^\\\\][\\\"]{3}/],[\"str\",/^r?\\'(\\'|(?:[^\\n\\r\\f])*?[^\\\\]\\')/],[\"str\",/^r?\\\"(\\\"|(?:[^\\n\\r\\f])*?[^\\\\]\\\")/],[\"typ\",/^[A-Z]\\w*/],[\"pln\",/^[a-z_$][a-z0-9_]*/i],[\"pun\",/^[~!%^&*+=|?:<>/-]/],[\"lit\",/^\\b0x[0-9a-f]+/i],[\"lit\",/^\\b\\d+(?:\\.\\d*)?(?:e[+-]?\\d+)?/i],[\"lit\",\n/^\\b\\.\\d+(?:e[+-]?\\d+)?/i],[\"pun\",/^[(){}\\[\\],.;]/]]),[\"dart\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-el.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-erl.js",
    "content": "/*\n\n Copyright (C) 2013 Andrew Allen\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\x0B\\x0C\\r ]+/,null,\"\\t\\n\\x0B\\f\\r \"],[\"str\",/^\\\"(?:[^\\\"\\\\\\n\\x0C\\r]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"lit\",/^[a-z][a-zA-Z0-9_]*/],[\"lit\",/^\\'(?:[^\\'\\\\\\n\\x0C\\r]|\\\\[^&])+\\'?/,null,\"'\"],[\"lit\",/^\\?[^ \\t\\n({]+/,null,\"?\"],[\"lit\",/^(?:0o[0-7]+|0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+\\-]?\\d+)?)/i,null,\"0123456789\"]],[[\"com\",/^%[^\\n]*/],[\"kwd\",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\\b/],\n[\"kwd\",/^-[a-z_]+/],[\"typ\",/^[A-Z_][a-zA-Z0-9_]*/],[\"pun\",/^[.,;]/]]),[\"erlang\",\"erl\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-erlang.js",
    "content": "/*\n\n Copyright (C) 2013 Andrew Allen\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\x0B\\x0C\\r ]+/,null,\"\\t\\n\\x0B\\f\\r \"],[\"str\",/^\\\"(?:[^\\\"\\\\\\n\\x0C\\r]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"lit\",/^[a-z][a-zA-Z0-9_]*/],[\"lit\",/^\\'(?:[^\\'\\\\\\n\\x0C\\r]|\\\\[^&])+\\'?/,null,\"'\"],[\"lit\",/^\\?[^ \\t\\n({]+/,null,\"?\"],[\"lit\",/^(?:0o[0-7]+|0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+\\-]?\\d+)?)/i,null,\"0123456789\"]],[[\"com\",/^%[^\\n]*/],[\"kwd\",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\\b/],\n[\"kwd\",/^-[a-z_]+/],[\"typ\",/^[A-Z_][a-zA-Z0-9_]*/],[\"pun\",/^[.,;]/]]),[\"erlang\",\"erl\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-fs.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"com\",/^#(?:if[\\t\\n\\r \\xA0]+(?:[a-z_$][\\w\\']*|``[^\\r\\n\\t`]*(?:``|$))|else|endif|light)/i,null,\"#\"],[\"str\",/^(?:\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)|\\'(?:[^\\'\\\\]|\\\\[\\s\\S])(?:\\'|$))/,null,\"\\\"'\"]],[[\"com\",/^(?:\\/\\/[^\\r\\n]*|\\(\\*[\\s\\S]*?\\*\\))/],[\"kwd\",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\\b/],\n[\"lit\",/^[+\\-]?(?:0x[\\da-f]+|(?:(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:e[+\\-]?\\d+)?))/i],[\"pln\",/^(?:[a-z_][\\w']*[!?#]?|``[^\\r\\n\\t`]*(?:``|$))/i],[\"pun\",/^[^\\t\\n\\r \\xA0\\\"\\'\\w]+/]]),[\"fs\",\"ml\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-go.js",
    "content": "/*\n\n Copyright (C) 2010 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"pln\",/^(?:\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)|\\'(?:[^\\'\\\\]|\\\\[\\s\\S])+(?:\\'|$)|`[^`]*(?:`|$))/,null,\"\\\"'\"]],[[\"com\",/^(?:\\/\\/[^\\r\\n]*|\\/\\*[\\s\\S]*?\\*\\/)/],[\"pln\",/^(?:[^\\/\\\"\\'`]|\\/(?![\\/\\*]))+/i]]),[\"go\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-hs.js",
    "content": "/*\n\n Copyright (C) 2009 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\x0B\\x0C\\r ]+/,null,\"\\t\\n\\x0B\\f\\r \"],[\"str\",/^\\\"(?:[^\\\"\\\\\\n\\x0C\\r]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\'(?:[^\\'\\\\\\n\\x0C\\r]|\\\\[^&])\\'?/,null,\"'\"],[\"lit\",/^(?:0o[0-7]+|0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+\\-]?\\d+)?)/i,null,\"0123456789\"]],[[\"com\",/^(?:(?:--+(?:[^\\r\\n\\x0C]*)?)|(?:\\{-(?:[^-]|-+[^-\\}])*-\\}))/],[\"kwd\",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\\']|$)/,\nnull],[\"pln\",/^(?:[A-Z][\\w\\']*\\.)*[a-zA-Z][\\w\\']*/],[\"pun\",/^[^\\t\\n\\x0B\\x0C\\r a-zA-Z0-9\\'\\\"]+/]]),[\"hs\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-lasso.js",
    "content": "/*\n\n Copyright (C) 2013 Eric Knibbe\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$)/,null,\"'\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\`[^\\`]*(?:\\`|$)/,null,\"`\"],[\"lit\",/^0x[\\da-f]+|\\d+/i,null,\"0123456789\"],[\"atn\",/^#\\d+|[#$][a-z_][\\w.]*|#![ \\S]+lasso9\\b/i,null,\"#$\"]],[[\"tag\",/^[[\\]]|<\\?(?:lasso(?:script)?|=)|\\?>|noprocess\\b|no_square_brackets\\b/i],[\"com\",/^\\/\\/[^\\r\\n]*|\\/\\*[\\s\\S]*?\\*\\//],\n[\"atn\",/^-(?!infinity)[a-z_][\\w.]*|\\.\\s*'[a-z_][\\w.]*'/i],[\"lit\",/^\\d*\\.\\d+(?:e[-+]?\\d+)?|infinity\\b|NaN\\b/i],[\"atv\",/^::\\s*[a-z_][\\w.]*/i],[\"lit\",/^(?:true|false|none|minimal|full|all|void|and|or|not|bw|nbw|ew|new|cn|ncn|lt|lte|gt|gte|eq|neq|rx|nrx|ft)\\b/i],[\"kwd\",/^(?:error_code|error_msg|error_pop|error_push|error_reset|cache|database_names|database_schemanames|database_tablenames|define_tag|define_type|email_batch|encode_set|html_comment|handle|handle_error|header|if|inline|iterate|ljax_target|link|link_currentaction|link_currentgroup|link_currentrecord|link_detail|link_firstgroup|link_firstrecord|link_lastgroup|link_lastrecord|link_nextgroup|link_nextrecord|link_prevgroup|link_prevrecord|log|loop|namespace_using|output_none|portal|private|protect|records|referer|referrer|repeating|resultset|rows|search_args|search_arguments|select|sort_args|sort_arguments|thread_atomic|value_list|while|abort|case|else|if_empty|if_false|if_null|if_true|loop_abort|loop_continue|loop_count|params|params_up|return|return_value|run_children|soap_definetag|soap_lastrequest|soap_lastresponse|tag_name|ascending|average|by|define|descending|do|equals|frozen|group|handle_failure|import|in|into|join|let|match|max|min|on|order|parent|protected|provide|public|require|returnhome|skip|split_thread|sum|take|thread|to|trait|type|where|with|yield|yieldhome)\\b/i],\n[\"typ\",/^(?:array|date|decimal|duration|integer|map|pair|string|tag|xml|null|boolean|bytes|keyword|list|locale|queue|set|stack|staticarray|local|var|variable|global|data|self|inherited|currentcapture|givenblock)\\b|^\\.\\.?/i],[\"pln\",/^[a-z_][\\w.]*(?:=\\s*(?=\\())?/i],[\"pun\",/^:=|[-+*\\/%=<>&|!?\\\\]/]]),[\"lasso\",\"ls\",\"lassoscript\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-lassoscript.js",
    "content": "/*\n\n Copyright (C) 2013 Eric Knibbe\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$)/,null,\"'\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\`[^\\`]*(?:\\`|$)/,null,\"`\"],[\"lit\",/^0x[\\da-f]+|\\d+/i,null,\"0123456789\"],[\"atn\",/^#\\d+|[#$][a-z_][\\w.]*|#![ \\S]+lasso9\\b/i,null,\"#$\"]],[[\"tag\",/^[[\\]]|<\\?(?:lasso(?:script)?|=)|\\?>|noprocess\\b|no_square_brackets\\b/i],[\"com\",/^\\/\\/[^\\r\\n]*|\\/\\*[\\s\\S]*?\\*\\//],\n[\"atn\",/^-(?!infinity)[a-z_][\\w.]*|\\.\\s*'[a-z_][\\w.]*'/i],[\"lit\",/^\\d*\\.\\d+(?:e[-+]?\\d+)?|infinity\\b|NaN\\b/i],[\"atv\",/^::\\s*[a-z_][\\w.]*/i],[\"lit\",/^(?:true|false|none|minimal|full|all|void|and|or|not|bw|nbw|ew|new|cn|ncn|lt|lte|gt|gte|eq|neq|rx|nrx|ft)\\b/i],[\"kwd\",/^(?:error_code|error_msg|error_pop|error_push|error_reset|cache|database_names|database_schemanames|database_tablenames|define_tag|define_type|email_batch|encode_set|html_comment|handle|handle_error|header|if|inline|iterate|ljax_target|link|link_currentaction|link_currentgroup|link_currentrecord|link_detail|link_firstgroup|link_firstrecord|link_lastgroup|link_lastrecord|link_nextgroup|link_nextrecord|link_prevgroup|link_prevrecord|log|loop|namespace_using|output_none|portal|private|protect|records|referer|referrer|repeating|resultset|rows|search_args|search_arguments|select|sort_args|sort_arguments|thread_atomic|value_list|while|abort|case|else|if_empty|if_false|if_null|if_true|loop_abort|loop_continue|loop_count|params|params_up|return|return_value|run_children|soap_definetag|soap_lastrequest|soap_lastresponse|tag_name|ascending|average|by|define|descending|do|equals|frozen|group|handle_failure|import|in|into|join|let|match|max|min|on|order|parent|protected|provide|public|require|returnhome|skip|split_thread|sum|take|thread|to|trait|type|where|with|yield|yieldhome)\\b/i],\n[\"typ\",/^(?:array|date|decimal|duration|integer|map|pair|string|tag|xml|null|boolean|bytes|keyword|list|locale|queue|set|stack|staticarray|local|var|variable|global|data|self|inherited|currentcapture|givenblock)\\b|^\\.\\.?/i],[\"pln\",/^[a-z_][\\w.]*(?:=\\s*(?=\\())?/i],[\"pun\",/^:=|[-+*\\/%=<>&|!?\\\\]/]]),[\"lasso\",\"ls\",\"lassoscript\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-latex.js",
    "content": "/*\n\n Copyright (C) 2011 Martin S.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"com\",/^%[^\\r\\n]*/,null,\"%\"]],[[\"kwd\",/^\\\\[a-zA-Z@]+/],[\"kwd\",/^\\\\./],[\"typ\",/^[$&]/],[\"lit\",/[+-]?(?:\\.\\d+|\\d+(?:\\.\\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],[\"pun\",/^[{}()\\[\\]=]+/]]),[\"latex\",\"tex\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-lgt.js",
    "content": "/*\n\n Copyright (C) 2014 Paulo Moura\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^\\\"(?:[^\\\"\\\\\\n\\x0C\\r]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"lit\",/^[a-z][a-zA-Z0-9_]*/],[\"lit\",/^\\'(?:[^\\'\\\\\\n\\x0C\\r]|\\\\[^&])+\\'?/,null,\"'\"],[\"lit\",/^(?:0'.|0b[0-1]+|0o[0-7]+|0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+\\-]?\\d+)?)/i,null,\"0123456789\"]],[[\"com\",/^%[^\\r\\n]*/,null,\"%\"],[\"com\",/^\\/\\*[\\s\\S]*?\\*\\//],[\"kwd\",/^\\s*:-\\s(c(a(lls|tegory)|oinductive)|p(ublic|r(ot(ocol|ected)|ivate))|e(l(if|se)|n(coding|sure_loaded)|xport)|i(f|n(clude|itialization|fo))|alias|d(ynamic|iscontiguous)|m(eta_(non_terminal|predicate)|od(e|ule)|ultifile)|reexport|s(et_(logtalk|prolog)_flag|ynchronized)|o(bject|p)|use(s|_module))/],\n[\"kwd\",/^\\s*:-\\s(e(lse|nd(if|_(category|object|protocol)))|built_in|dynamic|synchronized|threaded)/],[\"typ\",/^[A-Z_][a-zA-Z0-9_]*/],[\"pun\",/^[.,;{}:^<>=\\\\/+*?#!-]/]]),[\"logtalk\",\"lgt\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-lisp.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-ll.js",
    "content": "/*\n\n Copyright (C) 2013 Nikhil Dabas\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^!?\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"com\",/^;[^\\r\\n]*/,null,\";\"]],[[\"pln\",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\\d+)/],[\"kwd\",/^[A-Za-z_][0-9A-Za-z_]*/,null],[\"lit\",/^\\d+\\.\\d+/],[\"lit\",/^(?:\\d+|0[xX][a-fA-F0-9]+)/],[\"pun\",/^[()\\[\\]{},=*<>:]|\\.\\.\\.$/]]),[\"llvm\",\"ll\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-llvm.js",
    "content": "/*\n\n Copyright (C) 2013 Nikhil Dabas\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^!?\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"com\",/^;[^\\r\\n]*/,null,\";\"]],[[\"pln\",/^[%@!](?:[-a-zA-Z$._][-a-zA-Z$._0-9]*|\\d+)/],[\"kwd\",/^[A-Za-z_][0-9A-Za-z_]*/,null],[\"lit\",/^\\d+\\.\\d+/],[\"lit\",/^(?:\\d+|0[xX][a-fA-F0-9]+)/],[\"pun\",/^[()\\[\\]{},=*<>:]|\\.\\.\\.$/]]),[\"llvm\",\"ll\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-logtalk.js",
    "content": "/*\n\n Copyright (C) 2014 Paulo Moura\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^\\\"(?:[^\\\"\\\\\\n\\x0C\\r]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"lit\",/^[a-z][a-zA-Z0-9_]*/],[\"lit\",/^\\'(?:[^\\'\\\\\\n\\x0C\\r]|\\\\[^&])+\\'?/,null,\"'\"],[\"lit\",/^(?:0'.|0b[0-1]+|0o[0-7]+|0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+\\-]?\\d+)?)/i,null,\"0123456789\"]],[[\"com\",/^%[^\\r\\n]*/,null,\"%\"],[\"com\",/^\\/\\*[\\s\\S]*?\\*\\//],[\"kwd\",/^\\s*:-\\s(c(a(lls|tegory)|oinductive)|p(ublic|r(ot(ocol|ected)|ivate))|e(l(if|se)|n(coding|sure_loaded)|xport)|i(f|n(clude|itialization|fo))|alias|d(ynamic|iscontiguous)|m(eta_(non_terminal|predicate)|od(e|ule)|ultifile)|reexport|s(et_(logtalk|prolog)_flag|ynchronized)|o(bject|p)|use(s|_module))/],\n[\"kwd\",/^\\s*:-\\s(e(lse|nd(if|_(category|object|protocol)))|built_in|dynamic|synchronized|threaded)/],[\"typ\",/^[A-Z_][a-zA-Z0-9_]*/],[\"pun\",/^[.,;{}:^<>=\\\\/+*?#!-]/]]),[\"logtalk\",\"lgt\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-ls.js",
    "content": "/*\n\n Copyright (C) 2013 Eric Knibbe\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$)/,null,\"'\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\`[^\\`]*(?:\\`|$)/,null,\"`\"],[\"lit\",/^0x[\\da-f]+|\\d+/i,null,\"0123456789\"],[\"atn\",/^#\\d+|[#$][a-z_][\\w.]*|#![ \\S]+lasso9\\b/i,null,\"#$\"]],[[\"tag\",/^[[\\]]|<\\?(?:lasso(?:script)?|=)|\\?>|noprocess\\b|no_square_brackets\\b/i],[\"com\",/^\\/\\/[^\\r\\n]*|\\/\\*[\\s\\S]*?\\*\\//],\n[\"atn\",/^-(?!infinity)[a-z_][\\w.]*|\\.\\s*'[a-z_][\\w.]*'/i],[\"lit\",/^\\d*\\.\\d+(?:e[-+]?\\d+)?|infinity\\b|NaN\\b/i],[\"atv\",/^::\\s*[a-z_][\\w.]*/i],[\"lit\",/^(?:true|false|none|minimal|full|all|void|and|or|not|bw|nbw|ew|new|cn|ncn|lt|lte|gt|gte|eq|neq|rx|nrx|ft)\\b/i],[\"kwd\",/^(?:error_code|error_msg|error_pop|error_push|error_reset|cache|database_names|database_schemanames|database_tablenames|define_tag|define_type|email_batch|encode_set|html_comment|handle|handle_error|header|if|inline|iterate|ljax_target|link|link_currentaction|link_currentgroup|link_currentrecord|link_detail|link_firstgroup|link_firstrecord|link_lastgroup|link_lastrecord|link_nextgroup|link_nextrecord|link_prevgroup|link_prevrecord|log|loop|namespace_using|output_none|portal|private|protect|records|referer|referrer|repeating|resultset|rows|search_args|search_arguments|select|sort_args|sort_arguments|thread_atomic|value_list|while|abort|case|else|if_empty|if_false|if_null|if_true|loop_abort|loop_continue|loop_count|params|params_up|return|return_value|run_children|soap_definetag|soap_lastrequest|soap_lastresponse|tag_name|ascending|average|by|define|descending|do|equals|frozen|group|handle_failure|import|in|into|join|let|match|max|min|on|order|parent|protected|provide|public|require|returnhome|skip|split_thread|sum|take|thread|to|trait|type|where|with|yield|yieldhome)\\b/i],\n[\"typ\",/^(?:array|date|decimal|duration|integer|map|pair|string|tag|xml|null|boolean|bytes|keyword|list|locale|queue|set|stack|staticarray|local|var|variable|global|data|self|inherited|currentcapture|givenblock)\\b|^\\.\\.?/i],[\"pln\",/^[a-z_][\\w.]*(?:=\\s*(?=\\())?/i],[\"pun\",/^:=|[-+*\\/%=<>&|!?\\\\]/]]),[\"lasso\",\"ls\",\"lassoscript\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-lsp.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-lua.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^(?:\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)|\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$))/,null,\"\\\"'\"]],[[\"com\",/^--(?:\\[(=*)\\[[\\s\\S]*?(?:\\]\\1\\]|$)|[^\\r\\n]*)/],[\"str\",/^\\[(=*)\\[[\\s\\S]*?(?:\\]\\1\\]|$)/],[\"kwd\",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\\b/,null],[\"lit\",/^[+-]?(?:0x[\\da-f]+|(?:(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:e[+\\-]?\\d+)?))/i],\n[\"pln\",/^[a-z_]\\w*/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0][^\\w\\t\\n\\r \\xA0\\\"\\'\\-\\+=]*/]]),[\"lua\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-matlab.js",
    "content": "/*\n\n Copyright (c) 2013 by Amro <amroamroamro@gmail.com>\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n*/\nvar a=window.PR,b=[[a.PR_PLAIN,/^[ \\t\\r\\n\\v\\f\\xA0]+/,null,\" \\t\\r\\n\\x0B\\f\\u00a0\"],[a.PR_COMMENT,/^%\\{[^%]*%+(?:[^\\}%][^%]*%+)*\\}/,null],[a.PR_COMMENT,/^%[^\\r\\n]*/,null,\"%\"],[\"syscmd\",/^![^\\r\\n]*/,null,\"!\"]],c=[[\"linecont\",/^\\.\\.\\.\\s*[\\r\\n]/,null],[\"err\",/^\\?\\?\\? [^\\r\\n]*/,null],[\"wrn\",/^Warning: [^\\r\\n]*/,null],[\"codeoutput\",/^>>\\s+/,null],[\"codeoutput\",/^octave:\\d+>\\s+/,null],[\"lang-matlab-operators\",/^((?:[a-zA-Z][a-zA-Z0-9_]*(?:\\.[a-zA-Z][a-zA-Z0-9_]*)*|\\)|\\]|\\}|\\.)')/,null],[\"lang-matlab-identifiers\",\n/^([a-zA-Z][a-zA-Z0-9_]*(?:\\.[a-zA-Z][a-zA-Z0-9_]*)*)(?!')/,null],[a.PR_STRING,/^'(?:[^']|'')*'/,null],[a.PR_LITERAL,/^[+\\-]?\\.?\\d+(?:\\.\\d*)?(?:[Ee][+\\-]?\\d+)?[ij]?/,null],[a.PR_TAG,/^(?:\\{|\\}|\\(|\\)|\\[|\\])/,null],[a.PR_PUNCTUATION,/^(?:<|>|=|~|@|&|;|,|:|!|\\-|\\+|\\*|\\^|\\.|\\||\\\\|\\/)/,null]],d=[[\"lang-matlab-identifiers\",/^([a-zA-Z][a-zA-Z0-9_]*(?:\\.[a-zA-Z][a-zA-Z0-9_]*)*)/,null],[a.PR_TAG,/^(?:\\{|\\}|\\(|\\)|\\[|\\])/,null],[a.PR_PUNCTUATION,/^(?:<|>|=|~|@|&|;|,|:|!|\\-|\\+|\\*|\\^|\\.|\\||\\\\|\\/)/,null],[\"transpose\",\n/^'/,null]];\na.registerLangHandler(a.createSimpleLexer([],[[a.PR_KEYWORD,/^\\b(?:break|case|catch|classdef|continue|else|elseif|end|for|function|global|if|otherwise|parfor|persistent|return|spmd|switch|try|while)\\b/,null],[\"const\",/^\\b(?:true|false|inf|Inf|nan|NaN|eps|pi|ans|nargin|nargout|varargin|varargout)\\b/,null],[a.PR_TYPE,/^\\b(?:cell|struct|char|double|single|logical|u?int(?:8|16|32|64)|sparse)\\b/,null],[\"fun\",/^\\b(?:abs|accumarray|acos(?:d|h)?|acot(?:d|h)?|acsc(?:d|h)?|actxcontrol(?:list|select)?|actxGetRunningServer|actxserver|addlistener|addpath|addpref|addtodate|airy|align|alim|all|allchild|alpha|alphamap|amd|ancestor|and|angle|annotation|any|area|arrayfun|asec(?:d|h)?|asin(?:d|h)?|assert|assignin|atan(?:2|d|h)?|audiodevinfo|audioplayer|audiorecorder|aufinfo|auread|autumn|auwrite|avifile|aviinfo|aviread|axes|axis|balance|bar(?:3|3h|h)?|base2dec|beep|BeginInvoke|bench|bessel(?:h|i|j|k|y)|beta|betainc|betaincinv|betaln|bicg|bicgstab|bicgstabl|bin2dec|bitand|bitcmp|bitget|bitmax|bitnot|bitor|bitset|bitshift|bitxor|blanks|blkdiag|bone|box|brighten|brush|bsxfun|builddocsearchdb|builtin|bvp4c|bvp5c|bvpget|bvpinit|bvpset|bvpxtend|calendar|calllib|callSoapService|camdolly|cameratoolbar|camlight|camlookat|camorbit|campan|campos|camproj|camroll|camtarget|camup|camva|camzoom|cart2pol|cart2sph|cast|cat|caxis|cd|cdf2rdf|cdfepoch|cdfinfo|cdflib(?:.(?:close|closeVar|computeEpoch|computeEpoch16|create|createAttr|createVar|delete|deleteAttr|deleteAttrEntry|deleteAttrgEntry|deleteVar|deleteVarRecords|epoch16Breakdown|epochBreakdown|getAttrEntry|getAttrgEntry|getAttrMaxEntry|getAttrMaxgEntry|getAttrName|getAttrNum|getAttrScope|getCacheSize|getChecksum|getCompression|getCompressionCacheSize|getConstantNames|getConstantValue|getCopyright|getFileBackward|getFormat|getLibraryCopyright|getLibraryVersion|getMajority|getName|getNumAttrEntries|getNumAttrgEntries|getNumAttributes|getNumgAttributes|getReadOnlyMode|getStageCacheSize|getValidate|getVarAllocRecords|getVarBlockingFactor|getVarCacheSize|getVarCompression|getVarData|getVarMaxAllocRecNum|getVarMaxWrittenRecNum|getVarName|getVarNum|getVarNumRecsWritten|getVarPadValue|getVarRecordData|getVarReservePercent|getVarsMaxWrittenRecNum|getVarSparseRecords|getVersion|hyperGetVarData|hyperPutVarData|inquire|inquireAttr|inquireAttrEntry|inquireAttrgEntry|inquireVar|open|putAttrEntry|putAttrgEntry|putVarData|putVarRecordData|renameAttr|renameVar|setCacheSize|setChecksum|setCompression|setCompressionCacheSize|setFileBackward|setFormat|setMajority|setReadOnlyMode|setStageCacheSize|setValidate|setVarAllocBlockRecords|setVarBlockingFactor|setVarCacheSize|setVarCompression|setVarInitialRecs|setVarPadValue|SetVarReservePercent|setVarsCacheSize|setVarSparseRecords))?|cdfread|cdfwrite|ceil|cell2mat|cell2struct|celldisp|cellfun|cellplot|cellstr|cgs|checkcode|checkin|checkout|chol|cholinc|cholupdate|circshift|cla|clabel|class|clc|clear|clearvars|clf|clipboard|clock|close|closereq|cmopts|cmpermute|cmunique|colamd|colon|colorbar|colordef|colormap|colormapeditor|colperm|Combine|comet|comet3|commandhistory|commandwindow|compan|compass|complex|computer|cond|condeig|condest|coneplot|conj|containers.Map|contour(?:3|c|f|slice)?|contrast|conv|conv2|convhull|convhulln|convn|cool|copper|copyfile|copyobj|corrcoef|cos(?:d|h)?|cot(?:d|h)?|cov|cplxpair|cputime|createClassFromWsdl|createSoapMessage|cross|csc(?:d|h)?|csvread|csvwrite|ctranspose|cumprod|cumsum|cumtrapz|curl|customverctrl|cylinder|daqread|daspect|datacursormode|datatipinfo|date|datenum|datestr|datetick|datevec|dbclear|dbcont|dbdown|dblquad|dbmex|dbquit|dbstack|dbstatus|dbstep|dbstop|dbtype|dbup|dde23|ddeget|ddesd|ddeset|deal|deblank|dec2base|dec2bin|dec2hex|decic|deconv|del2|delaunay|delaunay3|delaunayn|DelaunayTri|delete|demo|depdir|depfun|det|detrend|deval|diag|dialog|diary|diff|diffuse|dir|disp|display|dither|divergence|dlmread|dlmwrite|dmperm|doc|docsearch|dos|dot|dragrect|drawnow|dsearch|dsearchn|dynamicprops|echo|echodemo|edit|eig|eigs|ellipj|ellipke|ellipsoid|empty|enableNETfromNetworkDrive|enableservice|EndInvoke|enumeration|eomday|eq|erf|erfc|erfcinv|erfcx|erfinv|error|errorbar|errordlg|etime|etree|etreeplot|eval|evalc|evalin|event.(?:EventData|listener|PropertyEvent|proplistener)|exifread|exist|exit|exp|expint|expm|expm1|export2wsdlg|eye|ezcontour|ezcontourf|ezmesh|ezmeshc|ezplot|ezplot3|ezpolar|ezsurf|ezsurfc|factor|factorial|fclose|feather|feature|feof|ferror|feval|fft|fft2|fftn|fftshift|fftw|fgetl|fgets|fieldnames|figure|figurepalette|fileattrib|filebrowser|filemarker|fileparts|fileread|filesep|fill|fill3|filter|filter2|find|findall|findfigs|findobj|findstr|finish|fitsdisp|fitsinfo|fitsread|fitswrite|fix|flag|flipdim|fliplr|flipud|floor|flow|fminbnd|fminsearch|fopen|format|fplot|fprintf|frame2im|fread|freqspace|frewind|fscanf|fseek|ftell|FTP|full|fullfile|func2str|functions|funm|fwrite|fzero|gallery|gamma|gammainc|gammaincinv|gammaln|gca|gcbf|gcbo|gcd|gcf|gco|ge|genpath|genvarname|get|getappdata|getenv|getfield|getframe|getpixelposition|getpref|ginput|gmres|gplot|grabcode|gradient|gray|graymon|grid|griddata(?:3|n)?|griddedInterpolant|gsvd|gt|gtext|guidata|guide|guihandles|gunzip|gzip|h5create|h5disp|h5info|h5read|h5readatt|h5write|h5writeatt|hadamard|handle|hankel|hdf|hdf5|hdf5info|hdf5read|hdf5write|hdfinfo|hdfread|hdftool|help|helpbrowser|helpdesk|helpdlg|helpwin|hess|hex2dec|hex2num|hgexport|hggroup|hgload|hgsave|hgsetget|hgtransform|hidden|hilb|hist|histc|hold|home|horzcat|hostid|hot|hsv|hsv2rgb|hypot|ichol|idivide|ifft|ifft2|ifftn|ifftshift|ilu|im2frame|im2java|imag|image|imagesc|imapprox|imfinfo|imformats|import|importdata|imread|imwrite|ind2rgb|ind2sub|inferiorto|info|inline|inmem|inpolygon|input|inputdlg|inputname|inputParser|inspect|instrcallback|instrfind|instrfindall|int2str|integral(?:2|3)?|interp(?:1|1q|2|3|ft|n)|interpstreamspeed|intersect|intmax|intmin|inv|invhilb|ipermute|isa|isappdata|iscell|iscellstr|ischar|iscolumn|isdir|isempty|isequal|isequaln|isequalwithequalnans|isfield|isfinite|isfloat|isglobal|ishandle|ishghandle|ishold|isinf|isinteger|isjava|iskeyword|isletter|islogical|ismac|ismatrix|ismember|ismethod|isnan|isnumeric|isobject|isocaps|isocolors|isonormals|isosurface|ispc|ispref|isprime|isprop|isreal|isrow|isscalar|issorted|isspace|issparse|isstr|isstrprop|isstruct|isstudent|isunix|isvarname|isvector|javaaddpath|javaArray|javachk|javaclasspath|javacomponent|javaMethod|javaMethodEDT|javaObject|javaObjectEDT|javarmpath|jet|keyboard|kron|lasterr|lasterror|lastwarn|lcm|ldivide|ldl|le|legend|legendre|length|libfunctions|libfunctionsview|libisloaded|libpointer|libstruct|license|light|lightangle|lighting|lin2mu|line|lines|linkaxes|linkdata|linkprop|linsolve|linspace|listdlg|listfonts|load|loadlibrary|loadobj|log|log10|log1p|log2|loglog|logm|logspace|lookfor|lower|ls|lscov|lsqnonneg|lsqr|lt|lu|luinc|magic|makehgtform|mat2cell|mat2str|material|matfile|matlab.io.MatFile|matlab.mixin.(?:Copyable|Heterogeneous(?:.getDefaultScalarElement)?)|matlabrc|matlabroot|max|maxNumCompThreads|mean|median|membrane|memmapfile|memory|menu|mesh|meshc|meshgrid|meshz|meta.(?:class(?:.fromName)?|DynamicProperty|EnumeratedValue|event|MetaData|method|package(?:.(?:fromName|getAllPackages))?|property)|metaclass|methods|methodsview|mex(?:.getCompilerConfigurations)?|MException|mexext|mfilename|min|minres|minus|mislocked|mkdir|mkpp|mldivide|mlint|mlintrpt|mlock|mmfileinfo|mmreader|mod|mode|more|move|movefile|movegui|movie|movie2avi|mpower|mrdivide|msgbox|mtimes|mu2lin|multibandread|multibandwrite|munlock|namelengthmax|nargchk|narginchk|nargoutchk|native2unicode|nccreate|ncdisp|nchoosek|ncinfo|ncread|ncreadatt|ncwrite|ncwriteatt|ncwriteschema|ndgrid|ndims|ne|NET(?:.(?:addAssembly|Assembly|convertArray|createArray|createGeneric|disableAutoRelease|enableAutoRelease|GenericClass|invokeGenericMethod|NetException|setStaticProperty))?|netcdf.(?:abort|close|copyAtt|create|defDim|defGrp|defVar|defVarChunking|defVarDeflate|defVarFill|defVarFletcher32|delAtt|endDef|getAtt|getChunkCache|getConstant|getConstantNames|getVar|inq|inqAtt|inqAttID|inqAttName|inqDim|inqDimID|inqDimIDs|inqFormat|inqGrpName|inqGrpNameFull|inqGrpParent|inqGrps|inqLibVers|inqNcid|inqUnlimDims|inqVar|inqVarChunking|inqVarDeflate|inqVarFill|inqVarFletcher32|inqVarID|inqVarIDs|open|putAtt|putVar|reDef|renameAtt|renameDim|renameVar|setChunkCache|setDefaultFormat|setFill|sync)|newplot|nextpow2|nnz|noanimate|nonzeros|norm|normest|not|notebook|now|nthroot|null|num2cell|num2hex|num2str|numel|nzmax|ode(?:113|15i|15s|23|23s|23t|23tb|45)|odeget|odeset|odextend|onCleanup|ones|open|openfig|opengl|openvar|optimget|optimset|or|ordeig|orderfields|ordqz|ordschur|orient|orth|pack|padecoef|pagesetupdlg|pan|pareto|parseSoapResponse|pascal|patch|path|path2rc|pathsep|pathtool|pause|pbaspect|pcg|pchip|pcode|pcolor|pdepe|pdeval|peaks|perl|perms|permute|pie|pink|pinv|planerot|playshow|plot|plot3|plotbrowser|plotedit|plotmatrix|plottools|plotyy|plus|pol2cart|polar|poly|polyarea|polyder|polyeig|polyfit|polyint|polyval|polyvalm|pow2|power|ppval|prefdir|preferences|primes|print|printdlg|printopt|printpreview|prod|profile|profsave|propedit|propertyeditor|psi|publish|PutCharArray|PutFullMatrix|PutWorkspaceData|pwd|qhull|qmr|qr|qrdelete|qrinsert|qrupdate|quad|quad2d|quadgk|quadl|quadv|questdlg|quit|quiver|quiver3|qz|rand|randi|randn|randperm|RandStream(?:.(?:create|getDefaultStream|getGlobalStream|list|setDefaultStream|setGlobalStream))?|rank|rat|rats|rbbox|rcond|rdivide|readasync|real|reallog|realmax|realmin|realpow|realsqrt|record|rectangle|rectint|recycle|reducepatch|reducevolume|refresh|refreshdata|regexp|regexpi|regexprep|regexptranslate|rehash|rem|Remove|RemoveAll|repmat|reset|reshape|residue|restoredefaultpath|rethrow|rgb2hsv|rgb2ind|rgbplot|ribbon|rmappdata|rmdir|rmfield|rmpath|rmpref|rng|roots|rose|rosser|rot90|rotate|rotate3d|round|rref|rsf2csf|run|save|saveas|saveobj|savepath|scatter|scatter3|schur|sec|secd|sech|selectmoveresize|semilogx|semilogy|sendmail|serial|set|setappdata|setdiff|setenv|setfield|setpixelposition|setpref|setstr|setxor|shading|shg|shiftdim|showplottool|shrinkfaces|sign|sin(?:d|h)?|size|slice|smooth3|snapnow|sort|sortrows|sound|soundsc|spalloc|spaugment|spconvert|spdiags|specular|speye|spfun|sph2cart|sphere|spinmap|spline|spones|spparms|sprand|sprandn|sprandsym|sprank|spring|sprintf|spy|sqrt|sqrtm|squeeze|ss2tf|sscanf|stairs|startup|std|stem|stem3|stopasync|str2double|str2func|str2mat|str2num|strcat|strcmp|strcmpi|stream2|stream3|streamline|streamparticles|streamribbon|streamslice|streamtube|strfind|strjust|strmatch|strncmp|strncmpi|strread|strrep|strtok|strtrim|struct2cell|structfun|strvcat|sub2ind|subplot|subsasgn|subsindex|subspace|subsref|substruct|subvolume|sum|summer|superclasses|superiorto|support|surf|surf2patch|surface|surfc|surfl|surfnorm|svd|svds|swapbytes|symamd|symbfact|symmlq|symrcm|symvar|system|tan(?:d|h)?|tar|tempdir|tempname|tetramesh|texlabel|text|textread|textscan|textwrap|tfqmr|throw|tic|Tiff(?:.(?:getTagNames|getVersion))?|timer|timerfind|timerfindall|times|timeseries|title|toc|todatenum|toeplitz|toolboxdir|trace|transpose|trapz|treelayout|treeplot|tril|trimesh|triplequad|triplot|TriRep|TriScatteredInterp|trisurf|triu|tscollection|tsearch|tsearchn|tstool|type|typecast|uibuttongroup|uicontextmenu|uicontrol|uigetdir|uigetfile|uigetpref|uiimport|uimenu|uiopen|uipanel|uipushtool|uiputfile|uiresume|uisave|uisetcolor|uisetfont|uisetpref|uistack|uitable|uitoggletool|uitoolbar|uiwait|uminus|undocheckout|unicode2native|union|unique|unix|unloadlibrary|unmesh|unmkpp|untar|unwrap|unzip|uplus|upper|urlread|urlwrite|usejava|userpath|validateattributes|validatestring|vander|var|vectorize|ver|verctrl|verLessThan|version|vertcat|VideoReader(?:.isPlatformSupported)?|VideoWriter(?:.getProfiles)?|view|viewmtx|visdiff|volumebounds|voronoi|voronoin|wait|waitbar|waitfor|waitforbuttonpress|warndlg|warning|waterfall|wavfinfo|wavplay|wavread|wavrecord|wavwrite|web|weekday|what|whatsnew|which|whitebg|who|whos|wilkinson|winopen|winqueryreg|winter|wk1finfo|wk1read|wk1write|workspace|xlabel|xlim|xlsfinfo|xlsread|xlswrite|xmlread|xmlwrite|xor|xslt|ylabel|ylim|zeros|zip|zlabel|zlim|zoom)\\b/,null],\n[\"fun_tbx\",/^\\b(?:addedvarplot|andrewsplot|anova(?:1|2|n)|ansaribradley|aoctool|barttest|bbdesign|beta(?:cdf|fit|inv|like|pdf|rnd|stat)|bino(?:cdf|fit|inv|pdf|rnd|stat)|biplot|bootci|bootstrp|boxplot|candexch|candgen|canoncorr|capability|capaplot|caseread|casewrite|categorical|ccdesign|cdfplot|chi2(?:cdf|gof|inv|pdf|rnd|stat)|cholcov|Classification(?:BaggedEnsemble|Discriminant(?:.(?:fit|make|template))?|Ensemble|KNN(?:.(?:fit|template))?|PartitionedEnsemble|PartitionedModel|Tree(?:.(?:fit|template))?)|classify|classregtree|cluster|clusterdata|cmdscale|combnk|Compact(?:Classification(?:Discriminant|Ensemble|Tree)|Regression(?:Ensemble|Tree)|TreeBagger)|confusionmat|controlchart|controlrules|cophenet|copula(?:cdf|fit|param|pdf|rnd|stat)|cordexch|corr|corrcov|coxphfit|createns|crosstab|crossval|cvpartition|datasample|dataset|daugment|dcovary|dendrogram|dfittool|disttool|dummyvar|dwtest|ecdf|ecdfhist|ev(?:cdf|fit|inv|like|pdf|rnd|stat)|ExhaustiveSearcher|exp(?:cdf|fit|inv|like|pdf|rnd|stat)|factoran|fcdf|ff2n|finv|fitdist|fitensemble|fpdf|fracfact|fracfactgen|friedman|frnd|fstat|fsurfht|fullfact|gagerr|gam(?:cdf|fit|inv|like|pdf|rnd|stat)|GeneralizedLinearModel(?:.fit)?|geo(?:cdf|inv|mean|pdf|rnd|stat)|gev(?:cdf|fit|inv|like|pdf|rnd|stat)|gline|glmfit|glmval|glyphplot|gmdistribution(?:.fit)?|gname|gp(?:cdf|fit|inv|like|pdf|rnd|stat)|gplotmatrix|grp2idx|grpstats|gscatter|haltonset|harmmean|hist3|histfit|hmm(?:decode|estimate|generate|train|viterbi)|hougen|hyge(?:cdf|inv|pdf|rnd|stat)|icdf|inconsistent|interactionplot|invpred|iqr|iwishrnd|jackknife|jbtest|johnsrnd|KDTreeSearcher|kmeans|knnsearch|kruskalwallis|ksdensity|kstest|kstest2|kurtosis|lasso|lassoglm|lassoPlot|leverage|lhsdesign|lhsnorm|lillietest|LinearModel(?:.fit)?|linhyptest|linkage|logn(?:cdf|fit|inv|like|pdf|rnd|stat)|lsline|mad|mahal|maineffectsplot|manova1|manovacluster|mdscale|mhsample|mle|mlecov|mnpdf|mnrfit|mnrnd|mnrval|moment|multcompare|multivarichart|mvn(?:cdf|pdf|rnd)|mvregress|mvregresslike|mvt(?:cdf|pdf|rnd)|NaiveBayes(?:.fit)?|nan(?:cov|max|mean|median|min|std|sum|var)|nbin(?:cdf|fit|inv|pdf|rnd|stat)|ncf(?:cdf|inv|pdf|rnd|stat)|nct(?:cdf|inv|pdf|rnd|stat)|ncx2(?:cdf|inv|pdf|rnd|stat)|NeighborSearcher|nlinfit|nlintool|nlmefit|nlmefitsa|nlparci|nlpredci|nnmf|nominal|NonLinearModel(?:.fit)?|norm(?:cdf|fit|inv|like|pdf|rnd|stat)|normplot|normspec|ordinal|outlierMeasure|parallelcoords|paretotails|partialcorr|pcacov|pcares|pdf|pdist|pdist2|pearsrnd|perfcurve|perms|piecewisedistribution|plsregress|poiss(?:cdf|fit|inv|pdf|rnd|tat)|polyconf|polytool|prctile|princomp|ProbDist(?:Kernel|Parametric|UnivKernel|UnivParam)?|probplot|procrustes|qqplot|qrandset|qrandstream|quantile|randg|random|randsample|randtool|range|rangesearch|ranksum|rayl(?:cdf|fit|inv|pdf|rnd|stat)|rcoplot|refcurve|refline|regress|Regression(?:BaggedEnsemble|Ensemble|PartitionedEnsemble|PartitionedModel|Tree(?:.(?:fit|template))?)|regstats|relieff|ridge|robustdemo|robustfit|rotatefactors|rowexch|rsmdemo|rstool|runstest|sampsizepwr|scatterhist|sequentialfs|signrank|signtest|silhouette|skewness|slicesample|sobolset|squareform|statget|statset|stepwise|stepwisefit|surfht|tabulate|tblread|tblwrite|tcdf|tdfread|tiedrank|tinv|tpdf|TreeBagger|treedisp|treefit|treeprune|treetest|treeval|trimmean|trnd|tstat|ttest|ttest2|unid(?:cdf|inv|pdf|rnd|stat)|unif(?:cdf|inv|it|pdf|rnd|stat)|vartest(?:2|n)?|wbl(?:cdf|fit|inv|like|pdf|rnd|stat)|wblplot|wishrnd|x2fx|xptread|zscore|ztest)\\b/,\nnull],[\"fun_tbx\",/^\\b(?:adapthisteq|analyze75info|analyze75read|applycform|applylut|axes2pix|bestblk|blockproc|bwarea|bwareaopen|bwboundaries|bwconncomp|bwconvhull|bwdist|bwdistgeodesic|bweuler|bwhitmiss|bwlabel|bwlabeln|bwmorph|bwpack|bwperim|bwselect|bwtraceboundary|bwulterode|bwunpack|checkerboard|col2im|colfilt|conndef|convmtx2|corner|cornermetric|corr2|cp2tform|cpcorr|cpselect|cpstruct2pairs|dct2|dctmtx|deconvblind|deconvlucy|deconvreg|deconvwnr|decorrstretch|demosaic|dicom(?:anon|dict|info|lookup|read|uid|write)|edge|edgetaper|entropy|entropyfilt|fan2para|fanbeam|findbounds|fliptform|freqz2|fsamp2|fspecial|ftrans2|fwind1|fwind2|getheight|getimage|getimagemodel|getline|getneighbors|getnhood|getpts|getrangefromclass|getrect|getsequence|gray2ind|graycomatrix|graycoprops|graydist|grayslice|graythresh|hdrread|hdrwrite|histeq|hough|houghlines|houghpeaks|iccfind|iccread|iccroot|iccwrite|idct2|ifanbeam|im2bw|im2col|im2double|im2int16|im2java2d|im2single|im2uint16|im2uint8|imabsdiff|imadd|imadjust|ImageAdapter|imageinfo|imagemodel|imapplymatrix|imattributes|imbothat|imclearborder|imclose|imcolormaptool|imcomplement|imcontour|imcontrast|imcrop|imdilate|imdisplayrange|imdistline|imdivide|imellipse|imerode|imextendedmax|imextendedmin|imfill|imfilter|imfindcircles|imfreehand|imfuse|imgca|imgcf|imgetfile|imhandles|imhist|imhmax|imhmin|imimposemin|imlincomb|imline|immagbox|immovie|immultiply|imnoise|imopen|imoverview|imoverviewpanel|impixel|impixelinfo|impixelinfoval|impixelregion|impixelregionpanel|implay|impoint|impoly|impositionrect|improfile|imputfile|impyramid|imreconstruct|imrect|imregconfig|imregionalmax|imregionalmin|imregister|imresize|imroi|imrotate|imsave|imscrollpanel|imshow|imshowpair|imsubtract|imtool|imtophat|imtransform|imview|ind2gray|ind2rgb|interfileinfo|interfileread|intlut|ippl|iptaddcallback|iptcheckconn|iptcheckhandle|iptcheckinput|iptcheckmap|iptchecknargin|iptcheckstrs|iptdemos|iptgetapi|iptGetPointerBehavior|iptgetpref|ipticondir|iptnum2ordinal|iptPointerManager|iptprefs|iptremovecallback|iptSetPointerBehavior|iptsetpref|iptwindowalign|iradon|isbw|isflat|isgray|isicc|isind|isnitf|isrgb|isrset|lab2double|lab2uint16|lab2uint8|label2rgb|labelmatrix|makecform|makeConstrainToRectFcn|makehdr|makelut|makeresampler|maketform|mat2gray|mean2|medfilt2|montage|nitfinfo|nitfread|nlfilter|normxcorr2|ntsc2rgb|openrset|ordfilt2|otf2psf|padarray|para2fan|phantom|poly2mask|psf2otf|qtdecomp|qtgetblk|qtsetblk|radon|rangefilt|reflect|regionprops|registration.metric.(?:MattesMutualInformation|MeanSquares)|registration.optimizer.(?:OnePlusOneEvolutionary|RegularStepGradientDescent)|rgb2gray|rgb2ntsc|rgb2ycbcr|roicolor|roifill|roifilt2|roipoly|rsetwrite|std2|stdfilt|strel|stretchlim|subimage|tformarray|tformfwd|tforminv|tonemap|translate|truesize|uintlut|viscircles|warp|watershed|whitepoint|wiener2|xyz2double|xyz2uint16|ycbcr2rgb)\\b/,\nnull],[\"fun_tbx\",/^\\b(?:bintprog|color|fgoalattain|fminbnd|fmincon|fminimax|fminsearch|fminunc|fseminf|fsolve|fzero|fzmult|gangstr|ktrlink|linprog|lsqcurvefit|lsqlin|lsqnonlin|lsqnonneg|optimget|optimset|optimtool|quadprog)\\b/,null],[\"ident\",/^[a-zA-Z][a-zA-Z0-9_]*(?:\\.[a-zA-Z][a-zA-Z0-9_]*)*/,null]]),[\"matlab-identifiers\"]);a.registerLangHandler(a.createSimpleLexer([],d),[\"matlab-operators\"]);a.registerLangHandler(a.createSimpleLexer(b,c),[\"matlab\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-ml.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"com\",/^#(?:if[\\t\\n\\r \\xA0]+(?:[a-z_$][\\w\\']*|``[^\\r\\n\\t`]*(?:``|$))|else|endif|light)/i,null,\"#\"],[\"str\",/^(?:\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)|\\'(?:[^\\'\\\\]|\\\\[\\s\\S])(?:\\'|$))/,null,\"\\\"'\"]],[[\"com\",/^(?:\\/\\/[^\\r\\n]*|\\(\\*[\\s\\S]*?\\*\\))/],[\"kwd\",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\\b/],\n[\"lit\",/^[+\\-]?(?:0x[\\da-f]+|(?:(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:e[+\\-]?\\d+)?))/i],[\"pln\",/^(?:[a-z_][\\w']*[!?#]?|``[^\\r\\n\\t`]*(?:``|$))/i],[\"pun\",/^[^\\t\\n\\r \\xA0\\\"\\'\\w]+/]]),[\"fs\",\"ml\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-mumps.js",
    "content": "/*\n\n Copyright (C) 2011 Kitware Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^(?:\"(?:[^\"]|\\\\.)*\")/,null,'\"']],[[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"dec\",/^(?:\\$(?:D|DEVICE|EC|ECODE|ES|ESTACK|ET|ETRAP|H|HOROLOG|I|IO|J|JOB|K|KEY|P|PRINCIPAL|Q|QUIT|ST|STACK|S|STORAGE|SY|SYSTEM|T|TEST|TL|TLEVEL|TR|TRESTART|X|Y|Z[A-Z]*|A|ASCII|C|CHAR|D|DATA|E|EXTRACT|F|FIND|FN|FNUMBER|G|GET|J|JUSTIFY|L|LENGTH|NA|NAME|O|ORDER|P|PIECE|QL|QLENGTH|QS|QSUBSCRIPT|Q|QUERY|R|RANDOM|RE|REVERSE|S|SELECT|ST|STACK|T|TEXT|TR|TRANSLATE|NaN))\\b/i,\nnull],[\"kwd\",/^(?:[^\\$]B|BREAK|C|CLOSE|D|DO|E|ELSE|F|FOR|G|GOTO|H|HALT|H|HANG|I|IF|J|JOB|K|KILL|L|LOCK|M|MERGE|N|NEW|O|OPEN|Q|QUIT|R|READ|S|SET|TC|TCOMMIT|TRE|TRESTART|TRO|TROLLBACK|TS|TSTART|U|USE|V|VIEW|W|WRITE|X|XECUTE)\\b/i,null],[\"lit\",/^[+-]?(?:(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:E[+\\-]?\\d+)?)/i],[\"pln\",/^[a-z][a-zA-Z0-9]*/i],[\"pun\",/^[^\\w\\t\\n\\r\\xA0\\\"\\$;%\\^]|_/]]),[\"mumps\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-n.js",
    "content": "/*\n\n Copyright (C) 2011 Zimin A.V.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^(?:\\'(?:[^\\\\\\'\\r\\n]|\\\\.)*\\'|\\\"(?:[^\\\\\\\"\\r\\n]|\\\\.)*(?:\\\"|$))/,null,'\"'],[\"com\",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\\b|[^\\r\\n]*)/,null,\"#\"],[\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]],[[\"str\",/^@\\\"(?:[^\\\"]|\\\"\\\")*(?:\\\"|$)/,null],[\"str\",/^<#(?:[^#>])*(?:#>|$)/,null],[\"str\",/^<(?:(?:(?:\\.\\.\\/)*|\\/?)(?:[\\w-]+(?:\\/[\\w-]+)+)?[\\w-]+\\.h|[a-z]\\w*)>/,null],[\"com\",/^\\/\\/[^\\r\\n]*/,\nnull],[\"com\",/^\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,null],[\"kwd\",/^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\\b/,\nnull],[\"typ\",/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\\b/,null],[\"lit\",/^@[a-z_$][a-z_$@0-9]*/i,null],[\"typ\",/^@[A-Z]+[a-z][A-Za-z_$@0-9]*/,null],[\"pln\",/^'?[A-Za-z_$][a-z_$@0-9]*/i,null],[\"lit\",/^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*/i,null,\"0123456789\"],[\"pun\",/^.[^\\s\\w\\.$@\\'\\\"\\`\\/\\#]*/,null]]),[\"n\",\"nemerle\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-nemerle.js",
    "content": "/*\n\n Copyright (C) 2011 Zimin A.V.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^(?:\\'(?:[^\\\\\\'\\r\\n]|\\\\.)*\\'|\\\"(?:[^\\\\\\\"\\r\\n]|\\\\.)*(?:\\\"|$))/,null,'\"'],[\"com\",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\\b|[^\\r\\n]*)/,null,\"#\"],[\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]],[[\"str\",/^@\\\"(?:[^\\\"]|\\\"\\\")*(?:\\\"|$)/,null],[\"str\",/^<#(?:[^#>])*(?:#>|$)/,null],[\"str\",/^<(?:(?:(?:\\.\\.\\/)*|\\/?)(?:[\\w-]+(?:\\/[\\w-]+)+)?[\\w-]+\\.h|[a-z]\\w*)>/,null],[\"com\",/^\\/\\/[^\\r\\n]*/,\nnull],[\"com\",/^\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,null],[\"kwd\",/^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\\b/,\nnull],[\"typ\",/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\\b/,null],[\"lit\",/^@[a-z_$][a-z_$@0-9]*/i,null],[\"typ\",/^@[A-Z]+[a-z][A-Za-z_$@0-9]*/,null],[\"pln\",/^'?[A-Za-z_$][a-z_$@0-9]*/i,null],[\"lit\",/^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*/i,null,\"0123456789\"],[\"pun\",/^.[^\\s\\w\\.$@\\'\\\"\\`\\/\\#]*/,null]]),[\"n\",\"nemerle\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-pascal.js",
    "content": "/*\n\n Copyright (C) 2013 Peter Kofler\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"str\",/^(?:\\'(?:[^\\\\\\'\\r\\n]|\\\\.)*(?:\\'|$))/,null,\"'\"],[\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]],[[\"com\",/^\\(\\*[\\s\\S]*?(?:\\*\\)|$)|^\\{[\\s\\S]*?(?:\\}|$)/,null],[\"kwd\",/^(?:ABSOLUTE|AND|ARRAY|ASM|ASSEMBLER|BEGIN|CASE|CONST|CONSTRUCTOR|DESTRUCTOR|DIV|DO|DOWNTO|ELSE|END|EXTERNAL|FOR|FORWARD|FUNCTION|GOTO|IF|IMPLEMENTATION|IN|INLINE|INTERFACE|INTERRUPT|LABEL|MOD|NOT|OBJECT|OF|OR|PACKED|PROCEDURE|PROGRAM|RECORD|REPEAT|SET|SHL|SHR|THEN|TO|TYPE|UNIT|UNTIL|USES|VAR|VIRTUAL|WHILE|WITH|XOR)\\b/i,\nnull],[\"lit\",/^(?:true|false|self|nil)/i,null],[\"pln\",/^[a-z][a-z0-9]*/i,null],[\"lit\",/^(?:\\$[a-f0-9]+|(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+\\-]?\\d+)?)/i,null,\"0123456789\"],[\"pun\",/^.[^\\s\\w\\.$@\\'\\/]*/,null]]),[\"pascal\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-proto.js",
    "content": "/*\n\n Copyright (C) 2006 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.sourceDecorator({keywords:\"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true\",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\\b/,cStyleComments:!0}),[\"proto\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-r.js",
    "content": "/*\n\n Copyright (C) 2012 Jeffrey B. Arnold\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$)/,null,\"'\"]],[[\"com\",/^#.*/],[\"kwd\",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],[\"lit\",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],[\"lit\",/^[+-]?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],[\"lit\",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\\.\\.(?:\\.|[0-9]+))(?![A-Za-z0-9_.])/],\n[\"pun\",/^(?:<<?-|->>?|-|==|<=|>=|<|>|&&?|!=|\\|\\|?|\\*|\\+|\\^|\\/|!|%.*?%|=|~|\\$|@|:{1,3}|[\\[\\](){};,?])/],[\"pln\",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\\.[a-zA-Z_][0-9a-zA-Z\\._]*)(?![A-Za-z0-9_.])/],[\"str\",/^`.+`/]]),[\"r\",\"s\",\"R\",\"S\",\"Splus\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-rd.js",
    "content": "/*\n\n Copyright (C) 2012 Jeffrey Arnold\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"com\",/^%[^\\r\\n]*/,null,\"%\"]],[[\"lit\",/^\\\\(?:cr|l?dots|R|tab)\\b/],[\"kwd\",/^\\\\[a-zA-Z@]+/],[\"kwd\",/^#(?:ifn?def|endif)/],[\"pln\",/^\\\\[{}]/],[\"pun\",/^[{}()\\[\\]]+/]]),[\"Rd\",\"rd\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-rkt.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-rust.js",
    "content": "/*\n\n Copyright (C) 2015 Chris Morgan\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([],[[\"pln\",/^[\\t\\n\\r \\xA0]+/],[\"com\",/^\\/\\/.*/],[\"com\",/^\\/\\*[\\s\\S]*?(?:\\*\\/|$)/],[\"str\",/^b\"(?:[^\\\\]|\\\\(?:.|x[\\da-fA-F]{2}))*?\"/],[\"str\",/^\"(?:[^\\\\]|\\\\(?:.|x[\\da-fA-F]{2}|u\\{\\[\\da-fA-F]{1,6}\\}))*?\"/],[\"str\",/^b?r(#*)\\\"[\\s\\S]*?\\\"\\1/],[\"str\",/^b'([^\\\\]|\\\\(.|x[\\da-fA-F]{2}))'/],[\"str\",/^'([^\\\\]|\\\\(.|x[\\da-fA-F]{2}|u\\{[\\da-fA-F]{1,6}\\}))'/],[\"tag\",/^'\\w+?\\b/],[\"kwd\",/^(?:match|if|else|as|break|box|continue|extern|fn|for|in|if|impl|let|loop|pub|return|super|unsafe|where|while|use|mod|trait|struct|enum|type|move|mut|ref|static|const|crate)\\b/],\n[\"kwd\",/^(?:alignof|become|do|offsetof|priv|pure|sizeof|typeof|unsized|yield|abstract|virtual|final|override|macro)\\b/],[\"typ\",/^(?:[iu](8|16|32|64|size)|char|bool|f32|f64|str|Self)\\b/],[\"typ\",/^(?:Copy|Send|Sized|Sync|Drop|Fn|FnMut|FnOnce|Box|ToOwned|Clone|PartialEq|PartialOrd|Eq|Ord|AsRef|AsMut|Into|From|Default|Iterator|Extend|IntoIterator|DoubleEndedIterator|ExactSizeIterator|Option|Some|None|Result|Ok|Err|SliceConcatExt|String|ToString|Vec)\\b/],[\"lit\",/^(self|true|false|null)\\b/],\n[\"lit\",/^\\d[0-9_]*(?:[iu](?:size|8|16|32|64))?/],[\"lit\",/^0x[a-fA-F0-9_]+(?:[iu](?:size|8|16|32|64))?/],[\"lit\",/^0o[0-7_]+(?:[iu](?:size|8|16|32|64))?/],[\"lit\",/^0b[01_]+(?:[iu](?:size|8|16|32|64))?/],[\"lit\",/^\\d[0-9_]*\\.(?![^\\s\\d.])/],[\"lit\",/^\\d[0-9_]*(?:\\.\\d[0-9_]*)(?:[eE][+-]?[0-9_]+)?(?:f32|f64)?/],[\"lit\",/^\\d[0-9_]*(?:\\.\\d[0-9_]*)?(?:[eE][+-]?[0-9_]+)(?:f32|f64)?/],[\"lit\",/^\\d[0-9_]*(?:\\.\\d[0-9_]*)?(?:[eE][+-]?[0-9_]+)?(?:f32|f64)/],\n[\"atn\",/^[a-z_]\\w*!/i],[\"pln\",/^[a-z_]\\w*/i],[\"atv\",/^#!?\\[[\\s\\S]*?\\]/],[\"pun\",/^[+\\-/*=^&|!<>%[\\](){}?:.,;]/],[\"pln\",/./]]),[\"rust\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-s.js",
    "content": "/*\n\n Copyright (C) 2012 Jeffrey B. Arnold\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"'],[\"str\",/^\\'(?:[^\\'\\\\]|\\\\[\\s\\S])*(?:\\'|$)/,null,\"'\"]],[[\"com\",/^#.*/],[\"kwd\",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![A-Za-z0-9_.])/],[\"lit\",/^0[xX][a-fA-F0-9]+([pP][0-9]+)?[Li]?/],[\"lit\",/^[+-]?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)([eE][+-]?[0-9]+)?[Li]?/],[\"lit\",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\\.\\.(?:\\.|[0-9]+))(?![A-Za-z0-9_.])/],\n[\"pun\",/^(?:<<?-|->>?|-|==|<=|>=|<|>|&&?|!=|\\|\\|?|\\*|\\+|\\^|\\/|!|%.*?%|=|~|\\$|@|:{1,3}|[\\[\\](){};,?])/],[\"pln\",/^(?:[A-Za-z]+[A-Za-z0-9_.]*|\\.[a-zA-Z_][0-9a-zA-Z\\._]*)(?![A-Za-z0-9_.])/],[\"str\",/^`.+`/]]),[\"r\",\"s\",\"R\",\"S\",\"Splus\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-scala.js",
    "content": "/*\n\n Copyright (C) 2010 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^(?:\"(?:(?:\"\"(?:\"\"?(?!\")|[^\\\\\"]|\\\\.)*\"{0,3})|(?:[^\"\\r\\n\\\\]|\\\\.)*\"?))/,null,'\"'],[\"lit\",/^`(?:[^\\r\\n\\\\`]|\\\\.)*`?/,null,\"`\"],[\"pun\",/^[!#%&()*+,\\-:;<=>?@\\[\\\\\\]^{|}~]+/,null,\"!#%&()*+,-:;<=>?@[\\\\]^{|}~\"]],[[\"str\",/^'(?:[^\\r\\n\\\\']|\\\\(?:'|[^\\r\\n']+))'/],[\"lit\",/^'[a-zA-Z_$][\\w$]*(?!['$\\w])/],[\"kwd\",/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\\b/],\n[\"lit\",/^(?:true|false|null|this)\\b/],[\"lit\",/^(?:(?:0(?:[0-7]+|X[0-9A-F]+))L?|(?:(?:0|[1-9][0-9]*)(?:(?:\\.[0-9]+)?(?:E[+\\-]?[0-9]+)?F?|L?))|\\\\.[0-9]+(?:E[+\\-]?[0-9]+)?F?)/i],[\"typ\",/^[$_]*[A-Z][_$A-Z0-9]*[a-z][\\w$]*/],[\"pln\",/^[$a-zA-Z_][\\w$]*/],[\"com\",/^\\/(?:\\/.*|\\*(?:\\/|\\**[^*/])*(?:\\*+\\/?)?)/],[\"pun\",/^(?:\\.+|\\/)/]]),[\"scala\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-scm.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-sql.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^(?:\"(?:[^\\\"\\\\]|\\\\.)*\"|'(?:[^\\'\\\\]|\\\\.)*')/,null,\"\\\"'\"]],[[\"com\",/^(?:--[^\\r\\n]*|\\/\\*[\\s\\S]*?(?:\\*\\/|$))/],[\"kwd\",/^(?:ADD|ALL|ALTER|AND|ANY|APPLY|AS|ASC|AUTHORIZATION|BACKUP|BEGIN|BETWEEN|BREAK|BROWSE|BULK|BY|CASCADE|CASE|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COMMIT|COMPUTE|CONNECT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT|CURRENT_DATE|CURRENT_TIME|CURRENT_TIMESTAMP|CURRENT_USER|CURSOR|DATABASE|DBCC|DEALLOCATE|DECLARE|DEFAULT|DELETE|DENY|DESC|DISK|DISTINCT|DISTRIBUTED|DOUBLE|DROP|DUMMY|DUMP|ELSE|END|ERRLVL|ESCAPE|EXCEPT|EXEC|EXECUTE|EXISTS|EXIT|FETCH|FILE|FILLFACTOR|FOLLOWING|FOR|FOREIGN|FREETEXT|FREETEXTTABLE|FROM|FULL|FUNCTION|GOTO|GRANT|GROUP|HAVING|HOLDLOCK|IDENTITY|IDENTITYCOL|IDENTITY_INSERT|IF|IN|INDEX|INNER|INSERT|INTERSECT|INTO|IS|JOIN|KEY|KILL|LEFT|LIKE|LINENO|LOAD|MATCH|MATCHED|MERGE|NATURAL|NATIONAL|NOCHECK|NONCLUSTERED|NOCYCLE|NOT|NULL|NULLIF|OF|OFF|OFFSETS|ON|OPEN|OPENDATASOURCE|OPENQUERY|OPENROWSET|OPENXML|OPTION|OR|ORDER|OUTER|OVER|PARTITION|PERCENT|PIVOT|PLAN|PRECEDING|PRECISION|PRIMARY|PRINT|PROC|PROCEDURE|PUBLIC|RAISERROR|READ|READTEXT|RECONFIGURE|REFERENCES|REPLICATION|RESTORE|RESTRICT|RETURN|REVOKE|RIGHT|ROLLBACK|ROWCOUNT|ROWGUIDCOL|ROWS?|RULE|SAVE|SCHEMA|SELECT|SESSION_USER|SET|SETUSER|SHUTDOWN|SOME|START|STATISTICS|SYSTEM_USER|TABLE|TEXTSIZE|THEN|TO|TOP|TRAN|TRANSACTION|TRIGGER|TRUNCATE|TSEQUAL|UNBOUNDED|UNION|UNIQUE|UNPIVOT|UPDATE|UPDATETEXT|USE|USER|USING|VALUES|VARYING|VIEW|WAITFOR|WHEN|WHERE|WHILE|WITH|WITHIN|WRITETEXT|XML)(?=[^\\w-]|$)/i,\nnull],[\"lit\",/^[+-]?(?:0x[\\da-f]+|(?:(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:e[+\\-]?\\d+)?))/i],[\"pln\",/^[a-z_][\\w-]*/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0\\\"\\'][^\\w\\t\\n\\r \\xA0+\\-\\\"\\']*/]]),[\"sql\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-ss.js",
    "content": "/*\n\n Copyright (C) 2008 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\(+/,null,\"(\"],[\"clo\",/^\\)+/,null,\")\"],[\"com\",/^;[^\\r\\n]*/,null,\";\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\\b/,\nnull],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),\"cl el lisp lsp scm ss rkt\".split(\" \"));\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-swift.js",
    "content": "/*\n\n Copyright (C) 2015 Google Inc.\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[ \\n\\r\\t\\v\\f\\0]+/,null,\" \\n\\r\\t\\v\\f\\x00\"],[\"str\",/^\"(?:[^\"\\\\]|(?:\\\\.)|(?:\\\\\\((?:[^\"\\\\)]|\\\\.)*\\)))*\"/,null,'\"']],[[\"lit\",/^(?:(?:0x[\\da-fA-F][\\da-fA-F_]*\\.[\\da-fA-F][\\da-fA-F_]*[pP]?)|(?:\\d[\\d_]*\\.\\d[\\d_]*[eE]?))[+-]?\\d[\\d_]*/,null],[\"lit\",/^-?(?:(?:0(?:(?:b[01][01_]*)|(?:o[0-7][0-7_]*)|(?:x[\\da-fA-F][\\da-fA-F_]*)))|(?:\\d[\\d_]*))/,null],[\"lit\",/^(?:true|false|nil)\\b/,null],[\"kwd\",/^\\b(?:__COLUMN__|__FILE__|__FUNCTION__|__LINE__|#available|#else|#elseif|#endif|#if|#line|arch|arm|arm64|associativity|as|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|dynamicType|else|enum|fallthrough|final|for|func|get|import|indirect|infix|init|inout|internal|i386|if|in|iOS|iOSApplicationExtension|is|lazy|left|let|mutating|none|nonmutating|operator|optional|OSX|OSXApplicationExtension|override|postfix|precedence|prefix|private|protocol|Protocol|public|required|rethrows|return|right|safe|self|set|static|struct|subscript|super|switch|throw|try|Type|typealias|unowned|unsafe|var|weak|watchOS|while|willSet|x86_64)\\b/,\nnull],[\"com\",/^\\/\\/.*?[\\n\\r]/,null],[\"com\",/^\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,null],[\"pun\",/^<<=|<=|<<|>>=|>=|>>|===|==|\\.\\.\\.|&&=|\\.\\.<|!==|!=|&=|~=|~|\\(|\\)|\\[|\\]|{|}|@|#|;|\\.|,|:|\\|\\|=|\\?\\?|\\|\\||&&|&\\*|&\\+|&-|&=|\\+=|-=|\\/=|\\*=|\\^=|%=|\\|=|->|`|==|\\+\\+|--|\\/|\\+|!|\\*|%|<|>|&|\\||\\^|\\?|=|-|_/,null],[\"typ\",/^\\b(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\\w+_t\\b)/,null]]),[\"swift\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-tcl.js",
    "content": "/*\n\n Copyright (C) 2012 Pyrios\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"opn\",/^\\{+/,null,\"{\"],[\"clo\",/^\\}+/,null,\"}\"],[\"com\",/^#[^\\r\\n]*/,null,\"#\"],[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"str\",/^\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S])*(?:\\\"|$)/,null,'\"']],[[\"kwd\",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\\b/,null],[\"lit\",/^[+\\-]?(?:[0#]x[0-9a-f]+|\\d+\\/\\d+|(?:\\.\\d+|\\d+(?:\\.\\d*)?)(?:[ed][+\\-]?\\d+)?)/i],\n[\"lit\",/^\\'(?:-*(?:\\w|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?)?/],[\"pln\",/^-*(?:[a-z_]|\\\\[\\x21-\\x7e])(?:[\\w-]*|\\\\[\\x21-\\x7e])[=!?]?/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0()\\\"\\\\\\';]+/]]),[\"tcl\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-tex.js",
    "content": "/*\n\n Copyright (C) 2011 Martin S.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"],[\"com\",/^%[^\\r\\n]*/,null,\"%\"]],[[\"kwd\",/^\\\\[a-zA-Z@]+/],[\"kwd\",/^\\\\./],[\"typ\",/^[$&]/],[\"lit\",/[+-]?(?:\\.\\d+|\\d+(?:\\.\\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],[\"pun\",/^[{}()\\[\\]=]+/]]),[\"latex\",\"tex\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-vb.js",
    "content": "/*\n\n Copyright (C) 2009 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0\\u2028\\u2029]+/,null,\"\\t\\n\\r \\u00a0\\u2028\\u2029\"],[\"str\",/^(?:[\\\"\\u201C\\u201D](?:[^\\\"\\u201C\\u201D]|[\\\"\\u201C\\u201D]{2})(?:[\\\"\\u201C\\u201D]c|$)|[\\\"\\u201C\\u201D](?:[^\\\"\\u201C\\u201D]|[\\\"\\u201C\\u201D]{2})*(?:[\\\"\\u201C\\u201D]|$))/i,null,'\"\\u201c\\u201d'],[\"com\",/^[\\'\\u2018\\u2019](?:_(?:\\r\\n?|[^\\r]?)|[^\\r\\n_\\u2028\\u2029])*/,null,\"'\\u2018\\u2019\"]],[[\"kwd\",/^(?:AddHandler|AddressOf|Alias|And|AndAlso|Ansi|As|Assembly|Auto|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|CBool|CByte|CChar|CDate|CDbl|CDec|Char|CInt|Class|CLng|CObj|Const|CShort|CSng|CStr|CType|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else|ElseIf|End|EndIf|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get|GetType|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|Let|Lib|Like|Long|Loop|Me|Mod|Module|MustInherit|MustOverride|MyBase|MyClass|Namespace|New|Next|Not|NotInheritable|NotOverridable|Object|On|Option|Optional|Or|OrElse|Overloads|Overridable|Overrides|ParamArray|Preserve|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|Select|Set|Shadows|Shared|Short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TypeOf|Unicode|Until|Variant|Wend|When|While|With|WithEvents|WriteOnly|Xor|EndIf|GoSub|Let|Variant|Wend)\\b/i,\nnull],[\"com\",/^REM\\b[^\\r\\n\\u2028\\u2029]*/i],[\"lit\",/^(?:True\\b|False\\b|Nothing\\b|\\d+(?:E[+\\-]?\\d+[FRD]?|[FRDSIL])?|(?:&H[0-9A-F]+|&O[0-7]+)[SIL]?|\\d*\\.\\d+(?:E[+\\-]?\\d+)?[FRD]?|#\\s+(?:\\d+[\\-\\/]\\d+[\\-\\/]\\d+(?:\\s+\\d+:\\d+(?::\\d+)?(\\s*(?:AM|PM))?)?|\\d+:\\d+(?::\\d+)?(\\s*(?:AM|PM))?)\\s+#)/i],[\"pln\",/^(?:(?:[a-z]|_\\w)\\w*(?:\\[[%&@!#]+\\])?|\\[(?:[a-z]|_\\w)\\w*\\])/i],[\"pun\",/^[^\\w\\t\\n\\r \\\"\\'\\[\\]\\xA0\\u2018\\u2019\\u201C\\u201D\\u2028\\u2029]+/],[\"pun\",/^(?:\\[|\\])/]]),[\"vb\",\n\"vbs\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-vbs.js",
    "content": "/*\n\n Copyright (C) 2009 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0\\u2028\\u2029]+/,null,\"\\t\\n\\r \\u00a0\\u2028\\u2029\"],[\"str\",/^(?:[\\\"\\u201C\\u201D](?:[^\\\"\\u201C\\u201D]|[\\\"\\u201C\\u201D]{2})(?:[\\\"\\u201C\\u201D]c|$)|[\\\"\\u201C\\u201D](?:[^\\\"\\u201C\\u201D]|[\\\"\\u201C\\u201D]{2})*(?:[\\\"\\u201C\\u201D]|$))/i,null,'\"\\u201c\\u201d'],[\"com\",/^[\\'\\u2018\\u2019](?:_(?:\\r\\n?|[^\\r]?)|[^\\r\\n_\\u2028\\u2029])*/,null,\"'\\u2018\\u2019\"]],[[\"kwd\",/^(?:AddHandler|AddressOf|Alias|And|AndAlso|Ansi|As|Assembly|Auto|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|CBool|CByte|CChar|CDate|CDbl|CDec|Char|CInt|Class|CLng|CObj|Const|CShort|CSng|CStr|CType|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else|ElseIf|End|EndIf|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get|GetType|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|Let|Lib|Like|Long|Loop|Me|Mod|Module|MustInherit|MustOverride|MyBase|MyClass|Namespace|New|Next|Not|NotInheritable|NotOverridable|Object|On|Option|Optional|Or|OrElse|Overloads|Overridable|Overrides|ParamArray|Preserve|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|Select|Set|Shadows|Shared|Short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TypeOf|Unicode|Until|Variant|Wend|When|While|With|WithEvents|WriteOnly|Xor|EndIf|GoSub|Let|Variant|Wend)\\b/i,\nnull],[\"com\",/^REM\\b[^\\r\\n\\u2028\\u2029]*/i],[\"lit\",/^(?:True\\b|False\\b|Nothing\\b|\\d+(?:E[+\\-]?\\d+[FRD]?|[FRDSIL])?|(?:&H[0-9A-F]+|&O[0-7]+)[SIL]?|\\d*\\.\\d+(?:E[+\\-]?\\d+)?[FRD]?|#\\s+(?:\\d+[\\-\\/]\\d+[\\-\\/]\\d+(?:\\s+\\d+:\\d+(?::\\d+)?(\\s*(?:AM|PM))?)?|\\d+:\\d+(?::\\d+)?(\\s*(?:AM|PM))?)\\s+#)/i],[\"pln\",/^(?:(?:[a-z]|_\\w)\\w*(?:\\[[%&@!#]+\\])?|\\[(?:[a-z]|_\\w)\\w*\\])/i],[\"pun\",/^[^\\w\\t\\n\\r \\\"\\'\\[\\]\\xA0\\u2018\\u2019\\u201C\\u201D\\u2028\\u2029]+/],[\"pun\",/^(?:\\[|\\])/]]),[\"vb\",\n\"vbs\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-vhd.js",
    "content": "/*\n\n Copyright (C) 2010 benoit@ryder.fr\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"]],[[\"str\",/^(?:[BOX]?\"(?:[^\\\"]|\"\")*\"|'.')/i],[\"com\",/^--[^\\r\\n]*/],[\"kwd\",/^(?:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)(?=[^\\w-]|$)/i,\nnull],[\"typ\",/^(?:bit|bit_vector|character|boolean|integer|real|time|string|severity_level|positive|natural|signed|unsigned|line|text|std_u?logic(?:_vector)?)(?=[^\\w-]|$)/i,null],[\"typ\",/^\\'(?:ACTIVE|ASCENDING|BASE|DELAYED|DRIVING|DRIVING_VALUE|EVENT|HIGH|IMAGE|INSTANCE_NAME|LAST_ACTIVE|LAST_EVENT|LAST_VALUE|LEFT|LEFTOF|LENGTH|LOW|PATH_NAME|POS|PRED|QUIET|RANGE|REVERSE_RANGE|RIGHT|RIGHTOF|SIMPLE_NAME|STABLE|SUCC|TRANSACTION|VAL|VALUE)(?=[^\\w-]|$)/i,null],[\"lit\",/^\\d+(?:_\\d+)*(?:#[\\w\\\\.]+#(?:[+\\-]?\\d+(?:_\\d+)*)?|(?:\\.\\d+(?:_\\d+)*)?(?:E[+\\-]?\\d+(?:_\\d+)*)?)/i],\n[\"pln\",/^(?:[a-z]\\w*|\\\\[^\\\\]*\\\\)/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0\\\"\\'][^\\w\\t\\n\\r \\xA0\\-\\\"\\']*/]]),[\"vhdl\",\"vhd\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-vhdl.js",
    "content": "/*\n\n Copyright (C) 2010 benoit@ryder.fr\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t\\n\\r \\xA0]+/,null,\"\\t\\n\\r \\u00a0\"]],[[\"str\",/^(?:[BOX]?\"(?:[^\\\"]|\"\")*\"|'.')/i],[\"com\",/^--[^\\r\\n]*/],[\"kwd\",/^(?:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)(?=[^\\w-]|$)/i,\nnull],[\"typ\",/^(?:bit|bit_vector|character|boolean|integer|real|time|string|severity_level|positive|natural|signed|unsigned|line|text|std_u?logic(?:_vector)?)(?=[^\\w-]|$)/i,null],[\"typ\",/^\\'(?:ACTIVE|ASCENDING|BASE|DELAYED|DRIVING|DRIVING_VALUE|EVENT|HIGH|IMAGE|INSTANCE_NAME|LAST_ACTIVE|LAST_EVENT|LAST_VALUE|LEFT|LEFTOF|LENGTH|LOW|PATH_NAME|POS|PRED|QUIET|RANGE|REVERSE_RANGE|RIGHT|RIGHTOF|SIMPLE_NAME|STABLE|SUCC|TRANSACTION|VAL|VALUE)(?=[^\\w-]|$)/i,null],[\"lit\",/^\\d+(?:_\\d+)*(?:#[\\w\\\\.]+#(?:[+\\-]?\\d+(?:_\\d+)*)?|(?:\\.\\d+(?:_\\d+)*)?(?:E[+\\-]?\\d+(?:_\\d+)*)?)/i],\n[\"pln\",/^(?:[a-z]\\w*|\\\\[^\\\\]*\\\\)/i],[\"pun\",/^[^\\w\\t\\n\\r \\xA0\\\"\\'][^\\w\\t\\n\\r \\xA0\\-\\\"\\']*/]]),[\"vhdl\",\"vhd\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-wiki.js",
    "content": "/*\n\n Copyright (C) 2009 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pln\",/^[\\t \\xA0a-gi-z0-9]+/,null,\"\\t \\u00a0abcdefgijklmnopqrstuvwxyz0123456789\"],[\"pun\",/^[=*~\\^\\[\\]]+/,null,\"=*~^[]\"]],[[\"lang-wiki.meta\",/(?:^^|\\r\\n?|\\n)(#[a-z]+)\\b/],[\"lit\",/^(?:[A-Z][a-z][a-z0-9]+[A-Z][a-z][a-zA-Z0-9]+)\\b/],[\"lang-\",/^\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/],[\"lang-\",/^`([^\\r\\n`]+)`/],[\"str\",/^https?:\\/\\/[^\\/?#\\s]*(?:\\/[^?#\\s]*)?(?:\\?[^#\\s]*)?(?:#\\S*)?/i],[\"pln\",/^(?:\\r\\n|[\\s\\S])[^#=*~^A-Zh\\{`\\[\\r\\n]*/]]),[\"wiki\"]);\nPR.registerLangHandler(PR.createSimpleLexer([[\"kwd\",/^#[a-z]+/i,null,\"#\"]],[]),[\"wiki.meta\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-xq.js",
    "content": "/*\n\n Copyright (C) 2011 Patrick Wied\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"var pln\",/^\\$[A-Za-z0-9_\\-]+/,null,\"$\"]],[[\"pln\",/^[\\s=][<>][\\s=]/],[\"lit\",/^\\@[\\w-]+/],[\"tag\",/^<\\/?[a-z](?:[\\w.:-]*\\w)?|\\/?>$/i],[\"com\",/^\\(:[\\s\\S]*?:\\)/],[\"pln\",/^[\\/\\{\\};,\\[\\]\\(\\)]$/],[\"str\",/^(?:\\\"(?:[^\\\"\\\\\\{]|\\\\[\\s\\S])*(?:\\\"|$)|\\'(?:[^\\'\\\\\\{]|\\\\[\\s\\S])*(?:\\'|$))/,null,\"\\\"'\"],[\"kwd\",/^(?:xquery|where|version|variable|union|typeswitch|treat|to|then|text|stable|sortby|some|self|schema|satisfies|returns|return|ref|processing-instruction|preceding-sibling|preceding|precedes|parent|only|of|node|namespace|module|let|item|intersect|instance|in|import|if|function|for|follows|following-sibling|following|external|except|every|else|element|descending|descendant-or-self|descendant|define|default|declare|comment|child|cast|case|before|attribute|assert|ascending|as|ancestor-or-self|ancestor|after|eq|order|by|or|and|schema-element|document-node|node|at)\\b/],\n[\"typ\",/^(?:xs:yearMonthDuration|xs:unsignedLong|xs:time|xs:string|xs:short|xs:QName|xs:Name|xs:long|xs:integer|xs:int|xs:gYearMonth|xs:gYear|xs:gMonthDay|xs:gDay|xs:float|xs:duration|xs:double|xs:decimal|xs:dayTimeDuration|xs:dateTime|xs:date|xs:byte|xs:boolean|xs:anyURI|xf:yearMonthDuration)\\b/,null],[\"fun pln\",/^(?:xp:dereference|xinc:node-expand|xinc:link-references|xinc:link-expand|xhtml:restructure|xhtml:clean|xhtml:add-lists|xdmp:zip-manifest|xdmp:zip-get|xdmp:zip-create|xdmp:xquery-version|xdmp:word-convert|xdmp:with-namespaces|xdmp:version|xdmp:value|xdmp:user-roles|xdmp:user-last-login|xdmp:user|xdmp:url-encode|xdmp:url-decode|xdmp:uri-is-file|xdmp:uri-format|xdmp:uri-content-type|xdmp:unquote|xdmp:unpath|xdmp:triggers-database|xdmp:trace|xdmp:to-json|xdmp:tidy|xdmp:subbinary|xdmp:strftime|xdmp:spawn-in|xdmp:spawn|xdmp:sleep|xdmp:shutdown|xdmp:set-session-field|xdmp:set-response-encoding|xdmp:set-response-content-type|xdmp:set-response-code|xdmp:set-request-time-limit|xdmp:set|xdmp:servers|xdmp:server-status|xdmp:server-name|xdmp:server|xdmp:security-database|xdmp:security-assert|xdmp:schema-database|xdmp:save|xdmp:role-roles|xdmp:role|xdmp:rethrow|xdmp:restart|xdmp:request-timestamp|xdmp:request-status|xdmp:request-cancel|xdmp:request|xdmp:redirect-response|xdmp:random|xdmp:quote|xdmp:query-trace|xdmp:query-meters|xdmp:product-edition|xdmp:privilege-roles|xdmp:privilege|xdmp:pretty-print|xdmp:powerpoint-convert|xdmp:platform|xdmp:permission|xdmp:pdf-convert|xdmp:path|xdmp:octal-to-integer|xdmp:node-uri|xdmp:node-replace|xdmp:node-kind|xdmp:node-insert-child|xdmp:node-insert-before|xdmp:node-insert-after|xdmp:node-delete|xdmp:node-database|xdmp:mul64|xdmp:modules-root|xdmp:modules-database|xdmp:merging|xdmp:merge-cancel|xdmp:merge|xdmp:md5|xdmp:logout|xdmp:login|xdmp:log-level|xdmp:log|xdmp:lock-release|xdmp:lock-acquire|xdmp:load|xdmp:invoke-in|xdmp:invoke|xdmp:integer-to-octal|xdmp:integer-to-hex|xdmp:http-put|xdmp:http-post|xdmp:http-options|xdmp:http-head|xdmp:http-get|xdmp:http-delete|xdmp:hosts|xdmp:host-status|xdmp:host-name|xdmp:host|xdmp:hex-to-integer|xdmp:hash64|xdmp:hash32|xdmp:has-privilege|xdmp:groups|xdmp:group-serves|xdmp:group-servers|xdmp:group-name|xdmp:group-hosts|xdmp:group|xdmp:get-session-field-names|xdmp:get-session-field|xdmp:get-response-encoding|xdmp:get-response-code|xdmp:get-request-username|xdmp:get-request-user|xdmp:get-request-url|xdmp:get-request-protocol|xdmp:get-request-path|xdmp:get-request-method|xdmp:get-request-header-names|xdmp:get-request-header|xdmp:get-request-field-names|xdmp:get-request-field-filename|xdmp:get-request-field-content-type|xdmp:get-request-field|xdmp:get-request-client-certificate|xdmp:get-request-client-address|xdmp:get-request-body|xdmp:get-current-user|xdmp:get-current-roles|xdmp:get|xdmp:function-name|xdmp:function-module|xdmp:function|xdmp:from-json|xdmp:forests|xdmp:forest-status|xdmp:forest-restore|xdmp:forest-restart|xdmp:forest-name|xdmp:forest-delete|xdmp:forest-databases|xdmp:forest-counts|xdmp:forest-clear|xdmp:forest-backup|xdmp:forest|xdmp:filesystem-file|xdmp:filesystem-directory|xdmp:exists|xdmp:excel-convert|xdmp:eval-in|xdmp:eval|xdmp:estimate|xdmp:email|xdmp:element-content-type|xdmp:elapsed-time|xdmp:document-set-quality|xdmp:document-set-property|xdmp:document-set-properties|xdmp:document-set-permissions|xdmp:document-set-collections|xdmp:document-remove-properties|xdmp:document-remove-permissions|xdmp:document-remove-collections|xdmp:document-properties|xdmp:document-locks|xdmp:document-load|xdmp:document-insert|xdmp:document-get-quality|xdmp:document-get-properties|xdmp:document-get-permissions|xdmp:document-get-collections|xdmp:document-get|xdmp:document-forest|xdmp:document-delete|xdmp:document-add-properties|xdmp:document-add-permissions|xdmp:document-add-collections|xdmp:directory-properties|xdmp:directory-locks|xdmp:directory-delete|xdmp:directory-create|xdmp:directory|xdmp:diacritic-less|xdmp:describe|xdmp:default-permissions|xdmp:default-collections|xdmp:databases|xdmp:database-restore-validate|xdmp:database-restore-status|xdmp:database-restore-cancel|xdmp:database-restore|xdmp:database-name|xdmp:database-forests|xdmp:database-backup-validate|xdmp:database-backup-status|xdmp:database-backup-purge|xdmp:database-backup-cancel|xdmp:database-backup|xdmp:database|xdmp:collection-properties|xdmp:collection-locks|xdmp:collection-delete|xdmp:collation-canonical-uri|xdmp:castable-as|xdmp:can-grant-roles|xdmp:base64-encode|xdmp:base64-decode|xdmp:architecture|xdmp:apply|xdmp:amp-roles|xdmp:amp|xdmp:add64|xdmp:add-response-header|xdmp:access|trgr:trigger-set-recursive|trgr:trigger-set-permissions|trgr:trigger-set-name|trgr:trigger-set-module|trgr:trigger-set-event|trgr:trigger-set-description|trgr:trigger-remove-permissions|trgr:trigger-module|trgr:trigger-get-permissions|trgr:trigger-enable|trgr:trigger-disable|trgr:trigger-database-online-event|trgr:trigger-data-event|trgr:trigger-add-permissions|trgr:remove-trigger|trgr:property-content|trgr:pre-commit|trgr:post-commit|trgr:get-trigger-by-id|trgr:get-trigger|trgr:document-scope|trgr:document-content|trgr:directory-scope|trgr:create-trigger|trgr:collection-scope|trgr:any-property-content|thsr:set-entry|thsr:remove-term|thsr:remove-synonym|thsr:remove-entry|thsr:query-lookup|thsr:lookup|thsr:load|thsr:insert|thsr:expand|thsr:add-synonym|spell:suggest-detailed|spell:suggest|spell:remove-word|spell:make-dictionary|spell:load|spell:levenshtein-distance|spell:is-correct|spell:insert|spell:double-metaphone|spell:add-word|sec:users-collection|sec:user-set-roles|sec:user-set-password|sec:user-set-name|sec:user-set-description|sec:user-set-default-permissions|sec:user-set-default-collections|sec:user-remove-roles|sec:user-privileges|sec:user-get-roles|sec:user-get-description|sec:user-get-default-permissions|sec:user-get-default-collections|sec:user-doc-permissions|sec:user-doc-collections|sec:user-add-roles|sec:unprotect-collection|sec:uid-for-name|sec:set-realm|sec:security-version|sec:security-namespace|sec:security-installed|sec:security-collection|sec:roles-collection|sec:role-set-roles|sec:role-set-name|sec:role-set-description|sec:role-set-default-permissions|sec:role-set-default-collections|sec:role-remove-roles|sec:role-privileges|sec:role-get-roles|sec:role-get-description|sec:role-get-default-permissions|sec:role-get-default-collections|sec:role-doc-permissions|sec:role-doc-collections|sec:role-add-roles|sec:remove-user|sec:remove-role-from-users|sec:remove-role-from-role|sec:remove-role-from-privileges|sec:remove-role-from-amps|sec:remove-role|sec:remove-privilege|sec:remove-amp|sec:protect-collection|sec:privileges-collection|sec:privilege-set-roles|sec:privilege-set-name|sec:privilege-remove-roles|sec:privilege-get-roles|sec:privilege-add-roles|sec:priv-doc-permissions|sec:priv-doc-collections|sec:get-user-names|sec:get-unique-elem-id|sec:get-role-names|sec:get-role-ids|sec:get-privilege|sec:get-distinct-permissions|sec:get-collection|sec:get-amp|sec:create-user-with-role|sec:create-user|sec:create-role|sec:create-privilege|sec:create-amp|sec:collections-collection|sec:collection-set-permissions|sec:collection-remove-permissions|sec:collection-get-permissions|sec:collection-add-permissions|sec:check-admin|sec:amps-collection|sec:amp-set-roles|sec:amp-remove-roles|sec:amp-get-roles|sec:amp-doc-permissions|sec:amp-doc-collections|sec:amp-add-roles|search:unparse|search:suggest|search:snippet|search:search|search:resolve-nodes|search:resolve|search:remove-constraint|search:parse|search:get-default-options|search:estimate|search:check-options|prof:value|prof:reset|prof:report|prof:invoke|prof:eval|prof:enable|prof:disable|prof:allowed|ppt:clean|pki:template-set-request|pki:template-set-name|pki:template-set-key-type|pki:template-set-key-options|pki:template-set-description|pki:template-in-use|pki:template-get-version|pki:template-get-request|pki:template-get-name|pki:template-get-key-type|pki:template-get-key-options|pki:template-get-id|pki:template-get-description|pki:need-certificate|pki:is-temporary|pki:insert-trusted-certificates|pki:insert-template|pki:insert-signed-certificates|pki:insert-certificate-revocation-list|pki:get-trusted-certificate-ids|pki:get-template-ids|pki:get-template-certificate-authority|pki:get-template-by-name|pki:get-template|pki:get-pending-certificate-requests-xml|pki:get-pending-certificate-requests-pem|pki:get-pending-certificate-request|pki:get-certificates-for-template-xml|pki:get-certificates-for-template|pki:get-certificates|pki:get-certificate-xml|pki:get-certificate-pem|pki:get-certificate|pki:generate-temporary-certificate-if-necessary|pki:generate-temporary-certificate|pki:generate-template-certificate-authority|pki:generate-certificate-request|pki:delete-template|pki:delete-certificate|pki:create-template|pdf:make-toc|pdf:insert-toc-headers|pdf:get-toc|pdf:clean|p:status-transition|p:state-transition|p:remove|p:pipelines|p:insert|p:get-by-id|p:get|p:execute|p:create|p:condition|p:collection|p:action|ooxml:runs-merge|ooxml:package-uris|ooxml:package-parts-insert|ooxml:package-parts|msword:clean|mcgm:polygon|mcgm:point|mcgm:geospatial-query-from-elements|mcgm:geospatial-query|mcgm:circle|math:tanh|math:tan|math:sqrt|math:sinh|math:sin|math:pow|math:modf|math:log10|math:log|math:ldexp|math:frexp|math:fmod|math:floor|math:fabs|math:exp|math:cosh|math:cos|math:ceil|math:atan2|math:atan|math:asin|math:acos|map:put|map:map|map:keys|map:get|map:delete|map:count|map:clear|lnk:to|lnk:remove|lnk:insert|lnk:get|lnk:from|lnk:create|kml:polygon|kml:point|kml:interior-polygon|kml:geospatial-query-from-elements|kml:geospatial-query|kml:circle|kml:box|gml:polygon|gml:point|gml:interior-polygon|gml:geospatial-query-from-elements|gml:geospatial-query|gml:circle|gml:box|georss:point|georss:geospatial-query|georss:circle|geo:polygon|geo:point|geo:interior-polygon|geo:geospatial-query-from-elements|geo:geospatial-query|geo:circle|geo:box|fn:zero-or-one|fn:years-from-duration|fn:year-from-dateTime|fn:year-from-date|fn:upper-case|fn:unordered|fn:true|fn:translate|fn:trace|fn:tokenize|fn:timezone-from-time|fn:timezone-from-dateTime|fn:timezone-from-date|fn:sum|fn:subtract-dateTimes-yielding-yearMonthDuration|fn:subtract-dateTimes-yielding-dayTimeDuration|fn:substring-before|fn:substring-after|fn:substring|fn:subsequence|fn:string-to-codepoints|fn:string-pad|fn:string-length|fn:string-join|fn:string|fn:static-base-uri|fn:starts-with|fn:seconds-from-time|fn:seconds-from-duration|fn:seconds-from-dateTime|fn:round-half-to-even|fn:round|fn:root|fn:reverse|fn:resolve-uri|fn:resolve-QName|fn:replace|fn:remove|fn:QName|fn:prefix-from-QName|fn:position|fn:one-or-more|fn:number|fn:not|fn:normalize-unicode|fn:normalize-space|fn:node-name|fn:node-kind|fn:nilled|fn:namespace-uri-from-QName|fn:namespace-uri-for-prefix|fn:namespace-uri|fn:name|fn:months-from-duration|fn:month-from-dateTime|fn:month-from-date|fn:minutes-from-time|fn:minutes-from-duration|fn:minutes-from-dateTime|fn:min|fn:max|fn:matches|fn:lower-case|fn:local-name-from-QName|fn:local-name|fn:last|fn:lang|fn:iri-to-uri|fn:insert-before|fn:index-of|fn:in-scope-prefixes|fn:implicit-timezone|fn:idref|fn:id|fn:hours-from-time|fn:hours-from-duration|fn:hours-from-dateTime|fn:floor|fn:false|fn:expanded-QName|fn:exists|fn:exactly-one|fn:escape-uri|fn:escape-html-uri|fn:error|fn:ends-with|fn:encode-for-uri|fn:empty|fn:document-uri|fn:doc-available|fn:doc|fn:distinct-values|fn:distinct-nodes|fn:default-collation|fn:deep-equal|fn:days-from-duration|fn:day-from-dateTime|fn:day-from-date|fn:data|fn:current-time|fn:current-dateTime|fn:current-date|fn:count|fn:contains|fn:concat|fn:compare|fn:collection|fn:codepoints-to-string|fn:codepoint-equal|fn:ceiling|fn:boolean|fn:base-uri|fn:avg|fn:adjust-time-to-timezone|fn:adjust-dateTime-to-timezone|fn:adjust-date-to-timezone|fn:abs|feed:unsubscribe|feed:subscription|feed:subscribe|feed:request|feed:item|feed:description|excel:clean|entity:enrich|dom:set-pipelines|dom:set-permissions|dom:set-name|dom:set-evaluation-context|dom:set-domain-scope|dom:set-description|dom:remove-pipeline|dom:remove-permissions|dom:remove|dom:get|dom:evaluation-context|dom:domains|dom:domain-scope|dom:create|dom:configuration-set-restart-user|dom:configuration-set-permissions|dom:configuration-set-evaluation-context|dom:configuration-set-default-domain|dom:configuration-get|dom:configuration-create|dom:collection|dom:add-pipeline|dom:add-permissions|dls:retention-rules|dls:retention-rule-remove|dls:retention-rule-insert|dls:retention-rule|dls:purge|dls:node-expand|dls:link-references|dls:link-expand|dls:documents-query|dls:document-versions-query|dls:document-version-uri|dls:document-version-query|dls:document-version-delete|dls:document-version-as-of|dls:document-version|dls:document-update|dls:document-unmanage|dls:document-set-quality|dls:document-set-property|dls:document-set-properties|dls:document-set-permissions|dls:document-set-collections|dls:document-retention-rules|dls:document-remove-properties|dls:document-remove-permissions|dls:document-remove-collections|dls:document-purge|dls:document-manage|dls:document-is-managed|dls:document-insert-and-manage|dls:document-include-query|dls:document-history|dls:document-get-permissions|dls:document-extract-part|dls:document-delete|dls:document-checkout-status|dls:document-checkout|dls:document-checkin|dls:document-add-properties|dls:document-add-permissions|dls:document-add-collections|dls:break-checkout|dls:author-query|dls:as-of-query|dbk:convert|dbg:wait|dbg:value|dbg:stopped|dbg:stop|dbg:step|dbg:status|dbg:stack|dbg:out|dbg:next|dbg:line|dbg:invoke|dbg:function|dbg:finish|dbg:expr|dbg:eval|dbg:disconnect|dbg:detach|dbg:continue|dbg:connect|dbg:clear|dbg:breakpoints|dbg:break|dbg:attached|dbg:attach|cvt:save-converted-documents|cvt:part-uri|cvt:destination-uri|cvt:basepath|cvt:basename|cts:words|cts:word-query-weight|cts:word-query-text|cts:word-query-options|cts:word-query|cts:word-match|cts:walk|cts:uris|cts:uri-match|cts:train|cts:tokenize|cts:thresholds|cts:stem|cts:similar-query-weight|cts:similar-query-nodes|cts:similar-query|cts:shortest-distance|cts:search|cts:score|cts:reverse-query-weight|cts:reverse-query-nodes|cts:reverse-query|cts:remainder|cts:registered-query-weight|cts:registered-query-options|cts:registered-query-ids|cts:registered-query|cts:register|cts:query|cts:quality|cts:properties-query-query|cts:properties-query|cts:polygon-vertices|cts:polygon|cts:point-longitude|cts:point-latitude|cts:point|cts:or-query-queries|cts:or-query|cts:not-query-weight|cts:not-query-query|cts:not-query|cts:near-query-weight|cts:near-query-queries|cts:near-query-options|cts:near-query-distance|cts:near-query|cts:highlight|cts:geospatial-co-occurrences|cts:frequency|cts:fitness|cts:field-words|cts:field-word-query-weight|cts:field-word-query-text|cts:field-word-query-options|cts:field-word-query-field-name|cts:field-word-query|cts:field-word-match|cts:entity-highlight|cts:element-words|cts:element-word-query-weight|cts:element-word-query-text|cts:element-word-query-options|cts:element-word-query-element-name|cts:element-word-query|cts:element-word-match|cts:element-values|cts:element-value-ranges|cts:element-value-query-weight|cts:element-value-query-text|cts:element-value-query-options|cts:element-value-query-element-name|cts:element-value-query|cts:element-value-match|cts:element-value-geospatial-co-occurrences|cts:element-value-co-occurrences|cts:element-range-query-weight|cts:element-range-query-value|cts:element-range-query-options|cts:element-range-query-operator|cts:element-range-query-element-name|cts:element-range-query|cts:element-query-query|cts:element-query-element-name|cts:element-query|cts:element-pair-geospatial-values|cts:element-pair-geospatial-value-match|cts:element-pair-geospatial-query-weight|cts:element-pair-geospatial-query-region|cts:element-pair-geospatial-query-options|cts:element-pair-geospatial-query-longitude-name|cts:element-pair-geospatial-query-latitude-name|cts:element-pair-geospatial-query-element-name|cts:element-pair-geospatial-query|cts:element-pair-geospatial-boxes|cts:element-geospatial-values|cts:element-geospatial-value-match|cts:element-geospatial-query-weight|cts:element-geospatial-query-region|cts:element-geospatial-query-options|cts:element-geospatial-query-element-name|cts:element-geospatial-query|cts:element-geospatial-boxes|cts:element-child-geospatial-values|cts:element-child-geospatial-value-match|cts:element-child-geospatial-query-weight|cts:element-child-geospatial-query-region|cts:element-child-geospatial-query-options|cts:element-child-geospatial-query-element-name|cts:element-child-geospatial-query-child-name|cts:element-child-geospatial-query|cts:element-child-geospatial-boxes|cts:element-attribute-words|cts:element-attribute-word-query-weight|cts:element-attribute-word-query-text|cts:element-attribute-word-query-options|cts:element-attribute-word-query-element-name|cts:element-attribute-word-query-attribute-name|cts:element-attribute-word-query|cts:element-attribute-word-match|cts:element-attribute-values|cts:element-attribute-value-ranges|cts:element-attribute-value-query-weight|cts:element-attribute-value-query-text|cts:element-attribute-value-query-options|cts:element-attribute-value-query-element-name|cts:element-attribute-value-query-attribute-name|cts:element-attribute-value-query|cts:element-attribute-value-match|cts:element-attribute-value-geospatial-co-occurrences|cts:element-attribute-value-co-occurrences|cts:element-attribute-range-query-weight|cts:element-attribute-range-query-value|cts:element-attribute-range-query-options|cts:element-attribute-range-query-operator|cts:element-attribute-range-query-element-name|cts:element-attribute-range-query-attribute-name|cts:element-attribute-range-query|cts:element-attribute-pair-geospatial-values|cts:element-attribute-pair-geospatial-value-match|cts:element-attribute-pair-geospatial-query-weight|cts:element-attribute-pair-geospatial-query-region|cts:element-attribute-pair-geospatial-query-options|cts:element-attribute-pair-geospatial-query-longitude-name|cts:element-attribute-pair-geospatial-query-latitude-name|cts:element-attribute-pair-geospatial-query-element-name|cts:element-attribute-pair-geospatial-query|cts:element-attribute-pair-geospatial-boxes|cts:document-query-uris|cts:document-query|cts:distance|cts:directory-query-uris|cts:directory-query-depth|cts:directory-query|cts:destination|cts:deregister|cts:contains|cts:confidence|cts:collections|cts:collection-query-uris|cts:collection-query|cts:collection-match|cts:classify|cts:circle-radius|cts:circle-center|cts:circle|cts:box-west|cts:box-south|cts:box-north|cts:box-east|cts:box|cts:bearing|cts:arc-intersection|cts:and-query-queries|cts:and-query-options|cts:and-query|cts:and-not-query-positive-query|cts:and-not-query-negative-query|cts:and-not-query|css:get|css:convert|cpf:success|cpf:failure|cpf:document-set-state|cpf:document-set-processing-status|cpf:document-set-last-updated|cpf:document-set-error|cpf:document-get-state|cpf:document-get-processing-status|cpf:document-get-last-updated|cpf:document-get-error|cpf:check-transition|alert:spawn-matching-actions|alert:rule-user-id-query|alert:rule-set-user-id|alert:rule-set-query|alert:rule-set-options|alert:rule-set-name|alert:rule-set-description|alert:rule-set-action|alert:rule-remove|alert:rule-name-query|alert:rule-insert|alert:rule-id-query|alert:rule-get-user-id|alert:rule-get-query|alert:rule-get-options|alert:rule-get-name|alert:rule-get-id|alert:rule-get-description|alert:rule-get-action|alert:rule-action-query|alert:remove-triggers|alert:make-rule|alert:make-log-action|alert:make-config|alert:make-action|alert:invoke-matching-actions|alert:get-my-rules|alert:get-all-rules|alert:get-actions|alert:find-matching-rules|alert:create-triggers|alert:config-set-uri|alert:config-set-trigger-ids|alert:config-set-options|alert:config-set-name|alert:config-set-description|alert:config-set-cpf-domain-names|alert:config-set-cpf-domain-ids|alert:config-insert|alert:config-get-uri|alert:config-get-trigger-ids|alert:config-get-options|alert:config-get-name|alert:config-get-id|alert:config-get-description|alert:config-get-cpf-domain-names|alert:config-get-cpf-domain-ids|alert:config-get|alert:config-delete|alert:action-set-options|alert:action-set-name|alert:action-set-module-root|alert:action-set-module-db|alert:action-set-module|alert:action-set-description|alert:action-remove|alert:action-insert|alert:action-get-options|alert:action-get-name|alert:action-get-module-root|alert:action-get-module-db|alert:action-get-module|alert:action-get-description|zero-or-one|years-from-duration|year-from-dateTime|year-from-date|upper-case|unordered|true|translate|trace|tokenize|timezone-from-time|timezone-from-dateTime|timezone-from-date|sum|subtract-dateTimes-yielding-yearMonthDuration|subtract-dateTimes-yielding-dayTimeDuration|substring-before|substring-after|substring|subsequence|string-to-codepoints|string-pad|string-length|string-join|string|static-base-uri|starts-with|seconds-from-time|seconds-from-duration|seconds-from-dateTime|round-half-to-even|round|root|reverse|resolve-uri|resolve-QName|replace|remove|QName|prefix-from-QName|position|one-or-more|number|not|normalize-unicode|normalize-space|node-name|node-kind|nilled|namespace-uri-from-QName|namespace-uri-for-prefix|namespace-uri|name|months-from-duration|month-from-dateTime|month-from-date|minutes-from-time|minutes-from-duration|minutes-from-dateTime|min|max|matches|lower-case|local-name-from-QName|local-name|last|lang|iri-to-uri|insert-before|index-of|in-scope-prefixes|implicit-timezone|idref|id|hours-from-time|hours-from-duration|hours-from-dateTime|floor|false|expanded-QName|exists|exactly-one|escape-uri|escape-html-uri|error|ends-with|encode-for-uri|empty|document-uri|doc-available|doc|distinct-values|distinct-nodes|default-collation|deep-equal|days-from-duration|day-from-dateTime|day-from-date|data|current-time|current-dateTime|current-date|count|contains|concat|compare|collection|codepoints-to-string|codepoint-equal|ceiling|boolean|base-uri|avg|adjust-time-to-timezone|adjust-dateTime-to-timezone|adjust-date-to-timezone|abs)\\b/],\n[\"pln\",/^[A-Za-z0-9_\\-\\:]+/],[\"pln\",/^[\\t\\n\\r \\xA0]+/]]),[\"xq\",\"xquery\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-xquery.js",
    "content": "/*\n\n Copyright (C) 2011 Patrick Wied\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"var pln\",/^\\$[A-Za-z0-9_\\-]+/,null,\"$\"]],[[\"pln\",/^[\\s=][<>][\\s=]/],[\"lit\",/^\\@[\\w-]+/],[\"tag\",/^<\\/?[a-z](?:[\\w.:-]*\\w)?|\\/?>$/i],[\"com\",/^\\(:[\\s\\S]*?:\\)/],[\"pln\",/^[\\/\\{\\};,\\[\\]\\(\\)]$/],[\"str\",/^(?:\\\"(?:[^\\\"\\\\\\{]|\\\\[\\s\\S])*(?:\\\"|$)|\\'(?:[^\\'\\\\\\{]|\\\\[\\s\\S])*(?:\\'|$))/,null,\"\\\"'\"],[\"kwd\",/^(?:xquery|where|version|variable|union|typeswitch|treat|to|then|text|stable|sortby|some|self|schema|satisfies|returns|return|ref|processing-instruction|preceding-sibling|preceding|precedes|parent|only|of|node|namespace|module|let|item|intersect|instance|in|import|if|function|for|follows|following-sibling|following|external|except|every|else|element|descending|descendant-or-self|descendant|define|default|declare|comment|child|cast|case|before|attribute|assert|ascending|as|ancestor-or-self|ancestor|after|eq|order|by|or|and|schema-element|document-node|node|at)\\b/],\n[\"typ\",/^(?:xs:yearMonthDuration|xs:unsignedLong|xs:time|xs:string|xs:short|xs:QName|xs:Name|xs:long|xs:integer|xs:int|xs:gYearMonth|xs:gYear|xs:gMonthDay|xs:gDay|xs:float|xs:duration|xs:double|xs:decimal|xs:dayTimeDuration|xs:dateTime|xs:date|xs:byte|xs:boolean|xs:anyURI|xf:yearMonthDuration)\\b/,null],[\"fun pln\",/^(?:xp:dereference|xinc:node-expand|xinc:link-references|xinc:link-expand|xhtml:restructure|xhtml:clean|xhtml:add-lists|xdmp:zip-manifest|xdmp:zip-get|xdmp:zip-create|xdmp:xquery-version|xdmp:word-convert|xdmp:with-namespaces|xdmp:version|xdmp:value|xdmp:user-roles|xdmp:user-last-login|xdmp:user|xdmp:url-encode|xdmp:url-decode|xdmp:uri-is-file|xdmp:uri-format|xdmp:uri-content-type|xdmp:unquote|xdmp:unpath|xdmp:triggers-database|xdmp:trace|xdmp:to-json|xdmp:tidy|xdmp:subbinary|xdmp:strftime|xdmp:spawn-in|xdmp:spawn|xdmp:sleep|xdmp:shutdown|xdmp:set-session-field|xdmp:set-response-encoding|xdmp:set-response-content-type|xdmp:set-response-code|xdmp:set-request-time-limit|xdmp:set|xdmp:servers|xdmp:server-status|xdmp:server-name|xdmp:server|xdmp:security-database|xdmp:security-assert|xdmp:schema-database|xdmp:save|xdmp:role-roles|xdmp:role|xdmp:rethrow|xdmp:restart|xdmp:request-timestamp|xdmp:request-status|xdmp:request-cancel|xdmp:request|xdmp:redirect-response|xdmp:random|xdmp:quote|xdmp:query-trace|xdmp:query-meters|xdmp:product-edition|xdmp:privilege-roles|xdmp:privilege|xdmp:pretty-print|xdmp:powerpoint-convert|xdmp:platform|xdmp:permission|xdmp:pdf-convert|xdmp:path|xdmp:octal-to-integer|xdmp:node-uri|xdmp:node-replace|xdmp:node-kind|xdmp:node-insert-child|xdmp:node-insert-before|xdmp:node-insert-after|xdmp:node-delete|xdmp:node-database|xdmp:mul64|xdmp:modules-root|xdmp:modules-database|xdmp:merging|xdmp:merge-cancel|xdmp:merge|xdmp:md5|xdmp:logout|xdmp:login|xdmp:log-level|xdmp:log|xdmp:lock-release|xdmp:lock-acquire|xdmp:load|xdmp:invoke-in|xdmp:invoke|xdmp:integer-to-octal|xdmp:integer-to-hex|xdmp:http-put|xdmp:http-post|xdmp:http-options|xdmp:http-head|xdmp:http-get|xdmp:http-delete|xdmp:hosts|xdmp:host-status|xdmp:host-name|xdmp:host|xdmp:hex-to-integer|xdmp:hash64|xdmp:hash32|xdmp:has-privilege|xdmp:groups|xdmp:group-serves|xdmp:group-servers|xdmp:group-name|xdmp:group-hosts|xdmp:group|xdmp:get-session-field-names|xdmp:get-session-field|xdmp:get-response-encoding|xdmp:get-response-code|xdmp:get-request-username|xdmp:get-request-user|xdmp:get-request-url|xdmp:get-request-protocol|xdmp:get-request-path|xdmp:get-request-method|xdmp:get-request-header-names|xdmp:get-request-header|xdmp:get-request-field-names|xdmp:get-request-field-filename|xdmp:get-request-field-content-type|xdmp:get-request-field|xdmp:get-request-client-certificate|xdmp:get-request-client-address|xdmp:get-request-body|xdmp:get-current-user|xdmp:get-current-roles|xdmp:get|xdmp:function-name|xdmp:function-module|xdmp:function|xdmp:from-json|xdmp:forests|xdmp:forest-status|xdmp:forest-restore|xdmp:forest-restart|xdmp:forest-name|xdmp:forest-delete|xdmp:forest-databases|xdmp:forest-counts|xdmp:forest-clear|xdmp:forest-backup|xdmp:forest|xdmp:filesystem-file|xdmp:filesystem-directory|xdmp:exists|xdmp:excel-convert|xdmp:eval-in|xdmp:eval|xdmp:estimate|xdmp:email|xdmp:element-content-type|xdmp:elapsed-time|xdmp:document-set-quality|xdmp:document-set-property|xdmp:document-set-properties|xdmp:document-set-permissions|xdmp:document-set-collections|xdmp:document-remove-properties|xdmp:document-remove-permissions|xdmp:document-remove-collections|xdmp:document-properties|xdmp:document-locks|xdmp:document-load|xdmp:document-insert|xdmp:document-get-quality|xdmp:document-get-properties|xdmp:document-get-permissions|xdmp:document-get-collections|xdmp:document-get|xdmp:document-forest|xdmp:document-delete|xdmp:document-add-properties|xdmp:document-add-permissions|xdmp:document-add-collections|xdmp:directory-properties|xdmp:directory-locks|xdmp:directory-delete|xdmp:directory-create|xdmp:directory|xdmp:diacritic-less|xdmp:describe|xdmp:default-permissions|xdmp:default-collections|xdmp:databases|xdmp:database-restore-validate|xdmp:database-restore-status|xdmp:database-restore-cancel|xdmp:database-restore|xdmp:database-name|xdmp:database-forests|xdmp:database-backup-validate|xdmp:database-backup-status|xdmp:database-backup-purge|xdmp:database-backup-cancel|xdmp:database-backup|xdmp:database|xdmp:collection-properties|xdmp:collection-locks|xdmp:collection-delete|xdmp:collation-canonical-uri|xdmp:castable-as|xdmp:can-grant-roles|xdmp:base64-encode|xdmp:base64-decode|xdmp:architecture|xdmp:apply|xdmp:amp-roles|xdmp:amp|xdmp:add64|xdmp:add-response-header|xdmp:access|trgr:trigger-set-recursive|trgr:trigger-set-permissions|trgr:trigger-set-name|trgr:trigger-set-module|trgr:trigger-set-event|trgr:trigger-set-description|trgr:trigger-remove-permissions|trgr:trigger-module|trgr:trigger-get-permissions|trgr:trigger-enable|trgr:trigger-disable|trgr:trigger-database-online-event|trgr:trigger-data-event|trgr:trigger-add-permissions|trgr:remove-trigger|trgr:property-content|trgr:pre-commit|trgr:post-commit|trgr:get-trigger-by-id|trgr:get-trigger|trgr:document-scope|trgr:document-content|trgr:directory-scope|trgr:create-trigger|trgr:collection-scope|trgr:any-property-content|thsr:set-entry|thsr:remove-term|thsr:remove-synonym|thsr:remove-entry|thsr:query-lookup|thsr:lookup|thsr:load|thsr:insert|thsr:expand|thsr:add-synonym|spell:suggest-detailed|spell:suggest|spell:remove-word|spell:make-dictionary|spell:load|spell:levenshtein-distance|spell:is-correct|spell:insert|spell:double-metaphone|spell:add-word|sec:users-collection|sec:user-set-roles|sec:user-set-password|sec:user-set-name|sec:user-set-description|sec:user-set-default-permissions|sec:user-set-default-collections|sec:user-remove-roles|sec:user-privileges|sec:user-get-roles|sec:user-get-description|sec:user-get-default-permissions|sec:user-get-default-collections|sec:user-doc-permissions|sec:user-doc-collections|sec:user-add-roles|sec:unprotect-collection|sec:uid-for-name|sec:set-realm|sec:security-version|sec:security-namespace|sec:security-installed|sec:security-collection|sec:roles-collection|sec:role-set-roles|sec:role-set-name|sec:role-set-description|sec:role-set-default-permissions|sec:role-set-default-collections|sec:role-remove-roles|sec:role-privileges|sec:role-get-roles|sec:role-get-description|sec:role-get-default-permissions|sec:role-get-default-collections|sec:role-doc-permissions|sec:role-doc-collections|sec:role-add-roles|sec:remove-user|sec:remove-role-from-users|sec:remove-role-from-role|sec:remove-role-from-privileges|sec:remove-role-from-amps|sec:remove-role|sec:remove-privilege|sec:remove-amp|sec:protect-collection|sec:privileges-collection|sec:privilege-set-roles|sec:privilege-set-name|sec:privilege-remove-roles|sec:privilege-get-roles|sec:privilege-add-roles|sec:priv-doc-permissions|sec:priv-doc-collections|sec:get-user-names|sec:get-unique-elem-id|sec:get-role-names|sec:get-role-ids|sec:get-privilege|sec:get-distinct-permissions|sec:get-collection|sec:get-amp|sec:create-user-with-role|sec:create-user|sec:create-role|sec:create-privilege|sec:create-amp|sec:collections-collection|sec:collection-set-permissions|sec:collection-remove-permissions|sec:collection-get-permissions|sec:collection-add-permissions|sec:check-admin|sec:amps-collection|sec:amp-set-roles|sec:amp-remove-roles|sec:amp-get-roles|sec:amp-doc-permissions|sec:amp-doc-collections|sec:amp-add-roles|search:unparse|search:suggest|search:snippet|search:search|search:resolve-nodes|search:resolve|search:remove-constraint|search:parse|search:get-default-options|search:estimate|search:check-options|prof:value|prof:reset|prof:report|prof:invoke|prof:eval|prof:enable|prof:disable|prof:allowed|ppt:clean|pki:template-set-request|pki:template-set-name|pki:template-set-key-type|pki:template-set-key-options|pki:template-set-description|pki:template-in-use|pki:template-get-version|pki:template-get-request|pki:template-get-name|pki:template-get-key-type|pki:template-get-key-options|pki:template-get-id|pki:template-get-description|pki:need-certificate|pki:is-temporary|pki:insert-trusted-certificates|pki:insert-template|pki:insert-signed-certificates|pki:insert-certificate-revocation-list|pki:get-trusted-certificate-ids|pki:get-template-ids|pki:get-template-certificate-authority|pki:get-template-by-name|pki:get-template|pki:get-pending-certificate-requests-xml|pki:get-pending-certificate-requests-pem|pki:get-pending-certificate-request|pki:get-certificates-for-template-xml|pki:get-certificates-for-template|pki:get-certificates|pki:get-certificate-xml|pki:get-certificate-pem|pki:get-certificate|pki:generate-temporary-certificate-if-necessary|pki:generate-temporary-certificate|pki:generate-template-certificate-authority|pki:generate-certificate-request|pki:delete-template|pki:delete-certificate|pki:create-template|pdf:make-toc|pdf:insert-toc-headers|pdf:get-toc|pdf:clean|p:status-transition|p:state-transition|p:remove|p:pipelines|p:insert|p:get-by-id|p:get|p:execute|p:create|p:condition|p:collection|p:action|ooxml:runs-merge|ooxml:package-uris|ooxml:package-parts-insert|ooxml:package-parts|msword:clean|mcgm:polygon|mcgm:point|mcgm:geospatial-query-from-elements|mcgm:geospatial-query|mcgm:circle|math:tanh|math:tan|math:sqrt|math:sinh|math:sin|math:pow|math:modf|math:log10|math:log|math:ldexp|math:frexp|math:fmod|math:floor|math:fabs|math:exp|math:cosh|math:cos|math:ceil|math:atan2|math:atan|math:asin|math:acos|map:put|map:map|map:keys|map:get|map:delete|map:count|map:clear|lnk:to|lnk:remove|lnk:insert|lnk:get|lnk:from|lnk:create|kml:polygon|kml:point|kml:interior-polygon|kml:geospatial-query-from-elements|kml:geospatial-query|kml:circle|kml:box|gml:polygon|gml:point|gml:interior-polygon|gml:geospatial-query-from-elements|gml:geospatial-query|gml:circle|gml:box|georss:point|georss:geospatial-query|georss:circle|geo:polygon|geo:point|geo:interior-polygon|geo:geospatial-query-from-elements|geo:geospatial-query|geo:circle|geo:box|fn:zero-or-one|fn:years-from-duration|fn:year-from-dateTime|fn:year-from-date|fn:upper-case|fn:unordered|fn:true|fn:translate|fn:trace|fn:tokenize|fn:timezone-from-time|fn:timezone-from-dateTime|fn:timezone-from-date|fn:sum|fn:subtract-dateTimes-yielding-yearMonthDuration|fn:subtract-dateTimes-yielding-dayTimeDuration|fn:substring-before|fn:substring-after|fn:substring|fn:subsequence|fn:string-to-codepoints|fn:string-pad|fn:string-length|fn:string-join|fn:string|fn:static-base-uri|fn:starts-with|fn:seconds-from-time|fn:seconds-from-duration|fn:seconds-from-dateTime|fn:round-half-to-even|fn:round|fn:root|fn:reverse|fn:resolve-uri|fn:resolve-QName|fn:replace|fn:remove|fn:QName|fn:prefix-from-QName|fn:position|fn:one-or-more|fn:number|fn:not|fn:normalize-unicode|fn:normalize-space|fn:node-name|fn:node-kind|fn:nilled|fn:namespace-uri-from-QName|fn:namespace-uri-for-prefix|fn:namespace-uri|fn:name|fn:months-from-duration|fn:month-from-dateTime|fn:month-from-date|fn:minutes-from-time|fn:minutes-from-duration|fn:minutes-from-dateTime|fn:min|fn:max|fn:matches|fn:lower-case|fn:local-name-from-QName|fn:local-name|fn:last|fn:lang|fn:iri-to-uri|fn:insert-before|fn:index-of|fn:in-scope-prefixes|fn:implicit-timezone|fn:idref|fn:id|fn:hours-from-time|fn:hours-from-duration|fn:hours-from-dateTime|fn:floor|fn:false|fn:expanded-QName|fn:exists|fn:exactly-one|fn:escape-uri|fn:escape-html-uri|fn:error|fn:ends-with|fn:encode-for-uri|fn:empty|fn:document-uri|fn:doc-available|fn:doc|fn:distinct-values|fn:distinct-nodes|fn:default-collation|fn:deep-equal|fn:days-from-duration|fn:day-from-dateTime|fn:day-from-date|fn:data|fn:current-time|fn:current-dateTime|fn:current-date|fn:count|fn:contains|fn:concat|fn:compare|fn:collection|fn:codepoints-to-string|fn:codepoint-equal|fn:ceiling|fn:boolean|fn:base-uri|fn:avg|fn:adjust-time-to-timezone|fn:adjust-dateTime-to-timezone|fn:adjust-date-to-timezone|fn:abs|feed:unsubscribe|feed:subscription|feed:subscribe|feed:request|feed:item|feed:description|excel:clean|entity:enrich|dom:set-pipelines|dom:set-permissions|dom:set-name|dom:set-evaluation-context|dom:set-domain-scope|dom:set-description|dom:remove-pipeline|dom:remove-permissions|dom:remove|dom:get|dom:evaluation-context|dom:domains|dom:domain-scope|dom:create|dom:configuration-set-restart-user|dom:configuration-set-permissions|dom:configuration-set-evaluation-context|dom:configuration-set-default-domain|dom:configuration-get|dom:configuration-create|dom:collection|dom:add-pipeline|dom:add-permissions|dls:retention-rules|dls:retention-rule-remove|dls:retention-rule-insert|dls:retention-rule|dls:purge|dls:node-expand|dls:link-references|dls:link-expand|dls:documents-query|dls:document-versions-query|dls:document-version-uri|dls:document-version-query|dls:document-version-delete|dls:document-version-as-of|dls:document-version|dls:document-update|dls:document-unmanage|dls:document-set-quality|dls:document-set-property|dls:document-set-properties|dls:document-set-permissions|dls:document-set-collections|dls:document-retention-rules|dls:document-remove-properties|dls:document-remove-permissions|dls:document-remove-collections|dls:document-purge|dls:document-manage|dls:document-is-managed|dls:document-insert-and-manage|dls:document-include-query|dls:document-history|dls:document-get-permissions|dls:document-extract-part|dls:document-delete|dls:document-checkout-status|dls:document-checkout|dls:document-checkin|dls:document-add-properties|dls:document-add-permissions|dls:document-add-collections|dls:break-checkout|dls:author-query|dls:as-of-query|dbk:convert|dbg:wait|dbg:value|dbg:stopped|dbg:stop|dbg:step|dbg:status|dbg:stack|dbg:out|dbg:next|dbg:line|dbg:invoke|dbg:function|dbg:finish|dbg:expr|dbg:eval|dbg:disconnect|dbg:detach|dbg:continue|dbg:connect|dbg:clear|dbg:breakpoints|dbg:break|dbg:attached|dbg:attach|cvt:save-converted-documents|cvt:part-uri|cvt:destination-uri|cvt:basepath|cvt:basename|cts:words|cts:word-query-weight|cts:word-query-text|cts:word-query-options|cts:word-query|cts:word-match|cts:walk|cts:uris|cts:uri-match|cts:train|cts:tokenize|cts:thresholds|cts:stem|cts:similar-query-weight|cts:similar-query-nodes|cts:similar-query|cts:shortest-distance|cts:search|cts:score|cts:reverse-query-weight|cts:reverse-query-nodes|cts:reverse-query|cts:remainder|cts:registered-query-weight|cts:registered-query-options|cts:registered-query-ids|cts:registered-query|cts:register|cts:query|cts:quality|cts:properties-query-query|cts:properties-query|cts:polygon-vertices|cts:polygon|cts:point-longitude|cts:point-latitude|cts:point|cts:or-query-queries|cts:or-query|cts:not-query-weight|cts:not-query-query|cts:not-query|cts:near-query-weight|cts:near-query-queries|cts:near-query-options|cts:near-query-distance|cts:near-query|cts:highlight|cts:geospatial-co-occurrences|cts:frequency|cts:fitness|cts:field-words|cts:field-word-query-weight|cts:field-word-query-text|cts:field-word-query-options|cts:field-word-query-field-name|cts:field-word-query|cts:field-word-match|cts:entity-highlight|cts:element-words|cts:element-word-query-weight|cts:element-word-query-text|cts:element-word-query-options|cts:element-word-query-element-name|cts:element-word-query|cts:element-word-match|cts:element-values|cts:element-value-ranges|cts:element-value-query-weight|cts:element-value-query-text|cts:element-value-query-options|cts:element-value-query-element-name|cts:element-value-query|cts:element-value-match|cts:element-value-geospatial-co-occurrences|cts:element-value-co-occurrences|cts:element-range-query-weight|cts:element-range-query-value|cts:element-range-query-options|cts:element-range-query-operator|cts:element-range-query-element-name|cts:element-range-query|cts:element-query-query|cts:element-query-element-name|cts:element-query|cts:element-pair-geospatial-values|cts:element-pair-geospatial-value-match|cts:element-pair-geospatial-query-weight|cts:element-pair-geospatial-query-region|cts:element-pair-geospatial-query-options|cts:element-pair-geospatial-query-longitude-name|cts:element-pair-geospatial-query-latitude-name|cts:element-pair-geospatial-query-element-name|cts:element-pair-geospatial-query|cts:element-pair-geospatial-boxes|cts:element-geospatial-values|cts:element-geospatial-value-match|cts:element-geospatial-query-weight|cts:element-geospatial-query-region|cts:element-geospatial-query-options|cts:element-geospatial-query-element-name|cts:element-geospatial-query|cts:element-geospatial-boxes|cts:element-child-geospatial-values|cts:element-child-geospatial-value-match|cts:element-child-geospatial-query-weight|cts:element-child-geospatial-query-region|cts:element-child-geospatial-query-options|cts:element-child-geospatial-query-element-name|cts:element-child-geospatial-query-child-name|cts:element-child-geospatial-query|cts:element-child-geospatial-boxes|cts:element-attribute-words|cts:element-attribute-word-query-weight|cts:element-attribute-word-query-text|cts:element-attribute-word-query-options|cts:element-attribute-word-query-element-name|cts:element-attribute-word-query-attribute-name|cts:element-attribute-word-query|cts:element-attribute-word-match|cts:element-attribute-values|cts:element-attribute-value-ranges|cts:element-attribute-value-query-weight|cts:element-attribute-value-query-text|cts:element-attribute-value-query-options|cts:element-attribute-value-query-element-name|cts:element-attribute-value-query-attribute-name|cts:element-attribute-value-query|cts:element-attribute-value-match|cts:element-attribute-value-geospatial-co-occurrences|cts:element-attribute-value-co-occurrences|cts:element-attribute-range-query-weight|cts:element-attribute-range-query-value|cts:element-attribute-range-query-options|cts:element-attribute-range-query-operator|cts:element-attribute-range-query-element-name|cts:element-attribute-range-query-attribute-name|cts:element-attribute-range-query|cts:element-attribute-pair-geospatial-values|cts:element-attribute-pair-geospatial-value-match|cts:element-attribute-pair-geospatial-query-weight|cts:element-attribute-pair-geospatial-query-region|cts:element-attribute-pair-geospatial-query-options|cts:element-attribute-pair-geospatial-query-longitude-name|cts:element-attribute-pair-geospatial-query-latitude-name|cts:element-attribute-pair-geospatial-query-element-name|cts:element-attribute-pair-geospatial-query|cts:element-attribute-pair-geospatial-boxes|cts:document-query-uris|cts:document-query|cts:distance|cts:directory-query-uris|cts:directory-query-depth|cts:directory-query|cts:destination|cts:deregister|cts:contains|cts:confidence|cts:collections|cts:collection-query-uris|cts:collection-query|cts:collection-match|cts:classify|cts:circle-radius|cts:circle-center|cts:circle|cts:box-west|cts:box-south|cts:box-north|cts:box-east|cts:box|cts:bearing|cts:arc-intersection|cts:and-query-queries|cts:and-query-options|cts:and-query|cts:and-not-query-positive-query|cts:and-not-query-negative-query|cts:and-not-query|css:get|css:convert|cpf:success|cpf:failure|cpf:document-set-state|cpf:document-set-processing-status|cpf:document-set-last-updated|cpf:document-set-error|cpf:document-get-state|cpf:document-get-processing-status|cpf:document-get-last-updated|cpf:document-get-error|cpf:check-transition|alert:spawn-matching-actions|alert:rule-user-id-query|alert:rule-set-user-id|alert:rule-set-query|alert:rule-set-options|alert:rule-set-name|alert:rule-set-description|alert:rule-set-action|alert:rule-remove|alert:rule-name-query|alert:rule-insert|alert:rule-id-query|alert:rule-get-user-id|alert:rule-get-query|alert:rule-get-options|alert:rule-get-name|alert:rule-get-id|alert:rule-get-description|alert:rule-get-action|alert:rule-action-query|alert:remove-triggers|alert:make-rule|alert:make-log-action|alert:make-config|alert:make-action|alert:invoke-matching-actions|alert:get-my-rules|alert:get-all-rules|alert:get-actions|alert:find-matching-rules|alert:create-triggers|alert:config-set-uri|alert:config-set-trigger-ids|alert:config-set-options|alert:config-set-name|alert:config-set-description|alert:config-set-cpf-domain-names|alert:config-set-cpf-domain-ids|alert:config-insert|alert:config-get-uri|alert:config-get-trigger-ids|alert:config-get-options|alert:config-get-name|alert:config-get-id|alert:config-get-description|alert:config-get-cpf-domain-names|alert:config-get-cpf-domain-ids|alert:config-get|alert:config-delete|alert:action-set-options|alert:action-set-name|alert:action-set-module-root|alert:action-set-module-db|alert:action-set-module|alert:action-set-description|alert:action-remove|alert:action-insert|alert:action-get-options|alert:action-get-name|alert:action-get-module-root|alert:action-get-module-db|alert:action-get-module|alert:action-get-description|zero-or-one|years-from-duration|year-from-dateTime|year-from-date|upper-case|unordered|true|translate|trace|tokenize|timezone-from-time|timezone-from-dateTime|timezone-from-date|sum|subtract-dateTimes-yielding-yearMonthDuration|subtract-dateTimes-yielding-dayTimeDuration|substring-before|substring-after|substring|subsequence|string-to-codepoints|string-pad|string-length|string-join|string|static-base-uri|starts-with|seconds-from-time|seconds-from-duration|seconds-from-dateTime|round-half-to-even|round|root|reverse|resolve-uri|resolve-QName|replace|remove|QName|prefix-from-QName|position|one-or-more|number|not|normalize-unicode|normalize-space|node-name|node-kind|nilled|namespace-uri-from-QName|namespace-uri-for-prefix|namespace-uri|name|months-from-duration|month-from-dateTime|month-from-date|minutes-from-time|minutes-from-duration|minutes-from-dateTime|min|max|matches|lower-case|local-name-from-QName|local-name|last|lang|iri-to-uri|insert-before|index-of|in-scope-prefixes|implicit-timezone|idref|id|hours-from-time|hours-from-duration|hours-from-dateTime|floor|false|expanded-QName|exists|exactly-one|escape-uri|escape-html-uri|error|ends-with|encode-for-uri|empty|document-uri|doc-available|doc|distinct-values|distinct-nodes|default-collation|deep-equal|days-from-duration|day-from-dateTime|day-from-date|data|current-time|current-dateTime|current-date|count|contains|concat|compare|collection|codepoints-to-string|codepoint-equal|ceiling|boolean|base-uri|avg|adjust-time-to-timezone|adjust-dateTime-to-timezone|adjust-date-to-timezone|abs)\\b/],\n[\"pln\",/^[A-Za-z0-9_\\-\\:]+/],[\"pln\",/^[\\t\\n\\r \\xA0]+/]]),[\"xq\",\"xquery\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-yaml.js",
    "content": "/*\n\n Copyright (C) 2015 ribrdb @ code.google.com\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pun\",/^[:|>?]+/,null,\":|>?\"],[\"dec\",/^%(?:YAML|TAG)[^#\\r\\n]+/,null,\"%\"],[\"typ\",/^[&]\\S+/,null,\"&\"],[\"typ\",/^!\\S*/,null,\"!\"],[\"str\",/^\"(?:[^\\\\\"]|\\\\.)*(?:\"|$)/,null,'\"'],[\"str\",/^'(?:[^']|'')*(?:'|$)/,null,\"'\"],[\"com\",/^#[^\\r\\n]*/,null,\"#\"],[\"pln\",/^\\s+/,null,\" \\t\\r\\n\"]],[[\"dec\",/^(?:---|\\.\\.\\.)(?:[\\r\\n]|$)/],[\"pun\",/^-/],[\"kwd\",/^[\\w-]+:[ \\r\\n]/],[\"pln\",\n/^\\w+/]]),[\"yaml\",\"yml\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/lang-yml.js",
    "content": "/*\n\n Copyright (C) 2015 ribrdb @ code.google.com\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nPR.registerLangHandler(PR.createSimpleLexer([[\"pun\",/^[:|>?]+/,null,\":|>?\"],[\"dec\",/^%(?:YAML|TAG)[^#\\r\\n]+/,null,\"%\"],[\"typ\",/^[&]\\S+/,null,\"&\"],[\"typ\",/^!\\S*/,null,\"!\"],[\"str\",/^\"(?:[^\\\\\"]|\\\\.)*(?:\"|$)/,null,'\"'],[\"str\",/^'(?:[^']|'')*(?:'|$)/,null,\"'\"],[\"com\",/^#[^\\r\\n]*/,null,\"#\"],[\"pln\",/^\\s+/,null,\" \\t\\r\\n\"]],[[\"dec\",/^(?:---|\\.\\.\\.)(?:[\\r\\n]|$)/],[\"pun\",/^-/],[\"kwd\",/^[\\w-]+:[ \\r\\n]/],[\"pln\",\n/^\\w+/]]),[\"yaml\",\"yml\"]);\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/prettify.css",
    "content": ".pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}"
  },
  {
    "path": "public/apidoc/vendor/prettify/prettify.js",
    "content": "!function(){/*\n\n Copyright (C) 2006 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nwindow.PR_SHOULD_USE_CONTINUATION=!0;\n(function(){function T(a){function d(e){var b=e.charCodeAt(0);if(92!==b)return b;var a=e.charAt(1);return(b=w[a])?b:\"0\"<=a&&\"7\">=a?parseInt(e.substring(1),8):\"u\"===a||\"x\"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function f(e){if(32>e)return(16>e?\"\\\\x0\":\"\\\\x\")+e.toString(16);e=String.fromCharCode(e);return\"\\\\\"===e||\"-\"===e||\"]\"===e||\"^\"===e?\"\\\\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]/g);e=\n[];var a=\"^\"===b[0],c=[\"[\"];a&&c.push(\"^\");for(var a=a?1:0,g=b.length;a<g;++a){var h=b[a];if(/\\\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),k;a+2<g&&\"-\"===b[a+1]?(k=d(b[a+2]),a+=2):k=h;e.push([h,k]);65>k||122<h||(65>k||90<h||e.push([Math.max(65,h)|32,Math.min(k,90)|32]),97>k||122<h||e.push([Math.max(97,h)&-33,Math.min(k,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];g=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=g[1]+1?g[1]=Math.max(g[1],h[1]):b.push(g=h);for(a=0;a<b.length;++a)h=b[a],\nc.push(f(h[0])),h[1]>h[0]&&(h[1]+1>h[0]&&c.push(\"-\"),c.push(f(h[1])));c.push(\"]\");return c.join(\"\")}function v(e){for(var a=e.source.match(/(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)/g),c=a.length,d=[],g=0,h=0;g<c;++g){var k=a[g];\"(\"===k?++h:\"\\\\\"===k.charAt(0)&&(k=+k.substring(1))&&(k<=h?d[k]=-1:a[g]=f(k))}for(g=1;g<d.length;++g)-1===d[g]&&(d[g]=++A);for(h=g=0;g<c;++g)k=a[g],\"(\"===k?(++h,d[h]||(a[g]=\"(?:\")):\"\\\\\"===\nk.charAt(0)&&(k=+k.substring(1))&&k<=h&&(a[g]=\"\\\\\"+d[k]);for(g=0;g<c;++g)\"^\"===a[g]&&\"^\"!==a[g+1]&&(a[g]=\"\");if(e.ignoreCase&&n)for(g=0;g<c;++g)k=a[g],e=k.charAt(0),2<=k.length&&\"[\"===e?a[g]=b(k):\"\\\\\"!==e&&(a[g]=k.replace(/[a-zA-Z]/g,function(a){a=a.charCodeAt(0);return\"[\"+String.fromCharCode(a&-33,a|32)+\"]\"}));return a.join(\"\")}for(var A=0,n=!1,l=!1,m=0,c=a.length;m<c;++m){var p=a[m];if(p.ignoreCase)l=!0;else if(/[a-z]/i.test(p.source.replace(/\\\\u[0-9a-f]{4}|\\\\x[0-9a-f]{2}|\\\\[^ux]/gi,\"\"))){n=!0;\nl=!1;break}}for(var w={b:8,t:9,n:10,v:11,f:12,r:13},r=[],m=0,c=a.length;m<c;++m){p=a[m];if(p.global||p.multiline)throw Error(\"\"+p);r.push(\"(?:\"+v(p)+\")\")}return new RegExp(r.join(\"|\"),l?\"gi\":\"g\")}function U(a,d){function f(a){var c=a.nodeType;if(1==c){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)f(c);c=a.nodeName.toLowerCase();if(\"br\"===c||\"li\"===c)v[l]=\"\\n\",n[l<<1]=A++,n[l++<<1|1]=a}}else if(3==c||4==c)c=a.nodeValue,c.length&&(c=d?c.replace(/\\r\\n?/g,\"\\n\"):c.replace(/[ \\t\\r\\n]+/g,\n\" \"),v[l]=c,n[l<<1]=A,A+=c.length,n[l++<<1|1]=a)}var b=/(?:^|\\s)nocode(?:\\s|$)/,v=[],A=0,n=[],l=0;f(a);return{a:v.join(\"\").replace(/\\n$/,\"\"),c:n}}function J(a,d,f,b,v){f&&(a={h:a,l:1,j:null,m:null,a:f,c:null,i:d,g:null},b(a),v.push.apply(v,a.g))}function V(a){for(var d=void 0,f=a.firstChild;f;f=f.nextSibling)var b=f.nodeType,d=1===b?d?a:f:3===b?W.test(f.nodeValue)?a:d:d;return d===a?void 0:d}function G(a,d){function f(a){for(var l=a.i,m=a.h,c=[l,\"pln\"],p=0,w=a.a.match(v)||[],r={},e=0,t=w.length;e<\nt;++e){var z=w[e],q=r[z],g=void 0,h;if(\"string\"===typeof q)h=!1;else{var k=b[z.charAt(0)];if(k)g=z.match(k[1]),q=k[0];else{for(h=0;h<A;++h)if(k=d[h],g=z.match(k[1])){q=k[0];break}g||(q=\"pln\")}!(h=5<=q.length&&\"lang-\"===q.substring(0,5))||g&&\"string\"===typeof g[1]||(h=!1,q=\"src\");h||(r[z]=q)}k=p;p+=z.length;if(h){h=g[1];var B=z.indexOf(h),D=B+h.length;g[2]&&(D=z.length-g[2].length,B=D-h.length);q=q.substring(5);J(m,l+k,z.substring(0,B),f,c);J(m,l+k+B,h,K(q,h),c);J(m,l+k+D,z.substring(D),f,c)}else c.push(l+\nk,q)}a.g=c}var b={},v;(function(){for(var f=a.concat(d),l=[],m={},c=0,p=f.length;c<p;++c){var w=f[c],r=w[3];if(r)for(var e=r.length;0<=--e;)b[r.charAt(e)]=w;w=w[1];r=\"\"+w;m.hasOwnProperty(r)||(l.push(w),m[r]=null)}l.push(/[\\0-\\uffff]/);v=T(l)})();var A=d.length;return f}function y(a){var d=[],f=[];a.tripleQuotedStrings?d.push([\"str\",/^(?:\\'\\'\\'(?:[^\\'\\\\]|\\\\[\\s\\S]|\\'{1,2}(?=[^\\']))*(?:\\'\\'\\'|$)|\\\"\\\"\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S]|\\\"{1,2}(?=[^\\\"]))*(?:\\\"\\\"\\\"|$)|\\'(?:[^\\\\\\']|\\\\[\\s\\S])*(?:\\'|$)|\\\"(?:[^\\\\\\\"]|\\\\[\\s\\S])*(?:\\\"|$))/,\nnull,\"'\\\"\"]):a.multiLineStrings?d.push([\"str\",/^(?:\\'(?:[^\\\\\\']|\\\\[\\s\\S])*(?:\\'|$)|\\\"(?:[^\\\\\\\"]|\\\\[\\s\\S])*(?:\\\"|$)|\\`(?:[^\\\\\\`]|\\\\[\\s\\S])*(?:\\`|$))/,null,\"'\\\"`\"]):d.push([\"str\",/^(?:\\'(?:[^\\\\\\'\\r\\n]|\\\\.)*(?:\\'|$)|\\\"(?:[^\\\\\\\"\\r\\n]|\\\\.)*(?:\\\"|$))/,null,\"\\\"'\"]);a.verbatimStrings&&f.push([\"str\",/^@\\\"(?:[^\\\"]|\\\"\\\")*(?:\\\"|$)/,null]);var b=a.hashComments;b&&(a.cStyleComments?(1<b?d.push([\"com\",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,\"#\"]):d.push([\"com\",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\\b|[^\\r\\n]*)/,\nnull,\"#\"]),f.push([\"str\",/^<(?:(?:(?:\\.\\.\\/)*|\\/?)(?:[\\w-]+(?:\\/[\\w-]+)+)?[\\w-]+\\.h(?:h|pp|\\+\\+)?|[a-z]\\w*)>/,null])):d.push([\"com\",/^#[^\\r\\n]*/,null,\"#\"]));a.cStyleComments&&(f.push([\"com\",/^\\/\\/[^\\r\\n]*/,null]),f.push([\"com\",/^\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,null]));if(b=a.regexLiterals){var v=(b=1<b?\"\":\"\\n\\r\")?\".\":\"[\\\\S\\\\s]\";f.push([\"lang-regex\",RegExp(\"^(?:^^\\\\.?|[+-]|[!=]=?=?|\\\\#|%=?|&&?=?|\\\\(|\\\\*=?|[+\\\\-]=|->|\\\\/=?|::?|<<?=?|>>?>?=?|,|;|\\\\?|@|\\\\[|~|{|\\\\^\\\\^?=?|\\\\|\\\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\\\s*(\"+\n(\"/(?=[^/*\"+b+\"])(?:[^/\\\\x5B\\\\x5C\"+b+\"]|\\\\x5C\"+v+\"|\\\\x5B(?:[^\\\\x5C\\\\x5D\"+b+\"]|\\\\x5C\"+v+\")*(?:\\\\x5D|$))+/\")+\")\")])}(b=a.types)&&f.push([\"typ\",b]);b=(\"\"+a.keywords).replace(/^ | $/g,\"\");b.length&&f.push([\"kwd\",new RegExp(\"^(?:\"+b.replace(/[\\s,]+/g,\"|\")+\")\\\\b\"),null]);d.push([\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]);b=\"^.[^\\\\s\\\\w.$@'\\\"`/\\\\\\\\]*\";a.regexLiterals&&(b+=\"(?!s*/)\");f.push([\"lit\",/^@[a-z_$][a-z_$@0-9]*/i,null],[\"typ\",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\\w+_t\\b)/,null],[\"pln\",/^[a-z_$][a-z_$@0-9]*/i,\nnull],[\"lit\",/^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*/i,null,\"0123456789\"],[\"pln\",/^\\\\[\\s\\S]?/,null],[\"pun\",new RegExp(b),null]);return G(d,f)}function L(a,d,f){function b(a){var c=a.nodeType;if(1==c&&!A.test(a.className))if(\"br\"===a.nodeName)v(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((3==c||4==c)&&f){var d=a.nodeValue,q=d.match(n);q&&(c=d.substring(0,q.index),a.nodeValue=c,(d=d.substring(q.index+q[0].length))&&\na.parentNode.insertBefore(l.createTextNode(d),a.nextSibling),v(a),c||a.parentNode.removeChild(a))}}function v(a){function b(a,c){var d=c?a.cloneNode(!1):a,k=a.parentNode;if(k){var k=b(k,1),e=a.nextSibling;k.appendChild(d);for(var f=e;f;f=e)e=f.nextSibling,k.appendChild(f)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;a=b(a.nextSibling,0);for(var d;(d=a.parentNode)&&1===d.nodeType;)a=d;c.push(a)}for(var A=/(?:^|\\s)nocode(?:\\s|$)/,n=/\\r\\n?|\\n/,l=a.ownerDocument,m=l.createElement(\"li\");a.firstChild;)m.appendChild(a.firstChild);\nfor(var c=[m],p=0;p<c.length;++p)b(c[p]);d===(d|0)&&c[0].setAttribute(\"value\",d);var w=l.createElement(\"ol\");w.className=\"linenums\";d=Math.max(0,d-1|0)||0;for(var p=0,r=c.length;p<r;++p)m=c[p],m.className=\"L\"+(p+d)%10,m.firstChild||m.appendChild(l.createTextNode(\"\\u00a0\")),w.appendChild(m);a.appendChild(w)}function t(a,d){for(var f=d.length;0<=--f;){var b=d[f];I.hasOwnProperty(b)?E.console&&console.warn(\"cannot override language handler %s\",b):I[b]=a}}function K(a,d){a&&I.hasOwnProperty(a)||(a=/^\\s*</.test(d)?\n\"default-markup\":\"default-code\");return I[a]}function M(a){var d=a.j;try{var f=U(a.h,a.l),b=f.a;a.a=b;a.c=f.c;a.i=0;K(d,b)(a);var v=/\\bMSIE\\s(\\d+)/.exec(navigator.userAgent),v=v&&8>=+v[1],d=/\\n/g,A=a.a,n=A.length,f=0,l=a.c,m=l.length,b=0,c=a.g,p=c.length,w=0;c[p]=n;var r,e;for(e=r=0;e<p;)c[e]!==c[e+2]?(c[r++]=c[e++],c[r++]=c[e++]):e+=2;p=r;for(e=r=0;e<p;){for(var t=c[e],z=c[e+1],q=e+2;q+2<=p&&c[q+1]===z;)q+=2;c[r++]=t;c[r++]=z;e=q}c.length=r;var g=a.h;a=\"\";g&&(a=g.style.display,g.style.display=\"none\");\ntry{for(;b<m;){var h=l[b+2]||n,k=c[w+2]||n,q=Math.min(h,k),B=l[b+1],D;if(1!==B.nodeType&&(D=A.substring(f,q))){v&&(D=D.replace(d,\"\\r\"));B.nodeValue=D;var N=B.ownerDocument,u=N.createElement(\"span\");u.className=c[w+1];var y=B.parentNode;y.replaceChild(u,B);u.appendChild(B);f<h&&(l[b+1]=B=N.createTextNode(A.substring(q,h)),y.insertBefore(B,u.nextSibling))}f=q;f>=h&&(b+=2);f>=k&&(w+=2)}}finally{g&&(g.style.display=a)}}catch(x){E.console&&console.log(x&&x.stack||x)}}var E=window,C=[\"break,continue,do,else,for,if,return,while\"],\nF=[[C,\"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile\"],\"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof\"],H=[F,\"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where\"],\nO=[F,\"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient\"],P=[F,\"abstract,as,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where\"],F=[F,\"debugger,eval,export,function,get,instanceof,null,set,undefined,var,with,Infinity,NaN\"],\nQ=[C,\"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None\"],R=[C,\"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END\"],C=[C,\"case,done,elif,esac,eval,fi,function,in,local,set,then,until\"],S=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\\d*)\\b/,\nW=/\\S/,X=y({keywords:[H,P,O,F,\"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END\",Q,R,C],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),I={};t(X,[\"default-code\"]);t(G([],[[\"pln\",/^[^<?]+/],[\"dec\",/^<!\\w[^>]*(?:>|$)/],[\"com\",/^<\\!--[\\s\\S]*?(?:-\\->|$)/],[\"lang-\",/^<\\?([\\s\\S]+?)(?:\\?>|$)/],[\"lang-\",/^<%([\\s\\S]+?)(?:%>|$)/],[\"pun\",/^(?:<[%?]|[%?]>)/],[\"lang-\",\n/^<xmp\\b[^>]*>([\\s\\S]+?)<\\/xmp\\b[^>]*>/i],[\"lang-js\",/^<script\\b[^>]*>([\\s\\S]*?)(<\\/script\\b[^>]*>)/i],[\"lang-css\",/^<style\\b[^>]*>([\\s\\S]*?)(<\\/style\\b[^>]*>)/i],[\"lang-in.tag\",/^(<\\/?[a-z][^<>]*>)/i]]),\"default-markup htm html mxml xhtml xml xsl\".split(\" \"));t(G([[\"pln\",/^[\\s]+/,null,\" \\t\\r\\n\"],[\"atv\",/^(?:\\\"[^\\\"]*\\\"?|\\'[^\\']*\\'?)/,null,\"\\\"'\"]],[[\"tag\",/^^<\\/?[a-z](?:[\\w.:-]*\\w)?|\\/?>$/i],[\"atn\",/^(?!style[\\s=]|on)[a-z](?:[\\w:-]*\\w)?/i],[\"lang-uq.val\",/^=\\s*([^>\\'\\\"\\s]*(?:[^>\\'\\\"\\s\\/]|\\/(?=\\s)))/],\n[\"pun\",/^[=<>\\/]+/],[\"lang-js\",/^on\\w+\\s*=\\s*\\\"([^\\\"]+)\\\"/i],[\"lang-js\",/^on\\w+\\s*=\\s*\\'([^\\']+)\\'/i],[\"lang-js\",/^on\\w+\\s*=\\s*([^\\\"\\'>\\s]+)/i],[\"lang-css\",/^style\\s*=\\s*\\\"([^\\\"]+)\\\"/i],[\"lang-css\",/^style\\s*=\\s*\\'([^\\']+)\\'/i],[\"lang-css\",/^style\\s*=\\s*([^\\\"\\'>\\s]+)/i]]),[\"in.tag\"]);t(G([],[[\"atv\",/^[\\s\\S]+/]]),[\"uq.val\"]);t(y({keywords:H,hashComments:!0,cStyleComments:!0,types:S}),\"c cc cpp cxx cyc m\".split(\" \"));t(y({keywords:\"null,true,false\"}),[\"json\"]);t(y({keywords:P,hashComments:!0,cStyleComments:!0,\nverbatimStrings:!0,types:S}),[\"cs\"]);t(y({keywords:O,cStyleComments:!0}),[\"java\"]);t(y({keywords:C,hashComments:!0,multiLineStrings:!0}),[\"bash\",\"bsh\",\"csh\",\"sh\"]);t(y({keywords:Q,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),[\"cv\",\"py\",\"python\"]);t(y({keywords:\"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END\",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),\n[\"perl\",\"pl\",\"pm\"]);t(y({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),[\"rb\",\"ruby\"]);t(y({keywords:F,cStyleComments:!0,regexLiterals:!0}),[\"javascript\",\"js\"]);t(y({keywords:\"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes\",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),[\"coffee\"]);t(G([],[[\"str\",/^[\\s\\S]+/]]),[\"regex\"]);\nvar Y=E.PR={createSimpleLexer:G,registerLangHandler:t,sourceDecorator:y,PR_ATTRIB_NAME:\"atn\",PR_ATTRIB_VALUE:\"atv\",PR_COMMENT:\"com\",PR_DECLARATION:\"dec\",PR_KEYWORD:\"kwd\",PR_LITERAL:\"lit\",PR_NOCODE:\"nocode\",PR_PLAIN:\"pln\",PR_PUNCTUATION:\"pun\",PR_SOURCE:\"src\",PR_STRING:\"str\",PR_TAG:\"tag\",PR_TYPE:\"typ\",prettyPrintOne:E.prettyPrintOne=function(a,d,f){f=f||!1;d=d||null;var b=document.createElement(\"div\");b.innerHTML=\"<pre>\"+a+\"</pre>\";b=b.firstChild;f&&L(b,f,!0);M({j:d,m:f,h:b,l:1,a:null,i:null,c:null,\ng:null});return b.innerHTML},prettyPrint:E.prettyPrint=function(a,d){function f(){for(var b=E.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;p<t.length&&c.now()<b;p++){for(var d=t[p],l=g,m=d;m=m.previousSibling;){var n=m.nodeType,u=(7===n||8===n)&&m.nodeValue;if(u?!/^\\??prettify\\b/.test(u):3!==n||/\\S/.test(m.nodeValue))break;if(u){l={};u.replace(/\\b(\\w+)=([\\w:.%+-]+)/g,function(a,b,c){l[b]=c});break}}m=d.className;if((l!==g||r.test(m))&&!e.test(m)){n=!1;for(u=d.parentNode;u;u=u.parentNode)if(q.test(u.tagName)&&\nu.className&&r.test(u.className)){n=!0;break}if(!n){d.className+=\" prettyprinted\";n=l.lang;if(!n){var n=m.match(w),C;!n&&(C=V(d))&&z.test(C.tagName)&&(n=C.className.match(w));n&&(n=n[1])}if(y.test(d.tagName))u=1;else var u=d.currentStyle,x=v.defaultView,u=(u=u?u.whiteSpace:x&&x.getComputedStyle?x.getComputedStyle(d,null).getPropertyValue(\"white-space\"):0)&&\"pre\"===u.substring(0,3);x=l.linenums;(x=\"true\"===x||+x)||(x=(x=m.match(/\\blinenums\\b(?::(\\d+))?/))?x[1]&&x[1].length?+x[1]:!0:!1);x&&L(d,x,u);\nM({j:n,h:d,m:x,l:u,a:null,i:null,c:null,g:null})}}}p<t.length?E.setTimeout(f,250):\"function\"===typeof a&&a()}for(var b=d||document.body,v=b.ownerDocument||document,b=[b.getElementsByTagName(\"pre\"),b.getElementsByTagName(\"code\"),b.getElementsByTagName(\"xmp\")],t=[],n=0;n<b.length;++n)for(var l=0,m=b[n].length;l<m;++l)t.push(b[n][l]);var b=null,c=Date;c.now||(c={now:function(){return+new Date}});var p=0,w=/\\blang(?:uage)?-([\\w.]+)(?!\\S)/,r=/\\bprettyprint\\b/,e=/\\bprettyprinted\\b/,y=/pre|xmp/i,z=/^code$/i,\nq=/^(?:pre|code|xmp)$/i,g={};f()}},H=E.define;\"function\"===typeof H&&H.amd&&H(\"google-code-prettify\",[],function(){return Y})})();}()\n"
  },
  {
    "path": "public/apidoc/vendor/prettify/run_prettify.js",
    "content": "!function(){/*\n\n Copyright (C) 2013 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n Copyright (C) 2006 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\n(function(){function ba(g){function k(){try{M.doScroll(\"left\")}catch(g){t.setTimeout(k,50);return}z(\"poll\")}function z(k){if(\"readystatechange\"!=k.type||\"complete\"==A.readyState)(\"load\"==k.type?t:A)[B](p+k.type,z,!1),!q&&(q=!0)&&g.call(t,k.type||k)}var Y=A.addEventListener,q=!1,C=!0,x=Y?\"addEventListener\":\"attachEvent\",B=Y?\"removeEventListener\":\"detachEvent\",p=Y?\"\":\"on\";if(\"complete\"==A.readyState)g.call(t,\"lazy\");else{if(A.createEventObject&&M.doScroll){try{C=!t.frameElement}catch(da){}C&&k()}A[x](p+\n\"DOMContentLoaded\",z,!1);A[x](p+\"readystatechange\",z,!1);t[x](p+\"load\",z,!1)}}function U(){V&&ba(function(){var g=N.length;ca(g?function(){for(var k=0;k<g;++k)(function(g){t.setTimeout(function(){t.exports[N[g]].apply(t,arguments)},0)})(k)}:void 0)})}for(var t=window,A=document,M=A.documentElement,O=A.head||A.getElementsByTagName(\"head\")[0]||M,B=\"\",F=A.getElementsByTagName(\"script\"),q=F.length;0<=--q;){var P=F[q],Z=P.src.match(/^[^?#]*\\/run_prettify\\.js(\\?[^#]*)?(?:#.*)?$/);if(Z){B=Z[1]||\"\";P.parentNode.removeChild(P);\nbreak}}var V=!0,H=[],Q=[],N=[];B.replace(/[?&]([^&=]+)=([^&]+)/g,function(g,k,z){z=decodeURIComponent(z);k=decodeURIComponent(k);\"autorun\"==k?V=!/^[0fn]/i.test(z):\"lang\"==k?H.push(z):\"skin\"==k?Q.push(z):\"callback\"==k&&N.push(z)});q=0;for(B=H.length;q<B;++q)(function(){var g=A.createElement(\"script\");g.onload=g.onerror=g.onreadystatechange=function(){!g||g.readyState&&!/loaded|complete/.test(g.readyState)||(g.onerror=g.onload=g.onreadystatechange=null,--T,T||t.setTimeout(U,0),g.parentNode&&g.parentNode.removeChild(g),\ng=null)};g.type=\"text/javascript\";g.src=\"https://cdn.rawgit.com/google/code-prettify/master/loader/lang-\"+encodeURIComponent(H[q])+\".js\";O.insertBefore(g,O.firstChild)})(H[q]);for(var T=H.length,F=[],q=0,B=Q.length;q<B;++q)F.push(\"https://cdn.rawgit.com/google/code-prettify/master/loader/skins/\"+encodeURIComponent(Q[q])+\".css\");F.push(\"https://cdn.rawgit.com/google/code-prettify/master/loader/prettify.css\");(function(g){function k(q){if(q!==z){var t=A.createElement(\"link\");t.rel=\"stylesheet\";t.type=\n\"text/css\";q+1<z&&(t.error=t.onerror=function(){k(q+1)});t.href=g[q];O.appendChild(t)}}var z=g.length;k(0)})(F);var ca=function(){window.PR_SHOULD_USE_CONTINUATION=!0;var g;(function(){function k(a){function d(e){var b=e.charCodeAt(0);if(92!==b)return b;var a=e.charAt(1);return(b=W[a])?b:\"0\"<=a&&\"7\">=a?parseInt(e.substring(1),8):\"u\"===a||\"x\"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function f(e){if(32>e)return(16>e?\"\\\\x0\":\"\\\\x\")+e.toString(16);e=String.fromCharCode(e);return\"\\\\\"===e||\"-\"===\ne||\"]\"===e||\"^\"===e?\"\\\\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]/g);e=[];var a=\"^\"===b[0],c=[\"[\"];a&&c.push(\"^\");for(var a=a?1:0,h=b.length;a<h;++a){var l=b[a];if(/\\\\[bdsw]/i.test(l))c.push(l);else{var l=d(l),n;a+2<h&&\"-\"===b[a+1]?(n=d(b[a+2]),a+=2):n=l;e.push([l,n]);65>n||122<l||(65>n||90<l||e.push([Math.max(65,l)|32,Math.min(n,90)|32]),97>n||122<l||e.push([Math.max(97,l)&-33,Math.min(n,122)&-33]))}}e.sort(function(e,\na){return e[0]-a[0]||a[1]-e[1]});b=[];h=[];for(a=0;a<e.length;++a)l=e[a],l[0]<=h[1]+1?h[1]=Math.max(h[1],l[1]):b.push(h=l);for(a=0;a<b.length;++a)l=b[a],c.push(f(l[0])),l[1]>l[0]&&(l[1]+1>l[0]&&c.push(\"-\"),c.push(f(l[1])));c.push(\"]\");return c.join(\"\")}function g(e){for(var a=e.source.match(/(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)/g),c=a.length,d=[],h=0,l=0;h<c;++h){var n=a[h];\"(\"===n?++l:\"\\\\\"===n.charAt(0)&&(n=\n+n.substring(1))&&(n<=l?d[n]=-1:a[h]=f(n))}for(h=1;h<d.length;++h)-1===d[h]&&(d[h]=++k);for(l=h=0;h<c;++h)n=a[h],\"(\"===n?(++l,d[l]||(a[h]=\"(?:\")):\"\\\\\"===n.charAt(0)&&(n=+n.substring(1))&&n<=l&&(a[h]=\"\\\\\"+d[n]);for(h=0;h<c;++h)\"^\"===a[h]&&\"^\"!==a[h+1]&&(a[h]=\"\");if(e.ignoreCase&&I)for(h=0;h<c;++h)n=a[h],e=n.charAt(0),2<=n.length&&\"[\"===e?a[h]=b(n):\"\\\\\"!==e&&(a[h]=n.replace(/[a-zA-Z]/g,function(a){a=a.charCodeAt(0);return\"[\"+String.fromCharCode(a&-33,a|32)+\"]\"}));return a.join(\"\")}for(var k=0,I=!1,\nm=!1,J=0,c=a.length;J<c;++J){var r=a[J];if(r.ignoreCase)m=!0;else if(/[a-z]/i.test(r.source.replace(/\\\\u[0-9a-f]{4}|\\\\x[0-9a-f]{2}|\\\\[^ux]/gi,\"\"))){I=!0;m=!1;break}}for(var W={b:8,t:9,n:10,v:11,f:12,r:13},u=[],J=0,c=a.length;J<c;++J){r=a[J];if(r.global||r.multiline)throw Error(\"\"+r);u.push(\"(?:\"+g(r)+\")\")}return new RegExp(u.join(\"|\"),m?\"gi\":\"g\")}function q(a,d){function f(a){var c=a.nodeType;if(1==c){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)f(c);c=a.nodeName.toLowerCase();if(\"br\"===\nc||\"li\"===c)g[m]=\"\\n\",I[m<<1]=k++,I[m++<<1|1]=a}}else if(3==c||4==c)c=a.nodeValue,c.length&&(c=d?c.replace(/\\r\\n?/g,\"\\n\"):c.replace(/[ \\t\\r\\n]+/g,\" \"),g[m]=c,I[m<<1]=k,k+=c.length,I[m++<<1|1]=a)}var b=/(?:^|\\s)nocode(?:\\s|$)/,g=[],k=0,I=[],m=0;f(a);return{a:g.join(\"\").replace(/\\n$/,\"\"),c:I}}function t(a,d,f,b,g){f&&(a={h:a,l:1,j:null,m:null,a:f,c:null,i:d,g:null},b(a),g.push.apply(g,a.g))}function A(a){for(var d=void 0,f=a.firstChild;f;f=f.nextSibling)var b=f.nodeType,d=1===b?d?a:f:3===b?T.test(f.nodeValue)?\na:d:d;return d===a?void 0:d}function C(a,d){function f(a){for(var m=a.i,k=a.h,c=[m,\"pln\"],r=0,W=a.a.match(g)||[],u={},e=0,q=W.length;e<q;++e){var D=W[e],w=u[D],h=void 0,l;if(\"string\"===typeof w)l=!1;else{var n=b[D.charAt(0)];if(n)h=D.match(n[1]),w=n[0];else{for(l=0;l<p;++l)if(n=d[l],h=D.match(n[1])){w=n[0];break}h||(w=\"pln\")}!(l=5<=w.length&&\"lang-\"===w.substring(0,5))||h&&\"string\"===typeof h[1]||(l=!1,w=\"src\");l||(u[D]=w)}n=r;r+=D.length;if(l){l=h[1];var E=D.indexOf(l),G=E+l.length;h[2]&&(G=D.length-\nh[2].length,E=G-l.length);w=w.substring(5);t(k,m+n,D.substring(0,E),f,c);t(k,m+n+E,l,F(w,l),c);t(k,m+n+G,D.substring(G),f,c)}else c.push(m+n,w)}a.g=c}var b={},g;(function(){for(var f=a.concat(d),m=[],p={},c=0,r=f.length;c<r;++c){var q=f[c],u=q[3];if(u)for(var e=u.length;0<=--e;)b[u.charAt(e)]=q;q=q[1];u=\"\"+q;p.hasOwnProperty(u)||(m.push(q),p[u]=null)}m.push(/[\\0-\\uffff]/);g=k(m)})();var p=d.length;return f}function x(a){var d=[],f=[];a.tripleQuotedStrings?d.push([\"str\",/^(?:\\'\\'\\'(?:[^\\'\\\\]|\\\\[\\s\\S]|\\'{1,2}(?=[^\\']))*(?:\\'\\'\\'|$)|\\\"\\\"\\\"(?:[^\\\"\\\\]|\\\\[\\s\\S]|\\\"{1,2}(?=[^\\\"]))*(?:\\\"\\\"\\\"|$)|\\'(?:[^\\\\\\']|\\\\[\\s\\S])*(?:\\'|$)|\\\"(?:[^\\\\\\\"]|\\\\[\\s\\S])*(?:\\\"|$))/,\nnull,\"'\\\"\"]):a.multiLineStrings?d.push([\"str\",/^(?:\\'(?:[^\\\\\\']|\\\\[\\s\\S])*(?:\\'|$)|\\\"(?:[^\\\\\\\"]|\\\\[\\s\\S])*(?:\\\"|$)|\\`(?:[^\\\\\\`]|\\\\[\\s\\S])*(?:\\`|$))/,null,\"'\\\"`\"]):d.push([\"str\",/^(?:\\'(?:[^\\\\\\'\\r\\n]|\\\\.)*(?:\\'|$)|\\\"(?:[^\\\\\\\"\\r\\n]|\\\\.)*(?:\\\"|$))/,null,\"\\\"'\"]);a.verbatimStrings&&f.push([\"str\",/^@\\\"(?:[^\\\"]|\\\"\\\")*(?:\\\"|$)/,null]);var b=a.hashComments;b&&(a.cStyleComments?(1<b?d.push([\"com\",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,\"#\"]):d.push([\"com\",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\\b|[^\\r\\n]*)/,\nnull,\"#\"]),f.push([\"str\",/^<(?:(?:(?:\\.\\.\\/)*|\\/?)(?:[\\w-]+(?:\\/[\\w-]+)+)?[\\w-]+\\.h(?:h|pp|\\+\\+)?|[a-z]\\w*)>/,null])):d.push([\"com\",/^#[^\\r\\n]*/,null,\"#\"]));a.cStyleComments&&(f.push([\"com\",/^\\/\\/[^\\r\\n]*/,null]),f.push([\"com\",/^\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,null]));if(b=a.regexLiterals){var g=(b=1<b?\"\":\"\\n\\r\")?\".\":\"[\\\\S\\\\s]\";f.push([\"lang-regex\",RegExp(\"^(?:^^\\\\.?|[+-]|[!=]=?=?|\\\\#|%=?|&&?=?|\\\\(|\\\\*=?|[+\\\\-]=|->|\\\\/=?|::?|<<?=?|>>?>?=?|,|;|\\\\?|@|\\\\[|~|{|\\\\^\\\\^?=?|\\\\|\\\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\\\s*(\"+\n(\"/(?=[^/*\"+b+\"])(?:[^/\\\\x5B\\\\x5C\"+b+\"]|\\\\x5C\"+g+\"|\\\\x5B(?:[^\\\\x5C\\\\x5D\"+b+\"]|\\\\x5C\"+g+\")*(?:\\\\x5D|$))+/\")+\")\")])}(b=a.types)&&f.push([\"typ\",b]);b=(\"\"+a.keywords).replace(/^ | $/g,\"\");b.length&&f.push([\"kwd\",new RegExp(\"^(?:\"+b.replace(/[\\s,]+/g,\"|\")+\")\\\\b\"),null]);d.push([\"pln\",/^\\s+/,null,\" \\r\\n\\t\\u00a0\"]);b=\"^.[^\\\\s\\\\w.$@'\\\"`/\\\\\\\\]*\";a.regexLiterals&&(b+=\"(?!s*/)\");f.push([\"lit\",/^@[a-z_$][a-z_$@0-9]*/i,null],[\"typ\",/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\\w+_t\\b)/,null],[\"pln\",/^[a-z_$][a-z_$@0-9]*/i,\nnull],[\"lit\",/^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*/i,null,\"0123456789\"],[\"pln\",/^\\\\[\\s\\S]?/,null],[\"pun\",new RegExp(b),null]);return C(d,f)}function B(a,d,f){function b(a){var c=a.nodeType;if(1==c&&!k.test(a.className))if(\"br\"===a.nodeName)g(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((3==c||4==c)&&f){var d=a.nodeValue,p=d.match(q);p&&(c=d.substring(0,p.index),a.nodeValue=c,(d=d.substring(p.index+p[0].length))&&\na.parentNode.insertBefore(m.createTextNode(d),a.nextSibling),g(a),c||a.parentNode.removeChild(a))}}function g(a){function b(a,c){var d=c?a.cloneNode(!1):a,n=a.parentNode;if(n){var n=b(n,1),e=a.nextSibling;n.appendChild(d);for(var f=e;f;f=e)e=f.nextSibling,n.appendChild(f)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;a=b(a.nextSibling,0);for(var d;(d=a.parentNode)&&1===d.nodeType;)a=d;c.push(a)}for(var k=/(?:^|\\s)nocode(?:\\s|$)/,q=/\\r\\n?|\\n/,m=a.ownerDocument,p=m.createElement(\"li\");a.firstChild;)p.appendChild(a.firstChild);\nfor(var c=[p],r=0;r<c.length;++r)b(c[r]);d===(d|0)&&c[0].setAttribute(\"value\",d);var t=m.createElement(\"ol\");t.className=\"linenums\";d=Math.max(0,d-1|0)||0;for(var r=0,u=c.length;r<u;++r)p=c[r],p.className=\"L\"+(r+d)%10,p.firstChild||p.appendChild(m.createTextNode(\"\\u00a0\")),t.appendChild(p);a.appendChild(t)}function p(a,d){for(var f=d.length;0<=--f;){var b=d[f];X.hasOwnProperty(b)?R.console&&console.warn(\"cannot override language handler %s\",b):X[b]=a}}function F(a,d){a&&X.hasOwnProperty(a)||(a=/^\\s*</.test(d)?\n\"default-markup\":\"default-code\");return X[a]}function H(a){var d=a.j;try{var f=q(a.h,a.l),b=f.a;a.a=b;a.c=f.c;a.i=0;F(d,b)(a);var g=/\\bMSIE\\s(\\d+)/.exec(navigator.userAgent),g=g&&8>=+g[1],d=/\\n/g,p=a.a,k=p.length,f=0,m=a.c,t=m.length,b=0,c=a.g,r=c.length,x=0;c[r]=k;var u,e;for(e=u=0;e<r;)c[e]!==c[e+2]?(c[u++]=c[e++],c[u++]=c[e++]):e+=2;r=u;for(e=u=0;e<r;){for(var A=c[e],D=c[e+1],w=e+2;w+2<=r&&c[w+1]===D;)w+=2;c[u++]=A;c[u++]=D;e=w}c.length=u;var h=a.h;a=\"\";h&&(a=h.style.display,h.style.display=\"none\");\ntry{for(;b<t;){var l=m[b+2]||k,n=c[x+2]||k,w=Math.min(l,n),E=m[b+1],G;if(1!==E.nodeType&&(G=p.substring(f,w))){g&&(G=G.replace(d,\"\\r\"));E.nodeValue=G;var aa=E.ownerDocument,v=aa.createElement(\"span\");v.className=c[x+1];var B=E.parentNode;B.replaceChild(v,E);v.appendChild(E);f<l&&(m[b+1]=E=aa.createTextNode(p.substring(w,l)),B.insertBefore(E,v.nextSibling))}f=w;f>=l&&(b+=2);f>=n&&(x+=2)}}finally{h&&(h.style.display=a)}}catch(y){R.console&&console.log(y&&y.stack||y)}}var R=window,K=[\"break,continue,do,else,for,if,return,while\"],\nL=[[K,\"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile\"],\"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof\"],S=[L,\"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where\"],\nM=[L,\"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient\"],N=[L,\"abstract,as,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,group,implicit,in,interface,internal,into,is,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where\"],L=[L,\"debugger,eval,export,function,get,instanceof,null,set,undefined,var,with,Infinity,NaN\"],\nO=[K,\"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None\"],P=[K,\"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END\"],K=[K,\"case,done,elif,esac,eval,fi,function,in,local,set,then,until\"],Q=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\\d*)\\b/,\nT=/\\S/,U=x({keywords:[S,N,M,L,\"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END\",O,P,K],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),X={};p(U,[\"default-code\"]);p(C([],[[\"pln\",/^[^<?]+/],[\"dec\",/^<!\\w[^>]*(?:>|$)/],[\"com\",/^<\\!--[\\s\\S]*?(?:-\\->|$)/],[\"lang-\",/^<\\?([\\s\\S]+?)(?:\\?>|$)/],[\"lang-\",/^<%([\\s\\S]+?)(?:%>|$)/],[\"pun\",/^(?:<[%?]|[%?]>)/],[\"lang-\",\n/^<xmp\\b[^>]*>([\\s\\S]+?)<\\/xmp\\b[^>]*>/i],[\"lang-js\",/^<script\\b[^>]*>([\\s\\S]*?)(<\\/script\\b[^>]*>)/i],[\"lang-css\",/^<style\\b[^>]*>([\\s\\S]*?)(<\\/style\\b[^>]*>)/i],[\"lang-in.tag\",/^(<\\/?[a-z][^<>]*>)/i]]),\"default-markup htm html mxml xhtml xml xsl\".split(\" \"));p(C([[\"pln\",/^[\\s]+/,null,\" \\t\\r\\n\"],[\"atv\",/^(?:\\\"[^\\\"]*\\\"?|\\'[^\\']*\\'?)/,null,\"\\\"'\"]],[[\"tag\",/^^<\\/?[a-z](?:[\\w.:-]*\\w)?|\\/?>$/i],[\"atn\",/^(?!style[\\s=]|on)[a-z](?:[\\w:-]*\\w)?/i],[\"lang-uq.val\",/^=\\s*([^>\\'\\\"\\s]*(?:[^>\\'\\\"\\s\\/]|\\/(?=\\s)))/],\n[\"pun\",/^[=<>\\/]+/],[\"lang-js\",/^on\\w+\\s*=\\s*\\\"([^\\\"]+)\\\"/i],[\"lang-js\",/^on\\w+\\s*=\\s*\\'([^\\']+)\\'/i],[\"lang-js\",/^on\\w+\\s*=\\s*([^\\\"\\'>\\s]+)/i],[\"lang-css\",/^style\\s*=\\s*\\\"([^\\\"]+)\\\"/i],[\"lang-css\",/^style\\s*=\\s*\\'([^\\']+)\\'/i],[\"lang-css\",/^style\\s*=\\s*([^\\\"\\'>\\s]+)/i]]),[\"in.tag\"]);p(C([],[[\"atv\",/^[\\s\\S]+/]]),[\"uq.val\"]);p(x({keywords:S,hashComments:!0,cStyleComments:!0,types:Q}),\"c cc cpp cxx cyc m\".split(\" \"));p(x({keywords:\"null,true,false\"}),[\"json\"]);p(x({keywords:N,hashComments:!0,cStyleComments:!0,\nverbatimStrings:!0,types:Q}),[\"cs\"]);p(x({keywords:M,cStyleComments:!0}),[\"java\"]);p(x({keywords:K,hashComments:!0,multiLineStrings:!0}),[\"bash\",\"bsh\",\"csh\",\"sh\"]);p(x({keywords:O,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),[\"cv\",\"py\",\"python\"]);p(x({keywords:\"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END\",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),\n[\"perl\",\"pl\",\"pm\"]);p(x({keywords:P,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),[\"rb\",\"ruby\"]);p(x({keywords:L,cStyleComments:!0,regexLiterals:!0}),[\"javascript\",\"js\"]);p(x({keywords:\"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes\",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),[\"coffee\"]);p(C([],[[\"str\",/^[\\s\\S]+/]]),[\"regex\"]);\nvar V=R.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:x,PR_ATTRIB_NAME:\"atn\",PR_ATTRIB_VALUE:\"atv\",PR_COMMENT:\"com\",PR_DECLARATION:\"dec\",PR_KEYWORD:\"kwd\",PR_LITERAL:\"lit\",PR_NOCODE:\"nocode\",PR_PLAIN:\"pln\",PR_PUNCTUATION:\"pun\",PR_SOURCE:\"src\",PR_STRING:\"str\",PR_TAG:\"tag\",PR_TYPE:\"typ\",prettyPrintOne:function(a,d,f){f=f||!1;d=d||null;var b=document.createElement(\"div\");b.innerHTML=\"<pre>\"+a+\"</pre>\";b=b.firstChild;f&&B(b,f,!0);H({j:d,m:f,h:b,l:1,a:null,i:null,c:null,g:null});return b.innerHTML},\nprettyPrint:g=g=function(a,d){function f(){for(var b=R.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;r<p.length&&c.now()<b;r++){for(var d=p[r],k=h,q=d;q=q.previousSibling;){var m=q.nodeType,v=(7===m||8===m)&&q.nodeValue;if(v?!/^\\??prettify\\b/.test(v):3!==m||/\\S/.test(q.nodeValue))break;if(v){k={};v.replace(/\\b(\\w+)=([\\w:.%+-]+)/g,function(a,b,c){k[b]=c});break}}q=d.className;if((k!==h||u.test(q))&&!e.test(q)){m=!1;for(v=d.parentNode;v;v=v.parentNode)if(w.test(v.tagName)&&v.className&&u.test(v.className)){m=\n!0;break}if(!m){d.className+=\" prettyprinted\";m=k.lang;if(!m){var m=q.match(t),C;!m&&(C=A(d))&&z.test(C.tagName)&&(m=C.className.match(t));m&&(m=m[1])}if(x.test(d.tagName))v=1;else var v=d.currentStyle,y=g.defaultView,v=(v=v?v.whiteSpace:y&&y.getComputedStyle?y.getComputedStyle(d,null).getPropertyValue(\"white-space\"):0)&&\"pre\"===v.substring(0,3);y=k.linenums;(y=\"true\"===y||+y)||(y=(y=q.match(/\\blinenums\\b(?::(\\d+))?/))?y[1]&&y[1].length?+y[1]:!0:!1);y&&B(d,y,v);H({j:m,h:d,m:y,l:v,a:null,i:null,c:null,\ng:null})}}}r<p.length?R.setTimeout(f,250):\"function\"===typeof a&&a()}for(var b=d||document.body,g=b.ownerDocument||document,b=[b.getElementsByTagName(\"pre\"),b.getElementsByTagName(\"code\"),b.getElementsByTagName(\"xmp\")],p=[],k=0;k<b.length;++k)for(var m=0,q=b[k].length;m<q;++m)p.push(b[k][m]);var b=null,c=Date;c.now||(c={now:function(){return+new Date}});var r=0,t=/\\blang(?:uage)?-([\\w.]+)(?!\\S)/,u=/\\bprettyprint\\b/,e=/\\bprettyprinted\\b/,x=/pre|xmp/i,z=/^code$/i,w=/^(?:pre|code|xmp)$/i,h={};f()}},\nS=R.define;\"function\"===typeof S&&S.amd&&S(\"google-code-prettify\",[],function(){return V})})();return g}();T||t.setTimeout(U,0)})();}()\n"
  },
  {
    "path": "public/apidoc/vendor/prettify.css",
    "content": "/* Pretty printing styles. Used with prettify.js. */\n/* Vim sunburst theme by David Leibovic */\n\npre .str, code .str { color: #65B042; } /* string  - green */\npre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */\npre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */\npre .typ, code .typ { color: #89bdff; } /* type - light blue */\npre .lit, code .lit { color: #3387CC; } /* literal - blue */\npre .pun, code .pun { color: #fff; } /* punctuation - white */\npre .pln, code .pln { color: #fff; } /* plaintext - white */\npre .tag, code .tag { color: #89bdff; } /* html/xml tag    - light blue */\npre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name  - khaki */\npre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */\npre .dec, code .dec { color: #3387CC; } /* decimal - blue */\n\npre.prettyprint, code.prettyprint {\n  background-color: #000;\n  -moz-border-radius: 8px;\n  -webkit-border-radius: 8px;\n  -o-border-radius: 8px;\n  -ms-border-radius: 8px;\n  -khtml-border-radius: 8px;\n  border-radius: 8px;\n}\n\npre.prettyprint {\n  width: 95%;\n  margin: 1em auto;\n  padding: 1em;\n  white-space: pre-wrap;\n}\n\n\n/* Specify class=linenums on a pre to get line numbering */\nol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */\nli.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }\n/* Alternate shading for lines */\nli.L1,li.L3,li.L5,li.L7,li.L9 { }\n\n@media print {\n  pre .str, code .str { color: #060; }\n  pre .kwd, code .kwd { color: #006; font-weight: bold; }\n  pre .com, code .com { color: #600; font-style: italic; }\n  pre .typ, code .typ { color: #404; font-weight: bold; }\n  pre .lit, code .lit { color: #044; }\n  pre .pun, code .pun { color: #440; }\n  pre .pln, code .pln { color: #000; }\n  pre .tag, code .tag { color: #006; font-weight: bold; }\n  pre .atn, code .atn { color: #404; }\n  pre .atv, code .atv { color: #060; }\n}\n"
  },
  {
    "path": "public/apidoc/vendor/prism.css",
    "content": "/* PrismJS 1.21.0\nhttps://prismjs.com/download.html#themes=prism-tomorrow&languages=clike+javascript+bash+c+csharp+cpp+clojure+elixir+erlang+go+http+json+json5+jsonp+lua+perl+python+rust */\n/**\n * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML\n * Based on https://github.com/chriskempson/tomorrow-theme\n * @author Rose Pritchard\n */\n\ncode[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tcolor: #ccc;\n\tbackground: none;\n\tfont-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n\tfont-size: 1em;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n\n}\n\n/* Code blocks */\npre[class*=\"language-\"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n}\n\n:not(pre) > code[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tbackground: #2d2d2d;\n}\n\n/* Inline code */\n:not(pre) > code[class*=\"language-\"] {\n\tpadding: .1em;\n\tborder-radius: .3em;\n\twhite-space: normal;\n}\n\n.token.comment,\n.token.block-comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #999;\n}\n\n.token.punctuation {\n\tcolor: #ccc;\n}\n\n.token.tag,\n.token.attr-name,\n.token.namespace,\n.token.deleted {\n\tcolor: #e2777a;\n}\n\n.token.function-name {\n\tcolor: #6196cc;\n}\n\n.token.boolean,\n.token.number,\n.token.function {\n\tcolor: #f08d49;\n}\n\n.token.property,\n.token.class-name,\n.token.constant,\n.token.symbol {\n\tcolor: #f8c555;\n}\n\n.token.selector,\n.token.important,\n.token.atrule,\n.token.keyword,\n.token.builtin {\n\tcolor: #cc99cd;\n}\n\n.token.string,\n.token.char,\n.token.attr-value,\n.token.regex,\n.token.variable {\n\tcolor: #7ec699;\n}\n\n.token.operator,\n.token.entity,\n.token.url {\n\tcolor: #67cdcc;\n}\n\n.token.important,\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n\n.token.inserted {\n\tcolor: green;\n}\n\n"
  },
  {
    "path": "public/apidoc/vendor/prism.js",
    "content": "/* PrismJS 1.21.0\nhttps://prismjs.com/download.html#themes=prism-tomorrow&languages=clike+javascript+bash+c+csharp+cpp+clojure+elixir+erlang+go+http+json+json5+jsonp+lua+perl+python+rust */\nvar _self=\"undefined\"!=typeof window?window:\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(u){var c=/\\blang(?:uage)?-([\\w-]+)\\b/i,n=0,M={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof W?new W(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/\\u00a0/g,\" \")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,\"__id\",{value:++n}),e.__id},clone:function t(e,r){var a,n;switch(r=r||{},M.util.type(e)){case\"Object\":if(n=M.util.objId(e),r[n])return r[n];for(var i in a={},r[n]=a,e)e.hasOwnProperty(i)&&(a[i]=t(e[i],r));return a;case\"Array\":return n=M.util.objId(e),r[n]?r[n]:(a=[],r[n]=a,e.forEach(function(e,n){a[n]=t(e,r)}),a);default:return e}},getLanguage:function(e){for(;e&&!c.test(e.className);)e=e.parentElement;return e?(e.className.match(c)||[,\"none\"])[1].toLowerCase():\"none\"},currentScript:function(){if(\"undefined\"==typeof document)return null;if(\"currentScript\"in document)return document.currentScript;try{throw new Error}catch(e){var n=(/at [^(\\r\\n]*\\((.*):.+:.+\\)$/i.exec(e.stack)||[])[1];if(n){var t=document.getElementsByTagName(\"script\");for(var r in t)if(t[r].src==n)return t[r]}return null}},isActive:function(e,n,t){for(var r=\"no-\"+n;e;){var a=e.classList;if(a.contains(n))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!t}},languages:{extend:function(e,n){var t=M.util.clone(M.languages[e]);for(var r in n)t[r]=n[r];return t},insertBefore:function(t,e,n,r){var a=(r=r||M.languages)[t],i={};for(var l in a)if(a.hasOwnProperty(l)){if(l==e)for(var o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);n.hasOwnProperty(l)||(i[l]=a[l])}var s=r[t];return r[t]=i,M.languages.DFS(M.languages,function(e,n){n===s&&e!=t&&(this[e]=i)}),i},DFS:function e(n,t,r,a){a=a||{};var i=M.util.objId;for(var l in n)if(n.hasOwnProperty(l)){t.call(n,l,n[l],r||l);var o=n[l],s=M.util.type(o);\"Object\"!==s||a[i(o)]?\"Array\"!==s||a[i(o)]||(a[i(o)]=!0,e(o,t,l,a)):(a[i(o)]=!0,e(o,t,null,a))}}},plugins:{},highlightAll:function(e,n){M.highlightAllUnder(document,e,n)},highlightAllUnder:function(e,n,t){var r={callback:t,container:e,selector:'code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code'};M.hooks.run(\"before-highlightall\",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),M.hooks.run(\"before-all-elements-highlight\",r);for(var a,i=0;a=r.elements[i++];)M.highlightElement(a,!0===n,r.callback)},highlightElement:function(e,n,t){var r=M.util.getLanguage(e),a=M.languages[r];e.className=e.className.replace(c,\"\").replace(/\\s+/g,\" \")+\" language-\"+r;var i=e.parentElement;i&&\"pre\"===i.nodeName.toLowerCase()&&(i.className=i.className.replace(c,\"\").replace(/\\s+/g,\" \")+\" language-\"+r);var l={element:e,language:r,grammar:a,code:e.textContent};function o(e){l.highlightedCode=e,M.hooks.run(\"before-insert\",l),l.element.innerHTML=l.highlightedCode,M.hooks.run(\"after-highlight\",l),M.hooks.run(\"complete\",l),t&&t.call(l.element)}if(M.hooks.run(\"before-sanity-check\",l),!l.code)return M.hooks.run(\"complete\",l),void(t&&t.call(l.element));if(M.hooks.run(\"before-highlight\",l),l.grammar)if(n&&u.Worker){var s=new Worker(M.filename);s.onmessage=function(e){o(e.data)},s.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else o(M.highlight(l.code,l.grammar,l.language));else o(M.util.encode(l.code))},highlight:function(e,n,t){var r={code:e,grammar:n,language:t};return M.hooks.run(\"before-tokenize\",r),r.tokens=M.tokenize(r.code,r.grammar),M.hooks.run(\"after-tokenize\",r),W.stringify(M.util.encode(r.tokens),r.language)},tokenize:function(e,n){var t=n.rest;if(t){for(var r in t)n[r]=t[r];delete n.rest}var a=new i;return I(a,a.head,e),function e(n,t,r,a,i,l){for(var o in r)if(r.hasOwnProperty(o)&&r[o]){var s=r[o];s=Array.isArray(s)?s:[s];for(var u=0;u<s.length;++u){if(l&&l.cause==o+\",\"+u)return;var c=s[u],g=c.inside,f=!!c.lookbehind,h=!!c.greedy,d=0,v=c.alias;if(h&&!c.pattern.global){var p=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,p+\"g\")}for(var m=c.pattern||c,y=a.next,k=i;y!==t.tail&&!(l&&k>=l.reach);k+=y.value.length,y=y.next){var b=y.value;if(t.length>n.length)return;if(!(b instanceof W)){var x=1;if(h&&y!=t.tail.prev){m.lastIndex=k;var w=m.exec(n);if(!w)break;var A=w.index+(f&&w[1]?w[1].length:0),P=w.index+w[0].length,S=k;for(S+=y.value.length;S<=A;)y=y.next,S+=y.value.length;if(S-=y.value.length,k=S,y.value instanceof W)continue;for(var E=y;E!==t.tail&&(S<P||\"string\"==typeof E.value);E=E.next)x++,S+=E.value.length;x--,b=n.slice(k,S),w.index-=k}else{m.lastIndex=0;var w=m.exec(b)}if(w){f&&(d=w[1]?w[1].length:0);var A=w.index+d,O=w[0].slice(d),P=A+O.length,L=b.slice(0,A),N=b.slice(P),j=k+b.length;l&&j>l.reach&&(l.reach=j);var C=y.prev;L&&(C=I(t,C,L),k+=L.length),z(t,C,x);var _=new W(o,g?M.tokenize(O,g):O,v,O);y=I(t,C,_),N&&I(t,y,N),1<x&&e(n,t,r,y.prev,k,{cause:o+\",\"+u,reach:j})}}}}}}(e,a,n,a.head,0),function(e){var n=[],t=e.head.next;for(;t!==e.tail;)n.push(t.value),t=t.next;return n}(a)},hooks:{all:{},add:function(e,n){var t=M.hooks.all;t[e]=t[e]||[],t[e].push(n)},run:function(e,n){var t=M.hooks.all[e];if(t&&t.length)for(var r,a=0;r=t[a++];)r(n)}},Token:W};function W(e,n,t,r){this.type=e,this.content=n,this.alias=t,this.length=0|(r||\"\").length}function i(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function I(e,n,t){var r=n.next,a={value:t,prev:n,next:r};return n.next=a,r.prev=a,e.length++,a}function z(e,n,t){for(var r=n.next,a=0;a<t&&r!==e.tail;a++)r=r.next;(n.next=r).prev=n,e.length-=a}if(u.Prism=M,W.stringify=function n(e,t){if(\"string\"==typeof e)return e;if(Array.isArray(e)){var r=\"\";return e.forEach(function(e){r+=n(e,t)}),r}var a={type:e.type,content:n(e.content,t),tag:\"span\",classes:[\"token\",e.type],attributes:{},language:t},i=e.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(a.classes,i):a.classes.push(i)),M.hooks.run(\"wrap\",a);var l=\"\";for(var o in a.attributes)l+=\" \"+o+'=\"'+(a.attributes[o]||\"\").replace(/\"/g,\"&quot;\")+'\"';return\"<\"+a.tag+' class=\"'+a.classes.join(\" \")+'\"'+l+\">\"+a.content+\"</\"+a.tag+\">\"},!u.document)return u.addEventListener&&(M.disableWorkerMessageHandler||u.addEventListener(\"message\",function(e){var n=JSON.parse(e.data),t=n.language,r=n.code,a=n.immediateClose;u.postMessage(M.highlight(r,M.languages[t],t)),a&&u.close()},!1)),M;var e=M.util.currentScript();function t(){M.manual||M.highlightAll()}if(e&&(M.filename=e.src,e.hasAttribute(\"data-manual\")&&(M.manual=!0)),!M.manual){var r=document.readyState;\"loading\"===r||\"interactive\"===r&&e&&e.defer?document.addEventListener(\"DOMContentLoaded\",t):window.requestAnimationFrame?window.requestAnimationFrame(t):window.setTimeout(t,16)}return M}(_self);\"undefined\"!=typeof module&&module.exports&&(module.exports=Prism),\"undefined\"!=typeof global&&(global.Prism=Prism);\nPrism.languages.clike={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"class-name\":{pattern:/(\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+|\\bcatch\\s+\\()[\\w.\\\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\\\]/}},keyword:/\\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,boolean:/\\b(?:true|false)\\b/,function:/\\w+(?=\\()/,number:/\\b0x[\\da-f]+\\b|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:e[+-]?\\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\\+\\+?|&&?|\\|\\|?|[?*/~^%]/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.javascript=Prism.languages.extend(\"clike\",{\"class-name\":[Prism.languages.clike[\"class-name\"],{pattern:/(^|[^$\\w\\xA0-\\uFFFF])[_$A-Z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\\s*)(?:catch|finally)\\b/,lookbehind:!0},{pattern:/(^|[^.]|\\.\\.\\.\\s*)\\b(?:as|async(?=\\s*(?:function\\b|\\(|[$\\w\\xA0-\\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\\s*[\\[$\\w\\xA0-\\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\\b/,lookbehind:!0}],number:/\\b(?:(?:0[xX](?:[\\dA-Fa-f](?:_[\\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\\d(?:_\\d)?)+n|NaN|Infinity)\\b|(?:\\b(?:\\d(?:_\\d)?)+\\.?(?:\\d(?:_\\d)?)*|\\B\\.(?:\\d(?:_\\d)?)+)(?:[Ee][+-]?(?:\\d(?:_\\d)?)+)?/,function:/#?[_$a-zA-Z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*(?:\\.\\s*(?:apply|bind|call)\\s*)?\\()/,operator:/--|\\+\\+|\\*\\*=?|=>|&&=?|\\|\\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\\.{3}|\\?\\?=?|\\?\\.?|[~:]/}),Prism.languages.javascript[\"class-name\"][0].pattern=/(\\b(?:class|interface|extends|implements|instanceof|new)\\s+)[\\w.\\\\]+/,Prism.languages.insertBefore(\"javascript\",\"keyword\",{regex:{pattern:/((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[gimyus]{0,6}(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))/,lookbehind:!0,greedy:!0},\"function-variable\":{pattern:/#?[_$a-zA-Z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*[=:]\\s*(?:async\\s*)?(?:\\bfunction\\b|(?:\\((?:[^()]|\\([^()]*\\))*\\)|[_$a-zA-Z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*)\\s*=>))/,alias:\"function\"},parameter:[{pattern:/(function(?:\\s+[_$A-Za-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*)?\\s*\\(\\s*)(?!\\s)(?:[^()]|\\([^()]*\\))+?(?=\\s*\\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\\(\\s*)(?!\\s)(?:[^()]|\\([^()]*\\))+?(?=\\s*\\)\\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\\b|\\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\\w\\xA0-\\uFFFF]))(?:[_$A-Za-z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*\\s*)\\(\\s*|\\]\\s*\\(\\s*)(?!\\s)(?:[^()]|\\([^()]*\\))+?(?=\\s*\\)\\s*\\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\\b[A-Z](?:[A-Z_]|\\dx?)*\\b/}),Prism.languages.insertBefore(\"javascript\",\"string\",{\"template-string\":{pattern:/`(?:\\\\[\\s\\S]|\\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\\${)[^\\\\`])*`/,greedy:!0,inside:{\"template-punctuation\":{pattern:/^`|`$/,alias:\"string\"},interpolation:{pattern:/((?:^|[^\\\\])(?:\\\\{2})*)\\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{\"interpolation-punctuation\":{pattern:/^\\${|}$/,alias:\"punctuation\"},rest:Prism.languages.javascript}},string:/[\\s\\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined(\"script\",\"javascript\"),Prism.languages.js=Prism.languages.javascript;\n!function(e){var t=\"\\\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\\\b\",n={environment:{pattern:RegExp(\"\\\\$\"+t),alias:\"constant\"},variable:[{pattern:/\\$?\\(\\([\\s\\S]+?\\)\\)/,greedy:!0,inside:{variable:[{pattern:/(^\\$\\(\\([\\s\\S]+)\\)\\)/,lookbehind:!0},/^\\$\\(\\(/],number:/\\b0x[\\dA-Fa-f]+\\b|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:[Ee]-?\\d+)?/,operator:/--?|-=|\\+\\+?|\\+=|!=?|~|\\*\\*?|\\*=|\\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\\^=?|\\|\\|?|\\|=|\\?|:/,punctuation:/\\(\\(?|\\)\\)?|,|;/}},{pattern:/\\$\\((?:\\([^)]+\\)|[^()])+\\)|`[^`]+`/,greedy:!0,inside:{variable:/^\\$\\(|^`|\\)$|`$/}},{pattern:/\\$\\{[^}]+\\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\\/]|##?|%%?|\\^\\^?|,,?/,punctuation:/[\\[\\]]/,environment:{pattern:RegExp(\"(\\\\{)\"+t),lookbehind:!0,alias:\"constant\"}}},/\\$(?:\\w+|[#?*!@$])/],entity:/\\\\(?:[abceEfnrtv\\\\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\\s*\\/.*/,alias:\"important\"},comment:{pattern:/(^|[^\"{\\\\$])#.*/,lookbehind:!0},\"function-name\":[{pattern:/(\\bfunction\\s+)\\w+(?=(?:\\s*\\(?:\\s*\\))?\\s*\\{)/,lookbehind:!0,alias:\"function\"},{pattern:/\\b\\w+(?=\\s*\\(\\s*\\)\\s*\\{)/,alias:\"function\"}],\"for-or-select\":{pattern:/(\\b(?:for|select)\\s+)\\w+(?=\\s+in\\s)/,alias:\"variable\",lookbehind:!0},\"assign-left\":{pattern:/(^|[\\s;|&]|[<>]\\()\\w+(?=\\+?=)/,inside:{environment:{pattern:RegExp(\"(^|[\\\\s;|&]|[<>]\\\\()\"+t),lookbehind:!0,alias:\"constant\"}},alias:\"variable\",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\\s*)(\\w+?)\\s*(?:\\r?\\n|\\r)[\\s\\S]*?(?:\\r?\\n|\\r)\\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\\s*)([\"'])(\\w+)\\2\\s*(?:\\r?\\n|\\r)[\\s\\S]*?(?:\\r?\\n|\\r)\\3/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\\\](?:\\\\\\\\)*)([\"'])(?:\\\\[\\s\\S]|\\$\\([^)]+\\)|`[^`]+`|(?!\\2)[^\\\\])*\\2/,lookbehind:!0,greedy:!0,inside:n}],environment:{pattern:RegExp(\"\\\\$?\"+t),alias:\"constant\"},variable:n.variable,function:{pattern:/(^|[\\s;|&]|[<>]\\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\\s;|&]|[<>]\\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\\s;|&]|[<>]\\()(?:\\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\\s;|&])/,lookbehind:!0,alias:\"class-name\"},boolean:{pattern:/(^|[\\s;|&]|[<>]\\()(?:true|false)(?=$|[)\\s;|&])/,lookbehind:!0},\"file-descriptor\":{pattern:/\\B&\\d\\b/,alias:\"important\"},operator:{pattern:/\\d?<>|>\\||\\+=|==?|!=?|=~|<<[<-]?|[&\\d]?>>|\\d?[<>]&?|&[>&]?|\\|[&|]?|<=?|>=?/,inside:{\"file-descriptor\":{pattern:/^\\d/,alias:\"important\"}}},punctuation:/\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];\\\\]/,number:{pattern:/(^|\\s)(?:[1-9]\\d*|0)(?:[.,]\\d+)?\\b/,lookbehind:!0}};for(var a=[\"comment\",\"function-name\",\"for-or-select\",\"assign-left\",\"string\",\"environment\",\"function\",\"keyword\",\"builtin\",\"boolean\",\"file-descriptor\",\"operator\",\"punctuation\",\"number\"],r=n.variable[1].inside,s=0;s<a.length;s++)r[a[s]]=e.languages.bash[a[s]];e.languages.shell=e.languages.bash}(Prism);\nPrism.languages.c=Prism.languages.extend(\"clike\",{comment:{pattern:/\\/\\/(?:[^\\r\\n\\\\]|\\\\(?:\\r\\n?|\\n|(?![\\r\\n])))*|\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,greedy:!0},\"class-name\":{pattern:/(\\b(?:enum|struct)\\s+(?:__attribute__\\s*\\(\\([\\s\\S]*?\\)\\)\\s*)?)\\w+/,lookbehind:!0},keyword:/\\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\\b/,function:/[a-z_]\\w*(?=\\s*\\()/i,operator:/>>=?|<<=?|->|([-+&|:])\\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\\b0x(?:[\\da-f]+\\.?[\\da-f]*|\\.[\\da-f]+)(?:p[+-]?\\d+)?|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:e[+-]?\\d+)?)[ful]*/i}),Prism.languages.insertBefore(\"c\",\"string\",{macro:{pattern:/(^\\s*)#\\s*[a-z]+(?:[^\\r\\n\\\\/]|\\/(?!\\*)|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/|\\\\(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,greedy:!0,alias:\"property\",inside:{string:[{pattern:/^(#\\s*include\\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,directive:{pattern:/^(#\\s*)[a-z]+/,lookbehind:!0,alias:\"keyword\"},\"directive-hash\":/^#/,punctuation:/##|\\\\(?=[\\r\\n])/,expression:{pattern:/\\S[\\s\\S]*/,inside:Prism.languages.c}}},constant:/\\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\\b/}),delete Prism.languages.c.boolean;\n!function(s){function a(e,s){return e.replace(/<<(\\d+)>>/g,function(e,n){return\"(?:\"+s[+n]+\")\"})}function t(e,n,s){return RegExp(a(e,n),s||\"\")}function e(e,n){for(var s=0;s<n;s++)e=e.replace(/<<self>>/g,function(){return\"(?:\"+e+\")\"});return e.replace(/<<self>>/g,\"[^\\\\s\\\\S]\")}var n=\"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void\",r=\"class enum interface struct\",i=\"add alias and ascending async await by descending from get global group into join let nameof not notnull on or orderby partial remove select set unmanaged value when where where\",o=\"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield\";function l(e){return\"\\\\b(?:\"+e.trim().replace(/ /g,\"|\")+\")\\\\b\"}var d=l(r),p=RegExp(l(n+\" \"+r+\" \"+i+\" \"+o)),c=l(r+\" \"+i+\" \"+o),u=l(n+\" \"+r+\" \"+o),g=e(\"<(?:[^<>;=+\\\\-*/%&|^]|<<self>>)*>\",2),b=e(\"\\\\((?:[^()]|<<self>>)*\\\\)\",2),h=\"@?\\\\b[A-Za-z_]\\\\w*\\\\b\",f=a(\"<<0>>(?:\\\\s*<<1>>)?\",[h,g]),m=a(\"(?!<<0>>)<<1>>(?:\\\\s*\\\\.\\\\s*<<1>>)*\",[c,f]),k=\"\\\\[\\\\s*(?:,\\\\s*)*\\\\]\",y=a(\"<<0>>(?:\\\\s*(?:\\\\?\\\\s*)?<<1>>)*(?:\\\\s*\\\\?)?\",[m,k]),w=a(\"(?:<<0>>|<<1>>)(?:\\\\s*(?:\\\\?\\\\s*)?<<2>>)*(?:\\\\s*\\\\?)?\",[a(\"\\\\(<<0>>+(?:,<<0>>+)+\\\\)\",[a(\"[^,()<>[\\\\];=+\\\\-*/%&|^]|<<0>>|<<1>>|<<2>>\",[g,b,k])]),m,k]),v={keyword:p,punctuation:/[<>()?,.:[\\]]/},x=\"'(?:[^\\r\\n'\\\\\\\\]|\\\\\\\\.|\\\\\\\\[Uux][\\\\da-fA-F]{1,8})'\",$='\"(?:\\\\\\\\.|[^\\\\\\\\\"\\r\\n])*\"';s.languages.csharp=s.languages.extend(\"clike\",{string:[{pattern:t(\"(^|[^$\\\\\\\\])<<0>>\",['@\"(?:\"\"|\\\\\\\\[^]|[^\\\\\\\\\"])*\"(?!\")']),lookbehind:!0,greedy:!0},{pattern:t(\"(^|[^@$\\\\\\\\])<<0>>\",[$]),lookbehind:!0,greedy:!0},{pattern:RegExp(x),greedy:!0,alias:\"character\"}],\"class-name\":[{pattern:t(\"(\\\\busing\\\\s+static\\\\s+)<<0>>(?=\\\\s*;)\",[m]),lookbehind:!0,inside:v},{pattern:t(\"(\\\\busing\\\\s+<<0>>\\\\s*=\\\\s*)<<1>>(?=\\\\s*;)\",[h,w]),lookbehind:!0,inside:v},{pattern:t(\"(\\\\busing\\\\s+)<<0>>(?=\\\\s*=)\",[h]),lookbehind:!0},{pattern:t(\"(\\\\b<<0>>\\\\s+)<<1>>\",[d,f]),lookbehind:!0,inside:v},{pattern:t(\"(\\\\bcatch\\\\s*\\\\(\\\\s*)<<0>>\",[m]),lookbehind:!0,inside:v},{pattern:t(\"(\\\\bwhere\\\\s+)<<0>>\",[h]),lookbehind:!0},{pattern:t(\"(\\\\b(?:is(?:\\\\s+not)?|as)\\\\s+)<<0>>\",[y]),lookbehind:!0,inside:v},{pattern:t(\"\\\\b<<0>>(?=\\\\s+(?!<<1>>)<<2>>(?:\\\\s*[=,;:{)\\\\]]|\\\\s+(?:in|when)\\\\b))\",[w,u,h]),inside:v}],keyword:p,number:/(?:\\b0(?:x[\\da-f_]*[\\da-f]|b[01_]*[01])|(?:\\B\\.\\d+(?:_+\\d+)*|\\b\\d+(?:_+\\d+)*(?:\\.\\d+(?:_+\\d+)*)?)(?:e[-+]?\\d+(?:_+\\d+)*)?)(?:ul|lu|[dflmu])?\\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\\1|~|\\?\\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\\?\\.?|::|[{}[\\];(),.:]/}),s.languages.insertBefore(\"csharp\",\"number\",{range:{pattern:/\\.\\./,alias:\"operator\"}}),s.languages.insertBefore(\"csharp\",\"punctuation\",{\"named-parameter\":{pattern:t(\"([(,]\\\\s*)<<0>>(?=\\\\s*:)\",[h]),lookbehind:!0,alias:\"punctuation\"}}),s.languages.insertBefore(\"csharp\",\"class-name\",{namespace:{pattern:t(\"(\\\\b(?:namespace|using)\\\\s+)<<0>>(?:\\\\s*\\\\.\\\\s*<<0>>)*(?=\\\\s*[;{])\",[h]),lookbehind:!0,inside:{punctuation:/\\./}},\"type-expression\":{pattern:t(\"(\\\\b(?:default|typeof|sizeof)\\\\s*\\\\(\\\\s*)(?:[^()\\\\s]|\\\\s(?!\\\\s*\\\\))|<<0>>)*(?=\\\\s*\\\\))\",[b]),lookbehind:!0,alias:\"class-name\",inside:v},\"return-type\":{pattern:t(\"<<0>>(?=\\\\s+(?:<<1>>\\\\s*(?:=>|[({]|\\\\.\\\\s*this\\\\s*\\\\[)|this\\\\s*\\\\[))\",[w,m]),inside:v,alias:\"class-name\"},\"constructor-invocation\":{pattern:t(\"(\\\\bnew\\\\s+)<<0>>(?=\\\\s*[[({])\",[w]),lookbehind:!0,inside:v,alias:\"class-name\"},\"generic-method\":{pattern:t(\"<<0>>\\\\s*<<1>>(?=\\\\s*\\\\()\",[h,g]),inside:{function:t(\"^<<0>>\",[h]),generic:{pattern:RegExp(g),alias:\"class-name\",inside:v}}},\"type-list\":{pattern:t(\"\\\\b((?:<<0>>\\\\s+<<1>>|where\\\\s+<<2>>)\\\\s*:\\\\s*)(?:<<3>>|<<4>>)(?:\\\\s*,\\\\s*(?:<<3>>|<<4>>))*(?=\\\\s*(?:where|[{;]|=>|$))\",[d,f,h,w,p.source]),lookbehind:!0,inside:{keyword:p,\"class-name\":{pattern:RegExp(w),greedy:!0,inside:v},punctuation:/,/}},preprocessor:{pattern:/(^\\s*)#.*/m,lookbehind:!0,alias:\"property\",inside:{directive:{pattern:/(\\s*#)\\b(?:define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\\b/,lookbehind:!0,alias:\"keyword\"}}}});var _=$+\"|\"+x,B=a(\"/(?![*/])|//[^\\r\\n]*[\\r\\n]|/\\\\*(?:[^*]|\\\\*(?!/))*\\\\*/|<<0>>\",[_]),E=e(a(\"[^\\\"'/()]|<<0>>|\\\\(<<self>>*\\\\)\",[B]),2),R=\"\\\\b(?:assembly|event|field|method|module|param|property|return|type)\\\\b\",P=a(\"<<0>>(?:\\\\s*\\\\(<<1>>*\\\\))?\",[m,E]);s.languages.insertBefore(\"csharp\",\"class-name\",{attribute:{pattern:t(\"((?:^|[^\\\\s\\\\w>)?])\\\\s*\\\\[\\\\s*)(?:<<0>>\\\\s*:\\\\s*)?<<1>>(?:\\\\s*,\\\\s*<<1>>)*(?=\\\\s*\\\\])\",[R,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:t(\"^<<0>>(?=\\\\s*:)\",[R]),alias:\"keyword\"},\"attribute-arguments\":{pattern:t(\"\\\\(<<0>>*\\\\)\",[E]),inside:s.languages.csharp},\"class-name\":{pattern:RegExp(m),inside:{punctuation:/\\./}},punctuation:/[:,]/}}});var z=\":[^}\\r\\n]+\",S=e(a(\"[^\\\"'/()]|<<0>>|\\\\(<<self>>*\\\\)\",[B]),2),j=a(\"\\\\{(?!\\\\{)(?:(?![}:])<<0>>)*<<1>>?\\\\}\",[S,z]),A=e(a(\"[^\\\"'/()]|/(?!\\\\*)|/\\\\*(?:[^*]|\\\\*(?!/))*\\\\*/|<<0>>|\\\\(<<self>>*\\\\)\",[_]),2),F=a(\"\\\\{(?!\\\\{)(?:(?![}:])<<0>>)*<<1>>?\\\\}\",[A,z]);function U(e,n){return{interpolation:{pattern:t(\"((?:^|[^{])(?:\\\\{\\\\{)*)<<0>>\",[e]),lookbehind:!0,inside:{\"format-string\":{pattern:t(\"(^\\\\{(?:(?![}:])<<0>>)*)<<1>>(?=\\\\}$)\",[n,z]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\\{|\\}$/,expression:{pattern:/[\\s\\S]+/,alias:\"language-csharp\",inside:s.languages.csharp}}},string:/[\\s\\S]+/}}s.languages.insertBefore(\"csharp\",\"string\",{\"interpolation-string\":[{pattern:t('(^|[^\\\\\\\\])(?:\\\\$@|@\\\\$)\"(?:\"\"|\\\\\\\\[^]|\\\\{\\\\{|<<0>>|[^\\\\\\\\{\"])*\"',[j]),lookbehind:!0,greedy:!0,inside:U(j,S)},{pattern:t('(^|[^@\\\\\\\\])\\\\$\"(?:\\\\\\\\.|\\\\{\\\\{|<<0>>|[^\\\\\\\\\"{])*\"',[F]),lookbehind:!0,greedy:!0,inside:U(F,A)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp;\n!function(e){var t=/\\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/;e.languages.cpp=e.languages.extend(\"c\",{\"class-name\":[{pattern:RegExp(\"(\\\\b(?:class|concept|enum|struct|typename)\\\\s+)(?!<keyword>)\\\\w+\".replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\\b[A-Z]\\w*(?=\\s*::\\s*\\w+\\s*\\()/,/\\b[A-Z_]\\w*(?=\\s*::\\s*~\\w+\\s*\\()/i,/\\w+(?=\\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\\s*::\\s*\\w+\\s*\\()/],keyword:t,number:{pattern:/(?:\\b0b[01']+|\\b0x(?:[\\da-f']+\\.?[\\da-f']*|\\.[\\da-f']+)(?:p[+-]?[\\d']+)?|(?:\\b[\\d']+\\.?[\\d']*|\\B\\.[\\d']+)(?:e[+-]?[\\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\\1|[?:~]|<=>|[-+*/%&|^!=<>]=?|\\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/,boolean:/\\b(?:true|false)\\b/}),e.languages.insertBefore(\"cpp\",\"string\",{\"raw-string\":{pattern:/R\"([^()\\\\ ]{0,16})\\([\\s\\S]*?\\)\\1\"/,alias:\"string\",greedy:!0}}),e.languages.insertBefore(\"cpp\",\"class-name\",{\"base-clause\":{pattern:/(\\b(?:class|struct)\\s+\\w+\\s*:\\s*)(?:[^;{}\"'])+?(?=\\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend(\"cpp\",{})}}),e.languages.insertBefore(\"inside\",\"operator\",{\"class-name\":/\\b[a-z_]\\w*\\b(?!\\s*::)/i},e.languages.cpp[\"base-clause\"])}(Prism);\nPrism.languages.clojure={comment:/;.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\.)*\"/,greedy:!0},operator:/(?:::|[:|'])\\b[a-z][\\w*+!?-]*\\b/i,keyword:{pattern:/([^\\w+*'?-])(?:def|if|do|let|\\.\\.|quote|var|->>|->|fn|loop|recur|throw|try|monitor-enter|\\.|new|set!|def\\-|defn|defn\\-|defmacro|defmulti|defmethod|defstruct|defonce|declare|definline|definterface|defprotocol|==|defrecord|>=|deftype|<=|defproject|ns|\\*|\\+|\\-|\\/|<|=|>|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|conj|cons|constantly|cond|if-not|construct-proxy|contains\\?|count|create-ns|create-struct|cycle|dec|deref|difference|disj|dissoc|distinct|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\\?|ensure|eval|every\\?|false\\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|for|fnseq|frest|gensym|get-proxy-class|get|hash-map|hash-set|identical\\?|identity|if-let|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\\?|last|lazy-cat|lazy-cons|left|lefts|line-seq|list\\*|list|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|name|namespace|neg\\?|new|newline|next|nil\\?|node|not|not-any\\?|not-every\\?|not=|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\\?|set|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\\?|split-at|split-with|str|string\\?|struct|struct-map|subs|subvec|symbol|symbol\\?|sync|take|take-nth|take-while|test|time|to-array|to-array-2d|tree-seq|true\\?|union|up|update-proxy|val|vals|var-get|var-set|var\\?|vector|vector-zip|vector\\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\\?|zipmap|zipper)(?=[^\\w+*'?-])/,lookbehind:!0},boolean:/\\b(?:true|false|nil)\\b/,number:/\\b[\\da-f]+\\b/i,punctuation:/[{}\\[\\](),]/};\nPrism.languages.elixir={comment:/#.*/m,regex:{pattern:/~[rR](?:(\"\"\"|''')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])+\\1|([\\/|\"'])(?:\\\\.|(?!\\2)[^\\\\\\r\\n])+\\2|\\((?:\\\\.|[^\\\\)\\r\\n])+\\)|\\[(?:\\\\.|[^\\\\\\]\\r\\n])+\\]|\\{(?:\\\\.|[^\\\\}\\r\\n])+\\}|<(?:\\\\.|[^\\\\>\\r\\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:(\"\"\"|''')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])+\\1|([\\/|\"'])(?:\\\\.|(?!\\2)[^\\\\\\r\\n])+\\2|\\((?:\\\\.|[^\\\\)\\r\\n])+\\)|\\[(?:\\\\.|[^\\\\\\]\\r\\n])+\\]|\\{(?:\\\\.|#\\{[^}]+\\}|#(?!\\{)|[^#\\\\}\\r\\n])+\\}|<(?:\\\\.|[^\\\\>\\r\\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/(\"\"\"|''')[\\s\\S]*?\\1/,greedy:!0,inside:{}},{pattern:/(\"|')(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\\w+/,lookbehind:!0,alias:\"symbol\"},\"attr-name\":/\\w+\\??:(?!:)/,capture:{pattern:/(^|[^&])&(?:[^&\\s\\d()][^\\s()]*|(?=\\())/,lookbehind:!0,alias:\"function\"},argument:{pattern:/(^|[^&])&\\d+/,lookbehind:!0,alias:\"variable\"},attribute:{pattern:/@\\w+/,alias:\"variable\"},number:/\\b(?:0[box][a-f\\d_]+|\\d[\\d_]*)(?:\\.[\\d_]+)?(?:e[+-]?[\\d_]+)?\\b/i,keyword:/\\b(?:after|alias|and|case|catch|cond|def(?:callback|exception|impl|module|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|require|rescue|try|unless|use|when)\\b/,boolean:/\\b(?:true|false|nil)\\b/,operator:[/\\bin\\b|&&?|\\|[|>]?|\\\\\\\\|::|\\.\\.\\.?|\\+\\+?|-[->]?|<[-=>]|>=|!==?|\\B!|=(?:==?|[>~])?|[*\\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\\[\\]{}()]/},Prism.languages.elixir.string.forEach(function(e){e.inside={interpolation:{pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"punctuation\"},rest:Prism.languages.elixir}}}});\nPrism.languages.erlang={comment:/%.+/,string:{pattern:/\"(?:\\\\.|[^\\\\\"\\r\\n])*\"/,greedy:!0},\"quoted-function\":{pattern:/'(?:\\\\.|[^\\\\'\\r\\n])+'(?=\\()/,alias:\"function\"},\"quoted-atom\":{pattern:/'(?:\\\\.|[^\\\\'\\r\\n])+'/,alias:\"atom\"},boolean:/\\b(?:true|false)\\b/,keyword:/\\b(?:fun|when|case|of|end|if|receive|after|try|catch)\\b/,number:[/\\$\\\\?./,/\\d+#[a-z0-9]+/i,/(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:e[+-]?\\d+)?/i],function:/\\b[a-z][\\w@]*(?=\\()/,variable:{pattern:/(^|[^@])(?:\\b|\\?)[A-Z_][\\w@]*/,lookbehind:!0},operator:[/[=\\/<>:]=|=[:\\/]=|\\+\\+?|--?|[=*\\/!]|\\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\\b[a-z][\\w@]*/,punctuation:/[()[\\]{}:;,.#|]|<<|>>/};\nPrism.languages.go=Prism.languages.extend(\"clike\",{keyword:/\\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,builtin:/\\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\\b/,boolean:/\\b(?:_|iota|nil|true|false)\\b/,operator:/[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,number:/(?:\\b0x[a-f\\d]+|(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:e[-+]?\\d+)?)i?/i,string:{pattern:/([\"'`])(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0}}),delete Prism.languages.go[\"class-name\"];\n!function(t){t.languages.http={\"request-line\":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\\s(?:https?:\\/\\/|\\/)\\S+\\sHTTP\\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\\b/,\"attr-name\":/:\\w+/}},\"response-status\":{pattern:/^HTTP\\/1.[01] \\d+.*/m,inside:{property:{pattern:/(^HTTP\\/1.[01] )\\d+.*/i,lookbehind:!0}}},\"header-name\":{pattern:/^[\\w-]+:(?=.)/m,alias:\"keyword\"}};var a,e,n,i=t.languages,p={\"application/javascript\":i.javascript,\"application/json\":i.json||i.javascript,\"application/xml\":i.xml,\"text/xml\":i.xml,\"text/html\":i.html,\"text/css\":i.css},s={\"application/json\":!0,\"application/xml\":!0};for(var r in p)if(p[r]){a=a||{};var T=s[r]?(void 0,n=(e=r).replace(/^[a-z]+\\//,\"\"),\"(?:\"+e+\"|\\\\w+/(?:[\\\\w.-]+\\\\+)+\"+n+\"(?![+\\\\w.-]))\"):r;a[r.replace(/\\//g,\"-\")]={pattern:RegExp(\"(content-type:\\\\s*\"+T+\"[\\\\s\\\\S]*?)(?:\\\\r?\\\\n|\\\\r){2}[\\\\s\\\\S]*\",\"i\"),lookbehind:!0,inside:p[r]}}a&&t.languages.insertBefore(\"http\",\"header-name\",a)}(Prism);\nPrism.languages.json={property:{pattern:/\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,greedy:!0},string:{pattern:/\"(?:\\\\.|[^\\\\\"\\r\\n])*\"(?!\\s*:)/,greedy:!0},comment:{pattern:/\\/\\/.*|\\/\\*[\\s\\S]*?(?:\\*\\/|$)/,greedy:!0},number:/-?\\b\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?\\b/i,punctuation:/[{}[\\],]/,operator:/:/,boolean:/\\b(?:true|false)\\b/,null:{pattern:/\\bnull\\b/,alias:\"keyword\"}},Prism.languages.webmanifest=Prism.languages.json;\n!function(n){var e=/(\"|')(?:\\\\(?:\\r\\n?|\\n|.)|(?!\\1)[^\\\\\\r\\n])*\\1/;n.languages.json5=n.languages.extend(\"json\",{property:[{pattern:RegExp(e.source+\"(?=\\\\s*:)\"),greedy:!0},{pattern:/[_$a-zA-Z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*:)/,alias:\"unquoted\"}],string:{pattern:e,greedy:!0},number:/[+-]?\\b(?:NaN|Infinity|0x[a-fA-F\\d]+)\\b|[+-]?(?:\\b\\d+\\.?\\d*|\\B\\.\\d+)(?:[eE][+-]?\\d+\\b)?/})}(Prism);\nPrism.languages.jsonp=Prism.languages.extend(\"json\",{punctuation:/[{}[\\]();,.]/}),Prism.languages.insertBefore(\"jsonp\",\"punctuation\",{function:/[_$a-zA-Z\\xA0-\\uFFFF][$\\w\\xA0-\\uFFFF]*(?=\\s*\\()/});\nPrism.languages.lua={comment:/^#!.+|--(?:\\[(=*)\\[[\\s\\S]*?\\]\\1\\]|.*)/m,string:{pattern:/([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\z(?:\\r\\n|\\s)|\\\\(?:\\r\\n|[\\s\\S]))*\\1|\\[(=*)\\[[\\s\\S]*?\\]\\2\\]/,greedy:!0},number:/\\b0x[a-f\\d]+\\.?[a-f\\d]*(?:p[+-]?\\d+)?\\b|\\b\\d+(?:\\.\\B|\\.?\\d*(?:e[+-]?\\d+)?\\b)|\\B\\.\\d+(?:e[+-]?\\d+)?\\b/i,keyword:/\\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\\b/,function:/(?!\\d)\\w+(?=\\s*(?:[({]))/,operator:[/[-+*%^&|#]|\\/\\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\\.\\.(?!\\.)/,lookbehind:!0}],punctuation:/[\\[\\](){},;]|\\.+|:+/};\nPrism.languages.perl={comment:[{pattern:/(^\\s*)=\\w+[\\s\\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\\\$])#.*/,lookbehind:!0}],string:[{pattern:/\\b(?:q|qq|qx|qw)\\s*([^a-zA-Z0-9\\s{(\\[<])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s+([a-zA-Z0-9])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,greedy:!0},{pattern:/(\"|`)(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,greedy:!0},{pattern:/'(?:[^'\\\\\\r\\n]|\\\\.)*'/,greedy:!0}],regex:[{pattern:/\\b(?:m|qr)\\s*([^a-zA-Z0-9\\s{(\\[<])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s+([a-zA-Z0-9])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*([^a-zA-Z0-9\\s{(\\[<])(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s+([a-zA-Z0-9])(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\\/(?:[^\\/\\\\\\r\\n]|\\\\.)*\\/[msixpodualngc]*(?=\\s*(?:$|[\\r\\n,.;})&|\\-+*~<>!?^]|(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\\b))/,greedy:!0}],variable:[/[&*$@%]\\{\\^[A-Z]+\\}/,/[&*$@%]\\^[A-Z_]/,/[&*$@%]#?(?=\\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\\d)[\\w$]+)+(?:::)*/i,/[&*$@%]\\d+/,/(?!%=)[$@%][!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\\S*>|\\b_\\b/,alias:\"symbol\"},vstring:{pattern:/v\\d+(?:\\.\\d+)*|\\d+(?:\\.\\d+){2,}/,alias:\"string\"},function:{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\\b/,number:/\\b(?:0x[\\dA-Fa-f](?:_?[\\dA-Fa-f])*|0b[01](?:_?[01])*|(?:\\d(?:_?\\d)*)?\\.?\\d(?:_?\\d)*(?:[Ee][+-]?\\d+)?)\\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b|\\+[+=]?|-[-=>]?|\\*\\*?=?|\\/\\/?=?|=[=~>]?|~[~=]?|\\|\\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\\.(?:=|\\.\\.?)?|[\\\\?]|\\bx(?:=|\\b)|\\b(?:lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\\b/,punctuation:/[{}[\\];(),:]/};\nPrism.languages.python={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},\"string-interpolation\":{pattern:/(?:f|rf|fr)(?:(\"\"\"|''')[\\s\\S]*?\\1|(\"|')(?:\\\\.|(?!\\2)[^\\\\\\r\\n])*\\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:{{)*){(?!{)(?:[^{}]|{(?!{)(?:[^{}]|{(?!{)(?:[^{}])+})+})+}/,lookbehind:!0,inside:{\"format-spec\":{pattern:/(:)[^:(){}]+(?=}$)/,lookbehind:!0},\"conversion-option\":{pattern:/![sra](?=[:}]$)/,alias:\"punctuation\"},rest:null}},string:/[\\s\\S]+/}},\"triple-quoted-string\":{pattern:/(?:[rub]|rb|br)?(\"\"\"|''')[\\s\\S]*?\\1/i,greedy:!0,alias:\"string\"},string:{pattern:/(?:[rub]|rb|br)?(\"|')(?:\\\\.|(?!\\1)[^\\\\\\r\\n])*\\1/i,greedy:!0},function:{pattern:/((?:^|\\s)def[ \\t]+)[a-zA-Z_]\\w*(?=\\s*\\()/g,lookbehind:!0},\"class-name\":{pattern:/(\\bclass\\s+)\\w+/i,lookbehind:!0},decorator:{pattern:/(^\\s*)@\\w+(?:\\.\\w+)*/im,lookbehind:!0,alias:[\"annotation\",\"punctuation\"],inside:{punctuation:/\\./}},keyword:/\\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\\b/,builtin:/\\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\\b/,boolean:/\\b(?:True|False|None)\\b/,number:/(?:\\b(?=\\d)|\\B(?=\\.))(?:0[bo])?(?:(?:\\d|0x[\\da-f])[\\da-f]*\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?j?\\b/i,operator:/[-+%=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\\];(),.:]/},Prism.languages.python[\"string-interpolation\"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python;\n!function(e){for(var a=\"/\\\\*(?:[^*/]|\\\\*(?!/)|/(?!\\\\*)|<self>)*\\\\*/\",t=0;t<2;t++)a=a.replace(/<self>/g,function(){return a});a=a.replace(/<self>/g,function(){return\"[^\\\\s\\\\S]\"}),e.languages.rust={comment:[{pattern:RegExp(\"(^|[^\\\\\\\\])\"+a),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"|b?r(#*)\"(?:[^\"]|\"(?!\\1))*\"\\1/,greedy:!0},char:{pattern:/b?'(?:\\\\(?:x[0-7][\\da-fA-F]|u{(?:[\\da-fA-F]_*){1,6}|.)|[^\\\\\\r\\n\\t'])'/,greedy:!0,alias:\"string\"},attribute:{pattern:/#!?\\[(?:[^\\[\\]\"]|\"(?:\\\\[\\s\\S]|[^\\\\\"])*\")*\\]/,greedy:!0,alias:\"attr-name\",inside:{string:null}},\"closure-params\":{pattern:/([=(,:]\\s*|\\bmove\\s*)\\|[^|]*\\||\\|[^|]*\\|(?=\\s*(?:\\{|->))/,lookbehind:!0,greedy:!0,inside:{\"closure-punctuation\":{pattern:/^\\||\\|$/,alias:\"punctuation\"},rest:null}},\"lifetime-annotation\":{pattern:/'\\w+/,alias:\"symbol\"},\"fragment-specifier\":{pattern:/(\\$\\w+:)[a-z]+/,lookbehind:!0,alias:\"punctuation\"},variable:/\\$\\w+/,\"function-definition\":{pattern:/(\\bfn\\s+)\\w+/,lookbehind:!0,alias:\"function\"},\"type-definition\":{pattern:/(\\b(?:enum|struct|union)\\s+)\\w+/,lookbehind:!0,alias:\"class-name\"},\"module-declaration\":[{pattern:/(\\b(?:crate|mod)\\s+)[a-z][a-z_\\d]*/,lookbehind:!0,alias:\"namespace\"},{pattern:/(\\b(?:crate|self|super)\\s*)::\\s*[a-z][a-z_\\d]*\\b(?:\\s*::(?:\\s*[a-z][a-z_\\d]*\\s*::)*)?/,lookbehind:!0,alias:\"namespace\",inside:{punctuation:/::/}}],keyword:[/\\b(?:abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|Self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\\b/,/\\b(?:[ui](?:8|16|32|64|128|size)|f(?:32|64)|bool|char|str)\\b/],function:/\\b[a-z_]\\w*(?=\\s*(?:::\\s*<|\\())/,macro:{pattern:/\\w+!/,alias:\"property\"},constant:/\\b[A-Z_][A-Z_\\d]+\\b/,\"class-name\":/\\b[A-Z]\\w*\\b/,namespace:{pattern:/(?:\\b[a-z][a-z_\\d]*\\s*::\\s*)*\\b[a-z][a-z_\\d]*\\s*::(?!\\s*<)/,inside:{punctuation:/::/}},number:/\\b(?:0x[\\dA-Fa-f](?:_?[\\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:\\d(?:_?\\d)*)?\\.?\\d(?:_?\\d)*(?:[Ee][+-]?\\d+)?)(?:_?(?:[iu](?:8|16|32|64|size)?|f32|f64))?\\b/,boolean:/\\b(?:false|true)\\b/,punctuation:/->|\\.\\.=|\\.{1,3}|::|[{}[\\];(),:]/,operator:/[-+*\\/%!^]=?|=[=>]?|&[&=]?|\\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust[\"closure-params\"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(Prism);\n"
  },
  {
    "path": "public/apidoc/vendor/webfontloader.js",
    "content": "/* Web Font Loader v1.6.24 - (c) Adobe Systems, Google. License: Apache 2.0 */\n(function(){function aa(a,b,d){return a.call.apply(a.bind,arguments)}function ba(a,b,d){if(!a)throw Error();if(2<arguments.length){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}return function(){return a.apply(b,arguments)}}function p(a,b,d){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,d,c){b=a.c.createElement(b);if(d)for(var e in d)d.hasOwnProperty(e)&&(\"style\"==e?b.style.cssText=d[e]:b.setAttribute(e,d[e]));c&&b.appendChild(a.c.createTextNode(c));return b}function u(a,b,d){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(d,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)}\nfunction w(a,b,d){b=b||[];d=d||[];for(var c=a.className.split(/\\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<c.length;g+=1)if(b[e]===c[g]){f=!0;break}f||c.push(b[e])}b=[];for(e=0;e<c.length;e+=1){f=!1;for(g=0;g<d.length;g+=1)if(c[e]===d[g]){f=!0;break}f||b.push(c[e])}a.className=b.join(\" \").replace(/\\s+/g,\" \").replace(/^\\s+|\\s+$/,\"\")}function y(a,b){for(var d=a.className.split(/\\s+/),c=0,e=d.length;c<e;c++)if(d[c]==b)return!0;return!1}\nfunction z(a){if(\"string\"===typeof a.f)return a.f;var b=a.m.location.protocol;\"about:\"==b&&(b=a.a.location.protocol);return\"https:\"==b?\"https:\":\"http:\"}function ea(a){return a.m.location.hostname||a.a.location.hostname}\nfunction A(a,b,d){function c(){k&&e&&f&&(k(g),k=null)}b=t(a,\"link\",{rel:\"stylesheet\",href:b,media:\"all\"});var e=!1,f=!0,g=null,k=d||null;da?(b.onload=function(){e=!0;c()},b.onerror=function(){e=!0;g=Error(\"Stylesheet failed to load\");c()}):setTimeout(function(){e=!0;c()},0);u(a,\"head\",b)}\nfunction B(a,b,d,c){var e=a.c.getElementsByTagName(\"head\")[0];if(e){var f=t(a,\"script\",{src:b}),g=!1;f.onload=f.onreadystatechange=function(){g||this.readyState&&\"loaded\"!=this.readyState&&\"complete\"!=this.readyState||(g=!0,d&&d(null),f.onload=f.onreadystatechange=null,\"HEAD\"==f.parentNode.tagName&&e.removeChild(f))};e.appendChild(f);setTimeout(function(){g||(g=!0,d&&d(Error(\"Script load timeout\")))},c||5E3);return f}return null};function C(){this.a=0;this.c=null}function D(a){a.a++;return function(){a.a--;E(a)}}function F(a,b){a.c=b;E(a)}function E(a){0==a.a&&a.c&&(a.c(),a.c=null)};function G(a){this.a=a||\"-\"}G.prototype.c=function(a){for(var b=[],d=0;d<arguments.length;d++)b.push(arguments[d].replace(/[\\W_]+/g,\"\").toLowerCase());return b.join(this.a)};function H(a,b){this.c=a;this.f=4;this.a=\"n\";var d=(b||\"n4\").match(/^([nio])([1-9])$/i);d&&(this.a=d[1],this.f=parseInt(d[2],10))}function fa(a){return I(a)+\" \"+(a.f+\"00\")+\" 300px \"+J(a.c)}function J(a){var b=[];a=a.split(/,\\s*/);for(var d=0;d<a.length;d++){var c=a[d].replace(/['\"]/g,\"\");-1!=c.indexOf(\" \")||/^\\d/.test(c)?b.push(\"'\"+c+\"'\"):b.push(c)}return b.join(\",\")}function K(a){return a.a+a.f}function I(a){var b=\"normal\";\"o\"===a.a?b=\"oblique\":\"i\"===a.a&&(b=\"italic\");return b}\nfunction ga(a){var b=4,d=\"n\",c=null;a&&((c=a.match(/(normal|oblique|italic)/i))&&c[1]&&(d=c[1].substr(0,1).toLowerCase()),(c=a.match(/([1-9]00|normal|bold)/i))&&c[1]&&(/bold/i.test(c[1])?b=7:/[1-9]00/.test(c[1])&&(b=parseInt(c[1].substr(0,1),10))));return d+b};function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;this.a=new G(\"-\");this.j=!1!==b.events;this.g=!1!==b.classes}function ia(a){a.g&&w(a.f,[a.a.c(\"wf\",\"loading\")]);L(a,\"loading\")}function M(a){if(a.g){var b=y(a.f,a.a.c(\"wf\",\"active\")),d=[],c=[a.a.c(\"wf\",\"loading\")];b||d.push(a.a.c(\"wf\",\"inactive\"));w(a.f,d,c)}L(a,\"inactive\")}function L(a,b,d){if(a.j&&a.h[b])if(d)a.h[b](d.c,K(d));else a.h[b]()};function ja(){this.c={}}function ka(a,b,d){var c=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a.c[e];f&&c.push(f(b[e],d))}return c};function N(a,b){this.c=a;this.f=b;this.a=t(this.c,\"span\",{\"aria-hidden\":\"true\"},this.f)}function O(a){u(a.c,\"body\",a.a)}function P(a){return\"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:\"+J(a.c)+\";\"+(\"font-style:\"+I(a)+\";font-weight:\"+(a.f+\"00\")+\";\")};function Q(a,b,d,c,e,f){this.g=a;this.j=b;this.a=c;this.c=d;this.f=e||3E3;this.h=f||void 0}Q.prototype.start=function(){var a=this.c.m.document,b=this,d=q(),c=new Promise(function(c,e){function k(){q()-d>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1<=a.length?c():setTimeout(k,25)},function(){e()})}k()}),e=new Promise(function(a,c){setTimeout(c,b.f)});Promise.race([e,c]).then(function(){b.g(b.a)},function(){b.j(b.a)})};function R(a,b,d,c,e,f,g){this.v=a;this.B=b;this.c=d;this.a=c;this.s=g||\"BESbswy\";this.f={};this.w=e||3E3;this.u=f||null;this.o=this.j=this.h=this.g=null;this.g=new N(this.c,this.s);this.h=new N(this.c,this.s);this.j=new N(this.c,this.s);this.o=new N(this.c,this.s);a=new H(this.a.c+\",serif\",K(this.a));a=P(a);this.g.a.style.cssText=a;a=new H(this.a.c+\",sans-serif\",K(this.a));a=P(a);this.h.a.style.cssText=a;a=new H(\"serif\",K(this.a));a=P(a);this.j.a.style.cssText=a;a=new H(\"sans-serif\",K(this.a));a=\nP(a);this.o.a.style.cssText=a;O(this.g);O(this.h);O(this.j);O(this.o)}var S={D:\"serif\",C:\"sans-serif\"},T=null;function U(){if(null===T){var a=/AppleWebKit\\/([0-9]+)(?:\\.([0-9]+))/.exec(window.navigator.userAgent);T=!!a&&(536>parseInt(a[1],10)||536===parseInt(a[1],10)&&11>=parseInt(a[2],10))}return T}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth;this.f[\"sans-serif\"]=this.o.a.offsetWidth;this.A=q();la(this)};\nfunction ma(a,b,d){for(var c in S)if(S.hasOwnProperty(c)&&b===a.f[S[c]]&&d===a.f[S[c]])return!0;return!1}function la(a){var b=a.g.a.offsetWidth,d=a.h.a.offsetWidth,c;(c=b===a.f.serif&&d===a.f[\"sans-serif\"])||(c=U()&&ma(a,b,d));c?q()-a.A>=a.w?U()&&ma(a,b,d)&&(null===a.u||a.u.hasOwnProperty(a.a.c))?V(a,a.v):V(a,a.B):na(a):V(a,a.v)}function na(a){setTimeout(p(function(){la(this)},a),50)}function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j.a);v(this.o.a);b(this.a)},a),0)};function W(a,b,d){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=d}var X=null;W.prototype.g=function(a){var b=this.a;b.g&&w(b.f,[b.a.c(\"wf\",a.c,K(a).toString(),\"active\")],[b.a.c(\"wf\",a.c,K(a).toString(),\"loading\"),b.a.c(\"wf\",a.c,K(a).toString(),\"inactive\")]);L(b,\"fontactive\",a);this.o=!0;oa(this)};\nW.prototype.h=function(a){var b=this.a;if(b.g){var d=y(b.f,b.a.c(\"wf\",a.c,K(a).toString(),\"active\")),c=[],e=[b.a.c(\"wf\",a.c,K(a).toString(),\"loading\")];d||c.push(b.a.c(\"wf\",a.c,K(a).toString(),\"inactive\"));w(b.f,c,e)}L(b,\"fontinactive\",a);oa(this)};function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c(\"wf\",\"active\")],[a.a.c(\"wf\",\"loading\"),a.a.c(\"wf\",\"inactive\")]),L(a,\"active\")):M(a.a))};function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}pa.prototype.load=function(a){this.c=new ca(this.j,a.context||this.j);this.g=!1!==a.events;this.f=!1!==a.classes;qa(this,new ha(this.c,a),a)};\nfunction ra(a,b,d,c,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){var a=e||null,k=c||null||{};if(0===d.length&&f)M(b.a);else{b.f+=d.length;f&&(b.j=f);var h,m=[];for(h=0;h<d.length;h++){var l=d[h],n=k[l.c],r=b.a,x=l;r.g&&w(r.f,[r.a.c(\"wf\",x.c,K(x).toString(),\"loading\")]);L(r,\"fontloading\",x);r=null;null===X&&(X=window.FontFace?(x=/Gecko.*Firefox\\/(\\d+)/.exec(window.navigator.userAgent))?42<parseInt(x[1],10):!0:!1);X?r=new Q(p(b.g,b),p(b.h,b),b.c,l,b.s,n):r=new R(p(b.g,b),p(b.h,b),b.c,l,b.s,a,\nn);m.push(r)}for(h=0;h<m.length;h++)m[h].start()}},0)}function qa(a,b,d){var c=[],e=d.timeout;ia(b);var c=ka(a.a,d,a.c),f=new W(a.c,b,e);a.h=c.length;b=0;for(d=c.length;b<d;b++)c[b].load(function(b,c,d){ra(a,f,b,c,d)})};function sa(a,b){this.c=a;this.a=b}function ta(a,b,d){var c=z(a.c);a=(a.a.api||\"fast.fonts.net/jsapi\").replace(/^.*http(s?):(\\/\\/)?/,\"\");return c+\"//\"+a+\"/\"+b+\".js\"+(d?\"?v=\"+d:\"\")}\nsa.prototype.load=function(a){function b(){if(e[\"__mti_fntLst\"+d]){var c=e[\"__mti_fntLst\"+d](),g=[],k;if(c)for(var h=0;h<c.length;h++){var m=c[h].fontfamily;void 0!=c[h].fontStyle&&void 0!=c[h].fontWeight?(k=c[h].fontStyle+c[h].fontWeight,g.push(new H(m,k))):g.push(new H(m))}a(g)}else setTimeout(function(){b()},50)}var d=this.a.projectId,c=this.a.version;if(d){var e=this.c.m;B(this.c,ta(this,d,c),function(c){c?a([]):b()}).id=\"__MonotypeAPIScript__\"+d}else a([])};function ua(a,b){this.c=a;this.a=b}ua.prototype.load=function(a){var b,d,c=this.a.urls||[],e=this.a.families||[],f=this.a.testStrings||{},g=new C;b=0;for(d=c.length;b<d;b++)A(this.c,c[b],D(g));var k=[];b=0;for(d=e.length;b<d;b++)if(c=e[b].split(\":\"),c[1])for(var h=c[1].split(\",\"),m=0;m<h.length;m+=1)k.push(new H(c[0],h[m]));else k.push(new H(c[0]));F(g,function(){a(k,f)})};function va(a,b,d){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=d||\"\"}var wa=\"//fonts.googleapis.com/css\";function xa(a,b){for(var d=b.length,c=0;c<d;c++){var e=b[c].split(\":\");3==e.length&&a.f.push(e.pop());var f=\"\";2==e.length&&\"\"!=e[1]&&(f=\":\");a.a.push(e.join(f))}}\nfunction ya(a){if(0==a.a.length)throw Error(\"No fonts to load!\");if(-1!=a.c.indexOf(\"kit=\"))return a.c;for(var b=a.a.length,d=[],c=0;c<b;c++)d.push(a.a[c].replace(/ /g,\"+\"));b=a.c+\"?family=\"+d.join(\"%7C\");0<a.f.length&&(b+=\"&subset=\"+a.f.join(\",\"));0<a.g.length&&(b+=\"&text=\"+encodeURIComponent(a.g));return b};function za(a){this.f=a;this.a=[];this.c={}}\nvar Aa={latin:\"BESbswy\",cyrillic:\"\\u0439\\u044f\\u0416\",greek:\"\\u03b1\\u03b2\\u03a3\",khmer:\"\\u1780\\u1781\\u1782\",Hanuman:\"\\u1780\\u1781\\u1782\"},Ba={thin:\"1\",extralight:\"2\",\"extra-light\":\"2\",ultralight:\"2\",\"ultra-light\":\"2\",light:\"3\",regular:\"4\",book:\"4\",medium:\"5\",\"semi-bold\":\"6\",semibold:\"6\",\"demi-bold\":\"6\",demibold:\"6\",bold:\"7\",\"extra-bold\":\"8\",extrabold:\"8\",\"ultra-bold\":\"8\",ultrabold:\"8\",black:\"9\",heavy:\"9\",l:\"3\",r:\"4\",b:\"7\"},Ca={i:\"i\",italic:\"i\",n:\"n\",normal:\"n\"},Da=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;\nfunction Ea(a){for(var b=a.f.length,d=0;d<b;d++){var c=a.f[d].split(\":\"),e=c[0].replace(/\\+/g,\" \"),f=[\"n4\"];if(2<=c.length){var g;var k=c[1];g=[];if(k)for(var k=k.split(\",\"),h=k.length,m=0;m<h;m++){var l;l=k[m];if(l.match(/^[\\w-]+$/)){var n=Da.exec(l.toLowerCase());if(null==n)l=\"\";else{l=n[2];l=null==l||\"\"==l?\"n\":Ca[l];n=n[1];if(null==n||\"\"==n)n=\"4\";else var r=Ba[n],n=r?r:isNaN(n)?\"4\":n.substr(0,1);l=[l,n].join(\"\")}}else l=\"\";l&&g.push(l)}0<g.length&&(f=g);3==c.length&&(c=c[2],g=[],c=c?c.split(\",\"):\ng,0<c.length&&(c=Aa[c[0]])&&(a.c[e]=c))}a.c[e]||(c=Aa[e])&&(a.c[e]=c);for(c=0;c<f.length;c+=1)a.a.push(new H(e,f[c]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,d=this.c,c=new va(this.a.api,z(d),this.a.text),e=this.a.families;xa(c,e);var f=new za(e);Ea(f);A(d,ya(c),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,d=this.c.m;b?B(this.c,(this.a.api||\"https://use.typekit.net\")+\"/\"+b+\".js\",function(b){if(b)a([]);else if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){b=d.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{d.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,d=this.c.m,c=this;b?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[b]=function(b,d){for(var g=0,k=d.fonts.length;g<k;++g){var h=d.fonts[g];c.a.push(new H(h.name,ga(\"font-weight:\"+h.weight+\";font-style:\"+h.style)))}a(c.a)},B(this.c,z(this.c)+(this.f.api||\"//f.fontdeck.com/s/css/js/\")+ea(this.c)+\"/\"+b+\".js\",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};\"function\"===typeof define&&define.amd?define(function(){return Z}):\"undefined\"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}());\n"
  },
  {
    "path": "public/index.html",
    "content": "<html>\n  <head>\n    <title>Welcome to Restful-Booker</title>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <link href=\"https://fonts.googleapis.com/css?family=Cabin\" rel=\"stylesheet\">\n    <link href=\"https://fonts.googleapis.com/css?family=Muli\" rel=\"stylesheet\">\n    <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css\">\n    <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js\"></script>\n    <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js\"></script>\n    <style>\n        h1, h2, h3, h4, h5 {\n            font-family: 'Cabin', Arial, Helvetica, sans-serif;\n            text-align: center;\n        }\n\n        p {\n            font-size: 1.2em;\n            font-family: 'Muli', Arial, Helvetica, sans-serif;\n        }\n\t</style>\n\n  <!-- Google tag (gtag.js) -->\n  <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-2Q48X98CJ6\"></script>\n  <script>\n    window.dataLayer = window.dataLayer || [];\n    function gtag(){dataLayer.push(arguments);}\n    gtag('js', new Date());\n\n    gtag('config', 'G-2Q48X98CJ6');\n  </script>\n\n  </head>\n  <body>\n    <div class=\"jumbotron p-4\">\n      <div class=\"container\">\n        <div class=\"row\">\n          <div class=\"col-12 text-center\">\n            <h1>Welcome to Restful-Booker</h1>\n            <p>An API playground created by <a href=\"http://mwtestconsultancy.co.uk/\">Mark Winteringham</a> for those wanting to learn more about API testing and tools</p>\n          </div>\n        </div>\n        <div class=\"row\">\n          <div class=\"col-12 text-center\">\n            <p><a href=\"https://twitter.com/2bittester\" alt=\"Twitter\">@2bittester</a> | <a href=\"http://mwtestconsultancy.co.uk/\" alt=\"MWTestConsultancy Website\">Website</a> | <a href=\"https://github.com/mwinteringham/restful-booker\" alt=\"API Code\">Code</a> | <a href=\"/apidoc/index.html\" alt=\"API documentation\">API Docs</a></p>\n          </div>\n        </div>\n      </div>\n    </div>\n    <div class=\"container\">\n      <div class=\"row\">\n        <div class=\"col-12\">\n        \t<p>Welcome to Restful-booker an API that you can use to learn more about API Testing or try out API testing tools against. Restful-booker is a <span style=\"color: red; font-weight: bold\">C</span>reate <span style=\"color: red; font-weight: bold\">R</span>ead <span style=\"color: red; font-weight: bold\">U</span>pdate <span style=\"color: red; font-weight: bold\">D</span>elete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore. The API comes pre-loaded with 10 records for you to work with <span style=\"font-weight: bold\">and resets itself every 10 minutes back to that default state.</span> Restful-booker also comes with <a href=\"/apidoc/index.html\" alt=\"API documentation\">detailed API documentation</a> to help get you started with your API testing straight away.</p>\n        </div>\n      </div>\n      <div class=\"row\">\n          <div class=\"col-12\">\n\t\t\t\t    <h2>Support me and Restful-Booker</h2>\n\t\t\t\t    <br />\n\t\t\t\t    <p>Restful-booker is a free to use API for practising testing, but if you enjoy using this API please consider supporting me by purchasing one of my books. Alternatively you can support <a href=\"https://www.ministryoftesting.com/go-pro?utm_medium=web&utm_source=restful-booker\" target=\"_blank\">Ministry of Testing</a> who host this API by going Pro.</p>\n          </div>  \n      </div>\n      <div class=\"row text-center\">\n        <div class=\"col-4\">\n            <h4 class=\"pb-2\">Buy AI-Assisted Testing</h4>\n            <a href=\"https://bit.ly/ai-testing\" target=\"_blank\"><img src=\"/images/ai-assisted-testing.jpg\" alt=\"Testing Web APIs\" class=\"img img-fluid w-50 border border-light\"></a>\n        </div>\n        <div class=\"col-4\">\n          <h4 class=\"pb-2\">Buy Testing Web APIs</h4>\n          <a href=\"https://bit.ly/testwebapis\" target=\"_blank\"><img src=\"/images/testing-web-apis.jpg\" alt=\"Testing Web APIs\" class=\"img img-fluid w-50 border border-light\"></a>\n        </div>\n        <div class=\"col-4\">\n            <h4 class=\"pb-2\">Go Pro with Ministry of Testing</h4>\n            <a href=\"https://www.ministryoftesting.com/go-pro?utm_medium=web&utm_source=restful-booker\" target=\"_blank\"><img src=\"/images/motpro.png\" alt=\"Boost your learning, go Pro\" class=\"img img-fluid w-75\"></a>\n        </div>\n    </div>\n    </div>\n  </body>\n</html>\n"
  },
  {
    "path": "routes/apidoc.json",
    "content": "{\n    \"name\": \"restful-booker\",\n    \"description\": \"API documentation for the playground API restful-booker. <a href='/' style='font-size: 24px'>Click here to go back to Home</a>\",\n    \"title\": \"Restful-booker\",\n    \"url\" : \"https://restful-booker.herokuapp.com/\",\n    \"order\": [\n        \"GetBookings\",\n        \"GetBooking\",\n        \"CreateBooking\",\n        \"UpdateBooking\",\n        \"PartialUpdateBooking\",\n        \"DeleteBooking\"\n    ]\n}"
  },
  {
    "path": "routes/index.js",
    "content": "const express = require('express');\nconst router = express.Router(),\n    parse = require('../helpers/parser'),\n    crypto = require('crypto'),\n    Booking = require('../models/booking'),\n    validator = require('../helpers/validator'),\n    creator = require('../helpers/bookingcreator'),\nglobalLogins = {};\n\nconst { v4: uuidv4 } = require('uuid');\n\nif(process.env.SEED === 'true'){\n  let count = 1;\n\n  (function createBooking(){\n    const newBooking = creator.createBooking();\n\n    Booking.create(newBooking, function(err, result){\n      if(err) return console.error(err);\n\n      if(count < 10){\n        count++;\n        createBooking();\n      }\n    });\n  })()\n};\n\n/**\n * @api {get} ping HealthCheck\n * @apiName Ping\n * @apiGroup Ping\n * @apiVersion 1.0.0\n * @apiDescription A simple health check endpoint to confirm whether the API is up and running.\n *\n * @apiExample Ping server:\n * curl -i https://restful-booker.herokuapp.com/ping\n * \n * @apiSuccess {String} OK Default HTTP 201 response\n * \n * @apiSuccessExample {json} Response:\n *     HTTP/1.1 201 Created\n */\nrouter.get('/ping', function(req, res, next) {\n  res.sendStatus(201);\n});\n\n/**\n * @api {get} booking GetBookingIds\n * @apiName GetBookings\n * @apiGroup Booking\n * @apiVersion 1.0.0\n * @apiDescription Returns the ids of all the bookings that exist within the API. Can take optional query strings to search and return a subset of booking ids.\n *\n * @apiParam {String} [firstname] Return bookings with a specific firstname\n * @apiParam {String} [lastname]  Return bookings with a specific lastname\n * @apiParam {date}   [checkin]   Return bookings that have a checkin date greater than or equal to the set checkin date. Format must be CCYY-MM-DD\n * @apiParam {date}   [checkout]  Return bookings that have a checkout date greater than or equal to the set checkout date. Format must be CCYY-MM-DD\n * \n * @apiExample Example 1 (All IDs):\n * curl -i https://restful-booker.herokuapp.com/booking\n * \n * @apiExample Example 2 (Filter by name):\n * curl -i https://restful-booker.herokuapp.com/booking?firstname=sally&lastname=brown\n * \n * @apiExample Example 3 (Filter by checkin/checkout date):\n * curl -i https://restful-booker.herokuapp.com/booking?checkin=2014-03-13&checkout=2014-05-21\n * \n * @apiSuccess {object[]} object Array of objects that contain unique booking IDs\n * @apiSuccess {number} object.bookingid ID of a specific booking that matches search criteria\n * \n * @apiSuccessExample {json} Response:\n * HTTP/1.1 200 OK\n * \n * [\n  {\n    \"bookingid\": 1\n  },\n  {\n    \"bookingid\": 2\n  },\n  {\n    \"bookingid\": 3\n  },\n  {\n    \"bookingid\": 4\n  }\n] \n*/\nrouter.get('/booking', function(req, res, next) {\n  const query = {};\n\n  if(typeof(req.query.firstname) != 'undefined'){\n    query.firstname = req.query.firstname\n  }\n\n  if(typeof(req.query.lastname) != 'undefined'){\n    query.lastname = req.query.lastname\n  }\n\n  if(typeof(req.query.checkin) != 'undefined'){\n    query[\"bookingdates.checkin\"] = {$gt: new Date(req.query.checkin).toISOString()}\n  }\n\n  if(typeof(req.query.checkout) != 'undefined'){\n    query[\"bookingdates.checkout\"] = {$lt: new Date(req.query.checkout).toISOString()}\n  }\n\n  Booking.getIDs(query, function(err, record){\n    const booking = parse.bookingids(req, record);\n\n    if(!booking){\n      res.sendStatus(418);\n    } else {\n      res.send(booking);\n    }\n  })\n});\n\n/**\n * @api {get} booking/:id GetBooking\n * @apiName GetBooking\n * @apiGroup Booking\n * @apiVersion 1.0.0\n * @apiDescription Returns a specific booking based upon the booking id provided\n * \n * @apiParam (Url Parameter) {String} id The id of the booking you would like to retrieve\n * \n * @apiHeader {string} Accept=application/json Sets what format the response body is returned in. Can be application/json or application/xml\n * \n * @apiExample Example 1 (Get booking):\n * curl -i https://restful-booker.herokuapp.com/booking/1\n * \n * @apiSuccess {String}  firstname             Firstname for the guest who made the booking\n * @apiSuccess {String}  lastname              Lastname for the guest who made the booking\n * @apiSuccess {Number}  totalprice            The total price for the booking\n * @apiSuccess {Boolean} depositpaid           Whether the deposit has been paid or not\n * @apiSuccess {Object}  bookingdates          Sub-object that contains the checkin and checkout dates\n * @apiSuccess {Date}    bookingdates.checkin  Date the guest is checking in\n * @apiSuccess {Date}    bookingdates.checkout Date the guest is checking out\n * @apiSuccess {String}  additionalneeds       Any other needs the guest has\n * \n * @apiSuccessExample {json} JSON Response:\n * HTTP/1.1 200 OK\n * \n * {\n    \"firstname\": \"Sally\",\n    \"lastname\": \"Brown\",\n    \"totalprice\": 111,\n    \"depositpaid\": true,\n    \"bookingdates\": {\n        \"checkin\": \"2013-02-23\",\n        \"checkout\": \"2014-10-23\"\n    },\n    \"additionalneeds\": \"Breakfast\"\n}\n * @apiSuccessExample {xml} XML Response:\n * HTTP/1.1 200 OK\n * \n * <booking>\n    <firstname>Sally</firstname>\n    <lastname>Brown</lastname>\n    <totalprice>111</totalprice>\n    <depositpaid>true</depositpaid>\n    <bookingdates>\n        <checkin>2013-02-23</checkin>\n        <checkout>2014-10-23</checkout>\n    </bookingdates>\n    <additionalneeds>Breakfast</additionalneeds>\n</booking>\n *\n * @apiSuccessExample {url} URL Response:\n * HTTP/1.1 200 OK\n * \n * firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\n */\nrouter.get('/booking/:id',function(req, res, next){\n  Booking.get(req.params.id, function(err, record){\n    if(record){\n      const booking = parse.booking(req.headers.accept, record);\n\n      if(!booking){\n        res.sendStatus(418);\n      } else {\n        res.send(booking);\n      }\n    } else {\n      res.sendStatus(404)\n    }\n  })\n});\n\n/**\n * @api {post} booking CreateBooking\n * @apiName CreateBooking\n * @apiGroup Booking\n * @apiVersion 1.0.0\n * @apiDescription Creates a new booking in the API\n * \n * @apiParam (Request body) {String}  firstname             Firstname for the guest who made the booking\n * @apiParam (Request body) {String}  lastname              Lastname for the guest who made the booking\n * @apiParam (Request body) {Number}  totalprice            The total price for the booking\n * @apiParam (Request body) {Boolean} depositpaid           Whether the deposit has been paid or not\n * @apiParam (Request body) {Date}    bookingdates.checkin  Date the guest is checking in\n * @apiParam (Request body) {Date}    bookingdates.checkout Date the guest is checking out\n * @apiParam (Request body) {String}  additionalneeds       Any other needs the guest has\n * \n * @apiHeader {string} Content-Type=application/json Sets the format of payload you are sending. Can be application/json or text/xml\n * @apiHeader {string} Accept=application/json Sets what format the response body is returned in. Can be application/json or application/xml\n * \n * @apiExample JSON example usage:\n * curl -X POST \\\n  https://restful-booker.herokuapp.com/booking \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"firstname\" : \"Jim\",\n    \"lastname\" : \"Brown\",\n    \"totalprice\" : 111,\n    \"depositpaid\" : true,\n    \"bookingdates\" : {\n        \"checkin\" : \"2018-01-01\",\n        \"checkout\" : \"2019-01-01\"\n    },\n    \"additionalneeds\" : \"Breakfast\"\n}'\n * @apiExample XML example usage:\n * curl -X POST \\\n  https://restful-booker.herokuapp.com/booking \\\n  -H 'Content-Type: text/xml' \\\n  -d '<booking>\n    <firstname>Jim</firstname>\n    <lastname>Brown</lastname>\n    <totalprice>111</totalprice>\n    <depositpaid>true</depositpaid>\n    <bookingdates>\n      <checkin>2018-01-01</checkin>\n      <checkout>2019-01-01</checkout>\n    </bookingdates>\n    <additionalneeds>Breakfast</additionalneeds>\n  </booking>'\n *\n * @apiExample URLencoded example usage:\n * curl -X POST \\\n  https://restful-booker.herokuapp.com/booking \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d 'firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2018-01-02'\n * \n * @apiSuccess {Number}  bookingid                     ID for newly created booking\n * @apiSuccess {Object}  booking                       Object that contains \n * @apiSuccess {String}  booking.firstname             Firstname for the guest who made the booking\n * @apiSuccess {String}  booking.lastname              Lastname for the guest who made the booking\n * @apiSuccess {Number}  booking.totalprice            The total price for the booking\n * @apiSuccess {Boolean} booking.depositpaid           Whether the deposit has been paid or not\n * @apiSuccess {Object}  booking.bookingdates          Sub-object that contains the checkin and checkout dates\n * @apiSuccess {Date}    booking.bookingdates.checkin  Date the guest is checking in\n * @apiSuccess {Date}    booking.bookingdates.checkout Date the guest is checking out\n * @apiSuccess {String}  booking.additionalneeds       Any other needs the guest has\n * \n * @apiSuccessExample {json} JSON Response:\n * HTTP/1.1 200 OK\n * \n * {\n    \"bookingid\": 1,\n    \"booking\": {\n        \"firstname\": \"Jim\",\n        \"lastname\": \"Brown\",\n        \"totalprice\": 111,\n        \"depositpaid\": true,\n        \"bookingdates\": {\n            \"checkin\": \"2018-01-01\",\n            \"checkout\": \"2019-01-01\"\n        },\n        \"additionalneeds\": \"Breakfast\"\n    }\n}\n * @apiSuccessExample {xml} XML Response:\n * HTTP/1.1 200 OK\n * \n * <?xml version='1.0'?>\n<created-booking>\n    <bookingid>1</bookingid>\n    <booking>\n        <firstname>Jim</firstname>\n        <lastname>Brown</lastname>\n        <totalprice>111</totalprice>\n        <depositpaid>true</depositpaid>\n        <bookingdates>\n            <checkin>2018-01-01</checkin>\n            <checkout>2019-01-01</checkout>\n        </bookingdates>\n        <additionalneeds>Breakfast</additionalneeds>\n    </booking>\n</created-booking>\n * @apiSuccessExample {url} URL Response:\n * HTTP/1.1 200 OK\n * \n * bookingid=1&booking%5Bfirstname%5D=Jim&booking%5Blastname%5D=Brown&booking%5Btotalprice%5D=111&booking%5Bdepositpaid%5D=true&booking%5Bbookingdates%5D%5Bcheckin%5D=2018-01-01&booking%5Bbookingdates%5D%5Bcheckout%5D=2019-01-01\n */\nrouter.post('/booking', function(req, res, next) {\n  newBooking = req.body;\n  if(req.headers['content-type'] === 'text/xml') newBooking = newBooking.booking;\n\n  validator.scrubAndValidate(newBooking, function(payload, msg){\n    if(!msg){\n      Booking.create(newBooking, function(err, booking){\n        if(err)\n          res.sendStatus(500);\n        else {\n          const record = parse.bookingWithId(req, booking);\n\n          if(!record){\n            res.sendStatus(418);\n          } else {\n            res.send(record);\n          }\n        }\n      })\n    } else {\n      res.sendStatus(500);\n    }\n  })\n});\n\n/**\n * @api {put} booking/:id UpdateBooking\n * @apiName UpdateBooking\n * @apiGroup Booking\n * @apiVersion 1.0.0\n * @apiDescription Updates a current booking\n * \n * @apiParam (Url Parameter) {Number} id                    ID for the booking you want to update\n * \n * @apiParam (Request body) {String}  firstname             Firstname for the guest who made the booking\n * @apiParam (Request body) {String}  lastname              Lastname for the guest who made the booking\n * @apiParam (Request body) {Number}  totalprice            The total price for the booking\n * @apiParam (Request body) {Boolean} depositpaid           Whether the deposit has been paid or not\n * @apiParam (Request body) {Date}    bookingdates.checkin  Date the guest is checking in\n * @apiParam (Request body) {Date}    bookingdates.checkout Date the guest is checking out\n * @apiParam (Request body) {String}  additionalneeds       Any other needs the guest has\n * \n * @apiHeader {string} Content-Type=application/json                    Sets the format of payload you are sending. Can be application/json or text/xml\n * @apiHeader {string} Accept=application/json                          Sets what format the response body is returned in. Can be application/json or application/xml\n * @apiHeader {string} [Cookie=token=&lt;token_value&gt;]                     Sets an authorization token to access the PUT endpoint, can be used as an alternative to the Authorization\n * @apiHeader {string} [Authorization=Basic YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the PUT endpoint, can be used as an alternative to the Cookie header\n * \n * @apiExample JSON example usage:\n * curl -X PUT \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Accept: application/json' \\\n  -H 'Cookie: token=abc123' \\\n  -d '{\n    \"firstname\" : \"James\",\n    \"lastname\" : \"Brown\",\n    \"totalprice\" : 111,\n    \"depositpaid\" : true,\n    \"bookingdates\" : {\n        \"checkin\" : \"2018-01-01\",\n        \"checkout\" : \"2019-01-01\"\n    },\n    \"additionalneeds\" : \"Breakfast\"\n}'\n *\n * @apiExample XML example usage:\n * curl -X PUT \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: text/xml' \\\n  -H 'Accept: application/xml' \\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\n  -d '<booking>\n    <firstname>James</firstname>\n    <lastname>Brown</lastname>\n    <totalprice>111</totalprice>\n    <depositpaid>true</depositpaid>\n    <bookingdates>\n      <checkin>2018-01-01</checkin>\n      <checkout>2019-01-01</checkout>\n    </bookingdates>\n    <additionalneeds>Breakfast</additionalneeds>\n  </booking>'\n *\n * @apiExample URLencoded example usage:\n * curl -X PUT \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -H 'Accept: application/x-www-form-urlencoded' \\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\n  -d 'firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2018-01-02'\n * \n * @apiSuccess {String}  firstname             Firstname for the guest who made the booking\n * @apiSuccess {String}  lastname              Lastname for the guest who made the booking\n * @apiSuccess {Number}  totalprice            The total price for the booking\n * @apiSuccess {Boolean} depositpaid           Whether the deposit has been paid or not\n * @apiSuccess {Object}  bookingdates          Sub-object that contains the checkin and checkout dates\n * @apiSuccess {Date}    bookingdates.checkin  Date the guest is checking in\n * @apiSuccess {Date}    bookingdates.checkout Date the guest is checking out\n * @apiSuccess {String}  additionalneeds       Any other needs the guest has\n * \n * @apiSuccessExample {json} JSON Response:\n * HTTP/1.1 200 OK\n * \n * {\n    \"firstname\" : \"James\",\n    \"lastname\" : \"Brown\",\n    \"totalprice\" : 111,\n    \"depositpaid\" : true,\n    \"bookingdates\" : {\n        \"checkin\" : \"2018-01-01\",\n        \"checkout\" : \"2019-01-01\"\n    },\n    \"additionalneeds\" : \"Breakfast\"\n}\n * @apiSuccessExample {xml} XML Response:\n * HTTP/1.1 200 OK\n * \n * <booking>\n    <firstname>James</firstname>\n    <lastname>Brown</lastname>\n    <totalprice>111</totalprice>\n    <depositpaid>true</depositpaid>\n    <bookingdates>\n      <checkin>2018-01-01</checkin>\n      <checkout>2019-01-01</checkout>\n    </bookingdates>\n    <additionalneeds>Breakfast</additionalneeds>\n</booking>\n *\n * @apiSuccessExample {url} URL Response:\n * HTTP/1.1 200 OK\n * \n * firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\n */\nrouter.put('/booking/:id', function(req, res, next) {\n  if(globalLogins[req.cookies.token] || req.headers.authorization == 'Basic YWRtaW46cGFzc3dvcmQxMjM='){\n    updatedBooking = req.body;\n    if(req.headers['content-type'] === 'text/xml') updatedBooking = updatedBooking.booking;\n\n    validator.scrubAndValidate(updatedBooking, function(payload, msg){\n      if(!msg){\n        Booking.update(req.params.id, updatedBooking, function(err){\n          Booking.get(req.params.id, function(err, record){\n            if(record){\n              const booking = parse.booking(req.headers.accept, record);\n\n              if(!booking){\n                res.sendStatus(418);\n              } else {\n                res.send(booking);\n              }\n            } else {\n              res.sendStatus(405);\n            }\n          })\n        })\n      } else {\n        res.sendStatus(400);\n      }\n    });\n  } else {\n    res.sendStatus(403);\n  }\n});\n\n/**\n * @api {patch} booking/:id PartialUpdateBooking\n * @apiName PartialUpdateBooking\n * @apiGroup Booking\n * @apiVersion 1.0.0\n * @apiDescription Updates a current booking with a partial payload\n * \n * @apiParam (Url Parameter) {Number} id                      ID for the booking you want to update\n * \n * @apiParam (Request body) {String}  [firstname]             Firstname for the guest who made the booking\n * @apiParam (Request body) {String}  [lastname]              Lastname for the guest who made the booking\n * @apiParam (Request body) {Number}  [totalprice]            The total price for the booking\n * @apiParam (Request body) {Boolean} [depositpaid]           Whether the deposit has been paid or not\n * @apiParam (Request body) {Date}    [bookingdates.checkin]  Date the guest is checking in\n * @apiParam (Request body) {Date}    [bookingdates.checkout] Date the guest is checking out\n * @apiParam (Request body) {String}  [additionalneeds]       Any other needs the guest has\n * \n * @apiHeader {string} Content-Type=application/json                    Sets the format of payload you are sending. Can be application/json or text/xml\n * @apiHeader {string} Accept=application/json                          Sets what format the response body is returned in. Can be application/json or application/xml\n * @apiHeader {string} [Cookie=token=&lt;token_value&gt;]                     Sets an authorization token to access the PUT endpoint, can be used as an alternative to the Authorization\n * @apiHeader {string} [Authorization=Basic YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the PUT endpoint, can be used as an alternative to the Cookie header\n * \n * @apiExample JSON example usage:\n * curl -X PUT \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Accept: application/json' \\\n  -H 'Cookie: token=abc123' \\\n  -d '{\n    \"firstname\" : \"James\",\n    \"lastname\" : \"Brown\"\n}'\n *\n * @apiExample XML example usage:\n * curl -X PUT \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: text/xml' \\\n  -H 'Accept: application/xml' \\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\n  -d '<booking>\n    <firstname>James</firstname>\n    <lastname>Brown</lastname>\n  </booking>'\n *\n * @apiExample URLencoded example usage:\n * curl -X PUT \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -H 'Accept: application/x-www-form-urlencoded' \\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM=' \\\n  -d 'firstname=Jim&lastname=Brown'\n * \n * @apiSuccess {String}  firstname             Firstname for the guest who made the booking\n * @apiSuccess {String}  lastname              Lastname for the guest who made the booking\n * @apiSuccess {Number}  totalprice            The total price for the booking\n * @apiSuccess {Boolean} depositpaid           Whether the deposit has been paid or not\n * @apiSuccess {Object}  bookingdates          Sub-object that contains the checkin and checkout dates\n * @apiSuccess {Date}    bookingdates.checkin  Date the guest is checking in\n * @apiSuccess {Date}    bookingdates.checkout Date the guest is checking out\n * @apiSuccess {String}  additionalneeds       Any other needs the guest has\n * \n * @apiSuccessExample {json} JSON Response:\n * HTTP/1.1 200 OK\n * \n * {\n    \"firstname\" : \"James\",\n    \"lastname\" : \"Brown\",\n    \"totalprice\" : 111,\n    \"depositpaid\" : true,\n    \"bookingdates\" : {\n        \"checkin\" : \"2018-01-01\",\n        \"checkout\" : \"2019-01-01\"\n    },\n    \"additionalneeds\" : \"Breakfast\"\n}\n * @apiSuccessExample {xml} XML Response:\n * HTTP/1.1 200 OK\n * \n * <booking>\n    <firstname>James</firstname>\n    <lastname>Brown</lastname>\n    <totalprice>111</totalprice>\n    <depositpaid>true</depositpaid>\n    <bookingdates>\n      <checkin>2018-01-01</checkin>\n      <checkout>2019-01-01</checkout>\n    </bookingdates>\n    <additionalneeds>Breakfast</additionalneeds>\n</booking>\n *\n * @apiSuccessExample {url} URL Response:\n * HTTP/1.1 200 OK\n * \n * firstname=Jim&lastname=Brown&totalprice=111&depositpaid=true&bookingdates%5Bcheckin%5D=2018-01-01&bookingdates%5Bcheckout%5D=2019-01-01\n */\nrouter.patch('/booking/:id', function(req, res) {\n  if(globalLogins[req.cookies.token] || req.headers.authorization == 'Basic YWRtaW46cGFzc3dvcmQxMjM='){\n    updatedBooking = req.body;\n\n    if(req.headers['content-type'] === 'text/xml') updatedBooking = updatedBooking.booking;\n\n    Booking.update(req.params.id, updatedBooking, function(err){\n      Booking.get(req.params.id, function(err, record){\n        if(record){\n          const booking = parse.booking(req.headers.accept, record);\n\n          if(!booking){\n            res.sendStatus(500);\n          } else {\n            res.send(booking);\n          }\n        } else {\n          res.sendStatus(405);\n        }\n      })\n    });\n  } else {\n    res.sendStatus(403);\n  }\n});\n\n/**\n * @api {delete} booking/1 DeleteBooking\n * @apiName DeleteBooking\n * @apiGroup Booking\n * @apiVersion 1.0.0\n * @apiDescription Deletes a booking from the API. Requires an authorization token to be set in the header or a Basic auth header.\n *\n * @apiParam (Url Parameter) {Number} id  ID for the booking you want to update\n * \n * @apiHeader {string} [Cookie=token=&lt;token_value&gt;]                     Sets an authorization token to access the DELETE endpoint, can be used as an alternative to the Authorization\n * @apiHeader {string} [Authorization=Basic YWRtaW46cGFzc3dvcmQxMjM=]   Basic authorization header to access the DELETE endpoint, can be used as an alternative to the Cookie header\n * \n * @apiExample Example 1 (Cookie):\n * curl -X DELETE \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Cookie: token=abc123'\n *\n * @apiExample Example 2 (Basic auth):\n * curl -X DELETE \\\n  https://restful-booker.herokuapp.com/booking/1 \\\n  -H 'Content-Type: application/json' \\\n  -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM='\n * \n * @apiSuccess {String} OK Default HTTP 201 response\n * \n * @apiSuccessExample {json} Response:\n *     HTTP/1.1 201 Created\n*/\nrouter.delete('/booking/:id', function(req, res, next) {\n  if(globalLogins[req.cookies.token] || req.headers.authorization == 'Basic YWRtaW46cGFzc3dvcmQxMjM='){\n    Booking.get(req.params.id, function(err, record){\n      if(record){\n        Booking.delete(req.params.id, function(err){\n            res.sendStatus(201);\n        });\n      } else {\n        res.sendStatus(405);\n      }\n    });\n  } else {\n    res.sendStatus(403);\n  }\n});\n\n/**\n * @api {post} auth CreateToken\n * @apiName CreateToken\n * @apiGroup Auth\n * @apiVersion 1.0.0\n * @apiDescription Creates a new auth token to use for access to the PUT and DELETE /booking\n * \n * @apiParam (Request body) {String}  username=admin        Username for authentication\n * @apiParam (Request body) {String}  password=password123  Password for authentication\n * \n * @apiHeader {string} Content-Type=application/json        Sets the format of payload you are sending\n * \n * @apiExample Example 1:\n * curl -X POST \\\n  https://restful-booker.herokuapp.com/auth \\\n  -H 'Content-Type: application/json' \\\n  -d '{\n    \"username\" : \"admin\",\n    \"password\" : \"password123\"\n}'\n * @apiSuccess {String}  token  Token to use in future requests\n * \n * @apiSuccessExample {json} Response:\n * HTTP/1.1 200 OK\n * \n * {\n    \"token\": \"abc123\"\n}\n */\nrouter.post('/auth', function(req, res, next){\n  if(req.body.username === \"admin\" && req.body.password === \"password123\"){\n    const token = crypto.randomBytes(Math.ceil(15 / 2))\n        .toString('hex')\n        .slice(0, 15);\n\n    globalLogins[token] = true;\n\n    res.send({'token': token});\n  } else {\n    res.send({'reason': 'Bad credentials'});\n  }\n});\n\nmodule.exports = router;\n"
  },
  {
    "path": "tests/spec.js",
    "content": "const request = require('supertest'),\n    expect = require('chai').expect,\n    should = require('chai').should(),\n    js2xmlparser = require(\"js2xmlparser\"),\n    assert = require('assert'),\n    Booking = require('../models/booking'),\n    xml2js = require('xml2js').parseString;\n\nconst generatePayload = function (firstname, lastname, totalprice, depositpaid, additionalneeds, checkin, checkout) {\n  const payload = {\n    'firstname': firstname,\n    'lastname': lastname,\n    'totalprice': totalprice,\n    'depositpaid': depositpaid,\n    'bookingdates': {\n      'checkin': checkin,\n      'checkout': checkout\n    }\n  };\n\n  if (typeof (additionalneeds) !== 'undefined') {\n    payload.additionalneeds = additionalneeds;\n  }\n\n  return payload\n};\n\nconst payload  = generatePayload('Sally', 'Brown', 111, true, 'Breakfast', '2013-02-01', '2013-02-04'),\n    payload2 = generatePayload('Geoff', 'White', 111, true, 'Breakfast', '2013-02-02', '2013-02-05'),\n    payload3 = generatePayload('Bob', 'Brown', 111, true, 'Breakfast', '2013-02-03', '2013-02-06');\n\nconst server = require('../app');\n\ndescribe('restful-booker', function () {\n\n  it('responds to /ping', function testPing(done){\n    request(server)\n      .get('/ping')\n      .expect(201, done);\n  });\n\n  it('404 everything else', function testPath(done) {\n    request(server)\n      .get('/foo/bar')\n      .expect(404, done);\n  });\n\n});\n\ndescribe('restful-booker - GET /booking', function () {\n\n  beforeEach(function(done){\n    Booking.deleteAll(function(){\n      done();\n    });\n  });\n\n  it('responds with all booking ids when GET /booking', function testGetAllBookings(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        request(server)\n          .get('/booking')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.match(/[0-9]/);\n            res.body[1].should.have.property('bookingid').and.match(/[0-9]/);\n          })\n          .end(done);\n      });\n  });\n\n  it('responds with a subset of booking ids when searching by firstname date', function testQueryString(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        request(server)\n          .get('/booking?firstname=Geoff')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.equal(2);\n          })\n          .end(done)\n      })\n  });\n\n  it('responds with a subset of booking ids when searching by lastname date', function testQueryString(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        request(server)\n          .get('/booking?lastname=White')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.equal(2);\n          })\n          .end(done)\n      })\n  });\n\n  it('responds with a subset of booking ids when searching for checkin date', function testQueryString(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        request(server)\n          .get('/booking?checkin=2013-02-01')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.equal(2);\n          })\n          .end(done)\n      })\n  });\n\n  it('responds with a subset of booking ids when searching for checkout date', function testQueryString(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        request(server)\n          .get('/booking?checkout=2013-02-05')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.equal(1);\n          })\n          .end(done)\n      })\n  });\n\n  it('responds with a subset of booking ids when searching for checkin and checkout date', function testQueryString(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload3)\n      }).then(function(){\n        request(server)\n          .get('/booking?checkin=2013-02-01&checkout=2013-02-06')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.equal(2);\n          })\n          .end(done)\n      });\n  });\n\n  it('responds with a subset of booking ids when searching for name, checkin and checkout date', function testQueryString(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload2)\n      }).then(function(){\n        return request(server)\n          .post('/booking')\n          .send(payload3)\n      }).then(function(){\n        request(server)\n          .get('/booking?firstname=Geoff&lastname=White&checkin=2013-02-01&checkout=2013-02-06')\n          .expect(200)\n          .expect(function(res){\n            res.body[0].should.have.property('bookingid').and.equal(2);\n          })\n          .end(done)\n      })\n  });\n\n  it('responds with a 500 error when GET /booking with a bad date query string', function testGetWithBadDate(done){\n    request(server)\n      .get('/booking?checkout=2013-02-0')\n      .expect(500, done)\n  });\n\n  it('responds with a payload when GET /booking/{id}', function testGetOneBooking(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        request(server)\n          .get('/booking/1')\n          .set('Accept', 'application/json')\n          .expect(200)\n          .expect(payload, done)\n      });\n  });\n\n  it('responds with an XML payload when GET /booking/{id} with accept application/xml', function testGetWithXMLAccept(done){\n    xmlPayload = js2xmlparser.parse('booking', payload)\n\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        request(server)\n          .get('/booking/1')\n          .set('Accept', 'application/xml')\n          .expect(200)\n          .expect(xmlPayload, done)\n      });\n  });\n\n});\n\ndescribe('restful-booker - POST /booking', function () {\n  beforeEach(function(done){\n    Booking.deleteAll(function(){\n      done();\n    });\n  });\n\n  it('responds with the created booking and assigned booking id', function testCreateBooking(done){\n    request(server)\n      .post('/booking')\n      .set('Accept', 'application/json')\n      .send(payload)\n      .expect(200)\n      .expect(function(res){\n        res.body.bookingid.should.equal(1);\n        res.body.booking.should.deep.equal(payload);\n      })\n      .end(done)\n  });\n\n  it('responds with the created booking and assigned booking id when sent an XML payload', function testCreateBooking(done){\n    const xmlPayload = js2xmlparser.parse('booking', payload);\n\n    request(server)\n      .post('/booking')\n      .set('Content-type', 'text/xml')\n      .set('Accept', 'application/json')\n      .send(xmlPayload)\n      .expect(200)\n      .expect(function(res){\n        res.body.bookingid.should.equal(1);\n        res.body.booking.should.deep.equal(payload);\n      })\n      .end(done)\n  });\n\n  it('responds with a 500 error when a bad payload is sent', function testCreateBadBooking(done){\n    badpayload = { 'lastname': 'Brown', 'totalprice': 111, 'depositpaid': true, 'additionalneeds': 'Breakfast'}\n\n    request(server)\n      .post('/booking')\n      .send(badpayload)\n      .expect(500, done);\n  });\n\n  it('responds with the correct assigned booking id when multiple payloads are sent', function testBookingId(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        request(server)\n          .post('/booking')\n          .send(payload2)\n          .set('Accept', 'application/json')\n          .expect(200)\n          .expect(function(res) {\n            res.body.bookingid.should.equal(2);\n          })\n          .end(done)\n      })\n  });\n\n  it('responds with an XML payload when POST /booking with accept application/xml', function testGetWithXMLAccept(done){\n    const xmlPayload = js2xmlparser.parse('created-booking', {\"bookingid\": 1, \"booking\": payload2});\n\n    parseBooleans = function(str) {\n      if (/^(?:true|false)$/i.test(str)) {\n        str = str.toLowerCase() === 'true';\n      }\n      return str;\n    };\n\n    parseNumbers = function(str) {\n      if (!isNaN(str)) {\n        str = str % 1 === 0 ? parseInt(str, 10) : parseFloat(str);\n      }\n      return str;\n    };\n\n    request(server)\n      .post('/booking')\n      .set('Accept', 'application/xml')\n      .send(payload2)\n      .expect(200)\n      .expect(function(res){\n        xml2js(res.text, {explicitArray: false, valueProcessors: [parseNumbers, parseBooleans]}, function (err, result) {\n          result['created-booking'].booking.should.deep.equal(payload2);\n          result['created-booking'].bookingid.should.equal(1);\n        });\n      })\n      .end(done);\n  });\n\n  it('responds with a 200 when a payload with too many params are sent', function testCreateExtraPayload(done){\n    const extraPayload = payload;\n    extraPayload.extra = 'bad'\n\n    request(server)\n      .post('/booking')\n      .set('Accept', 'application/json')\n      .send(extraPayload)\n      .expect(200, done);\n  });\n\n  it('responds with a 418 when using a bad accept header', function testTeapot(done){\n    request(server)\n      .post('/booking')\n      .set('Accept', 'application/ogg')\n      .send(payload)\n      .expect(418, done)\n  })\n});\n\ndescribe('restful-booker POST /auth', function(){\n\n  it('responds with a 200 and a token to use when POSTing a valid credential', function testAuthReturnsToken(done){\n    request(server)\n      .post('/auth')\n      .send({'username': 'admin', 'password': 'password123'})\n      .expect(200)\n      .expect(function(res){\n        res.body.should.have.property('token').and.to.match(/[a-zA-Z0-9]{15,}/);\n      })\n      .end(done)\n  })\n\n  it('responds with a 200 and a message informing of login failed when POSTing invalid credential', function testAuthReturnsError(done){\n    request(server)\n      .post('/auth')\n      .send({'username': 'nimda', 'password': '321drowssap'})\n      .expect(200)\n      .expect(function(res){\n        res.body.should.have.property('reason').and.to.equal('Bad credentials');\n      })\n      .end(done)\n  })\n\n});\n\ndescribe('restful-booker - PUT /booking', function () {\n\n  it('responds with a 403 when no token is sent', function testNoLoginForPut(done){\n    request(server)\n      .put('/booking/1')\n      .expect(403, done);\n  });\n\n  it('responds with a 403 when not authorised', function testBadLoginForPut(done){\n      request(server)\n        .post('/auth')\n        .send({'username': 'nmida', 'password': '321drowssap'})\n        .expect(200)\n        .then(function(res){\n          request(server)\n            .put('/booking/1')\n            .set('Accept', 'application/json')\n            .set('Cookie', 'token=' + res.body.token)\n            .send(payload2)\n            .expect(403, done)\n        })\n  });\n\n  it('responds with a 200 and an updated payload', function testUpdatingABooking(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/auth')\n          .send({'username': 'admin', 'password': 'password123'})\n      })\n      .then(function(res){\n        request(server)\n          .put('/booking/1')\n          .set('Accept', 'application/json')\n          .set('Cookie', 'token=' + res.body.token)\n          .send(payload2)\n          .expect(200)\n          .expect(payload2, done);\n      })\n  });\n\n  it('responds with a 200 and an updated payload using auth', function testUpdatingABooking(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(res){\n        request(server)\n          .put('/booking/1')\n          .set('Accept', 'application/json')\n          .set('Authorization', 'Basic YWRtaW46cGFzc3dvcmQxMjM=')\n          .send(payload2)\n          .expect(200)\n          .expect(payload2, done);\n      })\n  });\n\n  it('responds with a 405 when attempting to update a booking that does not exist', function testUpdatingNonExistantBooking(done){\n      request(server)\n      .post('/auth')\n      .send({'username': 'admin', 'password': 'password123'})\n      .then(function(res){\n        request(server)\n          .put('/booking/100000')\n          .set('Accept', 'application/json')\n          .set('Cookie', 'token=' + res.body.token)\n          .send(payload2)\n          .expect(405, done);\n      })\n  })\n\n  it('responds with a 200 and an updated payload when requesting with an XML', function testUpdatingABookingWithXML(done){\n    const xmlPayload = js2xmlparser.parse('booking', payload2);\n\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/auth')\n          .send({'username': 'admin', 'password': 'password123'})\n      })\n      .then(function(res){\n        request(server)\n          .put('/booking/1')\n          .set('Cookie', 'token=' + res.body.token)\n          .set('Content-type', 'text/xml')\n          .set('Accept', 'application/json')\n          .send(xmlPayload)\n          .expect(200)\n          .expect(payload2, done);\n      })\n  });\n\n  it('responds with an XML payload when PUT /booking with accept application/xml', function testPutWithXMLAccept(done){\n    xmlPayload = js2xmlparser.parse('booking', payload2)\n\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/auth')\n          .send({'username': 'admin', 'password': 'password123'})\n      })\n      .then(function(res){\n        request(server)\n          .put('/booking/1')\n          .set('Cookie', 'token=' + res.body.token)\n          .set('Accept', 'application/xml')\n          .send(payload2)\n          .expect(200)\n          .expect(xmlPayload, done);\n      })\n  });\n});\n\ndescribe('restful-booker DELETE /booking', function(){\n\n  it('responds with a 403 when not authorised', function testNoLoginForDelete(done){\n    request(server)\n      .delete('/booking/1')\n      .expect(403, done);\n  });\n\n  it('responds with a 403 when not authorised', function testBadLoginForDelete(done){\n      request(server)\n        .post('/auth')\n        .send({'username': 'nmida', 'password': '321drowssap'})\n        .expect(200)\n        .then(function(res){\n          request(server)\n            .delete('/booking/1')\n            .set('Cookie', 'token=' + res.body.token)\n            .expect(403, done)\n        })\n  })\n\n  it('responds with a 201 when deleting an existing booking', function testDeletingAValidBooking(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(){\n        return request(server)\n          .post('/auth')\n          .send({'username': 'admin', 'password': 'password123'})\n      })\n      .then(function(res){\n        request(server)\n          .delete('/booking/1')\n          .set('Cookie', 'token=' + res.body.token)\n          .expect(201, done)\n      });\n  });\n\n  it('responds with a 201 when deleting an existing booking with a basic auth header', function testDeletingAValidBookingWithAuth(done){\n    request(server)\n      .post('/booking')\n      .send(payload)\n      .then(function(res){\n        request(server)\n          .delete('/booking/2')\n          .set('Authorization', 'Basic YWRtaW46cGFzc3dvcmQxMjM=')\n          .expect(201, done)\n      });\n  });\n\n  it('responds with a 405 when deleting a non existing booking', function testDeletingNonExistantBooking(done){\n    request(server)\n      .post('/auth')\n      .send({'username': 'admin', 'password': 'password123'})\n      .then(function(res){\n        request(server)\n          .delete('/booking/10000000')\n          .set('Cookie', 'token=' + res.body.token)\n          .expect(405, done)\n      })\n  })\n\n});\n"
  }
]