[
  {
    "path": ".gitignore",
    "content": " Byte-compiled / optimized / DLL files\n__pycache__/\n*.py[cod]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribution / packaging\n.Python\nbuild/\ndevelop-eggs/\ndist/\ndownloads/\neggs/\n.eggs/\nlib/\nlib64/\nparts/\nsdist/\nvar/\nwheels/\n*.egg-info/\n.installed.cfg\n*.egg\nMANIFEST\n\n# PyInstaller\n#  Usually these files are written by a python script from a template\n#  before PyInstaller builds the exe, so as to inject date/other infos into it.\n*.manifest\n*.spec\n\n# Installer logs\npip-log.txt\npip-delete-this-directory.txt\n\n# Unit test / coverage reports\nhtmlcov/\n.tox/\n.coverage\n.coverage.*\n.cache\nnosetests.xml\ncoverage.xml\n*.cover\n.hypothesis/\n\n# Translations\n*.mo\n*.pot\n\n# Django stuff:\n*.log\n.static_storage/\n.media/\nlocal_settings.py\n\n# Flask stuff:\ninstance/\n.webassets-cache\n\n# Scrapy stuff:\n.scrapy\n\n# Sphinx documentation\ndocs/_build/\n\n# PyBuilder\ntarget/\n\n# Jupyter Notebook\n.ipynb_checkpoints\n\n# pyenv\n.python-version\n\n# celery beat schedule file\ncelerybeat-schedule\n\n# SageMath parsed files\n*.sage.py\n\n# Environments\n.env\n.venv\nenv/\nvenv/\nENV/\nenv.bak/\nvenv.bak/\n\n# Spyder project settings\n.spyderproject\n.spyproject\n\n# Rope project settings\n.ropeproject\n\n# mkdocs documentation\n/site\n\n# mypy\n.mypy_cache/\nbin\ndb.sqlite3\ninclude/\nlib64\npip-selfcheck.json\n/Pipfile.lock\n/dev_https\nnode_modules\n/TAGS\n.vscode\npackage-lock.json\nyarn.lock\n"
  },
  {
    "path": "INSTALL.md",
    "content": "Installing brutaldon\n====================\n\nBrutaldon is a perfectly normal Django app, so if you've ever installed a Django app, it should be straightforward. It will work either as a local application, or installed on a server.\n\nFor either case, you will need Python 3 installed to start with, including pip.\n\nCommon steps\n---------------------------------------------------------\nIf you haven't already, you need to install [Pipenv][pe], a tool for managing Python virtual environments. \n\nYou can install it just with  `pip install pipenv`.\n\n[pe]: https://github.com/pypa/pipenv/\n\nDevelopment or local install\n------------------------------------------------\nIn the top brutaldon directory, run `pipenv install`. This will install all the dependencies. Then run `pipenv run python ./manage.py migrate`. That will create a SQLite database the application needs. Then run `pipenv run python ./manage.py runserver`. That will start a local server on http://localhost:8000/.\n\nPoint your browser to that address and log in to your instance. You will have to log in with the alternate (username and password) method. \n\nServer installation\n----------------------------------------\nThis will depend on your server setup, and you should consult [Deploying Django][dd]. Be sure to read the [Deployment checklist][dc], because some things in it are security critical. You will also want to set up a database. Brutaldon doesn't use the database very heavily, so if you only have a few users, the default SQLite is probably fine and doesn't require any additional setup.\n\nOne common step would be to install dependencies like this: `PIPENV_VENV_IN_PROJECT=1 pipenv install`. This will install dependencies within the project folder. \n\nThen edit brutaldon/settings.py. You definitely need to change the values of SECRET_KEY and ALLOWED_HOSTS. Also edit the database parameters to match the database you chose. Then run `pipenv run python ./manage.py migrate` to populate the database.\n\nI installed brutaldon with Apache and mod_wsgi. If you installed brutaldon in /usr/local/share/, you'd add config lines something like this to the virtual host brutaldon is installed in.\n\n```\nAlias /brutaldon/static /usr/local/share/brutaldon/brutaldon/static\n<Directory /usr/local/share/brutaldon/brutaldon/static>\n    Require all granted\n</Directory>\n\nWSGIScriptAlias /brutaldon /usr/local/share/brutaldon/brutaldon/wsgi.py\nWSGIDaemonProcess brutaldon python-path=/usr/local/share/brutaldon python-home=/usr/local/share/brutaldon/.venv\n\n<Directory /usr/local/share/brutaldon/brutaldon>\n    <Files wsgi.py>\n    Require all granted                                                    \n    </Files>\n</Directory>\n```\n\nBe sure you serve the entire site over https only.\n\n[dd]: https://docs.djangoproject.com/en/2.0/howto/deployment/\n[dc]: https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://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 Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\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,\nour General Public Licenses are 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.\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  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\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 Affero 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. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\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 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 work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be 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 Affero 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 Affero 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 Affero 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 Affero General Public License as published\n    by 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 Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\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 AGPL, see\n<http://www.gnu.org/licenses/>.\n"
  },
  {
    "path": "Pipfile",
    "content": "[[source]]\nurl = \"https://pypi.org/simple\"\nverify_ssl = true\nname = \"pypi\"\n\n[packages]\n\"beautifulsoup4\" = \"*\"\nbleach = \"*\"\ncertifi = \"*\"\nchardet = \"*\"\ndecorator = \"*\"\ndjango-markdownify = \"*\"\ndjango-widget-tweaks = \"*\"\n\"html5lib\" = \"*\"\nidna = \"*\"\nmarkdown = \"*\"\n\"mastodon.py\" = \">=1.4.2\"\npython-dateutil = \"*\"\npytz = \"*\"\nrequests = \"*\"\nsix = \"*\"\n\"urllib3\" = \"*\"\nwebencodings = \"*\"\nDjango = \"*\"\ndjango-html_sanitizer = \"*\"\ninscriptis = \"*\"\nlxml = \"*\"\n\n[dev-packages]\n"
  },
  {
    "path": "README.md",
    "content": "# Brutaldon\n\nNote: If you are seeing this on Github, this repo is a mirror that may not be up-to-date. Please go to https://git.carcosa.net/jmcbray/brutaldon for the latest code.\n\nBrutaldon is a [brutalist][0], [Web 1.0][0.5] web interface for [Mastodon][1] and [Pleroma][p]. It is not a Mastodon-compatible social networking server; rather, it is just a client, like the Android or iOS client for Mastodon you may already be using, but it runs in a web server, and is accessed through a web browser. It works great in text-mode browsers such as [Lynx][2], [w3m][3], or [elinks][4], and also in more heavy-weight graphical browsers, such as Firefox. It works completely without JavaScript, but if JavaScript is available and enabled, it will be used to unobtrusively enhance the user experience.\n\n[0]:http://brutalistwebsites.com/\n[0.5]: https://en.wikipedia.org/wiki/Web_2.0#%22Web_1.0%22\n[1]: https://joinmastodon.org/\n[2]: https://lynx.browser.org/\n[3]: https://w3m.sourceforge.net/\n[4]: http://elinks.or.cz/\n[p]: https://pleroma.social/\n\nThere is a hosted instance at [brutaldon.online][hosted] which you can use to log in to any instance. However, you are also encouraged to run your own, either locally or on a public server. \n\n[hosted]: https://brutaldon.online/\n\nBrutaldon is ready for day to day use, and is my main way of interacting with the fediverse. It is still missing some features you might want, like lists, filters, and editing your own profile.\nPlease see the issues tracker.\n\n## Screenshots\n\nPeople love screenshots, whatever the project, so here we are. These screenshots are relatively old.\n\n<table>\n <tr>\n   <td>\n     <img alt=\"Brutaldon in Lynx\" src=\"/docs/screenshots/screenshot-lynx.png?raw=true\" title=\"Brutaldon in Lynx\" width=\"256\" />\n   </td>\n   <td>\n     <img alt=\"Brutaldon in Firefox\" src=\"/docs/screenshots/screenshot-firefox.png?raw=true\" title=\"Brutaldon in Firefox\" width=\"256\" />\n   </td>\n  </tr>\n  <tr>\n    <td>\n      <img alt=\"Brutaldon in Firefox (2)\" src=\"/docs/screenshots/screenshot-firefox-2.png?raw=true\" title=\"Brutaldon in Firefox (2)\" width=\"256\" />\n    </td>\n    <td>\n      <img alt=\"Brutaldon in Firefox - Full Brutalism\" src=\"/docs/screenshots/screenshot-firefox-brutalist.png?raw=true\" title=\"Brutaldon in Firefox - Full Brutalism\" width=\"256\" />\n    </td>\n    <td>\n      <img alt=\"Brutaldon in Firefox - Full Brutalism (2)\" src=\"/docs/screenshots/screenshot-firefox-brutalist-2.png?raw=true\" title=\"Brutaldon in Firefox - Full Brutalism (2)\" width=\"256\" />\n    </td>\n  </tr>\n</table>\n\n\n\n\n\n\n## Roadmap\n\n* [X] Single user read-only access; log in and read home timeline\n* [X] Fix edge cases of toot display (CW, media, boosts)\n* [X] Multi-user, multi-instance support\n* [X] Add support for reading local and federated timelines, notifications, favorites, threads\n* [X] Add support for tag timelines\n* [X] Add support for viewing profiles\n* [X] Add support for posting.\n* [X] Add support for posting media.\n* [X] Add support for favoriting and boosting toots.\n* [X] Add support for following, blocking, and muting users.\n\n## Aesthetic\n\nNo automatic page updates: refresh the page to see new toots. No endless scroll: there's a \"next page\" link. No autocompletion of anything: use another lynx process in another screen window to look things up. UTF8 clean.\n\n## Tip Jar\n\nYou can buy me a coffee to give me energy to work on this, but only if you have it to spare.\n[![ko-fi](https://www.ko-fi.com/img/donate_sm.png)](https://ko-fi.com/D1D7QBZC)\n"
  },
  {
    "path": "brutaldon/__init__.py",
    "content": ""
  },
  {
    "path": "brutaldon/context_processors.py",
    "content": "from django.urls import reverse\n\n\ndef bookmarklet_url(request):\n    share_url = request.build_absolute_uri(reverse(\"share\"))\n    return {\n        \"bookmarklet_url\": f\"javascript:location.href='{share_url}?url='+encodeURIComponent(location.href)+';title='+encodeURIComponent(document.title)\"\n    }\n"
  },
  {
    "path": "brutaldon/forms.py",
    "content": "from django import forms\nfrom django.conf import settings\nfrom django.utils.translation import gettext as _\nfrom pytz import common_timezones\nfrom .models import Theme, Preference\n\n\nPRIVACY_CHOICES = (\n    (\"public\", _(\"Public\")),\n    (\"unlisted\", _(\"Unlisted\")),\n    (\"private\", _(\"Private\")),\n    (\"direct\", _(\"Direct\")),\n)\n\ntimezones = [(tz, tz) for tz in common_timezones]\n\n\nclass LoginForm(forms.Form):\n    instance = forms.CharField(label=_(\"Instance\"), max_length=256)\n    email = forms.EmailField(label=_(\"Email\"))\n    password = forms.CharField(widget=forms.PasswordInput())\n\n\nclass OAuthLoginForm(forms.Form):\n    instance = forms.CharField(label=_(\"Instance\"), max_length=256)\n\n\nclass PreferencesForm(forms.ModelForm):\n    class Meta:\n        model = Preference\n        fields = Preference._fields\n\n\nclass PostForm(forms.Form):\n    \"\"\"def status_post(self, status, in_reply_to_id=None, media_ids=None,\n                       sensitive=False, visibility=None, spoiler_text=None):\"\"\"\n\n    status = forms.CharField(label=\"Toot\", widget=forms.Textarea)\n    visibility = forms.ChoiceField(\n        label=_(\"Toot visibility\"), choices=PRIVACY_CHOICES, required=False\n    )\n    spoiler_text = forms.CharField(label=_(\"CW or Subject\"), required=False)\n    media_file_1 = forms.FileField(label=_(\"Media 1\"), required=False)\n    media_text_1 = forms.CharField(label=_(\"Describe media 1.\"), required=False)\n    media_file_2 = forms.FileField(label=_(\"Media 2\"), required=False)\n    media_text_2 = forms.CharField(label=_(\"Describe media 2.\"), required=False)\n    media_file_3 = forms.FileField(label=_(\"Media 3\"), required=False)\n    media_text_3 = forms.CharField(label=_(\"Describe media 3.\"), required=False)\n    media_file_4 = forms.FileField(label=_(\"Media 4\"), required=False)\n    media_text_4 = forms.CharField(label=_(\"Describe media 4.\"), required=False)\n    media_sensitive = forms.BooleanField(label=_(\"Sensitive media?\"), required=False)\n\n\nclass FilterForm(forms.Form):\n    phrase = forms.CharField(label=_(\"Word or phrase to filter\"))\n    context_home = forms.BooleanField(\n        label=_(\"In home timeline\"), required=False, initial=True\n    )\n    context_public = forms.BooleanField(\n        label=_(\"In public timelines\"), required=False, initial=True\n    )\n    context_notes = forms.BooleanField(\n        label=_(\"In notifications\"), required=False, initial=True\n    )\n    context_thread = forms.BooleanField(\n        label=_(\"In thread contexts\"), required=False, initial=True\n    )\n    whole_word = forms.BooleanField(\n        label=_(\"Whole words only\"), required=False, initial=True\n    )\n    expires_in = forms.TypedChoiceField(\n        label=_(\"Expires in\"),\n        choices=(\n            (\"\", \"Never\"),\n            (\"1800\", \"30 minutes\"),\n            (\"3600\", \"1 hour\"),\n            (\"21600\", \"6 hours\"),\n            (\"43200\", \"12 hours\"),\n            (\"86400\", \"1 day\"),\n            (\"604800\", \"1 week\"),\n        ),\n        coerce=int,\n        required=False,\n    )\n"
  },
  {
    "path": "brutaldon/middleware/timezone.py",
    "content": "import pytz\n\nfrom django.utils import timezone\nfrom django.utils.deprecation import MiddlewareMixin\n\n\nclass TimezoneMiddleware(MiddlewareMixin):\n    def process_request(self, request):\n        tzname = request.session.get(\"timezone\", \"UTC\")\n        if tzname:\n            timezone.activate(pytz.timezone(tzname))\n        else:\n            timezone.deactivate()\n"
  },
  {
    "path": "brutaldon/migrations/0001_initial.py",
    "content": "# Generated by Django 2.0.1 on 2018-04-23 18:25\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    initial = True\n\n    dependencies = []\n\n    operations = [\n        migrations.CreateModel(\n            name=\"Client\",\n            fields=[\n                (\n                    \"id\",\n                    models.AutoField(\n                        auto_created=True,\n                        primary_key=True,\n                        serialize=False,\n                        verbose_name=\"ID\",\n                    ),\n                ),\n                (\"name\", models.TextField(default=\"brutaldon\")),\n                (\"api_base_id\", models.URLField(default=\"mastodon.social\")),\n                (\"client_id\", models.TextField(blank=True, null=True)),\n                (\"client_secret\", models.TextField(blank=True, null=True)),\n            ],\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0002_account.py",
    "content": "# Generated by Django 2.0.1 on 2018-04-23 21:34\n\nfrom django.conf import settings\nfrom django.db import migrations, models\nimport django.db.models.deletion\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        migrations.swappable_dependency(settings.AUTH_USER_MODEL),\n        (\"brutaldon\", \"0001_initial\"),\n    ]\n\n    operations = [\n        migrations.CreateModel(\n            name=\"Account\",\n            fields=[\n                (\n                    \"id\",\n                    models.AutoField(\n                        auto_created=True,\n                        primary_key=True,\n                        serialize=False,\n                        verbose_name=\"ID\",\n                    ),\n                ),\n                (\"username\", models.CharField(max_length=80)),\n                (\"access_token\", models.TextField(blank=True, null=True)),\n                (\n                    \"django_user\",\n                    models.ForeignKey(\n                        null=True,\n                        on_delete=django.db.models.deletion.CASCADE,\n                        to=settings.AUTH_USER_MODEL,\n                    ),\n                ),\n            ],\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0003_auto_20180424_1255.py",
    "content": "# Generated by Django 2.0.4 on 2018-04-24 16:55\n\nfrom django.db import migrations, models\nimport django.db.models.deletion\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0002_account\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"account\",\n            name=\"client\",\n            field=models.ForeignKey(\n                null=True,\n                on_delete=django.db.models.deletion.SET_NULL,\n                to=\"brutaldon.Client\",\n            ),\n        ),\n        migrations.AlterField(\n            model_name=\"client\",\n            name=\"api_base_id\",\n            field=models.URLField(default=\"https://mastodon.social\"),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0004_auto_20180424_1424.py",
    "content": "# Generated by Django 2.0.4 on 2018-04-24 18:24\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0003_auto_20180424_1255\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"account\",\n            name=\"username\",\n            field=models.EmailField(max_length=254),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0005_auto_20180618_2103.py",
    "content": "# Generated by Django 2.0.6 on 2018-06-19 01:03\n\nfrom django.db import migrations, models\nimport django.db.models.deletion\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0004_auto_20180424_1424\")]\n\n    operations = [\n        migrations.CreateModel(\n            name=\"Preference\",\n            fields=[\n                (\n                    \"id\",\n                    models.AutoField(\n                        auto_created=True,\n                        primary_key=True,\n                        serialize=False,\n                        verbose_name=\"ID\",\n                    ),\n                ),\n                (\"data_saver\", models.BooleanField(default=False)),\n                (\"fix_emojos\", models.BooleanField(default=False)),\n            ],\n        ),\n        migrations.CreateModel(\n            name=\"Theme\",\n            fields=[\n                (\n                    \"id\",\n                    models.AutoField(\n                        auto_created=True,\n                        primary_key=True,\n                        serialize=False,\n                        verbose_name=\"ID\",\n                    ),\n                ),\n                (\"name\", models.TextField(max_length=80)),\n                (\"main_css\", models.TextField(max_length=1024)),\n                (\n                    \"tweaks_css\",\n                    models.TextField(blank=True, max_length=1024, null=True),\n                ),\n                (\"is_brutalist\", models.BooleanField(default=False)),\n            ],\n        ),\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"theme\",\n            field=models.ForeignKey(\n                null=True,\n                on_delete=django.db.models.deletion.SET_NULL,\n                to=\"brutaldon.Theme\",\n            ),\n        ),\n        migrations.AddField(\n            model_name=\"account\",\n            name=\"preferences\",\n            field=models.ForeignKey(\n                null=True,\n                on_delete=django.db.models.deletion.SET_NULL,\n                to=\"brutaldon.Preference\",\n            ),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0006_auto_20180618_2112.py",
    "content": "# Generated by Django 2.0.6 on 2018-06-19 01:12\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0005_auto_20180618_2103\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"theme\",\n            name=\"main_css\",\n            field=models.TextField(\n                blank=True, default=\"css/fullbrutalism.css\", max_length=1024, null=True\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0007_auto_20180618_2115.py",
    "content": "# Generated by Django 2.0.6 on 2018-06-19 01:03\n\nfrom django.db import migrations\n\n\ndef set_up_default_themes(apps, schema_editor):\n    Theme = apps.get_model(\"brutaldon\", \"Theme\")\n    default = Theme(\n        name=\"default\",\n        main_css=\"css/bulma.min.css\",\n        tweaks_css=\"css/brutaldon.css\",\n        is_brutalist=False,\n    )\n    default.save()\n    dark = Theme(\n        name=\"default dark\",\n        main_css=\"css/bulmaswatch-darkly.min.css\",\n        tweaks_css=\"css/brutaldon-dark.css\",\n        is_brutalist=False,\n    )\n    dark.save()\n    lux = Theme(\n        name=\"Lux\",\n        main_css=\"css/bulmaswatch-lux.min.css\",\n        tweaks_css=\"css/brutaldon.css\",\n        is_brutalist=False,\n    )\n    lux.save()\n    solar = Theme(\n        name=\"Solar\",\n        main_css=\"css/bulmaswatch-solar.min.css\",\n        tweaks_css=\"css/brutaldon.css\",\n        is_brutalist=False,\n    )\n    solar.save()\n    material = Theme(\n        name=\"Material\",\n        main_css=\"css/bulmaswatch-materia.min.css\",\n        tweaks_css=\"css/brutaldon-material.css\",\n        is_brutalist=False,\n    )\n    material.save()\n    brutalism = Theme(\n        name=\"FULLBRUTALISM\", main_css=\"css/fullbrutalism.css\", is_brutalist=True\n    )\n    brutalism.save()\n    brutstrap = Theme(\n        name=\"Brutstrap\",\n        main_css=\"css/brutstrap.css\",\n        is_brutalist=True,\n        tweaks_css=\"css/brutstrap-tweaks.css\",\n    )\n    brutstrap.save()\n    large = Theme(\n        name=\"Minimalist Large\", main_css=\"css/minimal-large.css\", is_brutalist=True\n    )\n    large.save()\n    small = Theme(\n        name=\"Minimalist Small\", main_css=\"css/minimal-small.css\", is_brutalist=True\n    )\n    small.save()\n    dark2 = Theme(\n        name=\"Minimalist Dark\", main_css=\"css/minimal-dark.css\", is_brutalist=True\n    )\n    dark2.save()\n    vt240 = Theme(\n        name=\"vt240 amber\", main_css=\"css/vt240don-amber.css\", is_brutalist=True\n    )\n    vt240.save()\n    vt240_green = Theme(\n        name=\"vt240 green\", main_css=\"css/vt240don-green.css\", is_brutalist=True\n    )\n    vt240_green.save()\n    minimal = Theme(name=\"No styling at all\", main_css=None, is_brutalist=True)\n    minimal.save()\n\n\ndef delete_themes(apps, schema_editor):\n    Theme = apps.get_model(\"brutaldon\" \"Theme\")\n    for theme in Theme.objects.all():\n        theme.delete()\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0006_auto_20180618_2112\")]\n\n    operations = [migrations.RunPython(set_up_default_themes, delete_themes)]\n"
  },
  {
    "path": "brutaldon/migrations/0008_auto_20180618_2140.py",
    "content": "# Generated by Django 2.0.6 on 2018-06-19 01:40\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0007_auto_20180618_2115\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"theme\",\n            name=\"name\",\n            field=models.TextField(max_length=80, unique=True),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0009_auto_20180824_2241.py",
    "content": "# Generated by Django 2.1 on 2018-08-25 02:41\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0008_auto_20180618_2140\")]\n\n    operations = [\n        migrations.RemoveField(model_name=\"preference\", name=\"data_saver\"),\n        migrations.RemoveField(model_name=\"preference\", name=\"fix_emojos\"),\n        migrations.AddField(\n            model_name=\"account\",\n            name=\"email\",\n            field=models.EmailField(blank=True, max_length=254, null=True),\n        ),\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"filter_boosts\",\n            field=models.BooleanField(default=False),\n        ),\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"filter_replies\",\n            field=models.BooleanField(default=False),\n        ),\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"timezone\",\n            field=models.TextField(\n                blank=True,\n                choices=[\n                    (\"Africa/Abidjan\", \"Africa/Abidjan\"),\n                    (\"Africa/Accra\", \"Africa/Accra\"),\n                    (\"Africa/Addis_Ababa\", \"Africa/Addis_Ababa\"),\n                    (\"Africa/Algiers\", \"Africa/Algiers\"),\n                    (\"Africa/Asmara\", \"Africa/Asmara\"),\n                    (\"Africa/Bamako\", \"Africa/Bamako\"),\n                    (\"Africa/Bangui\", \"Africa/Bangui\"),\n                    (\"Africa/Banjul\", \"Africa/Banjul\"),\n                    (\"Africa/Bissau\", \"Africa/Bissau\"),\n                    (\"Africa/Blantyre\", \"Africa/Blantyre\"),\n                    (\"Africa/Brazzaville\", \"Africa/Brazzaville\"),\n                    (\"Africa/Bujumbura\", \"Africa/Bujumbura\"),\n                    (\"Africa/Cairo\", \"Africa/Cairo\"),\n                    (\"Africa/Casablanca\", \"Africa/Casablanca\"),\n                    (\"Africa/Ceuta\", \"Africa/Ceuta\"),\n                    (\"Africa/Conakry\", \"Africa/Conakry\"),\n                    (\"Africa/Dakar\", \"Africa/Dakar\"),\n                    (\"Africa/Dar_es_Salaam\", \"Africa/Dar_es_Salaam\"),\n                    (\"Africa/Djibouti\", \"Africa/Djibouti\"),\n                    (\"Africa/Douala\", \"Africa/Douala\"),\n                    (\"Africa/El_Aaiun\", \"Africa/El_Aaiun\"),\n                    (\"Africa/Freetown\", \"Africa/Freetown\"),\n                    (\"Africa/Gaborone\", \"Africa/Gaborone\"),\n                    (\"Africa/Harare\", \"Africa/Harare\"),\n                    (\"Africa/Johannesburg\", \"Africa/Johannesburg\"),\n                    (\"Africa/Juba\", \"Africa/Juba\"),\n                    (\"Africa/Kampala\", \"Africa/Kampala\"),\n                    (\"Africa/Khartoum\", \"Africa/Khartoum\"),\n                    (\"Africa/Kigali\", \"Africa/Kigali\"),\n                    (\"Africa/Kinshasa\", \"Africa/Kinshasa\"),\n                    (\"Africa/Lagos\", \"Africa/Lagos\"),\n                    (\"Africa/Libreville\", \"Africa/Libreville\"),\n                    (\"Africa/Lome\", \"Africa/Lome\"),\n                    (\"Africa/Luanda\", \"Africa/Luanda\"),\n                    (\"Africa/Lubumbashi\", \"Africa/Lubumbashi\"),\n                    (\"Africa/Lusaka\", \"Africa/Lusaka\"),\n                    (\"Africa/Malabo\", \"Africa/Malabo\"),\n                    (\"Africa/Maputo\", \"Africa/Maputo\"),\n                    (\"Africa/Maseru\", \"Africa/Maseru\"),\n                    (\"Africa/Mbabane\", \"Africa/Mbabane\"),\n                    (\"Africa/Mogadishu\", \"Africa/Mogadishu\"),\n                    (\"Africa/Monrovia\", \"Africa/Monrovia\"),\n                    (\"Africa/Nairobi\", \"Africa/Nairobi\"),\n                    (\"Africa/Ndjamena\", \"Africa/Ndjamena\"),\n                    (\"Africa/Niamey\", \"Africa/Niamey\"),\n                    (\"Africa/Nouakchott\", \"Africa/Nouakchott\"),\n                    (\"Africa/Ouagadougou\", \"Africa/Ouagadougou\"),\n                    (\"Africa/Porto-Novo\", \"Africa/Porto-Novo\"),\n                    (\"Africa/Sao_Tome\", \"Africa/Sao_Tome\"),\n                    (\"Africa/Tripoli\", \"Africa/Tripoli\"),\n                    (\"Africa/Tunis\", \"Africa/Tunis\"),\n                    (\"Africa/Windhoek\", \"Africa/Windhoek\"),\n                    (\"America/Adak\", \"America/Adak\"),\n                    (\"America/Anchorage\", \"America/Anchorage\"),\n                    (\"America/Anguilla\", \"America/Anguilla\"),\n                    (\"America/Antigua\", \"America/Antigua\"),\n                    (\"America/Araguaina\", \"America/Araguaina\"),\n                    (\n                        \"America/Argentina/Buenos_Aires\",\n                        \"America/Argentina/Buenos_Aires\",\n                    ),\n                    (\"America/Argentina/Catamarca\", \"America/Argentina/Catamarca\"),\n                    (\"America/Argentina/Cordoba\", \"America/Argentina/Cordoba\"),\n                    (\"America/Argentina/Jujuy\", \"America/Argentina/Jujuy\"),\n                    (\"America/Argentina/La_Rioja\", \"America/Argentina/La_Rioja\"),\n                    (\"America/Argentina/Mendoza\", \"America/Argentina/Mendoza\"),\n                    (\n                        \"America/Argentina/Rio_Gallegos\",\n                        \"America/Argentina/Rio_Gallegos\",\n                    ),\n                    (\"America/Argentina/Salta\", \"America/Argentina/Salta\"),\n                    (\"America/Argentina/San_Juan\", \"America/Argentina/San_Juan\"),\n                    (\"America/Argentina/San_Luis\", \"America/Argentina/San_Luis\"),\n                    (\"America/Argentina/Tucuman\", \"America/Argentina/Tucuman\"),\n                    (\"America/Argentina/Ushuaia\", \"America/Argentina/Ushuaia\"),\n                    (\"America/Aruba\", \"America/Aruba\"),\n                    (\"America/Asuncion\", \"America/Asuncion\"),\n                    (\"America/Atikokan\", \"America/Atikokan\"),\n                    (\"America/Bahia\", \"America/Bahia\"),\n                    (\"America/Bahia_Banderas\", \"America/Bahia_Banderas\"),\n                    (\"America/Barbados\", \"America/Barbados\"),\n                    (\"America/Belem\", \"America/Belem\"),\n                    (\"America/Belize\", \"America/Belize\"),\n                    (\"America/Blanc-Sablon\", \"America/Blanc-Sablon\"),\n                    (\"America/Boa_Vista\", \"America/Boa_Vista\"),\n                    (\"America/Bogota\", \"America/Bogota\"),\n                    (\"America/Boise\", \"America/Boise\"),\n                    (\"America/Cambridge_Bay\", \"America/Cambridge_Bay\"),\n                    (\"America/Campo_Grande\", \"America/Campo_Grande\"),\n                    (\"America/Cancun\", \"America/Cancun\"),\n                    (\"America/Caracas\", \"America/Caracas\"),\n                    (\"America/Cayenne\", \"America/Cayenne\"),\n                    (\"America/Cayman\", \"America/Cayman\"),\n                    (\"America/Chicago\", \"America/Chicago\"),\n                    (\"America/Chihuahua\", \"America/Chihuahua\"),\n                    (\"America/Costa_Rica\", \"America/Costa_Rica\"),\n                    (\"America/Creston\", \"America/Creston\"),\n                    (\"America/Cuiaba\", \"America/Cuiaba\"),\n                    (\"America/Curacao\", \"America/Curacao\"),\n                    (\"America/Danmarkshavn\", \"America/Danmarkshavn\"),\n                    (\"America/Dawson\", \"America/Dawson\"),\n                    (\"America/Dawson_Creek\", \"America/Dawson_Creek\"),\n                    (\"America/Denver\", \"America/Denver\"),\n                    (\"America/Detroit\", \"America/Detroit\"),\n                    (\"America/Dominica\", \"America/Dominica\"),\n                    (\"America/Edmonton\", \"America/Edmonton\"),\n                    (\"America/Eirunepe\", \"America/Eirunepe\"),\n                    (\"America/El_Salvador\", \"America/El_Salvador\"),\n                    (\"America/Fort_Nelson\", \"America/Fort_Nelson\"),\n                    (\"America/Fortaleza\", \"America/Fortaleza\"),\n                    (\"America/Glace_Bay\", \"America/Glace_Bay\"),\n                    (\"America/Godthab\", \"America/Godthab\"),\n                    (\"America/Goose_Bay\", \"America/Goose_Bay\"),\n                    (\"America/Grand_Turk\", \"America/Grand_Turk\"),\n                    (\"America/Grenada\", \"America/Grenada\"),\n                    (\"America/Guadeloupe\", \"America/Guadeloupe\"),\n                    (\"America/Guatemala\", \"America/Guatemala\"),\n                    (\"America/Guayaquil\", \"America/Guayaquil\"),\n                    (\"America/Guyana\", \"America/Guyana\"),\n                    (\"America/Halifax\", \"America/Halifax\"),\n                    (\"America/Havana\", \"America/Havana\"),\n                    (\"America/Hermosillo\", \"America/Hermosillo\"),\n                    (\"America/Indiana/Indianapolis\", \"America/Indiana/Indianapolis\"),\n                    (\"America/Indiana/Knox\", \"America/Indiana/Knox\"),\n                    (\"America/Indiana/Marengo\", \"America/Indiana/Marengo\"),\n                    (\"America/Indiana/Petersburg\", \"America/Indiana/Petersburg\"),\n                    (\"America/Indiana/Tell_City\", \"America/Indiana/Tell_City\"),\n                    (\"America/Indiana/Vevay\", \"America/Indiana/Vevay\"),\n                    (\"America/Indiana/Vincennes\", \"America/Indiana/Vincennes\"),\n                    (\"America/Indiana/Winamac\", \"America/Indiana/Winamac\"),\n                    (\"America/Inuvik\", \"America/Inuvik\"),\n                    (\"America/Iqaluit\", \"America/Iqaluit\"),\n                    (\"America/Jamaica\", \"America/Jamaica\"),\n                    (\"America/Juneau\", \"America/Juneau\"),\n                    (\"America/Kentucky/Louisville\", \"America/Kentucky/Louisville\"),\n                    (\"America/Kentucky/Monticello\", \"America/Kentucky/Monticello\"),\n                    (\"America/Kralendijk\", \"America/Kralendijk\"),\n                    (\"America/La_Paz\", \"America/La_Paz\"),\n                    (\"America/Lima\", \"America/Lima\"),\n                    (\"America/Los_Angeles\", \"America/Los_Angeles\"),\n                    (\"America/Lower_Princes\", \"America/Lower_Princes\"),\n                    (\"America/Maceio\", \"America/Maceio\"),\n                    (\"America/Managua\", \"America/Managua\"),\n                    (\"America/Manaus\", \"America/Manaus\"),\n                    (\"America/Marigot\", \"America/Marigot\"),\n                    (\"America/Martinique\", \"America/Martinique\"),\n                    (\"America/Matamoros\", \"America/Matamoros\"),\n                    (\"America/Mazatlan\", \"America/Mazatlan\"),\n                    (\"America/Menominee\", \"America/Menominee\"),\n                    (\"America/Merida\", \"America/Merida\"),\n                    (\"America/Metlakatla\", \"America/Metlakatla\"),\n                    (\"America/Mexico_City\", \"America/Mexico_City\"),\n                    (\"America/Miquelon\", \"America/Miquelon\"),\n                    (\"America/Moncton\", \"America/Moncton\"),\n                    (\"America/Monterrey\", \"America/Monterrey\"),\n                    (\"America/Montevideo\", \"America/Montevideo\"),\n                    (\"America/Montserrat\", \"America/Montserrat\"),\n                    (\"America/Nassau\", \"America/Nassau\"),\n                    (\"America/New_York\", \"America/New_York\"),\n                    (\"America/Nipigon\", \"America/Nipigon\"),\n                    (\"America/Nome\", \"America/Nome\"),\n                    (\"America/Noronha\", \"America/Noronha\"),\n                    (\"America/North_Dakota/Beulah\", \"America/North_Dakota/Beulah\"),\n                    (\"America/North_Dakota/Center\", \"America/North_Dakota/Center\"),\n                    (\n                        \"America/North_Dakota/New_Salem\",\n                        \"America/North_Dakota/New_Salem\",\n                    ),\n                    (\"America/Ojinaga\", \"America/Ojinaga\"),\n                    (\"America/Panama\", \"America/Panama\"),\n                    (\"America/Pangnirtung\", \"America/Pangnirtung\"),\n                    (\"America/Paramaribo\", \"America/Paramaribo\"),\n                    (\"America/Phoenix\", \"America/Phoenix\"),\n                    (\"America/Port-au-Prince\", \"America/Port-au-Prince\"),\n                    (\"America/Port_of_Spain\", \"America/Port_of_Spain\"),\n                    (\"America/Porto_Velho\", \"America/Porto_Velho\"),\n                    (\"America/Puerto_Rico\", \"America/Puerto_Rico\"),\n                    (\"America/Punta_Arenas\", \"America/Punta_Arenas\"),\n                    (\"America/Rainy_River\", \"America/Rainy_River\"),\n                    (\"America/Rankin_Inlet\", \"America/Rankin_Inlet\"),\n                    (\"America/Recife\", \"America/Recife\"),\n                    (\"America/Regina\", \"America/Regina\"),\n                    (\"America/Resolute\", \"America/Resolute\"),\n                    (\"America/Rio_Branco\", \"America/Rio_Branco\"),\n                    (\"America/Santarem\", \"America/Santarem\"),\n                    (\"America/Santiago\", \"America/Santiago\"),\n                    (\"America/Santo_Domingo\", \"America/Santo_Domingo\"),\n                    (\"America/Sao_Paulo\", \"America/Sao_Paulo\"),\n                    (\"America/Scoresbysund\", \"America/Scoresbysund\"),\n                    (\"America/Sitka\", \"America/Sitka\"),\n                    (\"America/St_Barthelemy\", \"America/St_Barthelemy\"),\n                    (\"America/St_Johns\", \"America/St_Johns\"),\n                    (\"America/St_Kitts\", \"America/St_Kitts\"),\n                    (\"America/St_Lucia\", \"America/St_Lucia\"),\n                    (\"America/St_Thomas\", \"America/St_Thomas\"),\n                    (\"America/St_Vincent\", \"America/St_Vincent\"),\n                    (\"America/Swift_Current\", \"America/Swift_Current\"),\n                    (\"America/Tegucigalpa\", \"America/Tegucigalpa\"),\n                    (\"America/Thule\", \"America/Thule\"),\n                    (\"America/Thunder_Bay\", \"America/Thunder_Bay\"),\n                    (\"America/Tijuana\", \"America/Tijuana\"),\n                    (\"America/Toronto\", \"America/Toronto\"),\n                    (\"America/Tortola\", \"America/Tortola\"),\n                    (\"America/Vancouver\", \"America/Vancouver\"),\n                    (\"America/Whitehorse\", \"America/Whitehorse\"),\n                    (\"America/Winnipeg\", \"America/Winnipeg\"),\n                    (\"America/Yakutat\", \"America/Yakutat\"),\n                    (\"America/Yellowknife\", \"America/Yellowknife\"),\n                    (\"Antarctica/Casey\", \"Antarctica/Casey\"),\n                    (\"Antarctica/Davis\", \"Antarctica/Davis\"),\n                    (\"Antarctica/DumontDUrville\", \"Antarctica/DumontDUrville\"),\n                    (\"Antarctica/Macquarie\", \"Antarctica/Macquarie\"),\n                    (\"Antarctica/Mawson\", \"Antarctica/Mawson\"),\n                    (\"Antarctica/McMurdo\", \"Antarctica/McMurdo\"),\n                    (\"Antarctica/Palmer\", \"Antarctica/Palmer\"),\n                    (\"Antarctica/Rothera\", \"Antarctica/Rothera\"),\n                    (\"Antarctica/Syowa\", \"Antarctica/Syowa\"),\n                    (\"Antarctica/Troll\", \"Antarctica/Troll\"),\n                    (\"Antarctica/Vostok\", \"Antarctica/Vostok\"),\n                    (\"Arctic/Longyearbyen\", \"Arctic/Longyearbyen\"),\n                    (\"Asia/Aden\", \"Asia/Aden\"),\n                    (\"Asia/Almaty\", \"Asia/Almaty\"),\n                    (\"Asia/Amman\", \"Asia/Amman\"),\n                    (\"Asia/Anadyr\", \"Asia/Anadyr\"),\n                    (\"Asia/Aqtau\", \"Asia/Aqtau\"),\n                    (\"Asia/Aqtobe\", \"Asia/Aqtobe\"),\n                    (\"Asia/Ashgabat\", \"Asia/Ashgabat\"),\n                    (\"Asia/Atyrau\", \"Asia/Atyrau\"),\n                    (\"Asia/Baghdad\", \"Asia/Baghdad\"),\n                    (\"Asia/Bahrain\", \"Asia/Bahrain\"),\n                    (\"Asia/Baku\", \"Asia/Baku\"),\n                    (\"Asia/Bangkok\", \"Asia/Bangkok\"),\n                    (\"Asia/Barnaul\", \"Asia/Barnaul\"),\n                    (\"Asia/Beirut\", \"Asia/Beirut\"),\n                    (\"Asia/Bishkek\", \"Asia/Bishkek\"),\n                    (\"Asia/Brunei\", \"Asia/Brunei\"),\n                    (\"Asia/Chita\", \"Asia/Chita\"),\n                    (\"Asia/Choibalsan\", \"Asia/Choibalsan\"),\n                    (\"Asia/Colombo\", \"Asia/Colombo\"),\n                    (\"Asia/Damascus\", \"Asia/Damascus\"),\n                    (\"Asia/Dhaka\", \"Asia/Dhaka\"),\n                    (\"Asia/Dili\", \"Asia/Dili\"),\n                    (\"Asia/Dubai\", \"Asia/Dubai\"),\n                    (\"Asia/Dushanbe\", \"Asia/Dushanbe\"),\n                    (\"Asia/Famagusta\", \"Asia/Famagusta\"),\n                    (\"Asia/Gaza\", \"Asia/Gaza\"),\n                    (\"Asia/Hebron\", \"Asia/Hebron\"),\n                    (\"Asia/Ho_Chi_Minh\", \"Asia/Ho_Chi_Minh\"),\n                    (\"Asia/Hong_Kong\", \"Asia/Hong_Kong\"),\n                    (\"Asia/Hovd\", \"Asia/Hovd\"),\n                    (\"Asia/Irkutsk\", \"Asia/Irkutsk\"),\n                    (\"Asia/Jakarta\", \"Asia/Jakarta\"),\n                    (\"Asia/Jayapura\", \"Asia/Jayapura\"),\n                    (\"Asia/Jerusalem\", \"Asia/Jerusalem\"),\n                    (\"Asia/Kabul\", \"Asia/Kabul\"),\n                    (\"Asia/Kamchatka\", \"Asia/Kamchatka\"),\n                    (\"Asia/Karachi\", \"Asia/Karachi\"),\n                    (\"Asia/Kathmandu\", \"Asia/Kathmandu\"),\n                    (\"Asia/Khandyga\", \"Asia/Khandyga\"),\n                    (\"Asia/Kolkata\", \"Asia/Kolkata\"),\n                    (\"Asia/Krasnoyarsk\", \"Asia/Krasnoyarsk\"),\n                    (\"Asia/Kuala_Lumpur\", \"Asia/Kuala_Lumpur\"),\n                    (\"Asia/Kuching\", \"Asia/Kuching\"),\n                    (\"Asia/Kuwait\", \"Asia/Kuwait\"),\n                    (\"Asia/Macau\", \"Asia/Macau\"),\n                    (\"Asia/Magadan\", \"Asia/Magadan\"),\n                    (\"Asia/Makassar\", \"Asia/Makassar\"),\n                    (\"Asia/Manila\", \"Asia/Manila\"),\n                    (\"Asia/Muscat\", \"Asia/Muscat\"),\n                    (\"Asia/Nicosia\", \"Asia/Nicosia\"),\n                    (\"Asia/Novokuznetsk\", \"Asia/Novokuznetsk\"),\n                    (\"Asia/Novosibirsk\", \"Asia/Novosibirsk\"),\n                    (\"Asia/Omsk\", \"Asia/Omsk\"),\n                    (\"Asia/Oral\", \"Asia/Oral\"),\n                    (\"Asia/Phnom_Penh\", \"Asia/Phnom_Penh\"),\n                    (\"Asia/Pontianak\", \"Asia/Pontianak\"),\n                    (\"Asia/Pyongyang\", \"Asia/Pyongyang\"),\n                    (\"Asia/Qatar\", \"Asia/Qatar\"),\n                    (\"Asia/Qyzylorda\", \"Asia/Qyzylorda\"),\n                    (\"Asia/Riyadh\", \"Asia/Riyadh\"),\n                    (\"Asia/Sakhalin\", \"Asia/Sakhalin\"),\n                    (\"Asia/Samarkand\", \"Asia/Samarkand\"),\n                    (\"Asia/Seoul\", \"Asia/Seoul\"),\n                    (\"Asia/Shanghai\", \"Asia/Shanghai\"),\n                    (\"Asia/Singapore\", \"Asia/Singapore\"),\n                    (\"Asia/Srednekolymsk\", \"Asia/Srednekolymsk\"),\n                    (\"Asia/Taipei\", \"Asia/Taipei\"),\n                    (\"Asia/Tashkent\", \"Asia/Tashkent\"),\n                    (\"Asia/Tbilisi\", \"Asia/Tbilisi\"),\n                    (\"Asia/Tehran\", \"Asia/Tehran\"),\n                    (\"Asia/Thimphu\", \"Asia/Thimphu\"),\n                    (\"Asia/Tokyo\", \"Asia/Tokyo\"),\n                    (\"Asia/Tomsk\", \"Asia/Tomsk\"),\n                    (\"Asia/Ulaanbaatar\", \"Asia/Ulaanbaatar\"),\n                    (\"Asia/Urumqi\", \"Asia/Urumqi\"),\n                    (\"Asia/Ust-Nera\", \"Asia/Ust-Nera\"),\n                    (\"Asia/Vientiane\", \"Asia/Vientiane\"),\n                    (\"Asia/Vladivostok\", \"Asia/Vladivostok\"),\n                    (\"Asia/Yakutsk\", \"Asia/Yakutsk\"),\n                    (\"Asia/Yangon\", \"Asia/Yangon\"),\n                    (\"Asia/Yekaterinburg\", \"Asia/Yekaterinburg\"),\n                    (\"Asia/Yerevan\", \"Asia/Yerevan\"),\n                    (\"Atlantic/Azores\", \"Atlantic/Azores\"),\n                    (\"Atlantic/Bermuda\", \"Atlantic/Bermuda\"),\n                    (\"Atlantic/Canary\", \"Atlantic/Canary\"),\n                    (\"Atlantic/Cape_Verde\", \"Atlantic/Cape_Verde\"),\n                    (\"Atlantic/Faroe\", \"Atlantic/Faroe\"),\n                    (\"Atlantic/Madeira\", \"Atlantic/Madeira\"),\n                    (\"Atlantic/Reykjavik\", \"Atlantic/Reykjavik\"),\n                    (\"Atlantic/South_Georgia\", \"Atlantic/South_Georgia\"),\n                    (\"Atlantic/St_Helena\", \"Atlantic/St_Helena\"),\n                    (\"Atlantic/Stanley\", \"Atlantic/Stanley\"),\n                    (\"Australia/Adelaide\", \"Australia/Adelaide\"),\n                    (\"Australia/Brisbane\", \"Australia/Brisbane\"),\n                    (\"Australia/Broken_Hill\", \"Australia/Broken_Hill\"),\n                    (\"Australia/Currie\", \"Australia/Currie\"),\n                    (\"Australia/Darwin\", \"Australia/Darwin\"),\n                    (\"Australia/Eucla\", \"Australia/Eucla\"),\n                    (\"Australia/Hobart\", \"Australia/Hobart\"),\n                    (\"Australia/Lindeman\", \"Australia/Lindeman\"),\n                    (\"Australia/Lord_Howe\", \"Australia/Lord_Howe\"),\n                    (\"Australia/Melbourne\", \"Australia/Melbourne\"),\n                    (\"Australia/Perth\", \"Australia/Perth\"),\n                    (\"Australia/Sydney\", \"Australia/Sydney\"),\n                    (\"Canada/Atlantic\", \"Canada/Atlantic\"),\n                    (\"Canada/Central\", \"Canada/Central\"),\n                    (\"Canada/Eastern\", \"Canada/Eastern\"),\n                    (\"Canada/Mountain\", \"Canada/Mountain\"),\n                    (\"Canada/Newfoundland\", \"Canada/Newfoundland\"),\n                    (\"Canada/Pacific\", \"Canada/Pacific\"),\n                    (\"Europe/Amsterdam\", \"Europe/Amsterdam\"),\n                    (\"Europe/Andorra\", \"Europe/Andorra\"),\n                    (\"Europe/Astrakhan\", \"Europe/Astrakhan\"),\n                    (\"Europe/Athens\", \"Europe/Athens\"),\n                    (\"Europe/Belgrade\", \"Europe/Belgrade\"),\n                    (\"Europe/Berlin\", \"Europe/Berlin\"),\n                    (\"Europe/Bratislava\", \"Europe/Bratislava\"),\n                    (\"Europe/Brussels\", \"Europe/Brussels\"),\n                    (\"Europe/Bucharest\", \"Europe/Bucharest\"),\n                    (\"Europe/Budapest\", \"Europe/Budapest\"),\n                    (\"Europe/Busingen\", \"Europe/Busingen\"),\n                    (\"Europe/Chisinau\", \"Europe/Chisinau\"),\n                    (\"Europe/Copenhagen\", \"Europe/Copenhagen\"),\n                    (\"Europe/Dublin\", \"Europe/Dublin\"),\n                    (\"Europe/Gibraltar\", \"Europe/Gibraltar\"),\n                    (\"Europe/Guernsey\", \"Europe/Guernsey\"),\n                    (\"Europe/Helsinki\", \"Europe/Helsinki\"),\n                    (\"Europe/Isle_of_Man\", \"Europe/Isle_of_Man\"),\n                    (\"Europe/Istanbul\", \"Europe/Istanbul\"),\n                    (\"Europe/Jersey\", \"Europe/Jersey\"),\n                    (\"Europe/Kaliningrad\", \"Europe/Kaliningrad\"),\n                    (\"Europe/Kiev\", \"Europe/Kiev\"),\n                    (\"Europe/Kirov\", \"Europe/Kirov\"),\n                    (\"Europe/Lisbon\", \"Europe/Lisbon\"),\n                    (\"Europe/Ljubljana\", \"Europe/Ljubljana\"),\n                    (\"Europe/London\", \"Europe/London\"),\n                    (\"Europe/Luxembourg\", \"Europe/Luxembourg\"),\n                    (\"Europe/Madrid\", \"Europe/Madrid\"),\n                    (\"Europe/Malta\", \"Europe/Malta\"),\n                    (\"Europe/Mariehamn\", \"Europe/Mariehamn\"),\n                    (\"Europe/Minsk\", \"Europe/Minsk\"),\n                    (\"Europe/Monaco\", \"Europe/Monaco\"),\n                    (\"Europe/Moscow\", \"Europe/Moscow\"),\n                    (\"Europe/Oslo\", \"Europe/Oslo\"),\n                    (\"Europe/Paris\", \"Europe/Paris\"),\n                    (\"Europe/Podgorica\", \"Europe/Podgorica\"),\n                    (\"Europe/Prague\", \"Europe/Prague\"),\n                    (\"Europe/Riga\", \"Europe/Riga\"),\n                    (\"Europe/Rome\", \"Europe/Rome\"),\n                    (\"Europe/Samara\", \"Europe/Samara\"),\n                    (\"Europe/San_Marino\", \"Europe/San_Marino\"),\n                    (\"Europe/Sarajevo\", \"Europe/Sarajevo\"),\n                    (\"Europe/Saratov\", \"Europe/Saratov\"),\n                    (\"Europe/Simferopol\", \"Europe/Simferopol\"),\n                    (\"Europe/Skopje\", \"Europe/Skopje\"),\n                    (\"Europe/Sofia\", \"Europe/Sofia\"),\n                    (\"Europe/Stockholm\", \"Europe/Stockholm\"),\n                    (\"Europe/Tallinn\", \"Europe/Tallinn\"),\n                    (\"Europe/Tirane\", \"Europe/Tirane\"),\n                    (\"Europe/Ulyanovsk\", \"Europe/Ulyanovsk\"),\n                    (\"Europe/Uzhgorod\", \"Europe/Uzhgorod\"),\n                    (\"Europe/Vaduz\", \"Europe/Vaduz\"),\n                    (\"Europe/Vatican\", \"Europe/Vatican\"),\n                    (\"Europe/Vienna\", \"Europe/Vienna\"),\n                    (\"Europe/Vilnius\", \"Europe/Vilnius\"),\n                    (\"Europe/Volgograd\", \"Europe/Volgograd\"),\n                    (\"Europe/Warsaw\", \"Europe/Warsaw\"),\n                    (\"Europe/Zagreb\", \"Europe/Zagreb\"),\n                    (\"Europe/Zaporozhye\", \"Europe/Zaporozhye\"),\n                    (\"Europe/Zurich\", \"Europe/Zurich\"),\n                    (\"GMT\", \"GMT\"),\n                    (\"Indian/Antananarivo\", \"Indian/Antananarivo\"),\n                    (\"Indian/Chagos\", \"Indian/Chagos\"),\n                    (\"Indian/Christmas\", \"Indian/Christmas\"),\n                    (\"Indian/Cocos\", \"Indian/Cocos\"),\n                    (\"Indian/Comoro\", \"Indian/Comoro\"),\n                    (\"Indian/Kerguelen\", \"Indian/Kerguelen\"),\n                    (\"Indian/Mahe\", \"Indian/Mahe\"),\n                    (\"Indian/Maldives\", \"Indian/Maldives\"),\n                    (\"Indian/Mauritius\", \"Indian/Mauritius\"),\n                    (\"Indian/Mayotte\", \"Indian/Mayotte\"),\n                    (\"Indian/Reunion\", \"Indian/Reunion\"),\n                    (\"Pacific/Apia\", \"Pacific/Apia\"),\n                    (\"Pacific/Auckland\", \"Pacific/Auckland\"),\n                    (\"Pacific/Bougainville\", \"Pacific/Bougainville\"),\n                    (\"Pacific/Chatham\", \"Pacific/Chatham\"),\n                    (\"Pacific/Chuuk\", \"Pacific/Chuuk\"),\n                    (\"Pacific/Easter\", \"Pacific/Easter\"),\n                    (\"Pacific/Efate\", \"Pacific/Efate\"),\n                    (\"Pacific/Enderbury\", \"Pacific/Enderbury\"),\n                    (\"Pacific/Fakaofo\", \"Pacific/Fakaofo\"),\n                    (\"Pacific/Fiji\", \"Pacific/Fiji\"),\n                    (\"Pacific/Funafuti\", \"Pacific/Funafuti\"),\n                    (\"Pacific/Galapagos\", \"Pacific/Galapagos\"),\n                    (\"Pacific/Gambier\", \"Pacific/Gambier\"),\n                    (\"Pacific/Guadalcanal\", \"Pacific/Guadalcanal\"),\n                    (\"Pacific/Guam\", \"Pacific/Guam\"),\n                    (\"Pacific/Honolulu\", \"Pacific/Honolulu\"),\n                    (\"Pacific/Kiritimati\", \"Pacific/Kiritimati\"),\n                    (\"Pacific/Kosrae\", \"Pacific/Kosrae\"),\n                    (\"Pacific/Kwajalein\", \"Pacific/Kwajalein\"),\n                    (\"Pacific/Majuro\", \"Pacific/Majuro\"),\n                    (\"Pacific/Marquesas\", \"Pacific/Marquesas\"),\n                    (\"Pacific/Midway\", \"Pacific/Midway\"),\n                    (\"Pacific/Nauru\", \"Pacific/Nauru\"),\n                    (\"Pacific/Niue\", \"Pacific/Niue\"),\n                    (\"Pacific/Norfolk\", \"Pacific/Norfolk\"),\n                    (\"Pacific/Noumea\", \"Pacific/Noumea\"),\n                    (\"Pacific/Pago_Pago\", \"Pacific/Pago_Pago\"),\n                    (\"Pacific/Palau\", \"Pacific/Palau\"),\n                    (\"Pacific/Pitcairn\", \"Pacific/Pitcairn\"),\n                    (\"Pacific/Pohnpei\", \"Pacific/Pohnpei\"),\n                    (\"Pacific/Port_Moresby\", \"Pacific/Port_Moresby\"),\n                    (\"Pacific/Rarotonga\", \"Pacific/Rarotonga\"),\n                    (\"Pacific/Saipan\", \"Pacific/Saipan\"),\n                    (\"Pacific/Tahiti\", \"Pacific/Tahiti\"),\n                    (\"Pacific/Tarawa\", \"Pacific/Tarawa\"),\n                    (\"Pacific/Tongatapu\", \"Pacific/Tongatapu\"),\n                    (\"Pacific/Wake\", \"Pacific/Wake\"),\n                    (\"Pacific/Wallis\", \"Pacific/Wallis\"),\n                    (\"US/Alaska\", \"US/Alaska\"),\n                    (\"US/Arizona\", \"US/Arizona\"),\n                    (\"US/Central\", \"US/Central\"),\n                    (\"US/Eastern\", \"US/Eastern\"),\n                    (\"US/Hawaii\", \"US/Hawaii\"),\n                    (\"US/Mountain\", \"US/Mountain\"),\n                    (\"US/Pacific\", \"US/Pacific\"),\n                    (\"UTC\", \"UTC\"),\n                ],\n                max_length=80,\n                null=True,\n            ),\n        ),\n        migrations.AddField(\n            model_name=\"theme\",\n            name=\"prefix\",\n            field=models.TextField(default=\"default\", max_length=40, null=True),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0010_auto_20180825_1009.py",
    "content": "# Generated by Django 2.1 on 2018-08-25 14:09\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0009_auto_20180824_2241\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"account\",\n            name=\"access_token\",\n            field=models.CharField(blank=True, max_length=2048, null=True),\n        ),\n        migrations.AlterField(\n            model_name=\"client\",\n            name=\"client_id\",\n            field=models.CharField(blank=True, max_length=2048, null=True),\n        ),\n        migrations.AlterField(\n            model_name=\"client\",\n            name=\"client_secret\",\n            field=models.CharField(blank=True, max_length=2048, null=True),\n        ),\n        migrations.AlterField(\n            model_name=\"client\",\n            name=\"name\",\n            field=models.CharField(default=\"brutaldon\", max_length=80),\n        ),\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"timezone\",\n            field=models.CharField(\n                blank=True,\n                choices=[\n                    (\"Africa/Abidjan\", \"Africa/Abidjan\"),\n                    (\"Africa/Accra\", \"Africa/Accra\"),\n                    (\"Africa/Addis_Ababa\", \"Africa/Addis_Ababa\"),\n                    (\"Africa/Algiers\", \"Africa/Algiers\"),\n                    (\"Africa/Asmara\", \"Africa/Asmara\"),\n                    (\"Africa/Bamako\", \"Africa/Bamako\"),\n                    (\"Africa/Bangui\", \"Africa/Bangui\"),\n                    (\"Africa/Banjul\", \"Africa/Banjul\"),\n                    (\"Africa/Bissau\", \"Africa/Bissau\"),\n                    (\"Africa/Blantyre\", \"Africa/Blantyre\"),\n                    (\"Africa/Brazzaville\", \"Africa/Brazzaville\"),\n                    (\"Africa/Bujumbura\", \"Africa/Bujumbura\"),\n                    (\"Africa/Cairo\", \"Africa/Cairo\"),\n                    (\"Africa/Casablanca\", \"Africa/Casablanca\"),\n                    (\"Africa/Ceuta\", \"Africa/Ceuta\"),\n                    (\"Africa/Conakry\", \"Africa/Conakry\"),\n                    (\"Africa/Dakar\", \"Africa/Dakar\"),\n                    (\"Africa/Dar_es_Salaam\", \"Africa/Dar_es_Salaam\"),\n                    (\"Africa/Djibouti\", \"Africa/Djibouti\"),\n                    (\"Africa/Douala\", \"Africa/Douala\"),\n                    (\"Africa/El_Aaiun\", \"Africa/El_Aaiun\"),\n                    (\"Africa/Freetown\", \"Africa/Freetown\"),\n                    (\"Africa/Gaborone\", \"Africa/Gaborone\"),\n                    (\"Africa/Harare\", \"Africa/Harare\"),\n                    (\"Africa/Johannesburg\", \"Africa/Johannesburg\"),\n                    (\"Africa/Juba\", \"Africa/Juba\"),\n                    (\"Africa/Kampala\", \"Africa/Kampala\"),\n                    (\"Africa/Khartoum\", \"Africa/Khartoum\"),\n                    (\"Africa/Kigali\", \"Africa/Kigali\"),\n                    (\"Africa/Kinshasa\", \"Africa/Kinshasa\"),\n                    (\"Africa/Lagos\", \"Africa/Lagos\"),\n                    (\"Africa/Libreville\", \"Africa/Libreville\"),\n                    (\"Africa/Lome\", \"Africa/Lome\"),\n                    (\"Africa/Luanda\", \"Africa/Luanda\"),\n                    (\"Africa/Lubumbashi\", \"Africa/Lubumbashi\"),\n                    (\"Africa/Lusaka\", \"Africa/Lusaka\"),\n                    (\"Africa/Malabo\", \"Africa/Malabo\"),\n                    (\"Africa/Maputo\", \"Africa/Maputo\"),\n                    (\"Africa/Maseru\", \"Africa/Maseru\"),\n                    (\"Africa/Mbabane\", \"Africa/Mbabane\"),\n                    (\"Africa/Mogadishu\", \"Africa/Mogadishu\"),\n                    (\"Africa/Monrovia\", \"Africa/Monrovia\"),\n                    (\"Africa/Nairobi\", \"Africa/Nairobi\"),\n                    (\"Africa/Ndjamena\", \"Africa/Ndjamena\"),\n                    (\"Africa/Niamey\", \"Africa/Niamey\"),\n                    (\"Africa/Nouakchott\", \"Africa/Nouakchott\"),\n                    (\"Africa/Ouagadougou\", \"Africa/Ouagadougou\"),\n                    (\"Africa/Porto-Novo\", \"Africa/Porto-Novo\"),\n                    (\"Africa/Sao_Tome\", \"Africa/Sao_Tome\"),\n                    (\"Africa/Tripoli\", \"Africa/Tripoli\"),\n                    (\"Africa/Tunis\", \"Africa/Tunis\"),\n                    (\"Africa/Windhoek\", \"Africa/Windhoek\"),\n                    (\"America/Adak\", \"America/Adak\"),\n                    (\"America/Anchorage\", \"America/Anchorage\"),\n                    (\"America/Anguilla\", \"America/Anguilla\"),\n                    (\"America/Antigua\", \"America/Antigua\"),\n                    (\"America/Araguaina\", \"America/Araguaina\"),\n                    (\n                        \"America/Argentina/Buenos_Aires\",\n                        \"America/Argentina/Buenos_Aires\",\n                    ),\n                    (\"America/Argentina/Catamarca\", \"America/Argentina/Catamarca\"),\n                    (\"America/Argentina/Cordoba\", \"America/Argentina/Cordoba\"),\n                    (\"America/Argentina/Jujuy\", \"America/Argentina/Jujuy\"),\n                    (\"America/Argentina/La_Rioja\", \"America/Argentina/La_Rioja\"),\n                    (\"America/Argentina/Mendoza\", \"America/Argentina/Mendoza\"),\n                    (\n                        \"America/Argentina/Rio_Gallegos\",\n                        \"America/Argentina/Rio_Gallegos\",\n                    ),\n                    (\"America/Argentina/Salta\", \"America/Argentina/Salta\"),\n                    (\"America/Argentina/San_Juan\", \"America/Argentina/San_Juan\"),\n                    (\"America/Argentina/San_Luis\", \"America/Argentina/San_Luis\"),\n                    (\"America/Argentina/Tucuman\", \"America/Argentina/Tucuman\"),\n                    (\"America/Argentina/Ushuaia\", \"America/Argentina/Ushuaia\"),\n                    (\"America/Aruba\", \"America/Aruba\"),\n                    (\"America/Asuncion\", \"America/Asuncion\"),\n                    (\"America/Atikokan\", \"America/Atikokan\"),\n                    (\"America/Bahia\", \"America/Bahia\"),\n                    (\"America/Bahia_Banderas\", \"America/Bahia_Banderas\"),\n                    (\"America/Barbados\", \"America/Barbados\"),\n                    (\"America/Belem\", \"America/Belem\"),\n                    (\"America/Belize\", \"America/Belize\"),\n                    (\"America/Blanc-Sablon\", \"America/Blanc-Sablon\"),\n                    (\"America/Boa_Vista\", \"America/Boa_Vista\"),\n                    (\"America/Bogota\", \"America/Bogota\"),\n                    (\"America/Boise\", \"America/Boise\"),\n                    (\"America/Cambridge_Bay\", \"America/Cambridge_Bay\"),\n                    (\"America/Campo_Grande\", \"America/Campo_Grande\"),\n                    (\"America/Cancun\", \"America/Cancun\"),\n                    (\"America/Caracas\", \"America/Caracas\"),\n                    (\"America/Cayenne\", \"America/Cayenne\"),\n                    (\"America/Cayman\", \"America/Cayman\"),\n                    (\"America/Chicago\", \"America/Chicago\"),\n                    (\"America/Chihuahua\", \"America/Chihuahua\"),\n                    (\"America/Costa_Rica\", \"America/Costa_Rica\"),\n                    (\"America/Creston\", \"America/Creston\"),\n                    (\"America/Cuiaba\", \"America/Cuiaba\"),\n                    (\"America/Curacao\", \"America/Curacao\"),\n                    (\"America/Danmarkshavn\", \"America/Danmarkshavn\"),\n                    (\"America/Dawson\", \"America/Dawson\"),\n                    (\"America/Dawson_Creek\", \"America/Dawson_Creek\"),\n                    (\"America/Denver\", \"America/Denver\"),\n                    (\"America/Detroit\", \"America/Detroit\"),\n                    (\"America/Dominica\", \"America/Dominica\"),\n                    (\"America/Edmonton\", \"America/Edmonton\"),\n                    (\"America/Eirunepe\", \"America/Eirunepe\"),\n                    (\"America/El_Salvador\", \"America/El_Salvador\"),\n                    (\"America/Fort_Nelson\", \"America/Fort_Nelson\"),\n                    (\"America/Fortaleza\", \"America/Fortaleza\"),\n                    (\"America/Glace_Bay\", \"America/Glace_Bay\"),\n                    (\"America/Godthab\", \"America/Godthab\"),\n                    (\"America/Goose_Bay\", \"America/Goose_Bay\"),\n                    (\"America/Grand_Turk\", \"America/Grand_Turk\"),\n                    (\"America/Grenada\", \"America/Grenada\"),\n                    (\"America/Guadeloupe\", \"America/Guadeloupe\"),\n                    (\"America/Guatemala\", \"America/Guatemala\"),\n                    (\"America/Guayaquil\", \"America/Guayaquil\"),\n                    (\"America/Guyana\", \"America/Guyana\"),\n                    (\"America/Halifax\", \"America/Halifax\"),\n                    (\"America/Havana\", \"America/Havana\"),\n                    (\"America/Hermosillo\", \"America/Hermosillo\"),\n                    (\"America/Indiana/Indianapolis\", \"America/Indiana/Indianapolis\"),\n                    (\"America/Indiana/Knox\", \"America/Indiana/Knox\"),\n                    (\"America/Indiana/Marengo\", \"America/Indiana/Marengo\"),\n                    (\"America/Indiana/Petersburg\", \"America/Indiana/Petersburg\"),\n                    (\"America/Indiana/Tell_City\", \"America/Indiana/Tell_City\"),\n                    (\"America/Indiana/Vevay\", \"America/Indiana/Vevay\"),\n                    (\"America/Indiana/Vincennes\", \"America/Indiana/Vincennes\"),\n                    (\"America/Indiana/Winamac\", \"America/Indiana/Winamac\"),\n                    (\"America/Inuvik\", \"America/Inuvik\"),\n                    (\"America/Iqaluit\", \"America/Iqaluit\"),\n                    (\"America/Jamaica\", \"America/Jamaica\"),\n                    (\"America/Juneau\", \"America/Juneau\"),\n                    (\"America/Kentucky/Louisville\", \"America/Kentucky/Louisville\"),\n                    (\"America/Kentucky/Monticello\", \"America/Kentucky/Monticello\"),\n                    (\"America/Kralendijk\", \"America/Kralendijk\"),\n                    (\"America/La_Paz\", \"America/La_Paz\"),\n                    (\"America/Lima\", \"America/Lima\"),\n                    (\"America/Los_Angeles\", \"America/Los_Angeles\"),\n                    (\"America/Lower_Princes\", \"America/Lower_Princes\"),\n                    (\"America/Maceio\", \"America/Maceio\"),\n                    (\"America/Managua\", \"America/Managua\"),\n                    (\"America/Manaus\", \"America/Manaus\"),\n                    (\"America/Marigot\", \"America/Marigot\"),\n                    (\"America/Martinique\", \"America/Martinique\"),\n                    (\"America/Matamoros\", \"America/Matamoros\"),\n                    (\"America/Mazatlan\", \"America/Mazatlan\"),\n                    (\"America/Menominee\", \"America/Menominee\"),\n                    (\"America/Merida\", \"America/Merida\"),\n                    (\"America/Metlakatla\", \"America/Metlakatla\"),\n                    (\"America/Mexico_City\", \"America/Mexico_City\"),\n                    (\"America/Miquelon\", \"America/Miquelon\"),\n                    (\"America/Moncton\", \"America/Moncton\"),\n                    (\"America/Monterrey\", \"America/Monterrey\"),\n                    (\"America/Montevideo\", \"America/Montevideo\"),\n                    (\"America/Montserrat\", \"America/Montserrat\"),\n                    (\"America/Nassau\", \"America/Nassau\"),\n                    (\"America/New_York\", \"America/New_York\"),\n                    (\"America/Nipigon\", \"America/Nipigon\"),\n                    (\"America/Nome\", \"America/Nome\"),\n                    (\"America/Noronha\", \"America/Noronha\"),\n                    (\"America/North_Dakota/Beulah\", \"America/North_Dakota/Beulah\"),\n                    (\"America/North_Dakota/Center\", \"America/North_Dakota/Center\"),\n                    (\n                        \"America/North_Dakota/New_Salem\",\n                        \"America/North_Dakota/New_Salem\",\n                    ),\n                    (\"America/Ojinaga\", \"America/Ojinaga\"),\n                    (\"America/Panama\", \"America/Panama\"),\n                    (\"America/Pangnirtung\", \"America/Pangnirtung\"),\n                    (\"America/Paramaribo\", \"America/Paramaribo\"),\n                    (\"America/Phoenix\", \"America/Phoenix\"),\n                    (\"America/Port-au-Prince\", \"America/Port-au-Prince\"),\n                    (\"America/Port_of_Spain\", \"America/Port_of_Spain\"),\n                    (\"America/Porto_Velho\", \"America/Porto_Velho\"),\n                    (\"America/Puerto_Rico\", \"America/Puerto_Rico\"),\n                    (\"America/Punta_Arenas\", \"America/Punta_Arenas\"),\n                    (\"America/Rainy_River\", \"America/Rainy_River\"),\n                    (\"America/Rankin_Inlet\", \"America/Rankin_Inlet\"),\n                    (\"America/Recife\", \"America/Recife\"),\n                    (\"America/Regina\", \"America/Regina\"),\n                    (\"America/Resolute\", \"America/Resolute\"),\n                    (\"America/Rio_Branco\", \"America/Rio_Branco\"),\n                    (\"America/Santarem\", \"America/Santarem\"),\n                    (\"America/Santiago\", \"America/Santiago\"),\n                    (\"America/Santo_Domingo\", \"America/Santo_Domingo\"),\n                    (\"America/Sao_Paulo\", \"America/Sao_Paulo\"),\n                    (\"America/Scoresbysund\", \"America/Scoresbysund\"),\n                    (\"America/Sitka\", \"America/Sitka\"),\n                    (\"America/St_Barthelemy\", \"America/St_Barthelemy\"),\n                    (\"America/St_Johns\", \"America/St_Johns\"),\n                    (\"America/St_Kitts\", \"America/St_Kitts\"),\n                    (\"America/St_Lucia\", \"America/St_Lucia\"),\n                    (\"America/St_Thomas\", \"America/St_Thomas\"),\n                    (\"America/St_Vincent\", \"America/St_Vincent\"),\n                    (\"America/Swift_Current\", \"America/Swift_Current\"),\n                    (\"America/Tegucigalpa\", \"America/Tegucigalpa\"),\n                    (\"America/Thule\", \"America/Thule\"),\n                    (\"America/Thunder_Bay\", \"America/Thunder_Bay\"),\n                    (\"America/Tijuana\", \"America/Tijuana\"),\n                    (\"America/Toronto\", \"America/Toronto\"),\n                    (\"America/Tortola\", \"America/Tortola\"),\n                    (\"America/Vancouver\", \"America/Vancouver\"),\n                    (\"America/Whitehorse\", \"America/Whitehorse\"),\n                    (\"America/Winnipeg\", \"America/Winnipeg\"),\n                    (\"America/Yakutat\", \"America/Yakutat\"),\n                    (\"America/Yellowknife\", \"America/Yellowknife\"),\n                    (\"Antarctica/Casey\", \"Antarctica/Casey\"),\n                    (\"Antarctica/Davis\", \"Antarctica/Davis\"),\n                    (\"Antarctica/DumontDUrville\", \"Antarctica/DumontDUrville\"),\n                    (\"Antarctica/Macquarie\", \"Antarctica/Macquarie\"),\n                    (\"Antarctica/Mawson\", \"Antarctica/Mawson\"),\n                    (\"Antarctica/McMurdo\", \"Antarctica/McMurdo\"),\n                    (\"Antarctica/Palmer\", \"Antarctica/Palmer\"),\n                    (\"Antarctica/Rothera\", \"Antarctica/Rothera\"),\n                    (\"Antarctica/Syowa\", \"Antarctica/Syowa\"),\n                    (\"Antarctica/Troll\", \"Antarctica/Troll\"),\n                    (\"Antarctica/Vostok\", \"Antarctica/Vostok\"),\n                    (\"Arctic/Longyearbyen\", \"Arctic/Longyearbyen\"),\n                    (\"Asia/Aden\", \"Asia/Aden\"),\n                    (\"Asia/Almaty\", \"Asia/Almaty\"),\n                    (\"Asia/Amman\", \"Asia/Amman\"),\n                    (\"Asia/Anadyr\", \"Asia/Anadyr\"),\n                    (\"Asia/Aqtau\", \"Asia/Aqtau\"),\n                    (\"Asia/Aqtobe\", \"Asia/Aqtobe\"),\n                    (\"Asia/Ashgabat\", \"Asia/Ashgabat\"),\n                    (\"Asia/Atyrau\", \"Asia/Atyrau\"),\n                    (\"Asia/Baghdad\", \"Asia/Baghdad\"),\n                    (\"Asia/Bahrain\", \"Asia/Bahrain\"),\n                    (\"Asia/Baku\", \"Asia/Baku\"),\n                    (\"Asia/Bangkok\", \"Asia/Bangkok\"),\n                    (\"Asia/Barnaul\", \"Asia/Barnaul\"),\n                    (\"Asia/Beirut\", \"Asia/Beirut\"),\n                    (\"Asia/Bishkek\", \"Asia/Bishkek\"),\n                    (\"Asia/Brunei\", \"Asia/Brunei\"),\n                    (\"Asia/Chita\", \"Asia/Chita\"),\n                    (\"Asia/Choibalsan\", \"Asia/Choibalsan\"),\n                    (\"Asia/Colombo\", \"Asia/Colombo\"),\n                    (\"Asia/Damascus\", \"Asia/Damascus\"),\n                    (\"Asia/Dhaka\", \"Asia/Dhaka\"),\n                    (\"Asia/Dili\", \"Asia/Dili\"),\n                    (\"Asia/Dubai\", \"Asia/Dubai\"),\n                    (\"Asia/Dushanbe\", \"Asia/Dushanbe\"),\n                    (\"Asia/Famagusta\", \"Asia/Famagusta\"),\n                    (\"Asia/Gaza\", \"Asia/Gaza\"),\n                    (\"Asia/Hebron\", \"Asia/Hebron\"),\n                    (\"Asia/Ho_Chi_Minh\", \"Asia/Ho_Chi_Minh\"),\n                    (\"Asia/Hong_Kong\", \"Asia/Hong_Kong\"),\n                    (\"Asia/Hovd\", \"Asia/Hovd\"),\n                    (\"Asia/Irkutsk\", \"Asia/Irkutsk\"),\n                    (\"Asia/Jakarta\", \"Asia/Jakarta\"),\n                    (\"Asia/Jayapura\", \"Asia/Jayapura\"),\n                    (\"Asia/Jerusalem\", \"Asia/Jerusalem\"),\n                    (\"Asia/Kabul\", \"Asia/Kabul\"),\n                    (\"Asia/Kamchatka\", \"Asia/Kamchatka\"),\n                    (\"Asia/Karachi\", \"Asia/Karachi\"),\n                    (\"Asia/Kathmandu\", \"Asia/Kathmandu\"),\n                    (\"Asia/Khandyga\", \"Asia/Khandyga\"),\n                    (\"Asia/Kolkata\", \"Asia/Kolkata\"),\n                    (\"Asia/Krasnoyarsk\", \"Asia/Krasnoyarsk\"),\n                    (\"Asia/Kuala_Lumpur\", \"Asia/Kuala_Lumpur\"),\n                    (\"Asia/Kuching\", \"Asia/Kuching\"),\n                    (\"Asia/Kuwait\", \"Asia/Kuwait\"),\n                    (\"Asia/Macau\", \"Asia/Macau\"),\n                    (\"Asia/Magadan\", \"Asia/Magadan\"),\n                    (\"Asia/Makassar\", \"Asia/Makassar\"),\n                    (\"Asia/Manila\", \"Asia/Manila\"),\n                    (\"Asia/Muscat\", \"Asia/Muscat\"),\n                    (\"Asia/Nicosia\", \"Asia/Nicosia\"),\n                    (\"Asia/Novokuznetsk\", \"Asia/Novokuznetsk\"),\n                    (\"Asia/Novosibirsk\", \"Asia/Novosibirsk\"),\n                    (\"Asia/Omsk\", \"Asia/Omsk\"),\n                    (\"Asia/Oral\", \"Asia/Oral\"),\n                    (\"Asia/Phnom_Penh\", \"Asia/Phnom_Penh\"),\n                    (\"Asia/Pontianak\", \"Asia/Pontianak\"),\n                    (\"Asia/Pyongyang\", \"Asia/Pyongyang\"),\n                    (\"Asia/Qatar\", \"Asia/Qatar\"),\n                    (\"Asia/Qyzylorda\", \"Asia/Qyzylorda\"),\n                    (\"Asia/Riyadh\", \"Asia/Riyadh\"),\n                    (\"Asia/Sakhalin\", \"Asia/Sakhalin\"),\n                    (\"Asia/Samarkand\", \"Asia/Samarkand\"),\n                    (\"Asia/Seoul\", \"Asia/Seoul\"),\n                    (\"Asia/Shanghai\", \"Asia/Shanghai\"),\n                    (\"Asia/Singapore\", \"Asia/Singapore\"),\n                    (\"Asia/Srednekolymsk\", \"Asia/Srednekolymsk\"),\n                    (\"Asia/Taipei\", \"Asia/Taipei\"),\n                    (\"Asia/Tashkent\", \"Asia/Tashkent\"),\n                    (\"Asia/Tbilisi\", \"Asia/Tbilisi\"),\n                    (\"Asia/Tehran\", \"Asia/Tehran\"),\n                    (\"Asia/Thimphu\", \"Asia/Thimphu\"),\n                    (\"Asia/Tokyo\", \"Asia/Tokyo\"),\n                    (\"Asia/Tomsk\", \"Asia/Tomsk\"),\n                    (\"Asia/Ulaanbaatar\", \"Asia/Ulaanbaatar\"),\n                    (\"Asia/Urumqi\", \"Asia/Urumqi\"),\n                    (\"Asia/Ust-Nera\", \"Asia/Ust-Nera\"),\n                    (\"Asia/Vientiane\", \"Asia/Vientiane\"),\n                    (\"Asia/Vladivostok\", \"Asia/Vladivostok\"),\n                    (\"Asia/Yakutsk\", \"Asia/Yakutsk\"),\n                    (\"Asia/Yangon\", \"Asia/Yangon\"),\n                    (\"Asia/Yekaterinburg\", \"Asia/Yekaterinburg\"),\n                    (\"Asia/Yerevan\", \"Asia/Yerevan\"),\n                    (\"Atlantic/Azores\", \"Atlantic/Azores\"),\n                    (\"Atlantic/Bermuda\", \"Atlantic/Bermuda\"),\n                    (\"Atlantic/Canary\", \"Atlantic/Canary\"),\n                    (\"Atlantic/Cape_Verde\", \"Atlantic/Cape_Verde\"),\n                    (\"Atlantic/Faroe\", \"Atlantic/Faroe\"),\n                    (\"Atlantic/Madeira\", \"Atlantic/Madeira\"),\n                    (\"Atlantic/Reykjavik\", \"Atlantic/Reykjavik\"),\n                    (\"Atlantic/South_Georgia\", \"Atlantic/South_Georgia\"),\n                    (\"Atlantic/St_Helena\", \"Atlantic/St_Helena\"),\n                    (\"Atlantic/Stanley\", \"Atlantic/Stanley\"),\n                    (\"Australia/Adelaide\", \"Australia/Adelaide\"),\n                    (\"Australia/Brisbane\", \"Australia/Brisbane\"),\n                    (\"Australia/Broken_Hill\", \"Australia/Broken_Hill\"),\n                    (\"Australia/Currie\", \"Australia/Currie\"),\n                    (\"Australia/Darwin\", \"Australia/Darwin\"),\n                    (\"Australia/Eucla\", \"Australia/Eucla\"),\n                    (\"Australia/Hobart\", \"Australia/Hobart\"),\n                    (\"Australia/Lindeman\", \"Australia/Lindeman\"),\n                    (\"Australia/Lord_Howe\", \"Australia/Lord_Howe\"),\n                    (\"Australia/Melbourne\", \"Australia/Melbourne\"),\n                    (\"Australia/Perth\", \"Australia/Perth\"),\n                    (\"Australia/Sydney\", \"Australia/Sydney\"),\n                    (\"Canada/Atlantic\", \"Canada/Atlantic\"),\n                    (\"Canada/Central\", \"Canada/Central\"),\n                    (\"Canada/Eastern\", \"Canada/Eastern\"),\n                    (\"Canada/Mountain\", \"Canada/Mountain\"),\n                    (\"Canada/Newfoundland\", \"Canada/Newfoundland\"),\n                    (\"Canada/Pacific\", \"Canada/Pacific\"),\n                    (\"Europe/Amsterdam\", \"Europe/Amsterdam\"),\n                    (\"Europe/Andorra\", \"Europe/Andorra\"),\n                    (\"Europe/Astrakhan\", \"Europe/Astrakhan\"),\n                    (\"Europe/Athens\", \"Europe/Athens\"),\n                    (\"Europe/Belgrade\", \"Europe/Belgrade\"),\n                    (\"Europe/Berlin\", \"Europe/Berlin\"),\n                    (\"Europe/Bratislava\", \"Europe/Bratislava\"),\n                    (\"Europe/Brussels\", \"Europe/Brussels\"),\n                    (\"Europe/Bucharest\", \"Europe/Bucharest\"),\n                    (\"Europe/Budapest\", \"Europe/Budapest\"),\n                    (\"Europe/Busingen\", \"Europe/Busingen\"),\n                    (\"Europe/Chisinau\", \"Europe/Chisinau\"),\n                    (\"Europe/Copenhagen\", \"Europe/Copenhagen\"),\n                    (\"Europe/Dublin\", \"Europe/Dublin\"),\n                    (\"Europe/Gibraltar\", \"Europe/Gibraltar\"),\n                    (\"Europe/Guernsey\", \"Europe/Guernsey\"),\n                    (\"Europe/Helsinki\", \"Europe/Helsinki\"),\n                    (\"Europe/Isle_of_Man\", \"Europe/Isle_of_Man\"),\n                    (\"Europe/Istanbul\", \"Europe/Istanbul\"),\n                    (\"Europe/Jersey\", \"Europe/Jersey\"),\n                    (\"Europe/Kaliningrad\", \"Europe/Kaliningrad\"),\n                    (\"Europe/Kiev\", \"Europe/Kiev\"),\n                    (\"Europe/Kirov\", \"Europe/Kirov\"),\n                    (\"Europe/Lisbon\", \"Europe/Lisbon\"),\n                    (\"Europe/Ljubljana\", \"Europe/Ljubljana\"),\n                    (\"Europe/London\", \"Europe/London\"),\n                    (\"Europe/Luxembourg\", \"Europe/Luxembourg\"),\n                    (\"Europe/Madrid\", \"Europe/Madrid\"),\n                    (\"Europe/Malta\", \"Europe/Malta\"),\n                    (\"Europe/Mariehamn\", \"Europe/Mariehamn\"),\n                    (\"Europe/Minsk\", \"Europe/Minsk\"),\n                    (\"Europe/Monaco\", \"Europe/Monaco\"),\n                    (\"Europe/Moscow\", \"Europe/Moscow\"),\n                    (\"Europe/Oslo\", \"Europe/Oslo\"),\n                    (\"Europe/Paris\", \"Europe/Paris\"),\n                    (\"Europe/Podgorica\", \"Europe/Podgorica\"),\n                    (\"Europe/Prague\", \"Europe/Prague\"),\n                    (\"Europe/Riga\", \"Europe/Riga\"),\n                    (\"Europe/Rome\", \"Europe/Rome\"),\n                    (\"Europe/Samara\", \"Europe/Samara\"),\n                    (\"Europe/San_Marino\", \"Europe/San_Marino\"),\n                    (\"Europe/Sarajevo\", \"Europe/Sarajevo\"),\n                    (\"Europe/Saratov\", \"Europe/Saratov\"),\n                    (\"Europe/Simferopol\", \"Europe/Simferopol\"),\n                    (\"Europe/Skopje\", \"Europe/Skopje\"),\n                    (\"Europe/Sofia\", \"Europe/Sofia\"),\n                    (\"Europe/Stockholm\", \"Europe/Stockholm\"),\n                    (\"Europe/Tallinn\", \"Europe/Tallinn\"),\n                    (\"Europe/Tirane\", \"Europe/Tirane\"),\n                    (\"Europe/Ulyanovsk\", \"Europe/Ulyanovsk\"),\n                    (\"Europe/Uzhgorod\", \"Europe/Uzhgorod\"),\n                    (\"Europe/Vaduz\", \"Europe/Vaduz\"),\n                    (\"Europe/Vatican\", \"Europe/Vatican\"),\n                    (\"Europe/Vienna\", \"Europe/Vienna\"),\n                    (\"Europe/Vilnius\", \"Europe/Vilnius\"),\n                    (\"Europe/Volgograd\", \"Europe/Volgograd\"),\n                    (\"Europe/Warsaw\", \"Europe/Warsaw\"),\n                    (\"Europe/Zagreb\", \"Europe/Zagreb\"),\n                    (\"Europe/Zaporozhye\", \"Europe/Zaporozhye\"),\n                    (\"Europe/Zurich\", \"Europe/Zurich\"),\n                    (\"GMT\", \"GMT\"),\n                    (\"Indian/Antananarivo\", \"Indian/Antananarivo\"),\n                    (\"Indian/Chagos\", \"Indian/Chagos\"),\n                    (\"Indian/Christmas\", \"Indian/Christmas\"),\n                    (\"Indian/Cocos\", \"Indian/Cocos\"),\n                    (\"Indian/Comoro\", \"Indian/Comoro\"),\n                    (\"Indian/Kerguelen\", \"Indian/Kerguelen\"),\n                    (\"Indian/Mahe\", \"Indian/Mahe\"),\n                    (\"Indian/Maldives\", \"Indian/Maldives\"),\n                    (\"Indian/Mauritius\", \"Indian/Mauritius\"),\n                    (\"Indian/Mayotte\", \"Indian/Mayotte\"),\n                    (\"Indian/Reunion\", \"Indian/Reunion\"),\n                    (\"Pacific/Apia\", \"Pacific/Apia\"),\n                    (\"Pacific/Auckland\", \"Pacific/Auckland\"),\n                    (\"Pacific/Bougainville\", \"Pacific/Bougainville\"),\n                    (\"Pacific/Chatham\", \"Pacific/Chatham\"),\n                    (\"Pacific/Chuuk\", \"Pacific/Chuuk\"),\n                    (\"Pacific/Easter\", \"Pacific/Easter\"),\n                    (\"Pacific/Efate\", \"Pacific/Efate\"),\n                    (\"Pacific/Enderbury\", \"Pacific/Enderbury\"),\n                    (\"Pacific/Fakaofo\", \"Pacific/Fakaofo\"),\n                    (\"Pacific/Fiji\", \"Pacific/Fiji\"),\n                    (\"Pacific/Funafuti\", \"Pacific/Funafuti\"),\n                    (\"Pacific/Galapagos\", \"Pacific/Galapagos\"),\n                    (\"Pacific/Gambier\", \"Pacific/Gambier\"),\n                    (\"Pacific/Guadalcanal\", \"Pacific/Guadalcanal\"),\n                    (\"Pacific/Guam\", \"Pacific/Guam\"),\n                    (\"Pacific/Honolulu\", \"Pacific/Honolulu\"),\n                    (\"Pacific/Kiritimati\", \"Pacific/Kiritimati\"),\n                    (\"Pacific/Kosrae\", \"Pacific/Kosrae\"),\n                    (\"Pacific/Kwajalein\", \"Pacific/Kwajalein\"),\n                    (\"Pacific/Majuro\", \"Pacific/Majuro\"),\n                    (\"Pacific/Marquesas\", \"Pacific/Marquesas\"),\n                    (\"Pacific/Midway\", \"Pacific/Midway\"),\n                    (\"Pacific/Nauru\", \"Pacific/Nauru\"),\n                    (\"Pacific/Niue\", \"Pacific/Niue\"),\n                    (\"Pacific/Norfolk\", \"Pacific/Norfolk\"),\n                    (\"Pacific/Noumea\", \"Pacific/Noumea\"),\n                    (\"Pacific/Pago_Pago\", \"Pacific/Pago_Pago\"),\n                    (\"Pacific/Palau\", \"Pacific/Palau\"),\n                    (\"Pacific/Pitcairn\", \"Pacific/Pitcairn\"),\n                    (\"Pacific/Pohnpei\", \"Pacific/Pohnpei\"),\n                    (\"Pacific/Port_Moresby\", \"Pacific/Port_Moresby\"),\n                    (\"Pacific/Rarotonga\", \"Pacific/Rarotonga\"),\n                    (\"Pacific/Saipan\", \"Pacific/Saipan\"),\n                    (\"Pacific/Tahiti\", \"Pacific/Tahiti\"),\n                    (\"Pacific/Tarawa\", \"Pacific/Tarawa\"),\n                    (\"Pacific/Tongatapu\", \"Pacific/Tongatapu\"),\n                    (\"Pacific/Wake\", \"Pacific/Wake\"),\n                    (\"Pacific/Wallis\", \"Pacific/Wallis\"),\n                    (\"US/Alaska\", \"US/Alaska\"),\n                    (\"US/Arizona\", \"US/Arizona\"),\n                    (\"US/Central\", \"US/Central\"),\n                    (\"US/Eastern\", \"US/Eastern\"),\n                    (\"US/Hawaii\", \"US/Hawaii\"),\n                    (\"US/Mountain\", \"US/Mountain\"),\n                    (\"US/Pacific\", \"US/Pacific\"),\n                    (\"UTC\", \"UTC\"),\n                ],\n                max_length=80,\n                null=True,\n            ),\n        ),\n        migrations.AlterField(\n            model_name=\"theme\",\n            name=\"main_css\",\n            field=models.CharField(\n                blank=True, default=\"css/fullbrutalism.css\", max_length=1024, null=True\n            ),\n        ),\n        migrations.AlterField(\n            model_name=\"theme\",\n            name=\"name\",\n            field=models.CharField(max_length=80, unique=True),\n        ),\n        migrations.AlterField(\n            model_name=\"theme\",\n            name=\"prefix\",\n            field=models.CharField(default=\"default\", max_length=40, null=True),\n        ),\n        migrations.AlterField(\n            model_name=\"theme\",\n            name=\"tweaks_css\",\n            field=models.CharField(blank=True, max_length=1024, null=True),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0011_auto_20180825_1017.py",
    "content": "# Generated by Django 2.1 on 2018-08-25 14:17\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0010_auto_20180825_1009\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"timezone\",\n            field=models.CharField(\n                blank=True,\n                choices=[\n                    (\"Africa/Abidjan\", \"Africa/Abidjan\"),\n                    (\"Africa/Accra\", \"Africa/Accra\"),\n                    (\"Africa/Addis_Ababa\", \"Africa/Addis_Ababa\"),\n                    (\"Africa/Algiers\", \"Africa/Algiers\"),\n                    (\"Africa/Asmara\", \"Africa/Asmara\"),\n                    (\"Africa/Bamako\", \"Africa/Bamako\"),\n                    (\"Africa/Bangui\", \"Africa/Bangui\"),\n                    (\"Africa/Banjul\", \"Africa/Banjul\"),\n                    (\"Africa/Bissau\", \"Africa/Bissau\"),\n                    (\"Africa/Blantyre\", \"Africa/Blantyre\"),\n                    (\"Africa/Brazzaville\", \"Africa/Brazzaville\"),\n                    (\"Africa/Bujumbura\", \"Africa/Bujumbura\"),\n                    (\"Africa/Cairo\", \"Africa/Cairo\"),\n                    (\"Africa/Casablanca\", \"Africa/Casablanca\"),\n                    (\"Africa/Ceuta\", \"Africa/Ceuta\"),\n                    (\"Africa/Conakry\", \"Africa/Conakry\"),\n                    (\"Africa/Dakar\", \"Africa/Dakar\"),\n                    (\"Africa/Dar_es_Salaam\", \"Africa/Dar_es_Salaam\"),\n                    (\"Africa/Djibouti\", \"Africa/Djibouti\"),\n                    (\"Africa/Douala\", \"Africa/Douala\"),\n                    (\"Africa/El_Aaiun\", \"Africa/El_Aaiun\"),\n                    (\"Africa/Freetown\", \"Africa/Freetown\"),\n                    (\"Africa/Gaborone\", \"Africa/Gaborone\"),\n                    (\"Africa/Harare\", \"Africa/Harare\"),\n                    (\"Africa/Johannesburg\", \"Africa/Johannesburg\"),\n                    (\"Africa/Juba\", \"Africa/Juba\"),\n                    (\"Africa/Kampala\", \"Africa/Kampala\"),\n                    (\"Africa/Khartoum\", \"Africa/Khartoum\"),\n                    (\"Africa/Kigali\", \"Africa/Kigali\"),\n                    (\"Africa/Kinshasa\", \"Africa/Kinshasa\"),\n                    (\"Africa/Lagos\", \"Africa/Lagos\"),\n                    (\"Africa/Libreville\", \"Africa/Libreville\"),\n                    (\"Africa/Lome\", \"Africa/Lome\"),\n                    (\"Africa/Luanda\", \"Africa/Luanda\"),\n                    (\"Africa/Lubumbashi\", \"Africa/Lubumbashi\"),\n                    (\"Africa/Lusaka\", \"Africa/Lusaka\"),\n                    (\"Africa/Malabo\", \"Africa/Malabo\"),\n                    (\"Africa/Maputo\", \"Africa/Maputo\"),\n                    (\"Africa/Maseru\", \"Africa/Maseru\"),\n                    (\"Africa/Mbabane\", \"Africa/Mbabane\"),\n                    (\"Africa/Mogadishu\", \"Africa/Mogadishu\"),\n                    (\"Africa/Monrovia\", \"Africa/Monrovia\"),\n                    (\"Africa/Nairobi\", \"Africa/Nairobi\"),\n                    (\"Africa/Ndjamena\", \"Africa/Ndjamena\"),\n                    (\"Africa/Niamey\", \"Africa/Niamey\"),\n                    (\"Africa/Nouakchott\", \"Africa/Nouakchott\"),\n                    (\"Africa/Ouagadougou\", \"Africa/Ouagadougou\"),\n                    (\"Africa/Porto-Novo\", \"Africa/Porto-Novo\"),\n                    (\"Africa/Sao_Tome\", \"Africa/Sao_Tome\"),\n                    (\"Africa/Tripoli\", \"Africa/Tripoli\"),\n                    (\"Africa/Tunis\", \"Africa/Tunis\"),\n                    (\"Africa/Windhoek\", \"Africa/Windhoek\"),\n                    (\"America/Adak\", \"America/Adak\"),\n                    (\"America/Anchorage\", \"America/Anchorage\"),\n                    (\"America/Anguilla\", \"America/Anguilla\"),\n                    (\"America/Antigua\", \"America/Antigua\"),\n                    (\"America/Araguaina\", \"America/Araguaina\"),\n                    (\n                        \"America/Argentina/Buenos_Aires\",\n                        \"America/Argentina/Buenos_Aires\",\n                    ),\n                    (\"America/Argentina/Catamarca\", \"America/Argentina/Catamarca\"),\n                    (\"America/Argentina/Cordoba\", \"America/Argentina/Cordoba\"),\n                    (\"America/Argentina/Jujuy\", \"America/Argentina/Jujuy\"),\n                    (\"America/Argentina/La_Rioja\", \"America/Argentina/La_Rioja\"),\n                    (\"America/Argentina/Mendoza\", \"America/Argentina/Mendoza\"),\n                    (\n                        \"America/Argentina/Rio_Gallegos\",\n                        \"America/Argentina/Rio_Gallegos\",\n                    ),\n                    (\"America/Argentina/Salta\", \"America/Argentina/Salta\"),\n                    (\"America/Argentina/San_Juan\", \"America/Argentina/San_Juan\"),\n                    (\"America/Argentina/San_Luis\", \"America/Argentina/San_Luis\"),\n                    (\"America/Argentina/Tucuman\", \"America/Argentina/Tucuman\"),\n                    (\"America/Argentina/Ushuaia\", \"America/Argentina/Ushuaia\"),\n                    (\"America/Aruba\", \"America/Aruba\"),\n                    (\"America/Asuncion\", \"America/Asuncion\"),\n                    (\"America/Atikokan\", \"America/Atikokan\"),\n                    (\"America/Bahia\", \"America/Bahia\"),\n                    (\"America/Bahia_Banderas\", \"America/Bahia_Banderas\"),\n                    (\"America/Barbados\", \"America/Barbados\"),\n                    (\"America/Belem\", \"America/Belem\"),\n                    (\"America/Belize\", \"America/Belize\"),\n                    (\"America/Blanc-Sablon\", \"America/Blanc-Sablon\"),\n                    (\"America/Boa_Vista\", \"America/Boa_Vista\"),\n                    (\"America/Bogota\", \"America/Bogota\"),\n                    (\"America/Boise\", \"America/Boise\"),\n                    (\"America/Cambridge_Bay\", \"America/Cambridge_Bay\"),\n                    (\"America/Campo_Grande\", \"America/Campo_Grande\"),\n                    (\"America/Cancun\", \"America/Cancun\"),\n                    (\"America/Caracas\", \"America/Caracas\"),\n                    (\"America/Cayenne\", \"America/Cayenne\"),\n                    (\"America/Cayman\", \"America/Cayman\"),\n                    (\"America/Chicago\", \"America/Chicago\"),\n                    (\"America/Chihuahua\", \"America/Chihuahua\"),\n                    (\"America/Costa_Rica\", \"America/Costa_Rica\"),\n                    (\"America/Creston\", \"America/Creston\"),\n                    (\"America/Cuiaba\", \"America/Cuiaba\"),\n                    (\"America/Curacao\", \"America/Curacao\"),\n                    (\"America/Danmarkshavn\", \"America/Danmarkshavn\"),\n                    (\"America/Dawson\", \"America/Dawson\"),\n                    (\"America/Dawson_Creek\", \"America/Dawson_Creek\"),\n                    (\"America/Denver\", \"America/Denver\"),\n                    (\"America/Detroit\", \"America/Detroit\"),\n                    (\"America/Dominica\", \"America/Dominica\"),\n                    (\"America/Edmonton\", \"America/Edmonton\"),\n                    (\"America/Eirunepe\", \"America/Eirunepe\"),\n                    (\"America/El_Salvador\", \"America/El_Salvador\"),\n                    (\"America/Fort_Nelson\", \"America/Fort_Nelson\"),\n                    (\"America/Fortaleza\", \"America/Fortaleza\"),\n                    (\"America/Glace_Bay\", \"America/Glace_Bay\"),\n                    (\"America/Godthab\", \"America/Godthab\"),\n                    (\"America/Goose_Bay\", \"America/Goose_Bay\"),\n                    (\"America/Grand_Turk\", \"America/Grand_Turk\"),\n                    (\"America/Grenada\", \"America/Grenada\"),\n                    (\"America/Guadeloupe\", \"America/Guadeloupe\"),\n                    (\"America/Guatemala\", \"America/Guatemala\"),\n                    (\"America/Guayaquil\", \"America/Guayaquil\"),\n                    (\"America/Guyana\", \"America/Guyana\"),\n                    (\"America/Halifax\", \"America/Halifax\"),\n                    (\"America/Havana\", \"America/Havana\"),\n                    (\"America/Hermosillo\", \"America/Hermosillo\"),\n                    (\"America/Indiana/Indianapolis\", \"America/Indiana/Indianapolis\"),\n                    (\"America/Indiana/Knox\", \"America/Indiana/Knox\"),\n                    (\"America/Indiana/Marengo\", \"America/Indiana/Marengo\"),\n                    (\"America/Indiana/Petersburg\", \"America/Indiana/Petersburg\"),\n                    (\"America/Indiana/Tell_City\", \"America/Indiana/Tell_City\"),\n                    (\"America/Indiana/Vevay\", \"America/Indiana/Vevay\"),\n                    (\"America/Indiana/Vincennes\", \"America/Indiana/Vincennes\"),\n                    (\"America/Indiana/Winamac\", \"America/Indiana/Winamac\"),\n                    (\"America/Inuvik\", \"America/Inuvik\"),\n                    (\"America/Iqaluit\", \"America/Iqaluit\"),\n                    (\"America/Jamaica\", \"America/Jamaica\"),\n                    (\"America/Juneau\", \"America/Juneau\"),\n                    (\"America/Kentucky/Louisville\", \"America/Kentucky/Louisville\"),\n                    (\"America/Kentucky/Monticello\", \"America/Kentucky/Monticello\"),\n                    (\"America/Kralendijk\", \"America/Kralendijk\"),\n                    (\"America/La_Paz\", \"America/La_Paz\"),\n                    (\"America/Lima\", \"America/Lima\"),\n                    (\"America/Los_Angeles\", \"America/Los_Angeles\"),\n                    (\"America/Lower_Princes\", \"America/Lower_Princes\"),\n                    (\"America/Maceio\", \"America/Maceio\"),\n                    (\"America/Managua\", \"America/Managua\"),\n                    (\"America/Manaus\", \"America/Manaus\"),\n                    (\"America/Marigot\", \"America/Marigot\"),\n                    (\"America/Martinique\", \"America/Martinique\"),\n                    (\"America/Matamoros\", \"America/Matamoros\"),\n                    (\"America/Mazatlan\", \"America/Mazatlan\"),\n                    (\"America/Menominee\", \"America/Menominee\"),\n                    (\"America/Merida\", \"America/Merida\"),\n                    (\"America/Metlakatla\", \"America/Metlakatla\"),\n                    (\"America/Mexico_City\", \"America/Mexico_City\"),\n                    (\"America/Miquelon\", \"America/Miquelon\"),\n                    (\"America/Moncton\", \"America/Moncton\"),\n                    (\"America/Monterrey\", \"America/Monterrey\"),\n                    (\"America/Montevideo\", \"America/Montevideo\"),\n                    (\"America/Montserrat\", \"America/Montserrat\"),\n                    (\"America/Nassau\", \"America/Nassau\"),\n                    (\"America/New_York\", \"America/New_York\"),\n                    (\"America/Nipigon\", \"America/Nipigon\"),\n                    (\"America/Nome\", \"America/Nome\"),\n                    (\"America/Noronha\", \"America/Noronha\"),\n                    (\"America/North_Dakota/Beulah\", \"America/North_Dakota/Beulah\"),\n                    (\"America/North_Dakota/Center\", \"America/North_Dakota/Center\"),\n                    (\n                        \"America/North_Dakota/New_Salem\",\n                        \"America/North_Dakota/New_Salem\",\n                    ),\n                    (\"America/Ojinaga\", \"America/Ojinaga\"),\n                    (\"America/Panama\", \"America/Panama\"),\n                    (\"America/Pangnirtung\", \"America/Pangnirtung\"),\n                    (\"America/Paramaribo\", \"America/Paramaribo\"),\n                    (\"America/Phoenix\", \"America/Phoenix\"),\n                    (\"America/Port-au-Prince\", \"America/Port-au-Prince\"),\n                    (\"America/Port_of_Spain\", \"America/Port_of_Spain\"),\n                    (\"America/Porto_Velho\", \"America/Porto_Velho\"),\n                    (\"America/Puerto_Rico\", \"America/Puerto_Rico\"),\n                    (\"America/Punta_Arenas\", \"America/Punta_Arenas\"),\n                    (\"America/Rainy_River\", \"America/Rainy_River\"),\n                    (\"America/Rankin_Inlet\", \"America/Rankin_Inlet\"),\n                    (\"America/Recife\", \"America/Recife\"),\n                    (\"America/Regina\", \"America/Regina\"),\n                    (\"America/Resolute\", \"America/Resolute\"),\n                    (\"America/Rio_Branco\", \"America/Rio_Branco\"),\n                    (\"America/Santarem\", \"America/Santarem\"),\n                    (\"America/Santiago\", \"America/Santiago\"),\n                    (\"America/Santo_Domingo\", \"America/Santo_Domingo\"),\n                    (\"America/Sao_Paulo\", \"America/Sao_Paulo\"),\n                    (\"America/Scoresbysund\", \"America/Scoresbysund\"),\n                    (\"America/Sitka\", \"America/Sitka\"),\n                    (\"America/St_Barthelemy\", \"America/St_Barthelemy\"),\n                    (\"America/St_Johns\", \"America/St_Johns\"),\n                    (\"America/St_Kitts\", \"America/St_Kitts\"),\n                    (\"America/St_Lucia\", \"America/St_Lucia\"),\n                    (\"America/St_Thomas\", \"America/St_Thomas\"),\n                    (\"America/St_Vincent\", \"America/St_Vincent\"),\n                    (\"America/Swift_Current\", \"America/Swift_Current\"),\n                    (\"America/Tegucigalpa\", \"America/Tegucigalpa\"),\n                    (\"America/Thule\", \"America/Thule\"),\n                    (\"America/Thunder_Bay\", \"America/Thunder_Bay\"),\n                    (\"America/Tijuana\", \"America/Tijuana\"),\n                    (\"America/Toronto\", \"America/Toronto\"),\n                    (\"America/Tortola\", \"America/Tortola\"),\n                    (\"America/Vancouver\", \"America/Vancouver\"),\n                    (\"America/Whitehorse\", \"America/Whitehorse\"),\n                    (\"America/Winnipeg\", \"America/Winnipeg\"),\n                    (\"America/Yakutat\", \"America/Yakutat\"),\n                    (\"America/Yellowknife\", \"America/Yellowknife\"),\n                    (\"Antarctica/Casey\", \"Antarctica/Casey\"),\n                    (\"Antarctica/Davis\", \"Antarctica/Davis\"),\n                    (\"Antarctica/DumontDUrville\", \"Antarctica/DumontDUrville\"),\n                    (\"Antarctica/Macquarie\", \"Antarctica/Macquarie\"),\n                    (\"Antarctica/Mawson\", \"Antarctica/Mawson\"),\n                    (\"Antarctica/McMurdo\", \"Antarctica/McMurdo\"),\n                    (\"Antarctica/Palmer\", \"Antarctica/Palmer\"),\n                    (\"Antarctica/Rothera\", \"Antarctica/Rothera\"),\n                    (\"Antarctica/Syowa\", \"Antarctica/Syowa\"),\n                    (\"Antarctica/Troll\", \"Antarctica/Troll\"),\n                    (\"Antarctica/Vostok\", \"Antarctica/Vostok\"),\n                    (\"Arctic/Longyearbyen\", \"Arctic/Longyearbyen\"),\n                    (\"Asia/Aden\", \"Asia/Aden\"),\n                    (\"Asia/Almaty\", \"Asia/Almaty\"),\n                    (\"Asia/Amman\", \"Asia/Amman\"),\n                    (\"Asia/Anadyr\", \"Asia/Anadyr\"),\n                    (\"Asia/Aqtau\", \"Asia/Aqtau\"),\n                    (\"Asia/Aqtobe\", \"Asia/Aqtobe\"),\n                    (\"Asia/Ashgabat\", \"Asia/Ashgabat\"),\n                    (\"Asia/Atyrau\", \"Asia/Atyrau\"),\n                    (\"Asia/Baghdad\", \"Asia/Baghdad\"),\n                    (\"Asia/Bahrain\", \"Asia/Bahrain\"),\n                    (\"Asia/Baku\", \"Asia/Baku\"),\n                    (\"Asia/Bangkok\", \"Asia/Bangkok\"),\n                    (\"Asia/Barnaul\", \"Asia/Barnaul\"),\n                    (\"Asia/Beirut\", \"Asia/Beirut\"),\n                    (\"Asia/Bishkek\", \"Asia/Bishkek\"),\n                    (\"Asia/Brunei\", \"Asia/Brunei\"),\n                    (\"Asia/Chita\", \"Asia/Chita\"),\n                    (\"Asia/Choibalsan\", \"Asia/Choibalsan\"),\n                    (\"Asia/Colombo\", \"Asia/Colombo\"),\n                    (\"Asia/Damascus\", \"Asia/Damascus\"),\n                    (\"Asia/Dhaka\", \"Asia/Dhaka\"),\n                    (\"Asia/Dili\", \"Asia/Dili\"),\n                    (\"Asia/Dubai\", \"Asia/Dubai\"),\n                    (\"Asia/Dushanbe\", \"Asia/Dushanbe\"),\n                    (\"Asia/Famagusta\", \"Asia/Famagusta\"),\n                    (\"Asia/Gaza\", \"Asia/Gaza\"),\n                    (\"Asia/Hebron\", \"Asia/Hebron\"),\n                    (\"Asia/Ho_Chi_Minh\", \"Asia/Ho_Chi_Minh\"),\n                    (\"Asia/Hong_Kong\", \"Asia/Hong_Kong\"),\n                    (\"Asia/Hovd\", \"Asia/Hovd\"),\n                    (\"Asia/Irkutsk\", \"Asia/Irkutsk\"),\n                    (\"Asia/Jakarta\", \"Asia/Jakarta\"),\n                    (\"Asia/Jayapura\", \"Asia/Jayapura\"),\n                    (\"Asia/Jerusalem\", \"Asia/Jerusalem\"),\n                    (\"Asia/Kabul\", \"Asia/Kabul\"),\n                    (\"Asia/Kamchatka\", \"Asia/Kamchatka\"),\n                    (\"Asia/Karachi\", \"Asia/Karachi\"),\n                    (\"Asia/Kathmandu\", \"Asia/Kathmandu\"),\n                    (\"Asia/Khandyga\", \"Asia/Khandyga\"),\n                    (\"Asia/Kolkata\", \"Asia/Kolkata\"),\n                    (\"Asia/Krasnoyarsk\", \"Asia/Krasnoyarsk\"),\n                    (\"Asia/Kuala_Lumpur\", \"Asia/Kuala_Lumpur\"),\n                    (\"Asia/Kuching\", \"Asia/Kuching\"),\n                    (\"Asia/Kuwait\", \"Asia/Kuwait\"),\n                    (\"Asia/Macau\", \"Asia/Macau\"),\n                    (\"Asia/Magadan\", \"Asia/Magadan\"),\n                    (\"Asia/Makassar\", \"Asia/Makassar\"),\n                    (\"Asia/Manila\", \"Asia/Manila\"),\n                    (\"Asia/Muscat\", \"Asia/Muscat\"),\n                    (\"Asia/Nicosia\", \"Asia/Nicosia\"),\n                    (\"Asia/Novokuznetsk\", \"Asia/Novokuznetsk\"),\n                    (\"Asia/Novosibirsk\", \"Asia/Novosibirsk\"),\n                    (\"Asia/Omsk\", \"Asia/Omsk\"),\n                    (\"Asia/Oral\", \"Asia/Oral\"),\n                    (\"Asia/Phnom_Penh\", \"Asia/Phnom_Penh\"),\n                    (\"Asia/Pontianak\", \"Asia/Pontianak\"),\n                    (\"Asia/Pyongyang\", \"Asia/Pyongyang\"),\n                    (\"Asia/Qatar\", \"Asia/Qatar\"),\n                    (\"Asia/Qyzylorda\", \"Asia/Qyzylorda\"),\n                    (\"Asia/Riyadh\", \"Asia/Riyadh\"),\n                    (\"Asia/Sakhalin\", \"Asia/Sakhalin\"),\n                    (\"Asia/Samarkand\", \"Asia/Samarkand\"),\n                    (\"Asia/Seoul\", \"Asia/Seoul\"),\n                    (\"Asia/Shanghai\", \"Asia/Shanghai\"),\n                    (\"Asia/Singapore\", \"Asia/Singapore\"),\n                    (\"Asia/Srednekolymsk\", \"Asia/Srednekolymsk\"),\n                    (\"Asia/Taipei\", \"Asia/Taipei\"),\n                    (\"Asia/Tashkent\", \"Asia/Tashkent\"),\n                    (\"Asia/Tbilisi\", \"Asia/Tbilisi\"),\n                    (\"Asia/Tehran\", \"Asia/Tehran\"),\n                    (\"Asia/Thimphu\", \"Asia/Thimphu\"),\n                    (\"Asia/Tokyo\", \"Asia/Tokyo\"),\n                    (\"Asia/Tomsk\", \"Asia/Tomsk\"),\n                    (\"Asia/Ulaanbaatar\", \"Asia/Ulaanbaatar\"),\n                    (\"Asia/Urumqi\", \"Asia/Urumqi\"),\n                    (\"Asia/Ust-Nera\", \"Asia/Ust-Nera\"),\n                    (\"Asia/Vientiane\", \"Asia/Vientiane\"),\n                    (\"Asia/Vladivostok\", \"Asia/Vladivostok\"),\n                    (\"Asia/Yakutsk\", \"Asia/Yakutsk\"),\n                    (\"Asia/Yangon\", \"Asia/Yangon\"),\n                    (\"Asia/Yekaterinburg\", \"Asia/Yekaterinburg\"),\n                    (\"Asia/Yerevan\", \"Asia/Yerevan\"),\n                    (\"Atlantic/Azores\", \"Atlantic/Azores\"),\n                    (\"Atlantic/Bermuda\", \"Atlantic/Bermuda\"),\n                    (\"Atlantic/Canary\", \"Atlantic/Canary\"),\n                    (\"Atlantic/Cape_Verde\", \"Atlantic/Cape_Verde\"),\n                    (\"Atlantic/Faroe\", \"Atlantic/Faroe\"),\n                    (\"Atlantic/Madeira\", \"Atlantic/Madeira\"),\n                    (\"Atlantic/Reykjavik\", \"Atlantic/Reykjavik\"),\n                    (\"Atlantic/South_Georgia\", \"Atlantic/South_Georgia\"),\n                    (\"Atlantic/St_Helena\", \"Atlantic/St_Helena\"),\n                    (\"Atlantic/Stanley\", \"Atlantic/Stanley\"),\n                    (\"Australia/Adelaide\", \"Australia/Adelaide\"),\n                    (\"Australia/Brisbane\", \"Australia/Brisbane\"),\n                    (\"Australia/Broken_Hill\", \"Australia/Broken_Hill\"),\n                    (\"Australia/Currie\", \"Australia/Currie\"),\n                    (\"Australia/Darwin\", \"Australia/Darwin\"),\n                    (\"Australia/Eucla\", \"Australia/Eucla\"),\n                    (\"Australia/Hobart\", \"Australia/Hobart\"),\n                    (\"Australia/Lindeman\", \"Australia/Lindeman\"),\n                    (\"Australia/Lord_Howe\", \"Australia/Lord_Howe\"),\n                    (\"Australia/Melbourne\", \"Australia/Melbourne\"),\n                    (\"Australia/Perth\", \"Australia/Perth\"),\n                    (\"Australia/Sydney\", \"Australia/Sydney\"),\n                    (\"Canada/Atlantic\", \"Canada/Atlantic\"),\n                    (\"Canada/Central\", \"Canada/Central\"),\n                    (\"Canada/Eastern\", \"Canada/Eastern\"),\n                    (\"Canada/Mountain\", \"Canada/Mountain\"),\n                    (\"Canada/Newfoundland\", \"Canada/Newfoundland\"),\n                    (\"Canada/Pacific\", \"Canada/Pacific\"),\n                    (\"Europe/Amsterdam\", \"Europe/Amsterdam\"),\n                    (\"Europe/Andorra\", \"Europe/Andorra\"),\n                    (\"Europe/Astrakhan\", \"Europe/Astrakhan\"),\n                    (\"Europe/Athens\", \"Europe/Athens\"),\n                    (\"Europe/Belgrade\", \"Europe/Belgrade\"),\n                    (\"Europe/Berlin\", \"Europe/Berlin\"),\n                    (\"Europe/Bratislava\", \"Europe/Bratislava\"),\n                    (\"Europe/Brussels\", \"Europe/Brussels\"),\n                    (\"Europe/Bucharest\", \"Europe/Bucharest\"),\n                    (\"Europe/Budapest\", \"Europe/Budapest\"),\n                    (\"Europe/Busingen\", \"Europe/Busingen\"),\n                    (\"Europe/Chisinau\", \"Europe/Chisinau\"),\n                    (\"Europe/Copenhagen\", \"Europe/Copenhagen\"),\n                    (\"Europe/Dublin\", \"Europe/Dublin\"),\n                    (\"Europe/Gibraltar\", \"Europe/Gibraltar\"),\n                    (\"Europe/Guernsey\", \"Europe/Guernsey\"),\n                    (\"Europe/Helsinki\", \"Europe/Helsinki\"),\n                    (\"Europe/Isle_of_Man\", \"Europe/Isle_of_Man\"),\n                    (\"Europe/Istanbul\", \"Europe/Istanbul\"),\n                    (\"Europe/Jersey\", \"Europe/Jersey\"),\n                    (\"Europe/Kaliningrad\", \"Europe/Kaliningrad\"),\n                    (\"Europe/Kiev\", \"Europe/Kiev\"),\n                    (\"Europe/Kirov\", \"Europe/Kirov\"),\n                    (\"Europe/Lisbon\", \"Europe/Lisbon\"),\n                    (\"Europe/Ljubljana\", \"Europe/Ljubljana\"),\n                    (\"Europe/London\", \"Europe/London\"),\n                    (\"Europe/Luxembourg\", \"Europe/Luxembourg\"),\n                    (\"Europe/Madrid\", \"Europe/Madrid\"),\n                    (\"Europe/Malta\", \"Europe/Malta\"),\n                    (\"Europe/Mariehamn\", \"Europe/Mariehamn\"),\n                    (\"Europe/Minsk\", \"Europe/Minsk\"),\n                    (\"Europe/Monaco\", \"Europe/Monaco\"),\n                    (\"Europe/Moscow\", \"Europe/Moscow\"),\n                    (\"Europe/Oslo\", \"Europe/Oslo\"),\n                    (\"Europe/Paris\", \"Europe/Paris\"),\n                    (\"Europe/Podgorica\", \"Europe/Podgorica\"),\n                    (\"Europe/Prague\", \"Europe/Prague\"),\n                    (\"Europe/Riga\", \"Europe/Riga\"),\n                    (\"Europe/Rome\", \"Europe/Rome\"),\n                    (\"Europe/Samara\", \"Europe/Samara\"),\n                    (\"Europe/San_Marino\", \"Europe/San_Marino\"),\n                    (\"Europe/Sarajevo\", \"Europe/Sarajevo\"),\n                    (\"Europe/Saratov\", \"Europe/Saratov\"),\n                    (\"Europe/Simferopol\", \"Europe/Simferopol\"),\n                    (\"Europe/Skopje\", \"Europe/Skopje\"),\n                    (\"Europe/Sofia\", \"Europe/Sofia\"),\n                    (\"Europe/Stockholm\", \"Europe/Stockholm\"),\n                    (\"Europe/Tallinn\", \"Europe/Tallinn\"),\n                    (\"Europe/Tirane\", \"Europe/Tirane\"),\n                    (\"Europe/Ulyanovsk\", \"Europe/Ulyanovsk\"),\n                    (\"Europe/Uzhgorod\", \"Europe/Uzhgorod\"),\n                    (\"Europe/Vaduz\", \"Europe/Vaduz\"),\n                    (\"Europe/Vatican\", \"Europe/Vatican\"),\n                    (\"Europe/Vienna\", \"Europe/Vienna\"),\n                    (\"Europe/Vilnius\", \"Europe/Vilnius\"),\n                    (\"Europe/Volgograd\", \"Europe/Volgograd\"),\n                    (\"Europe/Warsaw\", \"Europe/Warsaw\"),\n                    (\"Europe/Zagreb\", \"Europe/Zagreb\"),\n                    (\"Europe/Zaporozhye\", \"Europe/Zaporozhye\"),\n                    (\"Europe/Zurich\", \"Europe/Zurich\"),\n                    (\"GMT\", \"GMT\"),\n                    (\"Indian/Antananarivo\", \"Indian/Antananarivo\"),\n                    (\"Indian/Chagos\", \"Indian/Chagos\"),\n                    (\"Indian/Christmas\", \"Indian/Christmas\"),\n                    (\"Indian/Cocos\", \"Indian/Cocos\"),\n                    (\"Indian/Comoro\", \"Indian/Comoro\"),\n                    (\"Indian/Kerguelen\", \"Indian/Kerguelen\"),\n                    (\"Indian/Mahe\", \"Indian/Mahe\"),\n                    (\"Indian/Maldives\", \"Indian/Maldives\"),\n                    (\"Indian/Mauritius\", \"Indian/Mauritius\"),\n                    (\"Indian/Mayotte\", \"Indian/Mayotte\"),\n                    (\"Indian/Reunion\", \"Indian/Reunion\"),\n                    (\"Pacific/Apia\", \"Pacific/Apia\"),\n                    (\"Pacific/Auckland\", \"Pacific/Auckland\"),\n                    (\"Pacific/Bougainville\", \"Pacific/Bougainville\"),\n                    (\"Pacific/Chatham\", \"Pacific/Chatham\"),\n                    (\"Pacific/Chuuk\", \"Pacific/Chuuk\"),\n                    (\"Pacific/Easter\", \"Pacific/Easter\"),\n                    (\"Pacific/Efate\", \"Pacific/Efate\"),\n                    (\"Pacific/Enderbury\", \"Pacific/Enderbury\"),\n                    (\"Pacific/Fakaofo\", \"Pacific/Fakaofo\"),\n                    (\"Pacific/Fiji\", \"Pacific/Fiji\"),\n                    (\"Pacific/Funafuti\", \"Pacific/Funafuti\"),\n                    (\"Pacific/Galapagos\", \"Pacific/Galapagos\"),\n                    (\"Pacific/Gambier\", \"Pacific/Gambier\"),\n                    (\"Pacific/Guadalcanal\", \"Pacific/Guadalcanal\"),\n                    (\"Pacific/Guam\", \"Pacific/Guam\"),\n                    (\"Pacific/Honolulu\", \"Pacific/Honolulu\"),\n                    (\"Pacific/Kiritimati\", \"Pacific/Kiritimati\"),\n                    (\"Pacific/Kosrae\", \"Pacific/Kosrae\"),\n                    (\"Pacific/Kwajalein\", \"Pacific/Kwajalein\"),\n                    (\"Pacific/Majuro\", \"Pacific/Majuro\"),\n                    (\"Pacific/Marquesas\", \"Pacific/Marquesas\"),\n                    (\"Pacific/Midway\", \"Pacific/Midway\"),\n                    (\"Pacific/Nauru\", \"Pacific/Nauru\"),\n                    (\"Pacific/Niue\", \"Pacific/Niue\"),\n                    (\"Pacific/Norfolk\", \"Pacific/Norfolk\"),\n                    (\"Pacific/Noumea\", \"Pacific/Noumea\"),\n                    (\"Pacific/Pago_Pago\", \"Pacific/Pago_Pago\"),\n                    (\"Pacific/Palau\", \"Pacific/Palau\"),\n                    (\"Pacific/Pitcairn\", \"Pacific/Pitcairn\"),\n                    (\"Pacific/Pohnpei\", \"Pacific/Pohnpei\"),\n                    (\"Pacific/Port_Moresby\", \"Pacific/Port_Moresby\"),\n                    (\"Pacific/Rarotonga\", \"Pacific/Rarotonga\"),\n                    (\"Pacific/Saipan\", \"Pacific/Saipan\"),\n                    (\"Pacific/Tahiti\", \"Pacific/Tahiti\"),\n                    (\"Pacific/Tarawa\", \"Pacific/Tarawa\"),\n                    (\"Pacific/Tongatapu\", \"Pacific/Tongatapu\"),\n                    (\"Pacific/Wake\", \"Pacific/Wake\"),\n                    (\"Pacific/Wallis\", \"Pacific/Wallis\"),\n                    (\"US/Alaska\", \"US/Alaska\"),\n                    (\"US/Arizona\", \"US/Arizona\"),\n                    (\"US/Central\", \"US/Central\"),\n                    (\"US/Eastern\", \"US/Eastern\"),\n                    (\"US/Hawaii\", \"US/Hawaii\"),\n                    (\"US/Mountain\", \"US/Mountain\"),\n                    (\"US/Pacific\", \"US/Pacific\"),\n                    (\"UTC\", \"UTC\"),\n                ],\n                default=\"UTC\",\n                max_length=80,\n                null=True,\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0012_auto_20180826_1853.py",
    "content": "# Generated by Django 2.1 on 2018-08-26 22:53\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0011_auto_20180825_1017\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"account\",\n            name=\"username\",\n            field=models.EmailField(max_length=254, unique=True),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0013_auto_20180826_1935.py",
    "content": "# Generated by Django 2.1 on 2018-08-26 23:35\n\nfrom django.db import migrations, models\nimport django.db.models.deletion\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0012_auto_20180826_1853\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"theme\",\n            field=models.ForeignKey(\n                default=1,\n                on_delete=django.db.models.deletion.CASCADE,\n                to=\"brutaldon.Theme\",\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0014_account_note_seen.py",
    "content": "# Generated by Django 2.1.1 on 2018-09-08 11:47\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0013_auto_20180826_1935\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"account\", name=\"note_seen\", field=models.IntegerField(null=True)\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0015_auto_20181001_1812.py",
    "content": "# Generated by Django 2.1.1 on 2018-10-01 22:12\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0014_account_note_seen\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"click_to_load\",\n            field=models.BooleanField(default=False),\n        ),\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"no_javascript\",\n            field=models.BooleanField(default=False),\n        ),\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"notifications\",\n            field=models.BooleanField(default=True),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0016_auto_20181009_1805.py",
    "content": "# Generated by Django 2.1.2 on 2018-10-09 22:05\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0015_auto_20181001_1812\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"lightbox\",\n            field=models.BooleanField(\n                default=False, help_text=\"Use a JavaScript lightbox to display media.\"\n            ),\n        ),\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"click_to_load\",\n            field=models.BooleanField(\n                default=False,\n                help_text=\"Click to load more toots in the same page, rather than using pagination.\",\n            ),\n        ),\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"no_javascript\",\n            field=models.BooleanField(\n                default=False,\n                help_text=\"Disable all JavaScript. Overrides all other JavaScript options.\",\n            ),\n        ),\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"notifications\",\n            field=models.BooleanField(\n                default=True, help_text=\"Display live notifications in header.\"\n            ),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0017_preference_poll_frequency.py",
    "content": "# Generated by Django 2.1.2 on 2018-10-18 19:52\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0016_auto_20181009_1805\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"poll_frequency\",\n            field=models.IntegerField(\n                default=300,\n                help_text=\"Number of seconds to wait between checking notifications. Default: 300\",\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0018_preference_filter_notifications.py",
    "content": "# Generated by Django 2.1.5 on 2019-01-14 13:51\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0017_preference_poll_frequency\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"filter_notifications\",\n            field=models.BooleanField(\n                default=False,\n                help_text=\"Exclude boosts and favs from your notifications.\",\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0019_auto_20190124_0813.py",
    "content": "# Generated by Django 2.1.5 on 2019-01-24 13:13\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0018_preference_filter_notifications\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"timezone\",\n            field=models.CharField(\n                blank=True,\n                choices=[\n                    (\"Africa/Abidjan\", \"Africa/Abidjan\"),\n                    (\"Africa/Accra\", \"Africa/Accra\"),\n                    (\"Africa/Addis_Ababa\", \"Africa/Addis_Ababa\"),\n                    (\"Africa/Algiers\", \"Africa/Algiers\"),\n                    (\"Africa/Asmara\", \"Africa/Asmara\"),\n                    (\"Africa/Bamako\", \"Africa/Bamako\"),\n                    (\"Africa/Bangui\", \"Africa/Bangui\"),\n                    (\"Africa/Banjul\", \"Africa/Banjul\"),\n                    (\"Africa/Bissau\", \"Africa/Bissau\"),\n                    (\"Africa/Blantyre\", \"Africa/Blantyre\"),\n                    (\"Africa/Brazzaville\", \"Africa/Brazzaville\"),\n                    (\"Africa/Bujumbura\", \"Africa/Bujumbura\"),\n                    (\"Africa/Cairo\", \"Africa/Cairo\"),\n                    (\"Africa/Casablanca\", \"Africa/Casablanca\"),\n                    (\"Africa/Ceuta\", \"Africa/Ceuta\"),\n                    (\"Africa/Conakry\", \"Africa/Conakry\"),\n                    (\"Africa/Dakar\", \"Africa/Dakar\"),\n                    (\"Africa/Dar_es_Salaam\", \"Africa/Dar_es_Salaam\"),\n                    (\"Africa/Djibouti\", \"Africa/Djibouti\"),\n                    (\"Africa/Douala\", \"Africa/Douala\"),\n                    (\"Africa/El_Aaiun\", \"Africa/El_Aaiun\"),\n                    (\"Africa/Freetown\", \"Africa/Freetown\"),\n                    (\"Africa/Gaborone\", \"Africa/Gaborone\"),\n                    (\"Africa/Harare\", \"Africa/Harare\"),\n                    (\"Africa/Johannesburg\", \"Africa/Johannesburg\"),\n                    (\"Africa/Juba\", \"Africa/Juba\"),\n                    (\"Africa/Kampala\", \"Africa/Kampala\"),\n                    (\"Africa/Khartoum\", \"Africa/Khartoum\"),\n                    (\"Africa/Kigali\", \"Africa/Kigali\"),\n                    (\"Africa/Kinshasa\", \"Africa/Kinshasa\"),\n                    (\"Africa/Lagos\", \"Africa/Lagos\"),\n                    (\"Africa/Libreville\", \"Africa/Libreville\"),\n                    (\"Africa/Lome\", \"Africa/Lome\"),\n                    (\"Africa/Luanda\", \"Africa/Luanda\"),\n                    (\"Africa/Lubumbashi\", \"Africa/Lubumbashi\"),\n                    (\"Africa/Lusaka\", \"Africa/Lusaka\"),\n                    (\"Africa/Malabo\", \"Africa/Malabo\"),\n                    (\"Africa/Maputo\", \"Africa/Maputo\"),\n                    (\"Africa/Maseru\", \"Africa/Maseru\"),\n                    (\"Africa/Mbabane\", \"Africa/Mbabane\"),\n                    (\"Africa/Mogadishu\", \"Africa/Mogadishu\"),\n                    (\"Africa/Monrovia\", \"Africa/Monrovia\"),\n                    (\"Africa/Nairobi\", \"Africa/Nairobi\"),\n                    (\"Africa/Ndjamena\", \"Africa/Ndjamena\"),\n                    (\"Africa/Niamey\", \"Africa/Niamey\"),\n                    (\"Africa/Nouakchott\", \"Africa/Nouakchott\"),\n                    (\"Africa/Ouagadougou\", \"Africa/Ouagadougou\"),\n                    (\"Africa/Porto-Novo\", \"Africa/Porto-Novo\"),\n                    (\"Africa/Sao_Tome\", \"Africa/Sao_Tome\"),\n                    (\"Africa/Tripoli\", \"Africa/Tripoli\"),\n                    (\"Africa/Tunis\", \"Africa/Tunis\"),\n                    (\"Africa/Windhoek\", \"Africa/Windhoek\"),\n                    (\"America/Adak\", \"America/Adak\"),\n                    (\"America/Anchorage\", \"America/Anchorage\"),\n                    (\"America/Anguilla\", \"America/Anguilla\"),\n                    (\"America/Antigua\", \"America/Antigua\"),\n                    (\"America/Araguaina\", \"America/Araguaina\"),\n                    (\n                        \"America/Argentina/Buenos_Aires\",\n                        \"America/Argentina/Buenos_Aires\",\n                    ),\n                    (\"America/Argentina/Catamarca\", \"America/Argentina/Catamarca\"),\n                    (\"America/Argentina/Cordoba\", \"America/Argentina/Cordoba\"),\n                    (\"America/Argentina/Jujuy\", \"America/Argentina/Jujuy\"),\n                    (\"America/Argentina/La_Rioja\", \"America/Argentina/La_Rioja\"),\n                    (\"America/Argentina/Mendoza\", \"America/Argentina/Mendoza\"),\n                    (\n                        \"America/Argentina/Rio_Gallegos\",\n                        \"America/Argentina/Rio_Gallegos\",\n                    ),\n                    (\"America/Argentina/Salta\", \"America/Argentina/Salta\"),\n                    (\"America/Argentina/San_Juan\", \"America/Argentina/San_Juan\"),\n                    (\"America/Argentina/San_Luis\", \"America/Argentina/San_Luis\"),\n                    (\"America/Argentina/Tucuman\", \"America/Argentina/Tucuman\"),\n                    (\"America/Argentina/Ushuaia\", \"America/Argentina/Ushuaia\"),\n                    (\"America/Aruba\", \"America/Aruba\"),\n                    (\"America/Asuncion\", \"America/Asuncion\"),\n                    (\"America/Atikokan\", \"America/Atikokan\"),\n                    (\"America/Bahia\", \"America/Bahia\"),\n                    (\"America/Bahia_Banderas\", \"America/Bahia_Banderas\"),\n                    (\"America/Barbados\", \"America/Barbados\"),\n                    (\"America/Belem\", \"America/Belem\"),\n                    (\"America/Belize\", \"America/Belize\"),\n                    (\"America/Blanc-Sablon\", \"America/Blanc-Sablon\"),\n                    (\"America/Boa_Vista\", \"America/Boa_Vista\"),\n                    (\"America/Bogota\", \"America/Bogota\"),\n                    (\"America/Boise\", \"America/Boise\"),\n                    (\"America/Cambridge_Bay\", \"America/Cambridge_Bay\"),\n                    (\"America/Campo_Grande\", \"America/Campo_Grande\"),\n                    (\"America/Cancun\", \"America/Cancun\"),\n                    (\"America/Caracas\", \"America/Caracas\"),\n                    (\"America/Cayenne\", \"America/Cayenne\"),\n                    (\"America/Cayman\", \"America/Cayman\"),\n                    (\"America/Chicago\", \"America/Chicago\"),\n                    (\"America/Chihuahua\", \"America/Chihuahua\"),\n                    (\"America/Costa_Rica\", \"America/Costa_Rica\"),\n                    (\"America/Creston\", \"America/Creston\"),\n                    (\"America/Cuiaba\", \"America/Cuiaba\"),\n                    (\"America/Curacao\", \"America/Curacao\"),\n                    (\"America/Danmarkshavn\", \"America/Danmarkshavn\"),\n                    (\"America/Dawson\", \"America/Dawson\"),\n                    (\"America/Dawson_Creek\", \"America/Dawson_Creek\"),\n                    (\"America/Denver\", \"America/Denver\"),\n                    (\"America/Detroit\", \"America/Detroit\"),\n                    (\"America/Dominica\", \"America/Dominica\"),\n                    (\"America/Edmonton\", \"America/Edmonton\"),\n                    (\"America/Eirunepe\", \"America/Eirunepe\"),\n                    (\"America/El_Salvador\", \"America/El_Salvador\"),\n                    (\"America/Fort_Nelson\", \"America/Fort_Nelson\"),\n                    (\"America/Fortaleza\", \"America/Fortaleza\"),\n                    (\"America/Glace_Bay\", \"America/Glace_Bay\"),\n                    (\"America/Godthab\", \"America/Godthab\"),\n                    (\"America/Goose_Bay\", \"America/Goose_Bay\"),\n                    (\"America/Grand_Turk\", \"America/Grand_Turk\"),\n                    (\"America/Grenada\", \"America/Grenada\"),\n                    (\"America/Guadeloupe\", \"America/Guadeloupe\"),\n                    (\"America/Guatemala\", \"America/Guatemala\"),\n                    (\"America/Guayaquil\", \"America/Guayaquil\"),\n                    (\"America/Guyana\", \"America/Guyana\"),\n                    (\"America/Halifax\", \"America/Halifax\"),\n                    (\"America/Havana\", \"America/Havana\"),\n                    (\"America/Hermosillo\", \"America/Hermosillo\"),\n                    (\"America/Indiana/Indianapolis\", \"America/Indiana/Indianapolis\"),\n                    (\"America/Indiana/Knox\", \"America/Indiana/Knox\"),\n                    (\"America/Indiana/Marengo\", \"America/Indiana/Marengo\"),\n                    (\"America/Indiana/Petersburg\", \"America/Indiana/Petersburg\"),\n                    (\"America/Indiana/Tell_City\", \"America/Indiana/Tell_City\"),\n                    (\"America/Indiana/Vevay\", \"America/Indiana/Vevay\"),\n                    (\"America/Indiana/Vincennes\", \"America/Indiana/Vincennes\"),\n                    (\"America/Indiana/Winamac\", \"America/Indiana/Winamac\"),\n                    (\"America/Inuvik\", \"America/Inuvik\"),\n                    (\"America/Iqaluit\", \"America/Iqaluit\"),\n                    (\"America/Jamaica\", \"America/Jamaica\"),\n                    (\"America/Juneau\", \"America/Juneau\"),\n                    (\"America/Kentucky/Louisville\", \"America/Kentucky/Louisville\"),\n                    (\"America/Kentucky/Monticello\", \"America/Kentucky/Monticello\"),\n                    (\"America/Kralendijk\", \"America/Kralendijk\"),\n                    (\"America/La_Paz\", \"America/La_Paz\"),\n                    (\"America/Lima\", \"America/Lima\"),\n                    (\"America/Los_Angeles\", \"America/Los_Angeles\"),\n                    (\"America/Lower_Princes\", \"America/Lower_Princes\"),\n                    (\"America/Maceio\", \"America/Maceio\"),\n                    (\"America/Managua\", \"America/Managua\"),\n                    (\"America/Manaus\", \"America/Manaus\"),\n                    (\"America/Marigot\", \"America/Marigot\"),\n                    (\"America/Martinique\", \"America/Martinique\"),\n                    (\"America/Matamoros\", \"America/Matamoros\"),\n                    (\"America/Mazatlan\", \"America/Mazatlan\"),\n                    (\"America/Menominee\", \"America/Menominee\"),\n                    (\"America/Merida\", \"America/Merida\"),\n                    (\"America/Metlakatla\", \"America/Metlakatla\"),\n                    (\"America/Mexico_City\", \"America/Mexico_City\"),\n                    (\"America/Miquelon\", \"America/Miquelon\"),\n                    (\"America/Moncton\", \"America/Moncton\"),\n                    (\"America/Monterrey\", \"America/Monterrey\"),\n                    (\"America/Montevideo\", \"America/Montevideo\"),\n                    (\"America/Montserrat\", \"America/Montserrat\"),\n                    (\"America/Nassau\", \"America/Nassau\"),\n                    (\"America/New_York\", \"America/New_York\"),\n                    (\"America/Nipigon\", \"America/Nipigon\"),\n                    (\"America/Nome\", \"America/Nome\"),\n                    (\"America/Noronha\", \"America/Noronha\"),\n                    (\"America/North_Dakota/Beulah\", \"America/North_Dakota/Beulah\"),\n                    (\"America/North_Dakota/Center\", \"America/North_Dakota/Center\"),\n                    (\n                        \"America/North_Dakota/New_Salem\",\n                        \"America/North_Dakota/New_Salem\",\n                    ),\n                    (\"America/Ojinaga\", \"America/Ojinaga\"),\n                    (\"America/Panama\", \"America/Panama\"),\n                    (\"America/Pangnirtung\", \"America/Pangnirtung\"),\n                    (\"America/Paramaribo\", \"America/Paramaribo\"),\n                    (\"America/Phoenix\", \"America/Phoenix\"),\n                    (\"America/Port-au-Prince\", \"America/Port-au-Prince\"),\n                    (\"America/Port_of_Spain\", \"America/Port_of_Spain\"),\n                    (\"America/Porto_Velho\", \"America/Porto_Velho\"),\n                    (\"America/Puerto_Rico\", \"America/Puerto_Rico\"),\n                    (\"America/Punta_Arenas\", \"America/Punta_Arenas\"),\n                    (\"America/Rainy_River\", \"America/Rainy_River\"),\n                    (\"America/Rankin_Inlet\", \"America/Rankin_Inlet\"),\n                    (\"America/Recife\", \"America/Recife\"),\n                    (\"America/Regina\", \"America/Regina\"),\n                    (\"America/Resolute\", \"America/Resolute\"),\n                    (\"America/Rio_Branco\", \"America/Rio_Branco\"),\n                    (\"America/Santarem\", \"America/Santarem\"),\n                    (\"America/Santiago\", \"America/Santiago\"),\n                    (\"America/Santo_Domingo\", \"America/Santo_Domingo\"),\n                    (\"America/Sao_Paulo\", \"America/Sao_Paulo\"),\n                    (\"America/Scoresbysund\", \"America/Scoresbysund\"),\n                    (\"America/Sitka\", \"America/Sitka\"),\n                    (\"America/St_Barthelemy\", \"America/St_Barthelemy\"),\n                    (\"America/St_Johns\", \"America/St_Johns\"),\n                    (\"America/St_Kitts\", \"America/St_Kitts\"),\n                    (\"America/St_Lucia\", \"America/St_Lucia\"),\n                    (\"America/St_Thomas\", \"America/St_Thomas\"),\n                    (\"America/St_Vincent\", \"America/St_Vincent\"),\n                    (\"America/Swift_Current\", \"America/Swift_Current\"),\n                    (\"America/Tegucigalpa\", \"America/Tegucigalpa\"),\n                    (\"America/Thule\", \"America/Thule\"),\n                    (\"America/Thunder_Bay\", \"America/Thunder_Bay\"),\n                    (\"America/Tijuana\", \"America/Tijuana\"),\n                    (\"America/Toronto\", \"America/Toronto\"),\n                    (\"America/Tortola\", \"America/Tortola\"),\n                    (\"America/Vancouver\", \"America/Vancouver\"),\n                    (\"America/Whitehorse\", \"America/Whitehorse\"),\n                    (\"America/Winnipeg\", \"America/Winnipeg\"),\n                    (\"America/Yakutat\", \"America/Yakutat\"),\n                    (\"America/Yellowknife\", \"America/Yellowknife\"),\n                    (\"Antarctica/Casey\", \"Antarctica/Casey\"),\n                    (\"Antarctica/Davis\", \"Antarctica/Davis\"),\n                    (\"Antarctica/DumontDUrville\", \"Antarctica/DumontDUrville\"),\n                    (\"Antarctica/Macquarie\", \"Antarctica/Macquarie\"),\n                    (\"Antarctica/Mawson\", \"Antarctica/Mawson\"),\n                    (\"Antarctica/McMurdo\", \"Antarctica/McMurdo\"),\n                    (\"Antarctica/Palmer\", \"Antarctica/Palmer\"),\n                    (\"Antarctica/Rothera\", \"Antarctica/Rothera\"),\n                    (\"Antarctica/Syowa\", \"Antarctica/Syowa\"),\n                    (\"Antarctica/Troll\", \"Antarctica/Troll\"),\n                    (\"Antarctica/Vostok\", \"Antarctica/Vostok\"),\n                    (\"Arctic/Longyearbyen\", \"Arctic/Longyearbyen\"),\n                    (\"Asia/Aden\", \"Asia/Aden\"),\n                    (\"Asia/Almaty\", \"Asia/Almaty\"),\n                    (\"Asia/Amman\", \"Asia/Amman\"),\n                    (\"Asia/Anadyr\", \"Asia/Anadyr\"),\n                    (\"Asia/Aqtau\", \"Asia/Aqtau\"),\n                    (\"Asia/Aqtobe\", \"Asia/Aqtobe\"),\n                    (\"Asia/Ashgabat\", \"Asia/Ashgabat\"),\n                    (\"Asia/Atyrau\", \"Asia/Atyrau\"),\n                    (\"Asia/Baghdad\", \"Asia/Baghdad\"),\n                    (\"Asia/Bahrain\", \"Asia/Bahrain\"),\n                    (\"Asia/Baku\", \"Asia/Baku\"),\n                    (\"Asia/Bangkok\", \"Asia/Bangkok\"),\n                    (\"Asia/Barnaul\", \"Asia/Barnaul\"),\n                    (\"Asia/Beirut\", \"Asia/Beirut\"),\n                    (\"Asia/Bishkek\", \"Asia/Bishkek\"),\n                    (\"Asia/Brunei\", \"Asia/Brunei\"),\n                    (\"Asia/Chita\", \"Asia/Chita\"),\n                    (\"Asia/Choibalsan\", \"Asia/Choibalsan\"),\n                    (\"Asia/Colombo\", \"Asia/Colombo\"),\n                    (\"Asia/Damascus\", \"Asia/Damascus\"),\n                    (\"Asia/Dhaka\", \"Asia/Dhaka\"),\n                    (\"Asia/Dili\", \"Asia/Dili\"),\n                    (\"Asia/Dubai\", \"Asia/Dubai\"),\n                    (\"Asia/Dushanbe\", \"Asia/Dushanbe\"),\n                    (\"Asia/Famagusta\", \"Asia/Famagusta\"),\n                    (\"Asia/Gaza\", \"Asia/Gaza\"),\n                    (\"Asia/Hebron\", \"Asia/Hebron\"),\n                    (\"Asia/Ho_Chi_Minh\", \"Asia/Ho_Chi_Minh\"),\n                    (\"Asia/Hong_Kong\", \"Asia/Hong_Kong\"),\n                    (\"Asia/Hovd\", \"Asia/Hovd\"),\n                    (\"Asia/Irkutsk\", \"Asia/Irkutsk\"),\n                    (\"Asia/Jakarta\", \"Asia/Jakarta\"),\n                    (\"Asia/Jayapura\", \"Asia/Jayapura\"),\n                    (\"Asia/Jerusalem\", \"Asia/Jerusalem\"),\n                    (\"Asia/Kabul\", \"Asia/Kabul\"),\n                    (\"Asia/Kamchatka\", \"Asia/Kamchatka\"),\n                    (\"Asia/Karachi\", \"Asia/Karachi\"),\n                    (\"Asia/Kathmandu\", \"Asia/Kathmandu\"),\n                    (\"Asia/Khandyga\", \"Asia/Khandyga\"),\n                    (\"Asia/Kolkata\", \"Asia/Kolkata\"),\n                    (\"Asia/Krasnoyarsk\", \"Asia/Krasnoyarsk\"),\n                    (\"Asia/Kuala_Lumpur\", \"Asia/Kuala_Lumpur\"),\n                    (\"Asia/Kuching\", \"Asia/Kuching\"),\n                    (\"Asia/Kuwait\", \"Asia/Kuwait\"),\n                    (\"Asia/Macau\", \"Asia/Macau\"),\n                    (\"Asia/Magadan\", \"Asia/Magadan\"),\n                    (\"Asia/Makassar\", \"Asia/Makassar\"),\n                    (\"Asia/Manila\", \"Asia/Manila\"),\n                    (\"Asia/Muscat\", \"Asia/Muscat\"),\n                    (\"Asia/Nicosia\", \"Asia/Nicosia\"),\n                    (\"Asia/Novokuznetsk\", \"Asia/Novokuznetsk\"),\n                    (\"Asia/Novosibirsk\", \"Asia/Novosibirsk\"),\n                    (\"Asia/Omsk\", \"Asia/Omsk\"),\n                    (\"Asia/Oral\", \"Asia/Oral\"),\n                    (\"Asia/Phnom_Penh\", \"Asia/Phnom_Penh\"),\n                    (\"Asia/Pontianak\", \"Asia/Pontianak\"),\n                    (\"Asia/Pyongyang\", \"Asia/Pyongyang\"),\n                    (\"Asia/Qatar\", \"Asia/Qatar\"),\n                    (\"Asia/Qostanay\", \"Asia/Qostanay\"),\n                    (\"Asia/Qyzylorda\", \"Asia/Qyzylorda\"),\n                    (\"Asia/Riyadh\", \"Asia/Riyadh\"),\n                    (\"Asia/Sakhalin\", \"Asia/Sakhalin\"),\n                    (\"Asia/Samarkand\", \"Asia/Samarkand\"),\n                    (\"Asia/Seoul\", \"Asia/Seoul\"),\n                    (\"Asia/Shanghai\", \"Asia/Shanghai\"),\n                    (\"Asia/Singapore\", \"Asia/Singapore\"),\n                    (\"Asia/Srednekolymsk\", \"Asia/Srednekolymsk\"),\n                    (\"Asia/Taipei\", \"Asia/Taipei\"),\n                    (\"Asia/Tashkent\", \"Asia/Tashkent\"),\n                    (\"Asia/Tbilisi\", \"Asia/Tbilisi\"),\n                    (\"Asia/Tehran\", \"Asia/Tehran\"),\n                    (\"Asia/Thimphu\", \"Asia/Thimphu\"),\n                    (\"Asia/Tokyo\", \"Asia/Tokyo\"),\n                    (\"Asia/Tomsk\", \"Asia/Tomsk\"),\n                    (\"Asia/Ulaanbaatar\", \"Asia/Ulaanbaatar\"),\n                    (\"Asia/Urumqi\", \"Asia/Urumqi\"),\n                    (\"Asia/Ust-Nera\", \"Asia/Ust-Nera\"),\n                    (\"Asia/Vientiane\", \"Asia/Vientiane\"),\n                    (\"Asia/Vladivostok\", \"Asia/Vladivostok\"),\n                    (\"Asia/Yakutsk\", \"Asia/Yakutsk\"),\n                    (\"Asia/Yangon\", \"Asia/Yangon\"),\n                    (\"Asia/Yekaterinburg\", \"Asia/Yekaterinburg\"),\n                    (\"Asia/Yerevan\", \"Asia/Yerevan\"),\n                    (\"Atlantic/Azores\", \"Atlantic/Azores\"),\n                    (\"Atlantic/Bermuda\", \"Atlantic/Bermuda\"),\n                    (\"Atlantic/Canary\", \"Atlantic/Canary\"),\n                    (\"Atlantic/Cape_Verde\", \"Atlantic/Cape_Verde\"),\n                    (\"Atlantic/Faroe\", \"Atlantic/Faroe\"),\n                    (\"Atlantic/Madeira\", \"Atlantic/Madeira\"),\n                    (\"Atlantic/Reykjavik\", \"Atlantic/Reykjavik\"),\n                    (\"Atlantic/South_Georgia\", \"Atlantic/South_Georgia\"),\n                    (\"Atlantic/St_Helena\", \"Atlantic/St_Helena\"),\n                    (\"Atlantic/Stanley\", \"Atlantic/Stanley\"),\n                    (\"Australia/Adelaide\", \"Australia/Adelaide\"),\n                    (\"Australia/Brisbane\", \"Australia/Brisbane\"),\n                    (\"Australia/Broken_Hill\", \"Australia/Broken_Hill\"),\n                    (\"Australia/Currie\", \"Australia/Currie\"),\n                    (\"Australia/Darwin\", \"Australia/Darwin\"),\n                    (\"Australia/Eucla\", \"Australia/Eucla\"),\n                    (\"Australia/Hobart\", \"Australia/Hobart\"),\n                    (\"Australia/Lindeman\", \"Australia/Lindeman\"),\n                    (\"Australia/Lord_Howe\", \"Australia/Lord_Howe\"),\n                    (\"Australia/Melbourne\", \"Australia/Melbourne\"),\n                    (\"Australia/Perth\", \"Australia/Perth\"),\n                    (\"Australia/Sydney\", \"Australia/Sydney\"),\n                    (\"Canada/Atlantic\", \"Canada/Atlantic\"),\n                    (\"Canada/Central\", \"Canada/Central\"),\n                    (\"Canada/Eastern\", \"Canada/Eastern\"),\n                    (\"Canada/Mountain\", \"Canada/Mountain\"),\n                    (\"Canada/Newfoundland\", \"Canada/Newfoundland\"),\n                    (\"Canada/Pacific\", \"Canada/Pacific\"),\n                    (\"Europe/Amsterdam\", \"Europe/Amsterdam\"),\n                    (\"Europe/Andorra\", \"Europe/Andorra\"),\n                    (\"Europe/Astrakhan\", \"Europe/Astrakhan\"),\n                    (\"Europe/Athens\", \"Europe/Athens\"),\n                    (\"Europe/Belgrade\", \"Europe/Belgrade\"),\n                    (\"Europe/Berlin\", \"Europe/Berlin\"),\n                    (\"Europe/Bratislava\", \"Europe/Bratislava\"),\n                    (\"Europe/Brussels\", \"Europe/Brussels\"),\n                    (\"Europe/Bucharest\", \"Europe/Bucharest\"),\n                    (\"Europe/Budapest\", \"Europe/Budapest\"),\n                    (\"Europe/Busingen\", \"Europe/Busingen\"),\n                    (\"Europe/Chisinau\", \"Europe/Chisinau\"),\n                    (\"Europe/Copenhagen\", \"Europe/Copenhagen\"),\n                    (\"Europe/Dublin\", \"Europe/Dublin\"),\n                    (\"Europe/Gibraltar\", \"Europe/Gibraltar\"),\n                    (\"Europe/Guernsey\", \"Europe/Guernsey\"),\n                    (\"Europe/Helsinki\", \"Europe/Helsinki\"),\n                    (\"Europe/Isle_of_Man\", \"Europe/Isle_of_Man\"),\n                    (\"Europe/Istanbul\", \"Europe/Istanbul\"),\n                    (\"Europe/Jersey\", \"Europe/Jersey\"),\n                    (\"Europe/Kaliningrad\", \"Europe/Kaliningrad\"),\n                    (\"Europe/Kiev\", \"Europe/Kiev\"),\n                    (\"Europe/Kirov\", \"Europe/Kirov\"),\n                    (\"Europe/Lisbon\", \"Europe/Lisbon\"),\n                    (\"Europe/Ljubljana\", \"Europe/Ljubljana\"),\n                    (\"Europe/London\", \"Europe/London\"),\n                    (\"Europe/Luxembourg\", \"Europe/Luxembourg\"),\n                    (\"Europe/Madrid\", \"Europe/Madrid\"),\n                    (\"Europe/Malta\", \"Europe/Malta\"),\n                    (\"Europe/Mariehamn\", \"Europe/Mariehamn\"),\n                    (\"Europe/Minsk\", \"Europe/Minsk\"),\n                    (\"Europe/Monaco\", \"Europe/Monaco\"),\n                    (\"Europe/Moscow\", \"Europe/Moscow\"),\n                    (\"Europe/Oslo\", \"Europe/Oslo\"),\n                    (\"Europe/Paris\", \"Europe/Paris\"),\n                    (\"Europe/Podgorica\", \"Europe/Podgorica\"),\n                    (\"Europe/Prague\", \"Europe/Prague\"),\n                    (\"Europe/Riga\", \"Europe/Riga\"),\n                    (\"Europe/Rome\", \"Europe/Rome\"),\n                    (\"Europe/Samara\", \"Europe/Samara\"),\n                    (\"Europe/San_Marino\", \"Europe/San_Marino\"),\n                    (\"Europe/Sarajevo\", \"Europe/Sarajevo\"),\n                    (\"Europe/Saratov\", \"Europe/Saratov\"),\n                    (\"Europe/Simferopol\", \"Europe/Simferopol\"),\n                    (\"Europe/Skopje\", \"Europe/Skopje\"),\n                    (\"Europe/Sofia\", \"Europe/Sofia\"),\n                    (\"Europe/Stockholm\", \"Europe/Stockholm\"),\n                    (\"Europe/Tallinn\", \"Europe/Tallinn\"),\n                    (\"Europe/Tirane\", \"Europe/Tirane\"),\n                    (\"Europe/Ulyanovsk\", \"Europe/Ulyanovsk\"),\n                    (\"Europe/Uzhgorod\", \"Europe/Uzhgorod\"),\n                    (\"Europe/Vaduz\", \"Europe/Vaduz\"),\n                    (\"Europe/Vatican\", \"Europe/Vatican\"),\n                    (\"Europe/Vienna\", \"Europe/Vienna\"),\n                    (\"Europe/Vilnius\", \"Europe/Vilnius\"),\n                    (\"Europe/Volgograd\", \"Europe/Volgograd\"),\n                    (\"Europe/Warsaw\", \"Europe/Warsaw\"),\n                    (\"Europe/Zagreb\", \"Europe/Zagreb\"),\n                    (\"Europe/Zaporozhye\", \"Europe/Zaporozhye\"),\n                    (\"Europe/Zurich\", \"Europe/Zurich\"),\n                    (\"GMT\", \"GMT\"),\n                    (\"Indian/Antananarivo\", \"Indian/Antananarivo\"),\n                    (\"Indian/Chagos\", \"Indian/Chagos\"),\n                    (\"Indian/Christmas\", \"Indian/Christmas\"),\n                    (\"Indian/Cocos\", \"Indian/Cocos\"),\n                    (\"Indian/Comoro\", \"Indian/Comoro\"),\n                    (\"Indian/Kerguelen\", \"Indian/Kerguelen\"),\n                    (\"Indian/Mahe\", \"Indian/Mahe\"),\n                    (\"Indian/Maldives\", \"Indian/Maldives\"),\n                    (\"Indian/Mauritius\", \"Indian/Mauritius\"),\n                    (\"Indian/Mayotte\", \"Indian/Mayotte\"),\n                    (\"Indian/Reunion\", \"Indian/Reunion\"),\n                    (\"Pacific/Apia\", \"Pacific/Apia\"),\n                    (\"Pacific/Auckland\", \"Pacific/Auckland\"),\n                    (\"Pacific/Bougainville\", \"Pacific/Bougainville\"),\n                    (\"Pacific/Chatham\", \"Pacific/Chatham\"),\n                    (\"Pacific/Chuuk\", \"Pacific/Chuuk\"),\n                    (\"Pacific/Easter\", \"Pacific/Easter\"),\n                    (\"Pacific/Efate\", \"Pacific/Efate\"),\n                    (\"Pacific/Enderbury\", \"Pacific/Enderbury\"),\n                    (\"Pacific/Fakaofo\", \"Pacific/Fakaofo\"),\n                    (\"Pacific/Fiji\", \"Pacific/Fiji\"),\n                    (\"Pacific/Funafuti\", \"Pacific/Funafuti\"),\n                    (\"Pacific/Galapagos\", \"Pacific/Galapagos\"),\n                    (\"Pacific/Gambier\", \"Pacific/Gambier\"),\n                    (\"Pacific/Guadalcanal\", \"Pacific/Guadalcanal\"),\n                    (\"Pacific/Guam\", \"Pacific/Guam\"),\n                    (\"Pacific/Honolulu\", \"Pacific/Honolulu\"),\n                    (\"Pacific/Kiritimati\", \"Pacific/Kiritimati\"),\n                    (\"Pacific/Kosrae\", \"Pacific/Kosrae\"),\n                    (\"Pacific/Kwajalein\", \"Pacific/Kwajalein\"),\n                    (\"Pacific/Majuro\", \"Pacific/Majuro\"),\n                    (\"Pacific/Marquesas\", \"Pacific/Marquesas\"),\n                    (\"Pacific/Midway\", \"Pacific/Midway\"),\n                    (\"Pacific/Nauru\", \"Pacific/Nauru\"),\n                    (\"Pacific/Niue\", \"Pacific/Niue\"),\n                    (\"Pacific/Norfolk\", \"Pacific/Norfolk\"),\n                    (\"Pacific/Noumea\", \"Pacific/Noumea\"),\n                    (\"Pacific/Pago_Pago\", \"Pacific/Pago_Pago\"),\n                    (\"Pacific/Palau\", \"Pacific/Palau\"),\n                    (\"Pacific/Pitcairn\", \"Pacific/Pitcairn\"),\n                    (\"Pacific/Pohnpei\", \"Pacific/Pohnpei\"),\n                    (\"Pacific/Port_Moresby\", \"Pacific/Port_Moresby\"),\n                    (\"Pacific/Rarotonga\", \"Pacific/Rarotonga\"),\n                    (\"Pacific/Saipan\", \"Pacific/Saipan\"),\n                    (\"Pacific/Tahiti\", \"Pacific/Tahiti\"),\n                    (\"Pacific/Tarawa\", \"Pacific/Tarawa\"),\n                    (\"Pacific/Tongatapu\", \"Pacific/Tongatapu\"),\n                    (\"Pacific/Wake\", \"Pacific/Wake\"),\n                    (\"Pacific/Wallis\", \"Pacific/Wallis\"),\n                    (\"US/Alaska\", \"US/Alaska\"),\n                    (\"US/Arizona\", \"US/Arizona\"),\n                    (\"US/Central\", \"US/Central\"),\n                    (\"US/Eastern\", \"US/Eastern\"),\n                    (\"US/Hawaii\", \"US/Hawaii\"),\n                    (\"US/Mountain\", \"US/Mountain\"),\n                    (\"US/Pacific\", \"US/Pacific\"),\n                    (\"UTC\", \"UTC\"),\n                ],\n                default=\"UTC\",\n                max_length=80,\n                null=True,\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0020_auto_20190127_2159.py",
    "content": "# Generated by Django 2.1.5 on 2019-01-28 02:59\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0019_auto_20190124_0813\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"account\",\n            name=\"note_seen\",\n            field=models.CharField(blank=True, max_length=128, null=True),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0021_client_version.py",
    "content": "# Generated by Django 2.1.5 on 2019-04-29 18:37\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0020_auto_20190127_2159\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"client\",\n            name=\"version\",\n            field=models.CharField(default=\"1.0\", max_length=8),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0022_auto_20190506_0938.py",
    "content": "# Generated by Django 2.2.1 on 2019-05-06 13:38\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0021_client_version\")]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"client\",\n            name=\"version\",\n            field=models.CharField(default=\"1.0\", max_length=80),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0023_preference_bundle_notifications.py",
    "content": "# Generated by Django 2.2.7 on 2019-11-04 23:53\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [(\"brutaldon\", \"0022_auto_20190506_0938\")]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"bundle_notifications\",\n            field=models.BooleanField(\n                default=False,\n                help_text=\"Collapse together boosts or likes of the same toot in the notifications page.\",\n            ),\n        )\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0024_auto_20200601_0945.py",
    "content": "# Generated by Django 3.0.6 on 2020-06-01 13:45\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        (\"brutaldon\", \"0023_preference_bundle_notifications\"),\n    ]\n\n    operations = [\n        migrations.AlterField(\n            model_name=\"preference\",\n            name=\"timezone\",\n            field=models.CharField(\n                blank=True,\n                choices=[\n                    (\"Africa/Abidjan\", \"Africa/Abidjan\"),\n                    (\"Africa/Accra\", \"Africa/Accra\"),\n                    (\"Africa/Addis_Ababa\", \"Africa/Addis_Ababa\"),\n                    (\"Africa/Algiers\", \"Africa/Algiers\"),\n                    (\"Africa/Asmara\", \"Africa/Asmara\"),\n                    (\"Africa/Bamako\", \"Africa/Bamako\"),\n                    (\"Africa/Bangui\", \"Africa/Bangui\"),\n                    (\"Africa/Banjul\", \"Africa/Banjul\"),\n                    (\"Africa/Bissau\", \"Africa/Bissau\"),\n                    (\"Africa/Blantyre\", \"Africa/Blantyre\"),\n                    (\"Africa/Brazzaville\", \"Africa/Brazzaville\"),\n                    (\"Africa/Bujumbura\", \"Africa/Bujumbura\"),\n                    (\"Africa/Cairo\", \"Africa/Cairo\"),\n                    (\"Africa/Casablanca\", \"Africa/Casablanca\"),\n                    (\"Africa/Ceuta\", \"Africa/Ceuta\"),\n                    (\"Africa/Conakry\", \"Africa/Conakry\"),\n                    (\"Africa/Dakar\", \"Africa/Dakar\"),\n                    (\"Africa/Dar_es_Salaam\", \"Africa/Dar_es_Salaam\"),\n                    (\"Africa/Djibouti\", \"Africa/Djibouti\"),\n                    (\"Africa/Douala\", \"Africa/Douala\"),\n                    (\"Africa/El_Aaiun\", \"Africa/El_Aaiun\"),\n                    (\"Africa/Freetown\", \"Africa/Freetown\"),\n                    (\"Africa/Gaborone\", \"Africa/Gaborone\"),\n                    (\"Africa/Harare\", \"Africa/Harare\"),\n                    (\"Africa/Johannesburg\", \"Africa/Johannesburg\"),\n                    (\"Africa/Juba\", \"Africa/Juba\"),\n                    (\"Africa/Kampala\", \"Africa/Kampala\"),\n                    (\"Africa/Khartoum\", \"Africa/Khartoum\"),\n                    (\"Africa/Kigali\", \"Africa/Kigali\"),\n                    (\"Africa/Kinshasa\", \"Africa/Kinshasa\"),\n                    (\"Africa/Lagos\", \"Africa/Lagos\"),\n                    (\"Africa/Libreville\", \"Africa/Libreville\"),\n                    (\"Africa/Lome\", \"Africa/Lome\"),\n                    (\"Africa/Luanda\", \"Africa/Luanda\"),\n                    (\"Africa/Lubumbashi\", \"Africa/Lubumbashi\"),\n                    (\"Africa/Lusaka\", \"Africa/Lusaka\"),\n                    (\"Africa/Malabo\", \"Africa/Malabo\"),\n                    (\"Africa/Maputo\", \"Africa/Maputo\"),\n                    (\"Africa/Maseru\", \"Africa/Maseru\"),\n                    (\"Africa/Mbabane\", \"Africa/Mbabane\"),\n                    (\"Africa/Mogadishu\", \"Africa/Mogadishu\"),\n                    (\"Africa/Monrovia\", \"Africa/Monrovia\"),\n                    (\"Africa/Nairobi\", \"Africa/Nairobi\"),\n                    (\"Africa/Ndjamena\", \"Africa/Ndjamena\"),\n                    (\"Africa/Niamey\", \"Africa/Niamey\"),\n                    (\"Africa/Nouakchott\", \"Africa/Nouakchott\"),\n                    (\"Africa/Ouagadougou\", \"Africa/Ouagadougou\"),\n                    (\"Africa/Porto-Novo\", \"Africa/Porto-Novo\"),\n                    (\"Africa/Sao_Tome\", \"Africa/Sao_Tome\"),\n                    (\"Africa/Tripoli\", \"Africa/Tripoli\"),\n                    (\"Africa/Tunis\", \"Africa/Tunis\"),\n                    (\"Africa/Windhoek\", \"Africa/Windhoek\"),\n                    (\"America/Adak\", \"America/Adak\"),\n                    (\"America/Anchorage\", \"America/Anchorage\"),\n                    (\"America/Anguilla\", \"America/Anguilla\"),\n                    (\"America/Antigua\", \"America/Antigua\"),\n                    (\"America/Araguaina\", \"America/Araguaina\"),\n                    (\n                        \"America/Argentina/Buenos_Aires\",\n                        \"America/Argentina/Buenos_Aires\",\n                    ),\n                    (\"America/Argentina/Catamarca\", \"America/Argentina/Catamarca\"),\n                    (\"America/Argentina/Cordoba\", \"America/Argentina/Cordoba\"),\n                    (\"America/Argentina/Jujuy\", \"America/Argentina/Jujuy\"),\n                    (\"America/Argentina/La_Rioja\", \"America/Argentina/La_Rioja\"),\n                    (\"America/Argentina/Mendoza\", \"America/Argentina/Mendoza\"),\n                    (\n                        \"America/Argentina/Rio_Gallegos\",\n                        \"America/Argentina/Rio_Gallegos\",\n                    ),\n                    (\"America/Argentina/Salta\", \"America/Argentina/Salta\"),\n                    (\"America/Argentina/San_Juan\", \"America/Argentina/San_Juan\"),\n                    (\"America/Argentina/San_Luis\", \"America/Argentina/San_Luis\"),\n                    (\"America/Argentina/Tucuman\", \"America/Argentina/Tucuman\"),\n                    (\"America/Argentina/Ushuaia\", \"America/Argentina/Ushuaia\"),\n                    (\"America/Aruba\", \"America/Aruba\"),\n                    (\"America/Asuncion\", \"America/Asuncion\"),\n                    (\"America/Atikokan\", \"America/Atikokan\"),\n                    (\"America/Bahia\", \"America/Bahia\"),\n                    (\"America/Bahia_Banderas\", \"America/Bahia_Banderas\"),\n                    (\"America/Barbados\", \"America/Barbados\"),\n                    (\"America/Belem\", \"America/Belem\"),\n                    (\"America/Belize\", \"America/Belize\"),\n                    (\"America/Blanc-Sablon\", \"America/Blanc-Sablon\"),\n                    (\"America/Boa_Vista\", \"America/Boa_Vista\"),\n                    (\"America/Bogota\", \"America/Bogota\"),\n                    (\"America/Boise\", \"America/Boise\"),\n                    (\"America/Cambridge_Bay\", \"America/Cambridge_Bay\"),\n                    (\"America/Campo_Grande\", \"America/Campo_Grande\"),\n                    (\"America/Cancun\", \"America/Cancun\"),\n                    (\"America/Caracas\", \"America/Caracas\"),\n                    (\"America/Cayenne\", \"America/Cayenne\"),\n                    (\"America/Cayman\", \"America/Cayman\"),\n                    (\"America/Chicago\", \"America/Chicago\"),\n                    (\"America/Chihuahua\", \"America/Chihuahua\"),\n                    (\"America/Costa_Rica\", \"America/Costa_Rica\"),\n                    (\"America/Creston\", \"America/Creston\"),\n                    (\"America/Cuiaba\", \"America/Cuiaba\"),\n                    (\"America/Curacao\", \"America/Curacao\"),\n                    (\"America/Danmarkshavn\", \"America/Danmarkshavn\"),\n                    (\"America/Dawson\", \"America/Dawson\"),\n                    (\"America/Dawson_Creek\", \"America/Dawson_Creek\"),\n                    (\"America/Denver\", \"America/Denver\"),\n                    (\"America/Detroit\", \"America/Detroit\"),\n                    (\"America/Dominica\", \"America/Dominica\"),\n                    (\"America/Edmonton\", \"America/Edmonton\"),\n                    (\"America/Eirunepe\", \"America/Eirunepe\"),\n                    (\"America/El_Salvador\", \"America/El_Salvador\"),\n                    (\"America/Fort_Nelson\", \"America/Fort_Nelson\"),\n                    (\"America/Fortaleza\", \"America/Fortaleza\"),\n                    (\"America/Glace_Bay\", \"America/Glace_Bay\"),\n                    (\"America/Goose_Bay\", \"America/Goose_Bay\"),\n                    (\"America/Grand_Turk\", \"America/Grand_Turk\"),\n                    (\"America/Grenada\", \"America/Grenada\"),\n                    (\"America/Guadeloupe\", \"America/Guadeloupe\"),\n                    (\"America/Guatemala\", \"America/Guatemala\"),\n                    (\"America/Guayaquil\", \"America/Guayaquil\"),\n                    (\"America/Guyana\", \"America/Guyana\"),\n                    (\"America/Halifax\", \"America/Halifax\"),\n                    (\"America/Havana\", \"America/Havana\"),\n                    (\"America/Hermosillo\", \"America/Hermosillo\"),\n                    (\"America/Indiana/Indianapolis\", \"America/Indiana/Indianapolis\"),\n                    (\"America/Indiana/Knox\", \"America/Indiana/Knox\"),\n                    (\"America/Indiana/Marengo\", \"America/Indiana/Marengo\"),\n                    (\"America/Indiana/Petersburg\", \"America/Indiana/Petersburg\"),\n                    (\"America/Indiana/Tell_City\", \"America/Indiana/Tell_City\"),\n                    (\"America/Indiana/Vevay\", \"America/Indiana/Vevay\"),\n                    (\"America/Indiana/Vincennes\", \"America/Indiana/Vincennes\"),\n                    (\"America/Indiana/Winamac\", \"America/Indiana/Winamac\"),\n                    (\"America/Inuvik\", \"America/Inuvik\"),\n                    (\"America/Iqaluit\", \"America/Iqaluit\"),\n                    (\"America/Jamaica\", \"America/Jamaica\"),\n                    (\"America/Juneau\", \"America/Juneau\"),\n                    (\"America/Kentucky/Louisville\", \"America/Kentucky/Louisville\"),\n                    (\"America/Kentucky/Monticello\", \"America/Kentucky/Monticello\"),\n                    (\"America/Kralendijk\", \"America/Kralendijk\"),\n                    (\"America/La_Paz\", \"America/La_Paz\"),\n                    (\"America/Lima\", \"America/Lima\"),\n                    (\"America/Los_Angeles\", \"America/Los_Angeles\"),\n                    (\"America/Lower_Princes\", \"America/Lower_Princes\"),\n                    (\"America/Maceio\", \"America/Maceio\"),\n                    (\"America/Managua\", \"America/Managua\"),\n                    (\"America/Manaus\", \"America/Manaus\"),\n                    (\"America/Marigot\", \"America/Marigot\"),\n                    (\"America/Martinique\", \"America/Martinique\"),\n                    (\"America/Matamoros\", \"America/Matamoros\"),\n                    (\"America/Mazatlan\", \"America/Mazatlan\"),\n                    (\"America/Menominee\", \"America/Menominee\"),\n                    (\"America/Merida\", \"America/Merida\"),\n                    (\"America/Metlakatla\", \"America/Metlakatla\"),\n                    (\"America/Mexico_City\", \"America/Mexico_City\"),\n                    (\"America/Miquelon\", \"America/Miquelon\"),\n                    (\"America/Moncton\", \"America/Moncton\"),\n                    (\"America/Monterrey\", \"America/Monterrey\"),\n                    (\"America/Montevideo\", \"America/Montevideo\"),\n                    (\"America/Montserrat\", \"America/Montserrat\"),\n                    (\"America/Nassau\", \"America/Nassau\"),\n                    (\"America/New_York\", \"America/New_York\"),\n                    (\"America/Nipigon\", \"America/Nipigon\"),\n                    (\"America/Nome\", \"America/Nome\"),\n                    (\"America/Noronha\", \"America/Noronha\"),\n                    (\"America/North_Dakota/Beulah\", \"America/North_Dakota/Beulah\"),\n                    (\"America/North_Dakota/Center\", \"America/North_Dakota/Center\"),\n                    (\n                        \"America/North_Dakota/New_Salem\",\n                        \"America/North_Dakota/New_Salem\",\n                    ),\n                    (\"America/Nuuk\", \"America/Nuuk\"),\n                    (\"America/Ojinaga\", \"America/Ojinaga\"),\n                    (\"America/Panama\", \"America/Panama\"),\n                    (\"America/Pangnirtung\", \"America/Pangnirtung\"),\n                    (\"America/Paramaribo\", \"America/Paramaribo\"),\n                    (\"America/Phoenix\", \"America/Phoenix\"),\n                    (\"America/Port-au-Prince\", \"America/Port-au-Prince\"),\n                    (\"America/Port_of_Spain\", \"America/Port_of_Spain\"),\n                    (\"America/Porto_Velho\", \"America/Porto_Velho\"),\n                    (\"America/Puerto_Rico\", \"America/Puerto_Rico\"),\n                    (\"America/Punta_Arenas\", \"America/Punta_Arenas\"),\n                    (\"America/Rainy_River\", \"America/Rainy_River\"),\n                    (\"America/Rankin_Inlet\", \"America/Rankin_Inlet\"),\n                    (\"America/Recife\", \"America/Recife\"),\n                    (\"America/Regina\", \"America/Regina\"),\n                    (\"America/Resolute\", \"America/Resolute\"),\n                    (\"America/Rio_Branco\", \"America/Rio_Branco\"),\n                    (\"America/Santarem\", \"America/Santarem\"),\n                    (\"America/Santiago\", \"America/Santiago\"),\n                    (\"America/Santo_Domingo\", \"America/Santo_Domingo\"),\n                    (\"America/Sao_Paulo\", \"America/Sao_Paulo\"),\n                    (\"America/Scoresbysund\", \"America/Scoresbysund\"),\n                    (\"America/Sitka\", \"America/Sitka\"),\n                    (\"America/St_Barthelemy\", \"America/St_Barthelemy\"),\n                    (\"America/St_Johns\", \"America/St_Johns\"),\n                    (\"America/St_Kitts\", \"America/St_Kitts\"),\n                    (\"America/St_Lucia\", \"America/St_Lucia\"),\n                    (\"America/St_Thomas\", \"America/St_Thomas\"),\n                    (\"America/St_Vincent\", \"America/St_Vincent\"),\n                    (\"America/Swift_Current\", \"America/Swift_Current\"),\n                    (\"America/Tegucigalpa\", \"America/Tegucigalpa\"),\n                    (\"America/Thule\", \"America/Thule\"),\n                    (\"America/Thunder_Bay\", \"America/Thunder_Bay\"),\n                    (\"America/Tijuana\", \"America/Tijuana\"),\n                    (\"America/Toronto\", \"America/Toronto\"),\n                    (\"America/Tortola\", \"America/Tortola\"),\n                    (\"America/Vancouver\", \"America/Vancouver\"),\n                    (\"America/Whitehorse\", \"America/Whitehorse\"),\n                    (\"America/Winnipeg\", \"America/Winnipeg\"),\n                    (\"America/Yakutat\", \"America/Yakutat\"),\n                    (\"America/Yellowknife\", \"America/Yellowknife\"),\n                    (\"Antarctica/Casey\", \"Antarctica/Casey\"),\n                    (\"Antarctica/Davis\", \"Antarctica/Davis\"),\n                    (\"Antarctica/DumontDUrville\", \"Antarctica/DumontDUrville\"),\n                    (\"Antarctica/Macquarie\", \"Antarctica/Macquarie\"),\n                    (\"Antarctica/Mawson\", \"Antarctica/Mawson\"),\n                    (\"Antarctica/McMurdo\", \"Antarctica/McMurdo\"),\n                    (\"Antarctica/Palmer\", \"Antarctica/Palmer\"),\n                    (\"Antarctica/Rothera\", \"Antarctica/Rothera\"),\n                    (\"Antarctica/Syowa\", \"Antarctica/Syowa\"),\n                    (\"Antarctica/Troll\", \"Antarctica/Troll\"),\n                    (\"Antarctica/Vostok\", \"Antarctica/Vostok\"),\n                    (\"Arctic/Longyearbyen\", \"Arctic/Longyearbyen\"),\n                    (\"Asia/Aden\", \"Asia/Aden\"),\n                    (\"Asia/Almaty\", \"Asia/Almaty\"),\n                    (\"Asia/Amman\", \"Asia/Amman\"),\n                    (\"Asia/Anadyr\", \"Asia/Anadyr\"),\n                    (\"Asia/Aqtau\", \"Asia/Aqtau\"),\n                    (\"Asia/Aqtobe\", \"Asia/Aqtobe\"),\n                    (\"Asia/Ashgabat\", \"Asia/Ashgabat\"),\n                    (\"Asia/Atyrau\", \"Asia/Atyrau\"),\n                    (\"Asia/Baghdad\", \"Asia/Baghdad\"),\n                    (\"Asia/Bahrain\", \"Asia/Bahrain\"),\n                    (\"Asia/Baku\", \"Asia/Baku\"),\n                    (\"Asia/Bangkok\", \"Asia/Bangkok\"),\n                    (\"Asia/Barnaul\", \"Asia/Barnaul\"),\n                    (\"Asia/Beirut\", \"Asia/Beirut\"),\n                    (\"Asia/Bishkek\", \"Asia/Bishkek\"),\n                    (\"Asia/Brunei\", \"Asia/Brunei\"),\n                    (\"Asia/Chita\", \"Asia/Chita\"),\n                    (\"Asia/Choibalsan\", \"Asia/Choibalsan\"),\n                    (\"Asia/Colombo\", \"Asia/Colombo\"),\n                    (\"Asia/Damascus\", \"Asia/Damascus\"),\n                    (\"Asia/Dhaka\", \"Asia/Dhaka\"),\n                    (\"Asia/Dili\", \"Asia/Dili\"),\n                    (\"Asia/Dubai\", \"Asia/Dubai\"),\n                    (\"Asia/Dushanbe\", \"Asia/Dushanbe\"),\n                    (\"Asia/Famagusta\", \"Asia/Famagusta\"),\n                    (\"Asia/Gaza\", \"Asia/Gaza\"),\n                    (\"Asia/Hebron\", \"Asia/Hebron\"),\n                    (\"Asia/Ho_Chi_Minh\", \"Asia/Ho_Chi_Minh\"),\n                    (\"Asia/Hong_Kong\", \"Asia/Hong_Kong\"),\n                    (\"Asia/Hovd\", \"Asia/Hovd\"),\n                    (\"Asia/Irkutsk\", \"Asia/Irkutsk\"),\n                    (\"Asia/Jakarta\", \"Asia/Jakarta\"),\n                    (\"Asia/Jayapura\", \"Asia/Jayapura\"),\n                    (\"Asia/Jerusalem\", \"Asia/Jerusalem\"),\n                    (\"Asia/Kabul\", \"Asia/Kabul\"),\n                    (\"Asia/Kamchatka\", \"Asia/Kamchatka\"),\n                    (\"Asia/Karachi\", \"Asia/Karachi\"),\n                    (\"Asia/Kathmandu\", \"Asia/Kathmandu\"),\n                    (\"Asia/Khandyga\", \"Asia/Khandyga\"),\n                    (\"Asia/Kolkata\", \"Asia/Kolkata\"),\n                    (\"Asia/Krasnoyarsk\", \"Asia/Krasnoyarsk\"),\n                    (\"Asia/Kuala_Lumpur\", \"Asia/Kuala_Lumpur\"),\n                    (\"Asia/Kuching\", \"Asia/Kuching\"),\n                    (\"Asia/Kuwait\", \"Asia/Kuwait\"),\n                    (\"Asia/Macau\", \"Asia/Macau\"),\n                    (\"Asia/Magadan\", \"Asia/Magadan\"),\n                    (\"Asia/Makassar\", \"Asia/Makassar\"),\n                    (\"Asia/Manila\", \"Asia/Manila\"),\n                    (\"Asia/Muscat\", \"Asia/Muscat\"),\n                    (\"Asia/Nicosia\", \"Asia/Nicosia\"),\n                    (\"Asia/Novokuznetsk\", \"Asia/Novokuznetsk\"),\n                    (\"Asia/Novosibirsk\", \"Asia/Novosibirsk\"),\n                    (\"Asia/Omsk\", \"Asia/Omsk\"),\n                    (\"Asia/Oral\", \"Asia/Oral\"),\n                    (\"Asia/Phnom_Penh\", \"Asia/Phnom_Penh\"),\n                    (\"Asia/Pontianak\", \"Asia/Pontianak\"),\n                    (\"Asia/Pyongyang\", \"Asia/Pyongyang\"),\n                    (\"Asia/Qatar\", \"Asia/Qatar\"),\n                    (\"Asia/Qostanay\", \"Asia/Qostanay\"),\n                    (\"Asia/Qyzylorda\", \"Asia/Qyzylorda\"),\n                    (\"Asia/Riyadh\", \"Asia/Riyadh\"),\n                    (\"Asia/Sakhalin\", \"Asia/Sakhalin\"),\n                    (\"Asia/Samarkand\", \"Asia/Samarkand\"),\n                    (\"Asia/Seoul\", \"Asia/Seoul\"),\n                    (\"Asia/Shanghai\", \"Asia/Shanghai\"),\n                    (\"Asia/Singapore\", \"Asia/Singapore\"),\n                    (\"Asia/Srednekolymsk\", \"Asia/Srednekolymsk\"),\n                    (\"Asia/Taipei\", \"Asia/Taipei\"),\n                    (\"Asia/Tashkent\", \"Asia/Tashkent\"),\n                    (\"Asia/Tbilisi\", \"Asia/Tbilisi\"),\n                    (\"Asia/Tehran\", \"Asia/Tehran\"),\n                    (\"Asia/Thimphu\", \"Asia/Thimphu\"),\n                    (\"Asia/Tokyo\", \"Asia/Tokyo\"),\n                    (\"Asia/Tomsk\", \"Asia/Tomsk\"),\n                    (\"Asia/Ulaanbaatar\", \"Asia/Ulaanbaatar\"),\n                    (\"Asia/Urumqi\", \"Asia/Urumqi\"),\n                    (\"Asia/Ust-Nera\", \"Asia/Ust-Nera\"),\n                    (\"Asia/Vientiane\", \"Asia/Vientiane\"),\n                    (\"Asia/Vladivostok\", \"Asia/Vladivostok\"),\n                    (\"Asia/Yakutsk\", \"Asia/Yakutsk\"),\n                    (\"Asia/Yangon\", \"Asia/Yangon\"),\n                    (\"Asia/Yekaterinburg\", \"Asia/Yekaterinburg\"),\n                    (\"Asia/Yerevan\", \"Asia/Yerevan\"),\n                    (\"Atlantic/Azores\", \"Atlantic/Azores\"),\n                    (\"Atlantic/Bermuda\", \"Atlantic/Bermuda\"),\n                    (\"Atlantic/Canary\", \"Atlantic/Canary\"),\n                    (\"Atlantic/Cape_Verde\", \"Atlantic/Cape_Verde\"),\n                    (\"Atlantic/Faroe\", \"Atlantic/Faroe\"),\n                    (\"Atlantic/Madeira\", \"Atlantic/Madeira\"),\n                    (\"Atlantic/Reykjavik\", \"Atlantic/Reykjavik\"),\n                    (\"Atlantic/South_Georgia\", \"Atlantic/South_Georgia\"),\n                    (\"Atlantic/St_Helena\", \"Atlantic/St_Helena\"),\n                    (\"Atlantic/Stanley\", \"Atlantic/Stanley\"),\n                    (\"Australia/Adelaide\", \"Australia/Adelaide\"),\n                    (\"Australia/Brisbane\", \"Australia/Brisbane\"),\n                    (\"Australia/Broken_Hill\", \"Australia/Broken_Hill\"),\n                    (\"Australia/Currie\", \"Australia/Currie\"),\n                    (\"Australia/Darwin\", \"Australia/Darwin\"),\n                    (\"Australia/Eucla\", \"Australia/Eucla\"),\n                    (\"Australia/Hobart\", \"Australia/Hobart\"),\n                    (\"Australia/Lindeman\", \"Australia/Lindeman\"),\n                    (\"Australia/Lord_Howe\", \"Australia/Lord_Howe\"),\n                    (\"Australia/Melbourne\", \"Australia/Melbourne\"),\n                    (\"Australia/Perth\", \"Australia/Perth\"),\n                    (\"Australia/Sydney\", \"Australia/Sydney\"),\n                    (\"Canada/Atlantic\", \"Canada/Atlantic\"),\n                    (\"Canada/Central\", \"Canada/Central\"),\n                    (\"Canada/Eastern\", \"Canada/Eastern\"),\n                    (\"Canada/Mountain\", \"Canada/Mountain\"),\n                    (\"Canada/Newfoundland\", \"Canada/Newfoundland\"),\n                    (\"Canada/Pacific\", \"Canada/Pacific\"),\n                    (\"Europe/Amsterdam\", \"Europe/Amsterdam\"),\n                    (\"Europe/Andorra\", \"Europe/Andorra\"),\n                    (\"Europe/Astrakhan\", \"Europe/Astrakhan\"),\n                    (\"Europe/Athens\", \"Europe/Athens\"),\n                    (\"Europe/Belgrade\", \"Europe/Belgrade\"),\n                    (\"Europe/Berlin\", \"Europe/Berlin\"),\n                    (\"Europe/Bratislava\", \"Europe/Bratislava\"),\n                    (\"Europe/Brussels\", \"Europe/Brussels\"),\n                    (\"Europe/Bucharest\", \"Europe/Bucharest\"),\n                    (\"Europe/Budapest\", \"Europe/Budapest\"),\n                    (\"Europe/Busingen\", \"Europe/Busingen\"),\n                    (\"Europe/Chisinau\", \"Europe/Chisinau\"),\n                    (\"Europe/Copenhagen\", \"Europe/Copenhagen\"),\n                    (\"Europe/Dublin\", \"Europe/Dublin\"),\n                    (\"Europe/Gibraltar\", \"Europe/Gibraltar\"),\n                    (\"Europe/Guernsey\", \"Europe/Guernsey\"),\n                    (\"Europe/Helsinki\", \"Europe/Helsinki\"),\n                    (\"Europe/Isle_of_Man\", \"Europe/Isle_of_Man\"),\n                    (\"Europe/Istanbul\", \"Europe/Istanbul\"),\n                    (\"Europe/Jersey\", \"Europe/Jersey\"),\n                    (\"Europe/Kaliningrad\", \"Europe/Kaliningrad\"),\n                    (\"Europe/Kiev\", \"Europe/Kiev\"),\n                    (\"Europe/Kirov\", \"Europe/Kirov\"),\n                    (\"Europe/Lisbon\", \"Europe/Lisbon\"),\n                    (\"Europe/Ljubljana\", \"Europe/Ljubljana\"),\n                    (\"Europe/London\", \"Europe/London\"),\n                    (\"Europe/Luxembourg\", \"Europe/Luxembourg\"),\n                    (\"Europe/Madrid\", \"Europe/Madrid\"),\n                    (\"Europe/Malta\", \"Europe/Malta\"),\n                    (\"Europe/Mariehamn\", \"Europe/Mariehamn\"),\n                    (\"Europe/Minsk\", \"Europe/Minsk\"),\n                    (\"Europe/Monaco\", \"Europe/Monaco\"),\n                    (\"Europe/Moscow\", \"Europe/Moscow\"),\n                    (\"Europe/Oslo\", \"Europe/Oslo\"),\n                    (\"Europe/Paris\", \"Europe/Paris\"),\n                    (\"Europe/Podgorica\", \"Europe/Podgorica\"),\n                    (\"Europe/Prague\", \"Europe/Prague\"),\n                    (\"Europe/Riga\", \"Europe/Riga\"),\n                    (\"Europe/Rome\", \"Europe/Rome\"),\n                    (\"Europe/Samara\", \"Europe/Samara\"),\n                    (\"Europe/San_Marino\", \"Europe/San_Marino\"),\n                    (\"Europe/Sarajevo\", \"Europe/Sarajevo\"),\n                    (\"Europe/Saratov\", \"Europe/Saratov\"),\n                    (\"Europe/Simferopol\", \"Europe/Simferopol\"),\n                    (\"Europe/Skopje\", \"Europe/Skopje\"),\n                    (\"Europe/Sofia\", \"Europe/Sofia\"),\n                    (\"Europe/Stockholm\", \"Europe/Stockholm\"),\n                    (\"Europe/Tallinn\", \"Europe/Tallinn\"),\n                    (\"Europe/Tirane\", \"Europe/Tirane\"),\n                    (\"Europe/Ulyanovsk\", \"Europe/Ulyanovsk\"),\n                    (\"Europe/Uzhgorod\", \"Europe/Uzhgorod\"),\n                    (\"Europe/Vaduz\", \"Europe/Vaduz\"),\n                    (\"Europe/Vatican\", \"Europe/Vatican\"),\n                    (\"Europe/Vienna\", \"Europe/Vienna\"),\n                    (\"Europe/Vilnius\", \"Europe/Vilnius\"),\n                    (\"Europe/Volgograd\", \"Europe/Volgograd\"),\n                    (\"Europe/Warsaw\", \"Europe/Warsaw\"),\n                    (\"Europe/Zagreb\", \"Europe/Zagreb\"),\n                    (\"Europe/Zaporozhye\", \"Europe/Zaporozhye\"),\n                    (\"Europe/Zurich\", \"Europe/Zurich\"),\n                    (\"GMT\", \"GMT\"),\n                    (\"Indian/Antananarivo\", \"Indian/Antananarivo\"),\n                    (\"Indian/Chagos\", \"Indian/Chagos\"),\n                    (\"Indian/Christmas\", \"Indian/Christmas\"),\n                    (\"Indian/Cocos\", \"Indian/Cocos\"),\n                    (\"Indian/Comoro\", \"Indian/Comoro\"),\n                    (\"Indian/Kerguelen\", \"Indian/Kerguelen\"),\n                    (\"Indian/Mahe\", \"Indian/Mahe\"),\n                    (\"Indian/Maldives\", \"Indian/Maldives\"),\n                    (\"Indian/Mauritius\", \"Indian/Mauritius\"),\n                    (\"Indian/Mayotte\", \"Indian/Mayotte\"),\n                    (\"Indian/Reunion\", \"Indian/Reunion\"),\n                    (\"Pacific/Apia\", \"Pacific/Apia\"),\n                    (\"Pacific/Auckland\", \"Pacific/Auckland\"),\n                    (\"Pacific/Bougainville\", \"Pacific/Bougainville\"),\n                    (\"Pacific/Chatham\", \"Pacific/Chatham\"),\n                    (\"Pacific/Chuuk\", \"Pacific/Chuuk\"),\n                    (\"Pacific/Easter\", \"Pacific/Easter\"),\n                    (\"Pacific/Efate\", \"Pacific/Efate\"),\n                    (\"Pacific/Enderbury\", \"Pacific/Enderbury\"),\n                    (\"Pacific/Fakaofo\", \"Pacific/Fakaofo\"),\n                    (\"Pacific/Fiji\", \"Pacific/Fiji\"),\n                    (\"Pacific/Funafuti\", \"Pacific/Funafuti\"),\n                    (\"Pacific/Galapagos\", \"Pacific/Galapagos\"),\n                    (\"Pacific/Gambier\", \"Pacific/Gambier\"),\n                    (\"Pacific/Guadalcanal\", \"Pacific/Guadalcanal\"),\n                    (\"Pacific/Guam\", \"Pacific/Guam\"),\n                    (\"Pacific/Honolulu\", \"Pacific/Honolulu\"),\n                    (\"Pacific/Kiritimati\", \"Pacific/Kiritimati\"),\n                    (\"Pacific/Kosrae\", \"Pacific/Kosrae\"),\n                    (\"Pacific/Kwajalein\", \"Pacific/Kwajalein\"),\n                    (\"Pacific/Majuro\", \"Pacific/Majuro\"),\n                    (\"Pacific/Marquesas\", \"Pacific/Marquesas\"),\n                    (\"Pacific/Midway\", \"Pacific/Midway\"),\n                    (\"Pacific/Nauru\", \"Pacific/Nauru\"),\n                    (\"Pacific/Niue\", \"Pacific/Niue\"),\n                    (\"Pacific/Norfolk\", \"Pacific/Norfolk\"),\n                    (\"Pacific/Noumea\", \"Pacific/Noumea\"),\n                    (\"Pacific/Pago_Pago\", \"Pacific/Pago_Pago\"),\n                    (\"Pacific/Palau\", \"Pacific/Palau\"),\n                    (\"Pacific/Pitcairn\", \"Pacific/Pitcairn\"),\n                    (\"Pacific/Pohnpei\", \"Pacific/Pohnpei\"),\n                    (\"Pacific/Port_Moresby\", \"Pacific/Port_Moresby\"),\n                    (\"Pacific/Rarotonga\", \"Pacific/Rarotonga\"),\n                    (\"Pacific/Saipan\", \"Pacific/Saipan\"),\n                    (\"Pacific/Tahiti\", \"Pacific/Tahiti\"),\n                    (\"Pacific/Tarawa\", \"Pacific/Tarawa\"),\n                    (\"Pacific/Tongatapu\", \"Pacific/Tongatapu\"),\n                    (\"Pacific/Wake\", \"Pacific/Wake\"),\n                    (\"Pacific/Wallis\", \"Pacific/Wallis\"),\n                    (\"US/Alaska\", \"US/Alaska\"),\n                    (\"US/Arizona\", \"US/Arizona\"),\n                    (\"US/Central\", \"US/Central\"),\n                    (\"US/Eastern\", \"US/Eastern\"),\n                    (\"US/Hawaii\", \"US/Hawaii\"),\n                    (\"US/Mountain\", \"US/Mountain\"),\n                    (\"US/Pacific\", \"US/Pacific\"),\n                    (\"UTC\", \"UTC\"),\n                ],\n                default=\"UTC\",\n                max_length=80,\n                null=True,\n            ),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/0025_preference_preview_sensitive.py",
    "content": "# Generated by Django 3.0.6 on 2020-06-01 14:17\n\nfrom django.db import migrations, models\n\n\nclass Migration(migrations.Migration):\n\n    dependencies = [\n        (\"brutaldon\", \"0024_auto_20200601_0945\"),\n    ]\n\n    operations = [\n        migrations.AddField(\n            model_name=\"preference\",\n            name=\"preview_sensitive\",\n            field=models.BooleanField(\n                default=False, help_text='Show preview for media marked as \"sensitive\"'\n            ),\n        ),\n    ]\n"
  },
  {
    "path": "brutaldon/migrations/__init__.py",
    "content": ""
  },
  {
    "path": "brutaldon/models.py",
    "content": "from django.db import models\nfrom django.conf import settings\nfrom django.utils.translation import gettext as _\nfrom pytz import common_timezones\n\ntimezones = [(tz, tz) for tz in common_timezones]\n\n\nclass Client(models.Model):\n    name = models.CharField(default=\"brutaldon\", max_length=80)\n    api_base_id = models.URLField(default=\"https://mastodon.social\")\n    version = models.CharField(default=\"1.0\", max_length=80)\n    client_id = models.CharField(null=True, blank=True, max_length=2048)\n    client_secret = models.CharField(null=True, blank=True, max_length=2048)\n\n    def __str__(self):\n        return self.name + \": \" + self.api_base_id\n\n\nclass Theme(models.Model):\n    name = models.CharField(max_length=80, unique=True)\n    prefix = models.CharField(max_length=40, null=True, default=\"default\")\n    main_css = models.CharField(\n        max_length=1024, blank=True, null=True, default=\"css/fullbrutalism.css\"\n    )\n    tweaks_css = models.CharField(max_length=1024, blank=True, null=True)\n    is_brutalist = models.BooleanField(default=False)\n\n    def __str__(self):\n        return self.name\n\n\nfrom django.db.models.fields.related_descriptors import ForeignKeyDeferredAttribute\n\n\ndef set_fields(klass):\n    fields = []\n    for n in dir(klass):\n        assert n != \"_fields\"\n        v = getattr(klass, n)\n        if not hasattr(v, \"field\"):\n            continue\n        if not isinstance(v.field, models.Field):\n            continue\n        if isinstance(v, ForeignKeyDeferredAttribute):\n            continue\n        fields.append(n)\n    setattr(klass, \"_fields\", fields)\n    return klass\n\n\n@set_fields\nclass Preference(models.Model):\n    theme = models.ForeignKey(Theme, models.CASCADE, null=False, default=1)\n    filter_replies = models.BooleanField(default=False)\n    filter_boosts = models.BooleanField(default=False)\n    timezone = models.CharField(\n        max_length=80, blank=True, null=True, choices=timezones, default=\"UTC\"\n    )\n    preview_sensitive = models.BooleanField(\n        default=False, help_text=_('Show preview for media marked as \"sensitive\"')\n    )\n\n    no_javascript = models.BooleanField(\n        default=False,\n        help_text=_(\n            \"\"\"Disable all JavaScript. Overrides all other JavaScript options.\"\"\"\n        ),\n    )\n    notifications = models.BooleanField(\n        default=True, help_text=_(\"\"\"Display live notifications in header.\"\"\")\n    )\n    click_to_load = models.BooleanField(\n        default=False,\n        help_text=_(\n            \"\"\"Click to load more toots in the same page, rather than using pagination.\"\"\"\n        ),\n    )\n    lightbox = models.BooleanField(\n        default=False, help_text=_(\"\"\"Use a JavaScript lightbox to display media.\"\"\")\n    )\n    poll_frequency = models.IntegerField(\n        default=300,\n        help_text=_(\n            \"\"\"Number of seconds to wait between checking notifications. Default: 300\"\"\"\n        ),\n    )\n    filter_notifications = models.BooleanField(\n        default=False,\n        help_text=_(\"\"\"Exclude boosts and favs from your notifications.\"\"\"),\n    )\n    bundle_notifications = models.BooleanField(\n        default=False,\n        help_text=_(\n            \"\"\"Collapse together boosts or likes of the same toot in the notifications page.\"\"\"\n        ),\n    )\n\n\nclass Account(models.Model):\n    username = models.EmailField(unique=True)\n    email = models.EmailField(null=True, blank=True)\n    django_user = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE, null=True)\n    access_token = models.CharField(null=True, blank=True, max_length=2048)\n    client = models.ForeignKey(Client, models.SET_NULL, null=True)\n    preferences = models.ForeignKey(Preference, models.SET_NULL, null=True)\n    note_seen = models.CharField(null=True, blank=True, max_length=128)\n"
  },
  {
    "path": "brutaldon/settings.py",
    "content": "\"\"\"\nDjango settings for brutaldon project.\n\nGenerated by 'django-admin startproject' using Django 2.0.1.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/2.0/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoproject.com/en/2.0/ref/settings/\n\"\"\"\n\nimport os\n\n# Build paths inside the project like this: os.path.join(BASE_DIR, ...)\nBASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))\n\n\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/\n\n# SECURITY WARNING: keep the secret key used in production secret!\nSECRET_KEY = \"6lq9!52j^)=m89))umaphx9ac%)b$k^gs%x1rkk^v^$u9zjz$@\"\n\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = True\n\nALLOWED_HOSTS = []\n\n\n# Application definition\n\nINSTALLED_APPS = [\n    \"django.contrib.admin\",\n    \"django.contrib.auth\",\n    \"django.contrib.contenttypes\",\n    \"django.contrib.sessions\",\n    \"django.contrib.messages\",\n    \"django.contrib.staticfiles\",\n    \"widget_tweaks\",\n    \"sanitizer\",\n    \"django.contrib.humanize\",\n    \"brutaldon\",\n]\n\nMIDDLEWARE = [\n    \"django.middleware.security.SecurityMiddleware\",\n    \"django.contrib.sessions.middleware.SessionMiddleware\",\n    \"django.middleware.common.CommonMiddleware\",\n    \"django.middleware.csrf.CsrfViewMiddleware\",\n    \"django.contrib.auth.middleware.AuthenticationMiddleware\",\n    \"django.contrib.messages.middleware.MessageMiddleware\",\n    \"django.middleware.clickjacking.XFrameOptionsMiddleware\",\n    \"brutaldon.middleware.timezone.TimezoneMiddleware\",\n]\n\nROOT_URLCONF = \"brutaldon.urls\"\n\nTEMPLATES = [\n    {\n        \"BACKEND\": \"django.template.backends.django.DjangoTemplates\",\n        \"DIRS\": [],\n        \"APP_DIRS\": True,\n        \"OPTIONS\": {\n            \"context_processors\": [\n                \"django.template.context_processors.debug\",\n                \"django.template.context_processors.request\",\n                \"django.contrib.auth.context_processors.auth\",\n                \"django.contrib.messages.context_processors.messages\",\n                \"brutaldon.context_processors.bookmarklet_url\",\n            ]\n        },\n    }\n]\n\nWSGI_APPLICATION = \"brutaldon.wsgi.application\"\n\n\n# Database\n# https://docs.djangoproject.com/en/2.0/ref/settings/#databases\n\nDATABASES = {\n    \"default\": {\n        \"ENGINE\": \"django.db.backends.sqlite3\",\n        \"NAME\": os.path.join(BASE_DIR, \"db.sqlite3\"),\n    }\n}\n\n\n# Password validation\n# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators\n\nAUTH_PASSWORD_VALIDATORS = [\n    {\n        \"NAME\": \"django.contrib.auth.password_validation.UserAttributeSimilarityValidator\"\n    },\n    {\"NAME\": \"django.contrib.auth.password_validation.MinimumLengthValidator\"},\n    {\"NAME\": \"django.contrib.auth.password_validation.CommonPasswordValidator\"},\n    {\"NAME\": \"django.contrib.auth.password_validation.NumericPasswordValidator\"},\n]\n\nLOGGING = {\n    \"version\": 1,\n    \"disable_existing_loggers\": False,\n    \"filters\": {\n        \"require_debug_false\": {\"()\": \"django.utils.log.RequireDebugFalse\"},\n        \"require_debug_true\": {\"()\": \"django.utils.log.RequireDebugTrue\"},\n    },\n    \"formatters\": {\n        \"django.server\": {\n            \"()\": \"django.utils.log.ServerFormatter\",\n            \"format\": \"[%(server_time)s] %(message)s\",\n        }\n    },\n    \"handlers\": {\n        \"console\": {\n            \"level\": \"INFO\",\n            \"filters\": [\"require_debug_true\"],\n            \"class\": \"logging.StreamHandler\",\n        },\n        \"console_debug_false\": {\n            \"level\": \"ERROR\",\n            \"filters\": [\"require_debug_false\"],\n            \"class\": \"logging.StreamHandler\",\n        },\n        \"django.server\": {\n            \"level\": \"INFO\",\n            \"class\": \"logging.StreamHandler\",\n            \"formatter\": \"django.server\",\n        },\n        \"mail_admins\": {\n            \"level\": \"ERROR\",\n            \"filters\": [\"require_debug_false\"],\n            \"class\": \"django.utils.log.AdminEmailHandler\",\n        },\n    },\n    \"loggers\": {\n        \"django\": {\n            \"handlers\": [\"console\", \"console_debug_false\", \"mail_admins\"],\n            \"level\": \"INFO\",\n        },\n        \"django.server\": {\n            \"handlers\": [\"django.server\"],\n            \"level\": \"INFO\",\n            \"propagate\": False,\n        },\n    },\n}\n\n\n# Internationalization\n# https://docs.djangoproject.com/en/2.0/topics/i18n/\n\nLANGUAGE_CODE = \"en-us\"\n\nTIME_ZONE = \"America/New_York\"\n\nUSE_I18N = True\n\nUSE_L10N = True\n\nUSE_TZ = True\n\n\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/2.0/howto/static-files/\n\nSTATIC_URL = \"/static/\"\nSTATIC_ROOT = os.path.join(BASE_DIR, \"static\")\n\n# Sanitizer settings\nSANITIZER_ALLOWED_TAGS = [\n    \"a\",\n    \"p\",\n    \"img\",\n    \"br\",\n    \"i\",\n    \"strong\",\n    \"em\",\n    \"pre\",\n    \"code\",\n    \"ul\",\n    \"li\",\n    \"ol\",\n    \"blockquote\",\n    \"del\",\n    \"span\",\n    \"u\",\n]\nSANITIZER_ALLOWED_ATTRIBUTES = [\"href\", \"src\", \"title\", \"alt\", \"class\", \"lang\"]\n\n# File upload settings.\n# Important: media will not work if you change this.\nFILE_UPLOAD_HANDLERS = [\"django.core.files.uploadhandler.TemporaryFileUploadHandler\"]\n\n# Session serialization\n# Important: whatever you choose has to be able to serialize DateTime, so not JSON.\nSESSION_SERIALIZER = \"django.contrib.sessions.serializers.PickleSerializer\"\n\n# URL to redirect users to when not logged in\nANONYMOUS_HOME_URL = \"about\"\n\n# URL to redirect galaxy brain users to\nRICKROLL_URL = \"https://invidio.us/watch?v=dQw4w9WgXcQ\"\n\n# Function to check if trying to add an account should trigger a special response\ndef CHECK_INSTANCE_URL(url, redirect):\n    if \"gab.com\" in url:\n        return redirect(RICKROLL_URL)\n    elif \"shitposter.club\" in url:\n        return redirect(RICKROLL_URL)\n\n\n# Version number displayed on about page\nBRUTALDON_VERSION = \"2.15.0\"\n"
  },
  {
    "path": "brutaldon/static/css/brutaldon-dark.css",
    "content": "body.has-navbar-fixed-top {\n    padding-top: 48px;\n}\n\nbody > section > div.container {\n    max-width: 100%;\n}\n\n\n.reblog-icon {\n    position: relative;\n    top: -24px;\n    left: 40px;\n}\n\nimg.fav-avatar {\n    display: inline;\n\n}\n\n\n.media-content {\n    padding: 1.25ex;\n}\n\n.is-max-128 img, .is-max-192 img, .is-max-256 img\n{\n    bottom: 0;\n    left: 0;\n    position: absolute;\n    right:0;\n    top: 0;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.is-max-192 {\n    max-height: 192px;\n    max-width: 192px;\n}\n\nfigure.media-left p.image a img\n{\n    border-radius: 5px;\n}\n\nimg.avatar\n{\n    border-radius: 5px;\n}\n\n.active-context {\n    background-color: #444;\n}\n\nh2.subtitle\n{\n    margin-top: 2rem;\n    margin-bottom: 1rem;\n}\n\narticle.media.user-info .content img\n{\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n}\n\nspan.account-locked\n{\n    margin-top: 48px;\n    margin-left: -16px;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\n.emoji-box\n{\n    padding: .75rem;\n    background-color: #444;\n    border: 1px solid #ccc;\n    border-radius: 5px;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5em;\n    max-width: 1.5em;\n    vertical-align: text-bottom;\n}\n\nemoji-link\n{\n    font-size: 2em;\n}\n\n.content figure.attachment-image\n{\n    text-align:left;\n    margin-left: 0;\n    margin-right: 0;\n}\n\n\n@media screen and (max-width: 768px) {\n    .media {\n        display: block;\n    }\n}\n\n.level.attachments\n{\n    overflow: auto;\n}\n\n.file-cta\n{\n    -webkit-border-top-left-radius: 5px;\n    -webkit-border-bottom-left-radius: 5px;\n    -webkit-border-bottom-right-radius: 0;\n    -webkit-border-top-right-radius: 0;\n    -moz-border-radius-topleft: 5px;\n    -moz-border-radius-bottomleft: 5px;\n    -moz-border-radius-bottomright: 0;\n    -moz-border-radius-topright: 0;\n    border-top-left-radius: 5px;\n    border-bottom-left-radius: 5px;\n    border-bottom-right-radius: 0;\n    border-top-right-radius: 0;\n    height: 38px;\n}\n\n#page-load-indicator\n{\n    width: 100%;\n    opacity: 0.8;\n    position: fixed;\n    top: 0;\n    left: 0;\n    z-index: 666;\n    transition: all 500ms;\n    height: 2px;\n    overflow: hidden;\n    background-color: #ddd;\n    display: none;\n}\n\n#page-load-indicator:before{\n    display: block;\n    position: absolute;\n    content: \"\";\n    left: -200px;\n    width: 200px;\n    height: 4px;\n    background-color: #888;\n    animation: page-loading 1.5s linear infinite;\n}\n\n@keyframes page-loading {\n    from {left: -200px; width: 30%;}\n    50% {width: 30%;}\n    70% {width: 70%;}\n    80% { left: 50%;}\n    95% {left: 120%;}\n    to {left: 100%;}\n}\n\n#status_count\n{\n    margin-left: 90%;\n    margin-top: 1rem;\n    background-color: #888;\n    color: #FFF;\n    float: right;\n    padding: 0.5ex;\n    border-radius: 5px;\n    min-height: 1.5rem;\n    min-width: 1.5rem;\n    font-size: 0.8em;\n    text-align: right;\n}\n\n#before-main\n{\n    width: 100%;\n    height: 2em;\n    background-color: #888;\n    color: #444;\n    margin-top: 12px;\n    padding: 0;\n}\n\n#before-main span\n{\n    margin-left: 50%;\n}\n\n\ninput#id_poll_frequency\n{\n    max-width: 10em;\n}\n\n.card\n{\n    margin-top: 1em;\n    margin: 0, auto;\n    max-width: 90%;\n}\n\n#username_autocomplete\n{\n    height: 0;\n}\n\n.media-content .content a:not(.mention)\n{\n    text-decoration-line: underline;\n    text-decoration-style: dotted;\n}\n\n.media-content a.level-item\n{\n    text-decoration: none;\n}\n\na.navbar-item span:nth-child(2):before\n{\n    content: \" \";\n}\n\ndiv.poll {\n    margin-bottom: 1ex;\n    margin-top: 1em;\n    max-width: 90%;\n}\n\n/* Fix some rules that don't need to be there */\n.content figure:not(:last-child)\n{\n    margin-bottom: 0;\n}\n.content figure:not(:first-child)\n{\n    margin-top: 0;\n}\n\n.input,\n.textarea {\n    color: inherit;\n    background-color: inherit;\n}\n\ninput[type=\"text\"] {\n    color: inherit;\n    background-color: inherit;\n}"
  },
  {
    "path": "brutaldon/static/css/brutaldon-material.css",
    "content": "body > section > div.container {\n    max-width: 100%;\n}\n\n.reblog-icon {\n    position: relative;\n    top: -24px;\n    left: 40px;\n}\n\nimg.fav-avatar {\n    display: inline;\n\n}\n\n\n.media-content {\n    padding: 1.25ex;\n}\n\n.is-max-128 img, .is-max-192 img, .is-max-256 img\n{\n    bottom: 0;\n    left: 0;\n    position: absolute;\n    right:0;\n    top: 0;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.is-max-192 {\n    max-height: 192px;\n    max-width: 192px;\n}\n\n\nfigure.media-left p.image a img\n{\n    border-radius: 5px;\n}\n\nimg.avatar\n{\n    border-radius: 5px;\n}\n\n.active-context {\n    background-color: #FFF8DC;\n}\n\nh2.subtitle\n{\n    margin-top: 2rem;\n    margin-bottom: 1rem;\n}\n\narticle.media.user-info .content img\n{\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n}\n\nspan.account-locked\n{\n    margin-top: 48px;\n    margin-left: -16px;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\n.emoji-box\n{\n    padding: .75rem;\n    background-color: #FCFCFC;\n    border: 1px solid #CCC;\n    border-radius: 5px;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5em;\n    max-width: 1.5em;\n    vertical-align: text-bottom;\n}\n\nemoji-link\n{\n    font-size: 2em;\n}\n\n.content figure.attachment-image\n{\n    text-align:left;\n    margin-left: 0;\n    margin-right: 0;\n}\n\n@media screen and (max-width: 768px) {\n    .media {\n        display: block;\n    }\n}\n\n#page-load-indicator\n{\n    width: 100%;\n    opacity: 0.8;\n    position: fixed;\n    top: 0;\n    left: 0;\n    z-index: 666;\n    transition: all 500ms;\n    height: 2px;\n    overflow: hidden;\n    background-color: #ddd;\n    display: none;\n}\n\n#page-load-indicator:before{\n    display: block;\n    position: absolute;\n    content: \"\";\n    left: -200px;\n    width: 200px;\n    height: 4px;\n    background-color: #888;\n    animation: page-loading 1.5s linear infinite;\n}\n\n@keyframes page-loading {\n    from {left: -200px; width: 30%;}\n    50% {width: 30%;}\n    70% {width: 70%;}\n    80% { left: 50%;}\n    95% {left: 120%;}\n    to {left: 100%;}\n}\n\n#status_count\n{\n    margin-left: 90%;\n    margin-top: 1rem;\n    background-color: #888;\n    color: #FFF;\n    float: right;\n    padding: 0.5ex;\n    border-radius: 5px;\n    min-height: 1.5rem;\n    min-width: 1.5rem;\n    font-size: 0.8em;\n    text-align: right;\n}\n\n#before-main\n{\n    width: 100%;\n    height: 2em;\n    background-color: #DEDEDE;\n    color: white;\n    margin-top: 0;\n    padding: 0;\n}\n\n#before-main span\n{\n    margin-left: 50%;\n}\n\ninput#id_poll_frequency\n{\n    max-width: 10em;\n}\n\nbody.has-navbar-fixed-top, html.has-navbar-fixed-top {\n\t  padding-top: 5rem;\n}\n\n.card\n{\n    margin-top: 1em;\n    margin: 0, auto;\n    max-width: 90%;\n}\n\n\n#username_autocomplete\n{\n    height: 0;\n}\n\n.media-content .content a:not(.mention)\n{\n    text-decoration-line: underline;\n    text-decoration-style: dotted;\n}\n\n.media-content a.level-item\n{\n    text-decoration: none;\n}\n\n\na.navbar-item span:nth-child(2):before\n{\n    content: \" \";\n}\n\n\ndiv.poll {\n    margin-bottom: 1ex;\n    margin-top: 1em;\n    max-width: 90%;\n}\n\n\n/* Fix some rules that don't need to be there */\n.content figure:not(:last-child)\n{\n    margin-bottom: 0;\n}\n.content figure:not(:first-child)\n{\n    margin-top: 0;\n}\n"
  },
  {
    "path": "brutaldon/static/css/brutaldon.css",
    "content": "body > section > div.container {\n    max-width: 100%;\n}\n\n.reblog-icon {\n    position: relative;\n    top: -24px;\n    left: 40px;\n}\n\nimg.fav-avatar {\n    display: inline;\n\n}\n\n\n.media-content {\n    padding: 1.25ex;\n}\n\n.is-max-128 img, .is-max-192 img, .is-max-256 img\n{\n    bottom: 0;\n    left: 0;\n    position: absolute;\n    right:0;\n    top: 0;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.is-max-192 {\n    max-height: 192px;\n    max-width: 192px;\n}\n\n\nfigure.media-left p.image a img\n{\n    border-radius: 5px;\n}\n\nimg.avatar\n{\n    border-radius: 5px;\n}\n\n.active-context {\n    background-color: #FFF8DC;\n}\n\nh2.subtitle\n{\n    margin-top: 2rem;\n    margin-bottom: 1rem;\n}\n\narticle.media.user-info .content img\n{\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n}\n\nspan.account-locked\n{\n    margin-top: 48px;\n    margin-left: -16px;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\n.emoji-box\n{\n    padding: .75rem;\n    background-color: #FCFCFC;\n    border: 1px solid #CCC;\n    border-radius: 5px;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5em;\n    max-width: 1.5em;\n    vertical-align: text-bottom;\n}\n\nemoji-link\n{\n    font-size: 2em;\n}\n\n.content figure.attachment-image\n{\n    text-align:left;\n    margin-left: 0;\n    margin-right: 0;\n}\n\n@media screen and (max-width: 768px) {\n    .media {\n        display: block;\n    }\n}\n\n#page-load-indicator\n{\n    width: 100%;\n    opacity: 0.8;\n    position: fixed;\n    top: 0;\n    left: 0;\n    z-index: 666;\n    transition: all 500ms;\n    height: 2px;\n    overflow: hidden;\n    background-color: #ddd;\n    display: none;\n}\n\n#page-load-indicator:before{\n    display: block;\n    position: absolute;\n    content: \"\";\n    left: -200px;\n    width: 200px;\n    height: 4px;\n    background-color: #888;\n    animation: page-loading 1.5s linear infinite;\n}\n\n@keyframes page-loading {\n    from {left: -200px; width: 30%;}\n    50% {width: 30%;}\n    70% {width: 70%;}\n    80% { left: 50%;}\n    95% {left: 120%;}\n    to {left: 100%;}\n}\n\n#status_count\n{\n    margin-left: 90%;\n    margin-top: 1rem;\n    background-color: #888;\n    color: #FFF;\n    float: right;\n    padding: 0.5ex;\n    border-radius: 5px;\n    min-height: 1.5rem;\n    min-width: 1.5rem;\n    font-size: 0.8em;\n    text-align: right;\n}\n\n#before-main\n{\n    width: 100%;\n    height: 2em;\n    background-color: #DEDEDE;\n    color: white;\n    margin-top: 0;\n    padding: 0;\n}\n\n#before-main span\n{\n    margin-left: 50%;\n}\n\ninput#id_poll_frequency\n{\n    max-width: 10em;\n}\n\nbody.has-navbar-fixed-top, html.has-navbar-fixed-top {\n\t  padding-top: 5rem;\n}\n\n.card\n{\n    margin-top: 1em;\n    margin: 0, auto;\n    max-width: 90%;\n}\n\n\n#username_autocomplete\n{\n    height: 0;\n}\n\n.media-content .content a:not(.mention)\n{\n    text-decoration-line: underline;\n    text-decoration-style: dotted;\n}\n\n.media-content a.level-item\n{\n    text-decoration: none;\n}\n\n\na.navbar-item span:nth-child(2):before\n{\n    content: \" \";\n}\n\n\ndiv.poll {\n    margin-bottom: 1ex;\n    margin-top: 1em;\n    max-width: 90%;\n}\n\n\n/* Fix some rules that don't need to be there */\n.content figure:not(:last-child)\n{\n    margin-bottom: 0;\n}\n.content figure:not(:first-child)\n{\n    margin-top: 0;\n}\n"
  },
  {
    "path": "brutaldon/static/css/brutstrap-tweaks.css",
    "content": "/* Tweaks to make brutstrap work with brutaldon's existing html */\n\n/* Re-implemented brutstrap features for brutaldon's html structure */\n\nnav\n{\n    display: flex;\n}\nnav .navbar-menu, nav .navbar-brand\n{\n    display: flex;\n    margin: 0.2em;\n    padding: 0;\n    padding-bottom: 0.1em;\n}\n\nnav .navbar-item\n{\n    display: inline;\n    text-align: center;\n    padding: 0 0.5em;\n}\n\narticle /* As brutstrap's section */\n{\n    border-bottom: 0.1em solid #444;\n    margin-top: 0.25em;\n    margin-bottom: 1em;\n}\n\narticle + hr /* Now redundant */\n{\n    display: none;\n}\n\n\n/* Bulma styles re-implemented for compatibility */\n\nimg.is-32x32 {\n    float: left;\n    max-width: 512px;\n    max-height: auto;\n    margin: 4px;\n}\n\n\n.level {\n    clear: both;\n}\n\n.title {\n    font-size: 3ex;\n    font-weight: bold;\n    margin-top: 1ex;\n    margin-bottom: 1ex;\n}\n.subtitle {\n    font-size: 1.5ex;\n    font-weight: bold;\n    margin-top: 0.25ex;\n    margin-bottom: 0.25ex;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 img, .is-max-256 img\n{\n    display: block;\n    clear: both;\n}\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n    vertical-align: text-bottom;\n}\n\n.modal {\n    -webkit-box-align: center;\n    -ms-flex-align: center;\n    align-items: center;\n    display: none;\n    -webkit-box-pack: center;\n    -ms-flex-pack: center;\n    justify-content: center;\n    overflow: hidden;\n    position: fixed;\n    z-index: 40;\n}\n.modal-background {\n    position: absolute;\n    background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n    bottom: 0;\n    left: 0;\n    right: 0;\n    top: 0;\n}\n\n.modal-content\n{\n    z-index: 60;\n    background-color: #CCC;\n    color: #000;\n    padding: 1em;\n    border: 0.2em solid #444;\n    max-height: 90vh;\n    overflow: auto;\n}\n\n.modal.is-active {\n    display: flex;\n}\n\n.card\n{\n    padding: 1em;\n    margin-top: 1em;\n    border: 0.2em solid black;\n}\n\n.card-header\n{\n    padding-bottom: 1em;\n    border-bottom: 0.2em solid black;\n}\n\n.card-image\n{\n    padding: 1em;\n    margin 0, auto;\n}\n\n.button\n{\n    border: 0.2em solid #444;\n    display: inline;\n    padding: 0.4em;\n}\n\n/* Fscking levels */\n.level {\n  align-items: center;\n  justify-content: space-between;\n  display:flex;\n  flex-wrap: wrap;\n}\n\n.level.is-mobile {\n    display: flex;\n}\n\n.level.is-mobile .level-left,\n.level.is-mobile .level-right {\n    display: flex;\n}\n.level.is-mobile .level-item {\n    margin-right: 0.75rem;\n}\n\n\n.level code {\n  border-radius: 4px;\n}\n\n.level img {\n  display: inline-block;\n  vertical-align: top;\n}\n\n.level-item {\n  align-items: center;\n  display: flex;\n  flex-basis: auto;\n  flex-grow: 0;\n  flex-shrink: 0;\n  justify-content: center;\n}\n\n.level-item .title,\n.level-item .subtitle {\n  margin-bottom: 0;\n}\n\n.level-left,\n.level-right {\n  flex-basis: auto;\n  flex-grow: 0;\n  flex-shrink: 0;\n}\n\n\n.level-left {\n  align-items: center;\n  justify-content: flex-start;\n}\n\n.level-right {\n  align-items: center;\n  justify-content: flex-end;\n}\n\n.media {\n  align-items: flex-start;\n  display: flex;\n  text-align: left;\n}\n\n#username_autocomplete div.tooltip::after {\n    content: attr(data-tooltip);\n    font-size: 0.6em;\n    margin-left: 1em;\n    margin-right: 1em;\n    border: 1pt solid #444;\n    background-color: #FFF;\n    padding: 0.2em;\n}\n\n/* Remaining brutaldon-specific tweaks */\n\nbody\n{\n    /* brutstrap's default font-size is fine for full-text web\n       pages, but too big for this purpose. */\n    font-size: 1em;\n}\n\ninput, textarea\n{\n    font-family: sans-serif;\n\n}\n\ntextarea\n{\n    width: 100%;\n}\n\ninput#id_spoiler_text\n{\n    width: 100%;\n}\n\n.media-content\n{\n    margin-bottom: 1em;\n}\n\n.reblog-icon {\n    position: relative;\n    top: -24px;\n    left: 40px;\n}\n\nimg.fav-avatar {\n    display: inline;\n\n}\n\n#status_count\n{\n    margin-left: 90%;\n    margin-top: 1rem;\n    background-color: #888;\n    color: #FFF;\n    float: right;\n    padding: 0.5ex;\n    border-radius: 5px;\n    min-height: 1.5rem;\n    min-width: 1.5rem;\n    font-size: 0.8em;\n    text-align: right;\n}\n\n#username_autocomplete\n{\n    height: 0;\n}\n\n.attachments figure {\n    border: 0.2ex solid #444;\n    max-width: 256px;\n    padding: 1em;\n}\n\nfigure.level-item > video\n{\n    max-height: 256px;\n    max-width: 256px;\n}\n\ntable {\n    border-collapse: collapse;\n    border-spacing: 0;\n}\ntd, th\n{\n    padding: 0.25em;\n    border: 1px solid #444;\n}\n\ntd.empty-cell, th.empty-cell { border: none; }\n\n@media screen and (max-width: 768px) {\n    .box {\n        max-width: 90%;\n    }\n    .media {\n        display: block;\n    }\n    .media-left {\n        float: left;\n    }\n    .media-content .content p {\n        clear: inline-end;\n    }\n}\n\n@media screen and (min-width: 1024px) {\n    .navbar,\n    .navbar-menu,\n    .navbar-start,\n    .navbar-end {\n        align-items: stretch;\n        display: flex;\n    }\n    .navbar-start {\n        justify-content: flex-start;\n        margin-right: auto;\n    }\n    .navbar-end {\n        justify-content: flex-end;\n        margin-left: auto;\n    }\n}\n"
  },
  {
    "path": "brutaldon/static/css/brutstrap.css",
    "content": "/* Components */\nbody {\n\tposition: relative;\n\tbackground-color: #eee;\n\tcolor: #444;\n  font-family: serif;\n  margin: 0 auto;\n\tpadding-bottom: 6rem;\n\tmin-height: 100%;\n\tfont-size: 1.4em;\n}\n\nheader {\n  font-family: sans-serif;\n  text-align: center;\n  width: 100%;\n  overflow: hidden;\n  border-bottom: 0.5rem dashed #444;\n}\nmain {\n  width: 75vw;\n  max-width: 40em;\n  margin: 0 auto;\n  line-height: 1.6;\n  margin-bottom: 8rem;\n}\nfooter {\n  padding: 1em 0;\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  border-top: 0.25em dashed #444;\n}\n\nnav ul {\n  list-style-type: none;\n  margin: 0.2em;\n  padding: 0;\n  padding-bottom: 0.1em;\n}\nnav ul li {\n  display: inline;\n  text-align: center;\n  padding: 0 0.5em;\n}\n\n::selection { background-color: #777; color: #eee; }\n\nh1 {\n  font-family: sans-serif;\n  margin: 0.1em;\n}\n\nsection {\n  border-bottom: 0.1em solid #444;\n  margin-bottom: 1em;\n}\nh3 {\n  font-family: sans-serif;\n  margin: 0.5em;\n  font-size: 1.4em;\n}\n\n.admonition {\n  margin: 0 auto;\n  width: 55vw;\n  max-width: 30em;\n  margin-top: 1em;\n  padding: 1em;\n  border: 0.2em solid #444;\n}\n.admonition > .h2 {\n  margin: 1em 0 0.5em 0;\n}\n.admonition p { margin: 0.3em; }\n\n.blockQuote {\n  padding: 0.5rem;\n  border-left: 0.1em solid #444;\n}\n.codeBlock {\n  padding: 0.5em;\n  border: 0.1em solid #444;\n  white-space: pre-wrap;\n  overflow-x: scroll;\n  text-overflow: clip;\n}\nul li { margin-bottom: 0.5em;}\nul li p {\n  margin-top: 0;\n}\n\na {\n  text-decoration: none;\n  color: inherit;\n  display: inline-block;\n  position: relative;\n  border-bottom: 0.1rem dotted;\n  line-height: 1.2;\n  transition: border 0.3s;\n}\na:visited {\n  color: #777;\n}\na:hover {\n  outline-style: none;\n  border-bottom: 0.1rem solid;\n}\na:focus {\n  outline-style: none;\n  border-bottom: 0.1rem solid;\n  background: #777;\n}\n\n\n.-advertisement {\n  width: 40vw;\n  max-width: 30rem;\n  margin: auto;\n}\n\n.-colophon {\n  margin: 0 auto;\n  width: 50vw;\n  max-width: 40rem;\n}\n\n.-motd {\n  text-align: center;\n  width: 100%;\n  overflow: hidden;\n}\n\n.-copyright {\n  margin: 0 auto;\n  width: 50vw;\n  max-width: 40rem;\n  padding-bottom: 0.2rem;\n}\n\n.-disclaimer {\n  font-size: 1rem;\n}\n\n.-invertColor {\n  background-color: #444;\n  color: #eee;\n}\n.-invertColor  ::selection {\n  background-color: #eee;\n  color: #444;\n}\n.-invertColor a:before {\n  background: #eee;\n}\n.-invertColor a:focus {\n  outline: 0.1em solid #eee;\n  background: inherit;\n}\n.-invertColor a:visited { color: #bbb; }\n.-invertColor .admonition { border-color: #eee;}\n\n.-monospace { font-family: monospace; }\n\n.-colorLinks a { color: #3ac; }\n.-colorLinks a:hover { color: #5ce; }\n.-colorLinks a:visited { color: #b8c; }\n.-colorLinks a:visited:hover { color: #dae; }\n\n.-tooSmall { font-size: 1rem; }\n.-small { font-size: 1.4rem; }\n.-medium { font-size: 2rem; }\n.-large { font-size: 4rem; }\n\n.-fullColumn {\n  margin: 0 auto;\n  width: 75vw;\n  max-width: 40em;\n}\n.-twoThirdColumn {\n  margin: 0 auto;\n  width: 55vw;\n  max-width: 30em;\n}\n.-halfColumn {\n  margin: 0 auto;\n  width: 40vw;\n  max-width: 22em;\n}\n"
  },
  {
    "path": "brutaldon/static/css/fullbrutalism.css",
    "content": "/*\n\tHTML5 Reset :: style.css\n\t----------------------------------------------------------\n\tWe have learned much from/been inspired by/taken code where offered from:\n\n\tEric Meyer\t\t\t\t\t:: http://meyerweb.com\n\tHTML5 Doctor\t\t\t\t:: http://html5doctor.com\n\tand the HTML5 Boilerplate\t:: http://html5boilerplate.com\n\n-------------------------------------------------------------------------------*/\n\n/* Let's default this puppy out\n-------------------------------------------------------------------------------*/\n\nhtml, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tfont-size: 100%;\n\tfont-weight: normal;\n\tvertical-align: baseline;\n\tbackground: transparent;\n}\n\nmain, article, aside, figure, footer, header, nav, section, details, summary {display: block;}\n\n/* Handle box-sizing while better addressing child elements:\n   http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */\nhtml {\n\tbox-sizing: border-box;\n}\n\n*,\n*:before,\n*:after {\n\tbox-sizing: inherit;\n}\n\n/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */\n\n/* Responsive images and other embedded objects */\n/* if you don't have full control over `img` tags (if you have to overcome attributes), consider adding height: auto */\nimg,\nobject,\nembed {max-width: 100%;}\n\n/*\n   Note: keeping IMG here will cause problems if you're using foreground images as sprites.\n\tIn fact, it *will* cause problems with Google Maps' controls at small size.\n\tIf this is the case for you, try uncommenting the following:\n\n#map img, img.is-32x32 {\n\t\tmax-width: none;\n}\n*/\n\n/* force a vertical scrollbar to prevent a jumpy page */\nhtml {overflow-y: scroll;}\n\n/* we use a lot of ULs that aren't bulleted.\n\tyou'll have to restore the bullets within content,\n\twhich is fine because they're probably customized anyway */\nul {list-style: none;}\n\nblockquote, q {quotes: none;}\n\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {content: ''; content: none;}\n\na {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}\n\ndel {text-decoration: line-through;}\n\nabbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}\n\n/* tables still need cellspacing=\"0\" in the markup */\ntable {border-collapse: separate; border-spacing: 0;}\nth {font-weight: bold; vertical-align: bottom;}\ntd {font-weight: normal; vertical-align: top;}\n\nhr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}\n\ninput, select {vertical-align: middle;}\n\npre {\n    white-space: pre; /* CSS2 */\n    white-space: pre-wrap; /* CSS 2.1 */\n    white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */\n    word-wrap: break-word; /* IE */\n}\n\ninput[type=\"radio\"] {vertical-align: text-bottom;}\ninput[type=\"checkbox\"] {vertical-align: bottom;}\n.ie7 input[type=\"checkbox\"] {vertical-align: baseline;}\n.ie6 input {vertical-align: text-bottom;}\n\nselect, input, textarea {font: 99% sans-serif;}\n\ntable {font-size: inherit; font: 100%;}\n\nsmall {font-size: 85%;}\n\nstrong {font-weight: bold;}\n\ntd, td img, img.is-32x32 {vertical-align: top;}\n\n/* Make sure sup and sub don't mess with your line-heights http://gist.github.com/413930 */\nsub, sup {font-size: 75%; line-height: 0; position: relative;}\nsup {top: -0.5em;}\nsub {bottom: -0.25em;}\n\n/* standardize any monospaced elements */\npre, code, kbd, samp {font-family: monospace, sans-serif;}\n\n/* hand cursor on clickable elements */\n.clickable,\nlabel,\ninput[type=button],\ninput[type=submit],\ninput[type=file],\nbutton {cursor: pointer;}\n\n/* Webkit browsers add a 2px margin outside the chrome of form elements */\nbutton, input, select, textarea {margin: 0;}\n\n/* make buttons play nice in IE */\nbutton,\ninput[type=button] {width: auto; overflow: visible;}\n\n/* scale images in IE7 more attractively */\n.ie7 img, img.is-32x32 {-ms-interpolation-mode: bicubic;}\n\n/* prevent BG image flicker upon hover\n   (commented out as usage is rare, and the filter syntax messes with some pre-processors)\n.ie6 html {filter: expression(document.execCommand(\"BackgroundImageCache\", false, true));}\n*/\n\n/* let's clear some floats */\n.clearfix:after { content: \" \"; display: block; clear: both; }\n\n\n/* Okay, now add some extra brutalism */\n\nbody {\n    font-family: Terminus, Inconsolata, Consolas, \"Droid Sans Mono\", \"DejaVu Sans Mono\", \"Monaco\",  monospace;\n    background-color: #CCC;\n    color: #000;\n    margin: 1em;\n}\n\n.container {\n    margin: 0 auto;\n    max-width: 80em;\n}\n\na {\n    color: blue;\n    text-decoration: underline;\n}\n\na:active {\n    color: red;\n    text-decoration: underline;\n}\n\na:visited {\n    color: purple;\n    text-decoration: underline;\n}\n\nimg.is-32x32 {\n    float: left;\n    max-width: 512px;\n    max-height: auto;\n    margin: 4px;\n}\n\n\n.level {\n    clear: both;\n}\n\n.title {\n    font-size: 3ex;\n    font-weight: bold;\n    margin-top: 1ex;\n    margin-bottom: 1ex;\n}\n.subtitle {\n    font-size: 1.5ex;\n    font-weight: bold;\n    margin-top: 0.25ex;\n    margin-bottom: 0.25ex;\n}\n.toot {\n    clear: both;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 img, .is-max-256 img\n{\n    display: block;\n    clear: both;\n}\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.media {\n    padding: 1em;\n    margin: 4px;\n    border: 8px ridge #CCC;\n    overflow: auto;\n}\n\n.media.active-context {\n    background-color: #DDD;\n}\n\nsummary::before {\n    content: \" 🠞  \";\n}\n\ndetails[open] summary::before {\n    content: \" 🠟  \";\n}\n\n.field\n{\n    margin-top: 1em;\n}\n\nlabel\n{\n    font-weight: bold;\n}\n\n.control, .select\n{\n    margin-top: 0.5ex;\n    margin-bottom: 0.5ex;\n}\n\n.account-avatar\n{\n    display: inline-block;\n}\n.reblog-icon\n{\n    margin-top: 32px;\n    display: inline-block;\n}\n\n.media-content\n{\n    margin-top: 1ex;\n}\n\n.media-content > div > p\n{\n    margin-bottom: 1ex;\n}\n\n.textarea\n{\n    max-width: 100%;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n    vertical-align: text-bottom;\n}\n\n.modal {\n\t  -webkit-box-align: center;\n\t  -ms-flex-align: center;\n\t  align-items: center;\n\t  display: none;\n\t  -webkit-box-pack: center;\n\t  -ms-flex-pack: center;\n\t  justify-content: center;\n\t  overflow: hidden;\n\t  position: fixed;\n    z-index: 40;\n}\n.modal-background {\n\t  position: absolute;\n\t  background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n\t  bottom: 0;\n\t  left: 0;\n\t  right: 0;\n\t  top: 0;\n}\n\n.modal-content\n{\n    z-index: 60;\n    background-color: #CCC;\n    color: #000;\n    padding: 1ex;\n    border: 8px ridge #CCC;\n    max-height: 90vh;\n    overflow: auto;\n}\n\n.modal.is-active {\n\t  display: flex;\n}\n\n.card\n{\n    padding: 1em;\n    margin-top: 1em;\n    border: 1px solid black;\n}\n\n.card-header\n{\n    padding-bottom: 1em;\n    border-bottom: 1px solid black;\n}\n\n.card-image\n{\n    padding: 1em;\n    margin 0, auto;\n}\n"
  },
  {
    "path": "brutaldon/static/css/magnific-popup.css",
    "content": "/* Magnific Popup CSS */\n.mfp-bg {\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 1042;\n  overflow: hidden;\n  position: fixed;\n  background: #0b0b0b;\n  opacity: 0.8; }\n\n.mfp-wrap {\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 1043;\n  position: fixed;\n  outline: none !important;\n  -webkit-backface-visibility: hidden; }\n\n.mfp-container {\n  text-align: center;\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  left: 0;\n  top: 0;\n  padding: 0 8px;\n  box-sizing: border-box; }\n\n.mfp-container:before {\n  content: '';\n  display: inline-block;\n  height: 100%;\n  vertical-align: middle; }\n\n.mfp-align-top .mfp-container:before {\n  display: none; }\n\n.mfp-content {\n  position: relative;\n  display: inline-block;\n  vertical-align: middle;\n  margin: 0 auto;\n  text-align: left;\n  z-index: 1045; }\n\n.mfp-inline-holder .mfp-content,\n.mfp-ajax-holder .mfp-content {\n  width: 100%;\n  cursor: auto; }\n\n.mfp-ajax-cur {\n  cursor: progress; }\n\n.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {\n  cursor: -moz-zoom-out;\n  cursor: -webkit-zoom-out;\n  cursor: zoom-out; }\n\n.mfp-zoom {\n  cursor: pointer;\n  cursor: -webkit-zoom-in;\n  cursor: -moz-zoom-in;\n  cursor: zoom-in; }\n\n.mfp-auto-cursor .mfp-content {\n  cursor: auto; }\n\n.mfp-close,\n.mfp-arrow,\n.mfp-preloader,\n.mfp-counter {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  user-select: none; }\n\n.mfp-loading.mfp-figure {\n  display: none; }\n\n.mfp-hide {\n  display: none !important; }\n\n.mfp-preloader {\n  color: #CCC;\n  position: absolute;\n  top: 50%;\n  width: auto;\n  text-align: center;\n  margin-top: -0.8em;\n  left: 8px;\n  right: 8px;\n  z-index: 1044; }\n  .mfp-preloader a {\n    color: #CCC; }\n    .mfp-preloader a:hover {\n      color: #FFF; }\n\n.mfp-s-ready .mfp-preloader {\n  display: none; }\n\n.mfp-s-error .mfp-content {\n  display: none; }\n\nbutton.mfp-close,\nbutton.mfp-arrow {\n  overflow: visible;\n  cursor: pointer;\n  background: transparent;\n  border: 0;\n  -webkit-appearance: none;\n  display: block;\n  outline: none;\n  padding: 0;\n  z-index: 1046;\n  box-shadow: none;\n  touch-action: manipulation; }\n\nbutton::-moz-focus-inner {\n  padding: 0;\n  border: 0; }\n\n.mfp-close {\n  width: 44px;\n  height: 44px;\n  line-height: 44px;\n  position: absolute;\n  right: 0;\n  top: 0;\n  text-decoration: none;\n  text-align: center;\n  opacity: 0.65;\n  padding: 0 0 18px 10px;\n  color: #FFF;\n  font-style: normal;\n  font-size: 28px;\n  font-family: Arial, Baskerville, monospace; }\n  .mfp-close:hover,\n  .mfp-close:focus {\n    opacity: 1; }\n  .mfp-close:active {\n    top: 1px; }\n\n.mfp-close-btn-in .mfp-close {\n  color: #333; }\n\n.mfp-image-holder .mfp-close,\n.mfp-iframe-holder .mfp-close {\n  color: #FFF;\n  right: -6px;\n  text-align: right;\n  padding-right: 6px;\n  width: 100%; }\n\n.mfp-counter {\n  position: absolute;\n  top: 0;\n  right: 0;\n  color: #CCC;\n  font-size: 12px;\n  line-height: 18px;\n  white-space: nowrap; }\n\n.mfp-arrow {\n  position: absolute;\n  opacity: 0.65;\n  margin: 0;\n  top: 50%;\n  margin-top: -55px;\n  padding: 0;\n  width: 90px;\n  height: 110px;\n  -webkit-tap-highlight-color: transparent; }\n  .mfp-arrow:active {\n    margin-top: -54px; }\n  .mfp-arrow:hover,\n  .mfp-arrow:focus {\n    opacity: 1; }\n  .mfp-arrow:before,\n  .mfp-arrow:after {\n    content: '';\n    display: block;\n    width: 0;\n    height: 0;\n    position: absolute;\n    left: 0;\n    top: 0;\n    margin-top: 35px;\n    margin-left: 35px;\n    border: medium inset transparent; }\n  .mfp-arrow:after {\n    border-top-width: 13px;\n    border-bottom-width: 13px;\n    top: 8px; }\n  .mfp-arrow:before {\n    border-top-width: 21px;\n    border-bottom-width: 21px;\n    opacity: 0.7; }\n\n.mfp-arrow-left {\n  left: 0; }\n  .mfp-arrow-left:after {\n    border-right: 17px solid #FFF;\n    margin-left: 31px; }\n  .mfp-arrow-left:before {\n    margin-left: 25px;\n    border-right: 27px solid #3F3F3F; }\n\n.mfp-arrow-right {\n  right: 0; }\n  .mfp-arrow-right:after {\n    border-left: 17px solid #FFF;\n    margin-left: 39px; }\n  .mfp-arrow-right:before {\n    border-left: 27px solid #3F3F3F; }\n\n.mfp-iframe-holder {\n  padding-top: 40px;\n  padding-bottom: 40px; }\n  .mfp-iframe-holder .mfp-content {\n    line-height: 0;\n    width: 100%;\n    max-width: 900px; }\n  .mfp-iframe-holder .mfp-close {\n    top: -40px; }\n\n.mfp-iframe-scaler {\n  width: 100%;\n  height: 0;\n  overflow: hidden;\n  padding-top: 56.25%; }\n  .mfp-iframe-scaler iframe {\n    position: absolute;\n    display: block;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);\n    background: #000; }\n\n/* Main image in popup */\nimg.mfp-img {\n  width: auto;\n  max-width: 100%;\n  height: auto;\n  display: block;\n  line-height: 0;\n  box-sizing: border-box;\n  padding: 40px 0 40px;\n  margin: 0 auto; }\n\n/* The shadow behind the image */\n.mfp-figure {\n  line-height: 0; }\n  .mfp-figure:after {\n    content: '';\n    position: absolute;\n    left: 0;\n    top: 40px;\n    bottom: 40px;\n    display: block;\n    right: 0;\n    width: auto;\n    height: auto;\n    z-index: -1;\n    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);\n    background: #444; }\n  .mfp-figure small {\n    color: #BDBDBD;\n    display: block;\n    font-size: 12px;\n    line-height: 14px; }\n  .mfp-figure figure {\n    margin: 0; }\n\n.mfp-bottom-bar {\n  margin-top: -36px;\n  position: absolute;\n  top: 100%;\n  left: 0;\n  width: 100%;\n  cursor: auto; }\n\n.mfp-title {\n  text-align: left;\n  line-height: 18px;\n  color: #F3F3F3;\n  word-wrap: break-word;\n  padding-right: 36px; }\n\n.mfp-image-holder .mfp-content {\n  max-width: 100%; }\n\n.mfp-gallery .mfp-image-holder .mfp-figure {\n  cursor: pointer; }\n\n@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {\n  /**\n       * Remove all paddings around the image on small screen\n       */\n  .mfp-img-mobile .mfp-image-holder {\n    padding-left: 0;\n    padding-right: 0; }\n  .mfp-img-mobile img.mfp-img {\n    padding: 0; }\n  .mfp-img-mobile .mfp-figure:after {\n    top: 0;\n    bottom: 0; }\n  .mfp-img-mobile .mfp-figure small {\n    display: inline;\n    margin-left: 5px; }\n  .mfp-img-mobile .mfp-bottom-bar {\n    background: rgba(0, 0, 0, 0.6);\n    bottom: 0;\n    margin: 0;\n    top: auto;\n    padding: 3px 5px;\n    position: fixed;\n    box-sizing: border-box; }\n    .mfp-img-mobile .mfp-bottom-bar:empty {\n      padding: 0; }\n  .mfp-img-mobile .mfp-counter {\n    right: 5px;\n    top: 3px; }\n  .mfp-img-mobile .mfp-close {\n    top: 0;\n    right: 0;\n    width: 35px;\n    height: 35px;\n    line-height: 35px;\n    background: rgba(0, 0, 0, 0.6);\n    position: fixed;\n    text-align: center;\n    padding: 0; } }\n\n@media all and (max-width: 900px) {\n  .mfp-arrow {\n    -webkit-transform: scale(0.75);\n    transform: scale(0.75); }\n  .mfp-arrow-left {\n    -webkit-transform-origin: 0;\n    transform-origin: 0; }\n  .mfp-arrow-right {\n    -webkit-transform-origin: 100%;\n    transform-origin: 100%; }\n  .mfp-container {\n    padding-left: 6px;\n    padding-right: 6px; } }\n"
  },
  {
    "path": "brutaldon/static/css/minimal-dark.css",
    "content": "body, input, textarea, select {\n    font-family: sans-serif;\n    background-color: #111111;\n    color: #CCCCCC;\n    margin: 1ex;\n    font-size: 11pt;\n}\n\ninput[text], textarea\n{\n    margin: 0 auto;\n    position: relative;\n    width: 100%;\n    max-width: 100em;\n}\n\na {\n    color: cornflowerblue;\n    text-decoration: underline;\n}\n\na:active {\n    color: lightcoral;\n    text-decoration: underline;\n}\n\na:visited {\n    color: orchid;\n    text-decoration: underline;\n}\n\nimg.is-32x32 {\n    float: left;\n    max-width: 32px;\n    max-height: auto;\n    margin: 4px;\n}\n\n.container {\n    margin: 0 auto;\n    position: relative;\n}\n\n@media screen and (min-width: 1024px) {\n    .container {\n        max-width: 960px;\n        width: 960px;\n    }\n    .container.is-fluid {\n        margin-left: 64px;\n        margin-right: 64px;\n        max-width: none;\n        width: auto;\n    }\n    .navbar,\n    .navbar-menu,\n    .navbar-start,\n    .navbar-end {\n        align-items: stretch;\n        display: flex;\n    }\n    .navbar-start {\n        justify-content: flex-start;\n        margin-right: auto;\n    }\n    .navbar-end {\n        justify-content: flex-end;\n        margin-left: auto;\n    }\n}\n\n@media screen and (max-width: 1279px) {\n    .container.is-widescreen {\n        max-width: 1152px;\n        width: auto;\n    }\n}\n\n@media screen and (max-width: 1471px) {\n    .container.is-fullhd {\n        max-width: 1344px;\n        width: auto;\n    }\n}\n\n@media screen and (min-width: 1280px) {\n    .container {\n        max-width: 1152px;\n        width: 1152px;\n    }\n}\n\n@media screen and (min-width: 1472px) {\n    .container {\n        max-width: 1344px;\n        width: 1344px;\n    }\n}\n\nmain > div.container {\n    max-width: 100ex;\n}\n\n.level {\n    clear: both;\n}\n\n.title {\n    font-size: 3ex;\n    font-weight: bold;\n    margin-top: 1ex;\n    margin-bottom: 1ex;\n}\n.subtitle {\n    font-size: 1.5ex;\n    font-weight: bold;\n    margin-top: 0.25ex;\n    margin-bottom: 0.25ex;\n}\n.toot {\n    clear: both;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.media {\n    padding: 1ex;\n    margin: 4px;\n    overflow: auto;\n}\n\n.media.active-context {\n    background-color: #2C2C2C;\n}\n\n\n.field\n{\n    margin-top: 1em;\n}\n\nlabel\n{\n    font-weight: bold;\n}\n\n.control, .select\n{\n    margin-top: 0.5ex;\n    margin-bottom: 0.5ex;\n}\n\n.account-avatar\n{\n    display: inline-block;\n}\n.reblog-icon\n{\n    margin-top: 32px;\n    display: inline-block;\n}\n\n.media-content\n{\n    margin-top: 1ex;\n}\n\n.media-content > div > p\n{\n    margin-bottom: 1ex;\n}\n\n.textarea\n{\n    max-width: 100%;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n    vertical-align: text-bottom;\n}\n\nhr.is-hidden\n{\n    display: none;\n}\n\n.box\n{\n    border-radius: 3px;\n    border: 1px solid #000;\n    padding: 1em;\n    margin-bottom: 1em;\n    background-color: #1C1C1C;\n    color: #CCCCCC;\n}\n\n.modal {\n\t  -webkit-box-align: center;\n\t  -ms-flex-align: center;\n\t  align-items: center;\n\t  display: none;\n\t  -webkit-box-pack: center;\n\t  -ms-flex-pack: center;\n\t  justify-content: center;\n\t  overflow: hidden;\n\t  position: fixed;\n    z-index: 40;\n}\n.modal-background {\n\t  position: absolute;\n\t  background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n\t  bottom: 0;\n\t  left: 0;\n\t  right: 0;\n\t  top: 0;\n}\n\n.modal-content\n{\n    height: 90vh;\n    overflow: auto;\n    z-index: 60;\n}\n\n.modal.is-active {\n\t  display: flex;\n}\n\n.navbar-item span {\n    padding-right: 1ex;\n}\n\n.card\n{\n    padding: 1em;\n    margin-top: 1em;\n    border: 0.2em solid white;\n}\n\n.card-header\n{\n    padding-bottom: 1em;\n    border-bottom: 0.2em solid white;\n}\n\n.card-image\n{\n    padding: 1em;\n    margin 0, auto;\n}\n\n.button\n{\n    border: 0.2em solid #CCC;\n    display: inline;\n    padding: 0.4em;\n}\n"
  },
  {
    "path": "brutaldon/static/css/minimal-large.css",
    "content": "body, input, textarea, select {\n    font-family: sans-serif;\n    background-color: #FAFAFA;\n    color: #000;\n    margin: 1em;\n    font-size: larger;\n}\n\ninput[text], textarea\n{\n    margin: 0 auto;\n    position: relative;\n    width: 100%;\n    max-width: 120em;\n}\n\na {\n    color: blue;\n    text-decoration: underline;\n}\n\na:active {\n    color: red;\n    text-decoration: underline;\n}\n\na:visited {\n    color: purple;\n    text-decoration: underline;\n}\n\nimg.is-32x32 {\n    float: left;\n    max-width: 512px;\n    max-height: auto;\n    margin: 4px;\n}\n\n.container {\n    margin: 0 auto;\n    position: relative;\n}\n\n@media screen and (min-width: 1024px) {\n    .container {\n        max-width: 960px;\n        width: 960px;\n    }\n    .container.is-fluid {\n        margin-left: 64px;\n        margin-right: 64px;\n        max-width: none;\n        width: auto;\n    }\n    .navbar,\n    .navbar-menu,\n    .navbar-start,\n    .navbar-end {\n        align-items: stretch;\n        display: flex;\n    }\n    .navbar-start {\n        justify-content: flex-start;\n        margin-right: auto;\n    }\n    .navbar-end {\n        justify-content: flex-end;\n        margin-left: auto;\n    }\n}\n\n@media screen and (max-width: 1279px) {\n    .container.is-widescreen {\n        max-width: 1152px;\n        width: auto;\n    }\n}\n\n@media screen and (max-width: 1471px) {\n    .container.is-fullhd {\n        max-width: 1344px;\n        width: auto;\n    }\n}\n\n@media screen and (min-width: 1280px) {\n    .container {\n        max-width: 1152px;\n        width: 1152px;\n    }\n}\n\n@media screen and (min-width: 1472px) {\n    .container {\n        max-width: 1344px;\n        width: 1344px;\n    }\n}\n\nbody > section > div.container {\n    max-width: 100ex;\n}\n\n.level {\n    clear: both;\n}\n\n.title {\n    font-size: 3ex;\n    font-weight: bold;\n    margin-top: 1ex;\n    margin-bottom: 1ex;\n}\n.subtitle {\n    font-size: 1.5ex;\n    font-weight: bold;\n    margin-top: 0.25ex;\n    margin-bottom: 0.25ex;\n}\n.toot {\n    clear: both;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.media {\n    padding: 1ex;\n    margin: 4px;\n    overflow: auto;\n}\n\n.media.active-context {\n    background-color: #DDD;\n}\n\n\n.field\n{\n    margin-top: 1em;\n}\n\nlabel\n{\n    font-weight: bold;\n}\n\n.control, .select\n{\n    margin-top: 0.5ex;\n    margin-bottom: 0.5ex;\n}\n\n.account-avatar\n{\n    display: inline-block;\n}\n.reblog-icon\n{\n    margin-top: 32px;\n    display: inline-block;\n}\n\n.media-content\n{\n    margin-top: 1ex;\n}\n\n.media-content > div > p\n{\n    margin-bottom: 1ex;\n}\n\n.textarea\n{\n    max-width: 100%;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n    vertical-align: text-bottom;\n}\n\nhr.is-hidden\n{\n    display: none;\n}\n\n.box\n{\n    border-radius: 5px;\n    border: 1px solid #000;\n    padding: 1.5em;\n    margin-bottom: 1.5em;\n    background-color: white;\n    color: black;\n}\n\n.modal {\n\t  -webkit-box-align: center;\n\t  -ms-flex-align: center;\n\t  align-items: center;\n\t  display: none;\n\t  -webkit-box-pack: center;\n\t  -ms-flex-pack: center;\n\t  justify-content: center;\n\t  overflow: hidden;\n\t  position: fixed;\n    z-index: 40;\n}\n.modal-background {\n\t  position: absolute;\n\t  background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n\t  bottom: 0;\n\t  left: 0;\n\t  right: 0;\n\t  top: 0;\n}\n\n.modal-content\n{\n    height: 90vh;\n    overflow: auto;\n    z-index: 60;\n}\n\n.modal.is-active {\n\t  display: flex;\n}\n\n"
  },
  {
    "path": "brutaldon/static/css/minimal-small.css",
    "content": "body, input, textarea, select {\n    font-family: sans-serif;\n    background-color: #FAFAFA;\n    color: #000;\n    margin: 1ex;\n    font-size: 11pt;\n}\n\ninput[text], textarea\n{\n    margin: 0 auto;\n    position: relative;\n    width: 100%;\n    max-width: 100em;\n}\n\na {\n    color: blue;\n    text-decoration: underline;\n}\n\na:active {\n    color: red;\n    text-decoration: underline;\n}\n\na:visited {\n    color: purple;\n    text-decoration: underline;\n}\n\nimg.is-32x32 {\n    float: left;\n    max-width: 32px;\n    max-height: auto;\n    margin: 4px;\n}\n\n.container {\n    margin: 0 auto;\n    position: relative;\n}\n\n@media screen and (min-width: 1024px) {\n    .container {\n        max-width: 960px;\n        width: 960px;\n    }\n    .container.is-fluid {\n        margin-left: 64px;\n        margin-right: 64px;\n        max-width: none;\n        width: auto;\n    }\n    .navbar,\n    .navbar-menu,\n    .navbar-start,\n    .navbar-end {\n        align-items: stretch;\n        display: flex;\n    }\n    .navbar-start {\n        justify-content: flex-start;\n        margin-right: auto;\n    }\n    .navbar-end {\n        justify-content: flex-end;\n        margin-left: auto;\n    }\n}\n\n@media screen and (max-width: 1279px) {\n    .container.is-widescreen {\n        max-width: 1152px;\n        width: auto;\n    }\n}\n\n@media screen and (max-width: 1471px) {\n    .container.is-fullhd {\n        max-width: 1344px;\n        width: auto;\n    }\n}\n\n@media screen and (min-width: 1280px) {\n    .container {\n        max-width: 1152px;\n        width: 1152px;\n    }\n}\n\n@media screen and (min-width: 1472px) {\n    .container {\n        max-width: 1344px;\n        width: 1344px;\n    }\n}\n\nmain > div.container {\n    max-width: 100ex;\n}\n\n.level {\n    clear: both;\n}\n\n.title {\n    font-size: 3ex;\n    font-weight: bold;\n    margin-top: 1ex;\n    margin-bottom: 1ex;\n}\n.subtitle {\n    font-size: 1.5ex;\n    font-weight: bold;\n    margin-top: 0.25ex;\n    margin-bottom: 0.25ex;\n}\n.toot {\n    clear: both;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n.media {\n    padding: 1ex;\n    margin: 4px;\n    overflow: auto;\n}\n\n.media.active-context {\n    background-color: #DDD;\n}\n\n\n.field\n{\n    margin-top: 1em;\n}\n\nlabel\n{\n    font-weight: bold;\n}\n\n.control, .select\n{\n    margin-top: 0.5ex;\n    margin-bottom: 0.5ex;\n}\n\n.account-avatar\n{\n    display: inline-block;\n}\n.reblog-icon\n{\n    margin-top: 32px;\n    display: inline-block;\n}\n\n.media-content\n{\n    margin-top: 1ex;\n}\n\n.media-content > div > p\n{\n    margin-bottom: 1ex;\n}\n\n.textarea\n{\n    max-width: 100%;\n}\n\n.errorlist\n{\n    color: #FF0000;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5rem;\n    max-width: 1.5rem;\n    vertical-align: text-bottom;\n}\n\nhr.is-hidden\n{\n    display: none;\n}\n\n.box\n{\n    border-radius: 3px;\n    border: 1px solid #000;\n    padding: 1em;\n    margin-bottom: 1em;\n    background-color: white;\n    color: black;\n}\n\n.modal {\n\t  -webkit-box-align: center;\n\t  -ms-flex-align: center;\n\t  align-items: center;\n\t  display: none;\n\t  -webkit-box-pack: center;\n\t  -ms-flex-pack: center;\n\t  justify-content: center;\n\t  overflow: hidden;\n\t  position: fixed;\n    z-index: 40;\n}\n.modal-background {\n\t  position: absolute;\n\t  background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n\t  bottom: 0;\n\t  left: 0;\n\t  right: 0;\n\t  top: 0;\n}\n\n.modal-content\n{\n    height: 90vh;\n    overflow: auto;\n    z-index: 60;\n}\n\n.modal.is-active {\n\t  display: flex;\n}\n\n.navbar-item span {\n    padding-right: 1ex;\n}\n\n.card\n{\n    padding: 1em;\n    margin-top: 1em;\n    border: 0.2em solid black;\n}\n\n.card-header\n{\n    padding-bottom: 1em;\n    border-bottom: 0.2em solid black;\n}\n\n.card-image\n{\n    padding: 1em;\n    margin 0, auto;\n}\n\n.button\n{\n    border: 0.2em solid #444;\n    display: inline;\n    padding: 0.4em;\n}\n"
  },
  {
    "path": "brutaldon/static/css/vt240don-amber.css",
    "content": "html, a, div, div.notification, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary, h1.title, h2.subtitle {\n  font-family: \"DEC Terminal Modern\", Terminus, Inconsolata, Consolas, \"Droid Sans Mono\", \"DejaVu Sans Mono\", \"Monaco\",  monospace;\n  color: #ff7700;\n  background-color: #000000;\n  font-size: 1.2rem;\n}\n\n\ntr, td, ul, ol {\n  border-color: #ff7700;\n  outline: 1px solid #ff7700;\n  padding-top: 5px;\n  padding-bottom: 5px;\n  margin-top: 5px;\n  margin-bottom: 10px;\n}\n\na, a.button, a.button.is-primary, input.button.is-primary, input, .input, .textarea, .footer, .label, select, textarea {\n  color: #ff8800;\n  border-color: #ff8800;\n  background-color: #000000;\n  font-weight: bolder;\n  text-decoration-line: none;\n}\n\na:hover, a.button:hover, a.button.is-primary:hover, input.button.is-primary:hover {\n  color: #000000;\n  background-color: #ff8800;\n}\n\n.media-content a:not(.mention):not(.tag)\n{\n    text-decoration-line: underline;\n    text-decoration-style: solid;\n    text-decoration:color: #ff7700;\n}\n\n.control input[type=text], .control textarea\n{\n    width: 100%;\n    max-width: 80em;\n    border: 1px solid #ff7700;\n    margin-bottom: 1ex;\n}\n\n.control input, .control select\n{\n    border: 1px solid #ff7700;\n    background-color: #000000;\n    margin-bottom: 1ex;\n}\n\nimg {\n  filter: grayscale(100%);\n  -webkit-filter: grayscale(100%);\n}\n\n\ndiv.card-header-title, div.card-header-icon {\n    color: #ff7700;\n}\n\n.container {\n    margin: 0 auto;\n    max-width: 80ex;\n}\n\n.box {\n    padding: 1em;\n    border-color: #ff7700;\n    outline: 1px solid #ff7700;\n    background-color: #000;\n    margin-bottom: 1em;\n}\n\nhr.is-hidden {\n    display: none;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n\n.media {\n    background-color: black;\n    border-radius: 5px;\n    /*-webkit-box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);\n  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);*/\n    color: #4a4a00;\n    padding: 1.25rem;\n    margin-bottom: 0.75rem;\n    margin-top: 0.75rem;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\nfigure.media-left p.image a img\n{\n    border-radius: 5px;\n}\n\n.active-context {\n    background-color: #000000;\n    border-color: #ffcc00;\n    outline: 1px solid #ffcc00;\n}\n\n.account-avatar\n{\n    display: inline-block;\n}\n.reblog-icon\n{\n    margin-top: 32px;\n    display: inline-block;\n}\n\nimg.fav-avatar {\n    display: inline;\n\n}\n\n.level {\n    display: block;\n    margin-bottom: 1ex;\n    margin-top: 1ex;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5em;\n    max-width: 1.5em;\n    vertical-align: text-bottom;\n}\n\n.modal {\n\t  -webkit-box-align: center;\n\t  -ms-flex-align: center;\n\t  align-items: center;\n\t  display: none;\n\t  -webkit-box-pack: center;\n\t  -ms-flex-pack: center;\n\t  justify-content: center;\n\t  overflow: hidden;\n\t  position: fixed;\n    z-index: 40;\n}\n.modal-background {\n\t  position: absolute;\n\t  background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n\t  bottom: 0;\n\t  left: 0;\n\t  right: 0;\n\t  top: 0;\n}\n\n.modal-content\n{\n    z-index: 60;\n    max-height: 90vh;\n    overflow: auto;\n}\n\n.modal.is-active {\n\t  display: flex;\n}\n\n.navbar-item {\n    margin-right: 2em;\n}\n\n@media screen and (max-width: 768px) {\n    .media {\n        display: block;\n    }\n}\n\n@media screen and (min-width: 1024px) {\n    .navbar,\n    .navbar-menu,\n    .navbar-start,\n    .navbar-end {\n        align-items: stretch;\n        display: flex;\n    }\n    .navbar-start {\n        justify-content: flex-start;\n        margin-right: auto;\n    }\n    .navbar-end {\n        justify-content: flex-end;\n        margin-left: auto;\n    }\n}\n"
  },
  {
    "path": "brutaldon/static/css/vt240don-green.css",
    "content": "html, body, a, div, div.notification, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary, h1.title, h2.subtitle {\n    font-family: \"DEC Terminal Modern\", Terminus, Inconsolata, Consolas, \"Droid Sans Mono\", \"DejaVu Sans Mono\", \"Monaco\",  monospace;\n  color: #00ff77;\n  background-color: #000;\n  font-size: 1.2rem;\n}\n\ntr, td, ul, ol {\n  border-color: #00ff77;\n  outline: 1px solid #00ff77;\n  padding-top: 5px;\n  padding-bottom: 5px;\n  margin-top: 5px;\n  margin-bottom: 10px;\n  background-color: #000000;\n}\n\na, a.button, a.button.is-primary, input.button.is-primary, input, .input, .textarea, .footer, .label, select, textarea {\n  color: #00ff88;\n  border-color: #00ff88;\n  background-color: #000000;\n  font-weight: bolder;\n  text-decoration-line: none;\n  font-size: 1.2rem;\n}\n\n\na:hover, a.button:hover, a.button.is-primary:hover, input.button.is-primary:hover {\n  color: #000000;\n  background-color: #00ff88;\n}\n\n.media-content a:not(.mention):not(.tag)\n{\n    text-decoration-line: underline;\n    text-decoration-style: solid;\n    text-decoration:color: #00ff77;\n}\n\n.control input[type=text], .control textarea\n{\n    width: 100%;\n    max-width: 80ex;\n    border: 1px solid #00ff77;\n    background-color: #000000;\n    margin-bottom: 1ex;\n}\n\n.control input, .control select\n{\n    border: 1px solid #00ff77;\n    background-color: #000000;\n    margin-bottom: 1ex;\n}\n\nimg {\n  filter: grayscale(100%);\n  -webkit-filter: grayscale(100%);\n}\n\n\ndiv.card-header-title, div.card-header-icon {\n    color: #00ff77;\n}\n\n.container {\n    margin: 0 auto;\n    max-width: 80ex;\n    color: #00ff88;\n    background-color: #000000;\n}\n\n.box {\n    padding: 1em;\n    border-color: #00ff77;\n    outline: 1px solid #00ff77;\n    background-color: #000;\n    margin-bottom: 1em;\n}\n\nhr.is-hidden {\n    display: none;\n}\n\n.image.is-32x32, .is-32x32 img, img.is-32x32 {\n    width: 32px;\n    height: 32px;\n}\n\n.image.is-48x48, .is-48x48 img, img.is-48x48 {\n    width: 48px;\n    height: 48px;\n}\n\n.image.is-64x64, .is-64x64 img, img.is-64x64 {\n    width: 64px;\n    height: 64px;\n}\n\n.image.is-96x96, .is-96x96 img, img.is-96x96 {\n    width: 96px;\n    height: 96px;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\n\n.media {\n    background-color: black;\n    border-radius: 5px;\n    /*-webkit-box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);\n  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);*/\n    color: #4a4a00;\n    padding: 1.25rem;\n    margin-bottom: 0.75rem;\n    margin-top: 0.75rem;\n}\n\n.is-max-128 {\n    max-height: 128px;\n    max-width: 128px;\n}\n\n.is-max-256 {\n    max-height: 256px;\n    max-width: 256px;\n}\n\nfigure.media-left p.image a img\n{\n    border-radius: 5px;\n}\n\n.active-context {\n    background-color: #000000;\n    border-color: #00ff88;\n    outline: 1px solid #00ff88;\n}\n\n.account-avatar\n{\n    display: inline-block;\n}\n.reblog-icon\n{\n    margin-top: 32px;\n    display: inline-block;\n}\n\nimg.fav-avatar {\n    display: inline;\n\n}\n\n.level {\n    display: block;\n    margin-bottom: 1ex;\n    margin-top: 1ex;\n}\n\nimg.emoji\n{\n    display: inline;\n    max-height: 1.5em;\n    max-width: 1.5em;\n    vertical-align: text-bottom;\n}\n\n.modal {\n\t  -webkit-box-align: center;\n\t  -ms-flex-align: center;\n\t  align-items: center;\n\t  display: none;\n\t  -webkit-box-pack: center;\n\t  -ms-flex-pack: center;\n\t  justify-content: center;\n\t  overflow: hidden;\n\t  position: fixed;\n    z-index: 40;\n}\n.modal-background {\n\t  position: absolute;\n\t  background-color: rgba(10,10,10,.86);\n}\n.modal, .modal-background {\n\t  bottom: 0;\n\t  left: 0;\n\t  right: 0;\n\t  top: 0;\n}\n\n.modal-content\n{\n    z-index: 60;\n    max-height: 90vh;\n    overflow: auto;\n}\n\n.modal.is-active {\n\t  display: flex;\n}\n\n.navbar-item {\n    margin-right: 2em;\n}\n\n@media screen and (max-width: 768px) {\n    .media {\n        display: block;\n    }\n}\n\n@media screen and (min-width: 1024px) {\n    .navbar,\n    .navbar-menu,\n    .navbar-start,\n    .navbar-end {\n        align-items: stretch;\n        display: flex;\n    }\n    .navbar-start {\n        justify-content: flex-start;\n        margin-right: auto;\n    }\n    .navbar-end {\n        justify-content: flex-end;\n        margin-left: auto;\n    }\n}\n"
  },
  {
    "path": "brutaldon/static/js/brutaldon-enhancements.js",
    "content": "String.prototype.trunc = \n    function(n){\n        return this.substr(0,n-1)+(this.length>n?'&hellip;':'');\n    };\n\nfunction setTitle(user, page)\n{\n    document.title = `Brutaldon (${user}) – ${page}`;\n}\n\nfunction afterPage(user, page)\n{\n    setTitle(user,page);\n    var menu = document.querySelector('#navMenu');\n    menu.classList.remove('is-active');\n    var burger = document.querySelector('.navbar-burger');\n    burger.classList.remove('is-active');\n    $('#page-load-indicator').hide();\n}\n\nfunction menuPrepare() {\n    // Remove is-active from navbar menu\n    var menu = document.querySelector('#navMenu');\n    menu.classList.remove('is-active');\n\n    // Pin the navbar to the top\n    document.querySelector('body').classList.toggle(\"has-navbar-fixed-top\");\n    document.querySelector('nav.navbar').classList.toggle(\"is-fixed-top\");\n\n    // Add the burger\n    var brand = document.querySelector('.navbar-brand');\n    var burger = document.createElement('a');\n    burger.classList.toggle('navbar-burger');\n    burger.setAttribute(\"aria-label\", \"menu\");\n    burger.setAttribute(\"aria-expanded\", \"false\");\n    burger.setAttribute(\"data-target\", \"navMenu\");\n    for (var index = 0; index < 3; index++)\n    {\n        var span = document.createElement('span');\n        span.setAttribute('aria-hidden', \"true\");\n        burger.appendChild(span);\n    }\n    brand.appendChild(burger);\n\n\n\n    // Get all \"navbar-burger\" elements\n    var $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);\n\n    // Check if there are any navbar burgers\n    if ($navbarBurgers.length > 0) {\n\n        // Add a click event on each of them\n        $navbarBurgers.forEach(function ($el) {\n            $el.addEventListener('click', function () {\n\n                // Get the target from the \"data-target\" attribute\n                var target = $el.dataset.target;\n                var $target = document.getElementById(target);\n\n                // Toggle the class on both the \"navbar-burger\" and the \"navbar-menu\"\n                $el.classList.toggle('is-active');\n                $target.classList.toggle('is-active');\n\n            });\n        });\n    }\n\n}\n\nfunction expandCWButtonPrepare()\n{\n    var theButton = document.querySelector('#expandCWs');\n    if (!theButton) {\n        theButton = document.createElement('button');\n        theButton.id = \"expandCWs\";\n        theButton.textContent = \"Expand CWs\";\n        theButton.classList.toggle('button');\n        var title = document.querySelector('#title');\n        if (title)\n        {\n            title.insertAdjacentElement('afterend', theButton);\n            var details = document.querySelectorAll('details');\n            var openState = false;\n\n            if (details != null) {\n                theButton.addEventListener('click', function() {\n                    openState = details.item(0).hasAttribute('open');\n                    details.forEach(function ($el) {\n                        if (openState)\n                        {\n                            $el.removeAttribute('open');\n                        } else\n                        {\n                            $el.setAttribute('open', '');\n                        }\n                    });\n                    openState = !openState;\n                    if (openState) { theButton.textContent = 'Collapse CWs'; }\n                    else { theButton.textContent = \"Expand CWs\"; };\n                    theButton.classList.toggle('is-active');\n                });\n            }\n        }\n    }\n}\n\nfunction fileButtonUpdaters()\n{\n    var file1 = document.getElementById(\"id_media_file_1\");\n    file1.onchange = function(){\n        if (file1.files.length > 0)\n        {\n            document.getElementById('media_filename_1').innerHTML =  file1.files[0].name.trunc(5);\n        }\n    };\n    var file2 = document.getElementById(\"id_media_file_2\");\n    file2.onchange = function(){\n        if (file2.files.length > 0)\n        {\n            document.getElementById('media_filename_2').innerHTML =  file2.files[0].name.trunc(5);\n        }\n    };\n    var file3 = document.getElementById(\"id_media_file_3\");\n    file3.onchange = function(){\n        if (file3.files.length > 0)\n        {\n            document.getElementById('media_filename_3').innerHTML =  file3.files[0].name.trunc(5);\n        }\n    };\n    var file4 = document.getElementById(\"id_media_file_4\");\n    file4.onchange = function(){\n        if (file4.files.length > 0)\n        {\n            document.getElementById('media_filename_4').innerHTML =  file4.files[0].name.trunc(5);\n        }\n    };\n\n}\n\nfunction characterCountSetup()\n{\n    if ($(\"#id_status\").length) {\n        $(\"#status_count\").text(characterCount());\n        $(\"#id_status\").keyup(function(){\n            $(\"#status_count\").text(characterCount());\n        });\n        $(\"#id_spoiler_text\").keyup(function(){\n            $(\"#status_count\").text(characterCount());\n        });\n    }\n}\n\nfunction characterCount()\n{\n    return $(\"#id_status\").val().length + $(\"#id_spoiler_text\").val().length;\n}\n\n"
  },
  {
    "path": "brutaldon/static/js/intercooler.js",
    "content": "(function (root, factory) {\n  if (typeof define === 'function' && define.amd) {\n    // AMD. Register as an anonymous module unless amdModuleId is set\n    define([\"jquery\"], function (a0) {\n      return (root['Intercooler'] = factory(a0));\n    });\n  } else if (typeof module === 'object' && module.exports) {\n    // Node. Does not work with strict CommonJS, but\n    // only CommonJS-like environments that support module.exports,\n    // like Node.\n    module.exports = factory(require(\"jquery\"));\n  } else {\n    root['Intercooler'] = factory(root[\"jQuery\"]);\n  }\n}(this, function ($) {\n\n////////////////////////////////////\n\n/**\n * Intercooler.js - there is no need to be upset.\n */\nvar Intercooler = Intercooler || (function() {\n  'use strict'; // inside function for better merging\n\n  // work around zepto build issue TODO - fix me\n  if((typeof Zepto !== \"undefined\") && ($ == null)) {\n    window[\"$\"] = Zepto\n  }\n\n  //--------------------------------------------------\n  // Vars\n  //--------------------------------------------------\n  var USE_DATA = $('meta[name=\"intercoolerjs:use-data-prefix\"]').attr(\"content\") == \"true\";\n  var USE_ACTUAL_HTTP_METHOD = $('meta[name=\"intercoolerjs:use-actual-http-method\"]').attr(\"content\") == \"true\";\n\n  var _MACROS = $.map(['ic-get-from', 'ic-post-to', 'ic-put-to', 'ic-patch-to', 'ic-delete-from',\n                       'ic-style-src', 'ic-attr-src', 'ic-prepend-from', 'ic-append-from', 'ic-action'],\n                      function(elt){ return fixICAttributeName(elt) });\n\n  var _scrollHandler = null;\n  var _UUID = 1;\n  var _readyHandlers = [];\n\n  var _isDependentFunction = function(src, dest) {\n    if (!src || !dest) {\n      return false;\n    }\n\n    // For two urls to be considered dependant, either one must contain all\n    // of the path arguments the other has, like so:\n    //  - chomp off everything after ? or #. This is a design decision, so this\n    //    function will fail to determine dependencies for sites that store\n    //    their model IDs in query/hash params. If your usecase is not covered\n    //    by this you need to implement this function yourself by overriding\n    //    Intercooler.setIsDependentFunction(function(src, dest) { return bool; });\n    //  - split by / to get the individual path elements, clear out empty values,\n    //    then simply compare them\n    var asrc = src.split(/[\\?#]/, 1)[0].split(\"/\").filter(function(e) {\n      return e != \"\";\n    });\n\n    var adest = dest.split(/[\\?#]/, 1)[0].split(\"/\").filter(function(e) {\n      return e != \"\";\n    });\n\n    // ignore purely local tags (local transport)\n    if (asrc == \"\" || adest == \"\") {\n      return false;\n    }\n    return adest.slice(0, asrc.length).join(\"/\") == asrc.join(\"/\") ||\n      asrc.slice(0, adest.length).join(\"/\") == adest.join(\"/\");\n  };\n\n  //============================================================\n  // Base Swap Definitions\n  //============================================================\n  function remove(elt) {\n    elt.remove();\n  }\n\n  function showIndicator(elt) {\n    if (elt.closest('.ic-use-transition').length > 0) {\n      elt.data('ic-use-transition', true);\n      elt.removeClass('ic-use-transition');\n    } else {\n      elt.show();\n    }\n  }\n\n  function hideIndicator(elt) {\n    if (elt.data('ic-use-transition') || elt.data('ic-indicator-cleared')) {\n      elt.data('ic-use-transition', null);\n      elt.addClass('ic-use-transition');\n      elt.data('ic-indicator-cleared', true);\n    } else {\n      elt.hide();\n    }\n  }\n\n  function fixICAttributeName(s) {\n    if (USE_DATA) {\n      return 'data-' + s;\n    } else {\n      return s;\n    }\n  }\n\n  function getICAttribute(element, attributeName) {\n    return element.attr(fixICAttributeName(attributeName));\n  }\n\n  function setICAttribute(element, attributeName, attributeValue) {\n    element.attr(fixICAttributeName(attributeName), attributeValue);\n  }\n\n  function prepend(parent, responseContent) {\n    try {\n      parent.prepend(responseContent);\n    } catch (e) {\n      log(parent, formatError(e), \"ERROR\");\n    }\n    if (getICAttribute(parent, 'ic-limit-children')) {\n      var limit = parseInt(getICAttribute(parent, 'ic-limit-children'));\n      if (parent.children().length > limit) {\n        parent.children().slice(limit, parent.children().length).remove();\n      }\n    }\n  }\n\n  function append(parent, responseContent) {\n    try {\n      parent.append(responseContent);\n    } catch (e) {\n      log(parent, formatError(e), \"ERROR\");\n    }\n    if (getICAttribute(parent, 'ic-limit-children')) {\n      var limit = parseInt(getICAttribute(parent, 'ic-limit-children'));\n      if (parent.children().length > limit) {\n        parent.children().slice(0, parent.children().length - limit).remove();\n      }\n    }\n  }\n\n  //============================================================\n  // Utility Methods\n  //============================================================\n  function triggerEvent(elt, event, args){\n    if($.zepto) {\n      event = event.split(\".\").reverse().join(\":\");\n    }\n    elt.trigger(event, args);\n  }\n\n  function log(elt, msg, level) {\n    if (elt == null) {\n      elt = $('body');\n    }\n    triggerEvent(elt, \"log.ic\", [msg, level, elt]);\n    if (level == \"ERROR\") {\n      if (window.console) {\n        window.console.log(\"Intercooler Error : \" + msg);\n      }\n      var errorUrl = closestAttrValue($('body'), 'ic-post-errors-to');\n      if (errorUrl) {\n        $.post(errorUrl, {'error': msg});\n      }\n    }\n  }\n\n  function uuid() {\n    return _UUID++;\n  }\n\n  function icSelectorFor(elt) {\n    return getICAttributeSelector(\"ic-id='\" + getIntercoolerId(elt) + \"'\");\n  }\n\n  function parseInterval(str) {\n    log(null, \"POLL: Parsing interval string \" + str, 'DEBUG');\n    if (str == \"null\" || str == \"false\" || str == \"\") {\n      return null;\n    } else if (str.lastIndexOf(\"ms\") == str.length - 2) {\n      return parseFloat(str.substr(0, str.length - 2));\n    } else if (str.lastIndexOf(\"s\") == str.length - 1) {\n      return parseFloat(str.substr(0, str.length - 1)) * 1000;\n    } else {\n      return 1000;\n    }\n  }\n\n  function getICAttributeSelector(attribute) {\n    return \"[\" + fixICAttributeName(attribute) + \"]\";\n  }\n\n  function initScrollHandler() {\n    if (_scrollHandler == null) {\n      _scrollHandler = function() {\n        $(getICAttributeSelector(\"ic-trigger-on='scrolled-into-view'\")).each(function() {\n          var _this = $(this);\n          if (isScrolledIntoView(getTriggeredElement(_this)) && _this.data('ic-scrolled-into-view-loaded') != true) {\n            _this.data('ic-scrolled-into-view-loaded', true);\n            fireICRequest(_this);\n          }\n        });\n      };\n      $(window).scroll(_scrollHandler);\n    }\n  }\n\n  function currentUrl() {\n    return window.location.pathname + window.location.search + window.location.hash;\n  }\n\n  // taken from turbolinks.js\n  function createDocument(html) {\n    var doc = null;\n    if (/<(html|body)/i.test(html)) {\n      doc = document.documentElement.cloneNode();\n      doc.innerHTML = html;\n    } else {\n      doc = document.documentElement.cloneNode(true);\n      doc.querySelector('body').innerHTML = html;\n    }\n    return $(doc);\n  }\n\n  //============================================================\n  // Request/Parameter/Include Processing\n  //============================================================\n  function getTarget(elt) {\n    return getTargetImpl(elt, 'ic-target')\n  }\n\n  function getTargetImpl(elt, attibuteName) {\n    var closest = $(elt).closest(getICAttributeSelector(attibuteName));\n    var targetValue = getICAttribute(closest, attibuteName);\n    if (targetValue == 'this') {\n      return closest;\n    } else if (targetValue && targetValue.indexOf('this.') != 0) {\n      if (targetValue.indexOf('closest ') == 0) {\n        return elt.closest(targetValue.substr(8));\n      } else if (targetValue.indexOf('find ') == 0) {\n        return elt.find(targetValue.substr(5));\n      } else {\n        return $(targetValue);\n      }\n    } else {\n      return elt;\n    }\n  }\n\n  function processHeaders(elt, xhr) {\n    elt = $(elt);\n    triggerEvent(elt, \"beforeHeaders.ic\", [elt, xhr]);\n    log(elt, \"response headers: \" + xhr.getAllResponseHeaders(), \"DEBUG\");\n    var target = null;\n\n    // set page title by header\n    if (xhr.getResponseHeader(\"X-IC-Title\")) {\n      document.title = xhr.getResponseHeader(\"X-IC-Title\");\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-Title-Encoded\")) {\n      var decodedTitle = decodeURIComponent((xhr.getResponseHeader(\"X-IC-Title-Encoded\")).replace(/\\+/g, '%20'));\n      document.title = decodedTitle;\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-Refresh\")) {\n      var pathsToRefresh = xhr.getResponseHeader(\"X-IC-Refresh\").split(\",\");\n      log(elt, \"X-IC-Refresh: refreshing \" + pathsToRefresh, \"DEBUG\");\n      $.each(pathsToRefresh, function(i, str) {\n        refreshDependencies(str.replace(/ /g, \"\"), elt);\n      });\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-Script\")) {\n      log(elt, \"X-IC-Script: evaling \" + xhr.getResponseHeader(\"X-IC-Script\"), \"DEBUG\");\n      globalEval(xhr.getResponseHeader(\"X-IC-Script\"), [[\"elt\", elt]]);\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-Redirect\")) {\n      log(elt, \"X-IC-Redirect: redirecting to \" + xhr.getResponseHeader(\"X-IC-Redirect\"), \"DEBUG\");\n      window.location = xhr.getResponseHeader(\"X-IC-Redirect\");\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-CancelPolling\") == \"true\") {\n      cancelPolling(elt.closest(getICAttributeSelector('ic-poll')));\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-ResumePolling\") == \"true\") {\n      var pollingElt = elt.closest(getICAttributeSelector('ic-poll'));\n      setICAttribute(pollingElt, 'ic-pause-polling', null);\n      startPolling(pollingElt);\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-SetPollInterval\")) {\n      var pollingElt = elt.closest(getICAttributeSelector('ic-poll'));\n      cancelPolling(pollingElt);\n      setICAttribute(pollingElt, 'ic-poll', xhr.getResponseHeader(\"X-IC-SetPollInterval\"));\n      startPolling(pollingElt);\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-Open\")) {\n      log(elt, \"X-IC-Open: opening \" + xhr.getResponseHeader(\"X-IC-Open\"), \"DEBUG\");\n      window.open(xhr.getResponseHeader(\"X-IC-Open\"));\n    }\n\n    var triggerValue = xhr.getResponseHeader(\"X-IC-Trigger\");\n    if (triggerValue) {\n      log(elt, \"X-IC-Trigger: found trigger \" + triggerValue, \"DEBUG\");\n      target = getTarget(elt);\n      // Deprecated API\n      if (xhr.getResponseHeader(\"X-IC-Trigger-Data\")) {\n        var triggerArgs = $.parseJSON(xhr.getResponseHeader(\"X-IC-Trigger-Data\"));\n        triggerEvent(target, triggerValue, triggerArgs);\n      } else {\n        if (triggerValue.indexOf(\"{\") >= 0) {\n          $.each($.parseJSON(triggerValue), function(event, args) {\n            triggerEvent(target, event, args);\n          });\n        } else {\n          triggerEvent(target, triggerValue, []);\n        }\n      }\n    }\n\n    var localVars = xhr.getResponseHeader(\"X-IC-Set-Local-Vars\");\n    if (localVars) {\n      $.each($.parseJSON(localVars), function(key, val) {\n        localStorage.setItem(key, val);\n      });\n    }\n\n    if (xhr.getResponseHeader(\"X-IC-Remove\")) {\n      if (elt) {\n        var removeVal = xhr.getResponseHeader(\"X-IC-Remove\");\n        removeVal += ''; // normalize as string for zapto\n        var removeValAsInterval = parseInterval(removeVal);\n        log(elt, \"X-IC-Remove header found.\", \"DEBUG\");\n        target = getTarget(elt);\n        if(removeVal == \"true\" || removeValAsInterval == null) {\n          remove(target);\n        } else {\n          target.addClass('ic-removing');\n          setTimeout(function () {\n            remove(target);\n          }, removeValAsInterval);\n        }\n      }\n    }\n\n    triggerEvent(elt, \"afterHeaders.ic\", [elt, xhr]);\n\n    return true;\n  }\n\n\n  function beforeRequest(elt) {\n    elt.addClass('disabled');\n    elt.addClass('ic-request-in-flight');\n    elt.data('ic-request-in-flight', true);\n  }\n\n  function requestCleanup(indicator, globalIndicator, elt) {\n    if (indicator.length > 0) {\n      hideIndicator(indicator);\n    }\n    if (globalIndicator.length > 0) {\n      hideIndicator(globalIndicator);\n    }\n    elt.removeClass('disabled');\n    elt.removeClass('ic-request-in-flight');\n    elt.data('ic-request-in-flight', false);\n    if (elt.data('ic-next-request')) {\n      elt.data('ic-next-request')[\"req\"]();\n      elt.data('ic-next-request', null);\n    }\n  }\n\n  function replaceOrAddMethod(data, actualMethod) {\n    if ($.type(data) === \"string\") {\n      var regex = /(&|^)_method=[^&]*/;\n      var content = \"&_method=\" + actualMethod;\n      if (regex.test(data)) {\n        return data.replace(regex, content)\n      } else {\n        return data + content;\n      }\n    } else {\n      data.append(\"_method\", actualMethod);\n      return data;\n    }\n  }\n\n  /*\n    Is the provided text a valid JavaScript identifier path?\n\n    We should also probably check if an identifier is a JavaScript keyword here.\n  */\n  function isIdentifier(txt) {\n    return /^[$A-Z_][0-9A-Z_$]*$/i.test(txt);\n  }\n\n  /*\n    Evaluate a script snippet provided by the user.\n\n    script: A string. If this is an identifier, it is assumed to be a callable, retrieved from the\n    global namespace, and called. If it is a compound statement, it is evaluated using eval.\n    args: A list of [name, value] tuples. These will be injected into the namespace of evaluated\n    scripts, and be passed as arguments to safe evaluations.\n  */\n  // It would be nice to use the spread operator here globalEval(script, ...args) - but it breaks\n  // uglify and isn't supported in some older browsers.\n  function globalEval(script, args) {\n    var names = [];\n    var values = [];\n    if (args) {\n      for (var i = 0; i < args.length; i++) {\n        names.push(args[i][0]);\n        values.push(args[i][1]);\n      }\n    }\n    if (isIdentifier(script)) {\n      return window[script].apply(this, values);\n    } else {\n      var outerfunc  = window[\"eval\"].call(\n        window,\n        '(function (' + names.join(\", \") + ') {' + script + '})'\n      );\n      return outerfunc.apply(this, values);\n    }\n  }\n\n  function closestAttrValue(elt, attr) {\n    var closestElt = $(elt).closest(getICAttributeSelector(attr));\n    if (closestElt.length > 0) {\n      return getICAttribute(closestElt, attr);\n    } else {\n      return null;\n    }\n  }\n\n  function formatError(e) {\n    var msg = e.toString() + \"\\n\";\n    try {\n      msg += e.stack;\n    } catch (e) {\n      // ignore\n    }\n    return msg;\n  }\n\n  function getLocalURL(baseURL, paramsToPush, data) {\n    if (paramsToPush) {\n      baseURL = baseURL + \"?\";\n      var vars = {};\n      data.replace(/([^=&]+)=([^&]*)/gi, function(m,key,value) {\n        vars[key] = value;\n      });\n      $(paramsToPush.split(\",\")).each(function(index) {\n        var param = $.trim(this);\n        var value = vars[param] || \"\";\n        baseURL += (index == 0) ? \"\" : \"&\";\n        baseURL += param + \"=\" + value;\n      });\n    }\n    return baseURL;\n  }\n\n  function handleRemoteRequest(elt, type, url, data, success) {\n\n    beforeRequest(elt);\n\n    data = replaceOrAddMethod(data, type);\n\n    // Global spinner support\n    var globalIndicator = findGlobalIndicator(elt);\n    if (globalIndicator && globalIndicator.length > 0) {\n      showIndicator(globalIndicator);\n    }\n\n    // Spinner support\n    var indicator = findIndicator(elt);\n    if (indicator.length > 0) {\n      showIndicator(indicator);\n    }\n\n    var requestId = uuid();\n    var requestStart = new Date();\n    var actualRequestType;\n    if(USE_ACTUAL_HTTP_METHOD) {\n      actualRequestType = type;\n    } else {\n      actualRequestType = type == 'GET' ? 'GET' : 'POST';\n    }\n\n    var ajaxSetup = {\n      type: actualRequestType,\n      url: url,\n      data: data,\n      dataType: 'text',\n      headers: {\n        \"Accept\": \"text/html-partial, */*; q=0.9\",\n        \"X-IC-Request\": true,\n        \"X-HTTP-Method-Override\": type\n      },\n      beforeSend: function(xhr, settings) {\n        triggerEvent(elt, \"beforeSend.ic\", [elt, data, settings, xhr, requestId]);\n        log(elt, \"before AJAX request \" + requestId + \": \" + type + \" to \" + url, \"DEBUG\");\n        var onBeforeSend = closestAttrValue(elt, 'ic-on-beforeSend');\n        if (onBeforeSend) {\n          globalEval(onBeforeSend, [[\"elt\", elt], [\"data\", data], [\"settings\", settings], [\"xhr\", xhr]]);\n        }\n        maybeInvokeLocalAction(elt, \"-beforeSend\");\n      },\n      success: function(responseData, textStatus, xhr) {\n        triggerEvent(elt, \"success.ic\", [elt, responseData, textStatus, xhr, requestId]);\n        log(elt, \"AJAX request \" + requestId + \" was successful.\", \"DEBUG\");\n        var onSuccess = closestAttrValue(elt, 'ic-on-success');\n        if (onSuccess) {\n          if (globalEval(onSuccess, [[\"elt\", elt], [\"data\", responseData], [\"textStatus\", textStatus], [\"xhr\", xhr]]) == false) {\n            return;\n          }\n        }\n\n        var beforeHeaders = new Date();\n        var oldTitle = document.title;\n        try {\n          if (processHeaders(elt, xhr)) {\n            log(elt, \"Processed headers for request \" + requestId + \" in \" + (new Date() - beforeHeaders) + \"ms\", \"DEBUG\");\n            var beforeSuccess = new Date();\n\n            if (xhr.getResponseHeader(\"X-IC-PushURL\") || closestAttrValue(elt, 'ic-push-url') == \"true\") {\n              try {\n                requestCleanup(indicator, globalIndicator, elt); // clean up before snap-shotting HTML\n                var baseURL = closestAttrValue(elt, 'ic-src');\n                var paramsToPush = closestAttrValue(elt, 'ic-push-params');\n                var newUrl = xhr.getResponseHeader(\"X-IC-PushURL\") || getLocalURL(baseURL, paramsToPush, data);\n                if(_history) {\n                  _history.snapshotForHistory(newUrl, oldTitle);\n                } else {\n                  throw \"History support not enabled\";\n                }\n              } catch (e) {\n                log(elt, \"Error during history snapshot for \" + requestId + \": \" + formatError(e), \"ERROR\");\n              }\n            }\n\n            success(responseData, textStatus, elt, xhr);\n\n            log(elt, \"Process content for request \" + requestId + \" in \" + (new Date() - beforeSuccess) + \"ms\", \"DEBUG\");\n          }\n          triggerEvent(elt, \"after.success.ic\", [elt, responseData, textStatus, xhr, requestId]);\n          maybeInvokeLocalAction(elt, \"-success\");\n        } catch (e) {\n          log(elt, \"Error processing successful request \" + requestId + \" : \" + formatError(e), \"ERROR\");\n        }\n      },\n      error: function(xhr, status, str) {\n        triggerEvent(elt, \"error.ic\", [elt, status, str, xhr]);\n        var onError = closestAttrValue(elt, 'ic-on-error');\n        if (onError) {\n          globalEval(onError, [[\"elt\", elt], [\"status\", status], [\"str\", str], [\"xhr\", xhr]]);\n        }\n        processHeaders(elt, xhr);\n        maybeInvokeLocalAction(elt, \"-error\");\n        log(elt, \"AJAX request \" + requestId + \" to \" + url + \" experienced an error: \" + str, \"ERROR\");\n      },\n      complete: function(xhr, status) {\n        log(elt, \"AJAX request \" + requestId + \" completed in \" + (new Date() - requestStart) + \"ms\", \"DEBUG\");\n        requestCleanup(indicator, globalIndicator, elt);\n        try {\n          if ($.contains(document, elt[0])) {\n            triggerEvent(elt, \"complete.ic\", [elt, data, status, xhr, requestId]);\n          } else {\n            triggerEvent($('body'), \"complete.ic\", [elt, data, status, xhr, requestId]);\n          }\n        } catch (e) {\n          log(elt, \"Error during complete.ic event for \" + requestId + \" : \" + formatError(e), \"ERROR\");\n        }\n        var onComplete = closestAttrValue(elt, 'ic-on-complete');\n        if (onComplete) {\n          globalEval(onComplete, [[\"elt\", elt], [\"xhr\", xhr], [\"status\", status]]);\n        }\n        maybeInvokeLocalAction(elt, \"-complete\");\n      }\n    };\n    if ($.type(data) != \"string\") {\n      ajaxSetup.dataType = null;\n      ajaxSetup.processData = false;\n      ajaxSetup.contentType = false;\n    }\n\n    triggerEvent($(document), \"beforeAjaxSend.ic\", [ajaxSetup, elt]);\n\n    if(ajaxSetup.cancel) {\n      requestCleanup(indicator, globalIndicator, elt);\n    } else {\n      $.ajax(ajaxSetup)\n    }\n  }\n\n  function findGlobalIndicator(elt) {\n    var indicator = $([]);\n    elt = $(elt);\n    var attr = closestAttrValue(elt, 'ic-global-indicator');\n    if (attr && attr !== \"false\") {\n      indicator = $(attr).first();\n    }\n    return indicator;\n  }\n\n  function findIndicator(elt) {\n    var indicator = $([]);\n    elt = $(elt);\n    if (getICAttribute(elt, 'ic-indicator')) {\n      indicator = $(getICAttribute(elt, 'ic-indicator')).first();\n    } else {\n      indicator = elt.find(\".ic-indicator\").first();\n      if (indicator.length == 0) {\n        var parent = closestAttrValue(elt, 'ic-indicator');\n        if (parent) {\n          indicator = $(parent).first();\n        } else {\n          if (elt.next().is('.ic-indicator')) {\n            indicator = elt.next();\n          }\n        }\n      }\n    }\n    return indicator;\n  }\n\n  function processIncludes(data, str) {\n    if ($.trim(str).indexOf(\"{\") == 0) {\n      var obj = $.parseJSON(str);\n      $.each(obj, function(name, value) {\n        data = appendData(data, name, value);\n      });\n    } else {\n      $(str).each(function() {\n        var obj = $(this).serializeArray();\n        $.each(obj, function(i, input) {\n          data = appendData(data, input.name, input.value);\n        });\n      });\n    }\n    return data;\n  }\n\n  function processLocalVars(data, str) {\n    $(str.split(\",\")).each(function() {\n      var key = $.trim(this);\n      var item = localStorage.getItem(key);\n      if(item) {\n        data = appendData(data, key, item);\n      }\n    });\n    return data;\n  }\n\n  function appendData(data, key, value) {\n    if ($.type(data) === \"string\") {\n      if($.type(value) !== \"string\") {\n        value = JSON.stringify(value);\n      }\n      return data + \"&\" + key + \"=\" + encodeURIComponent(value);\n    } else {\n      data.append(key, value);\n      return data;\n    }\n  }\n\n  function getParametersForElement(verb, elt, triggerOrigin) {\n    var target = getTarget(elt);\n    var data = null;\n\n    if (elt.is('form') && elt.attr('enctype') == 'multipart/form-data') {\n      data = new FormData(elt[0]);\n      data = appendData(data, 'ic-request', true);\n    } else {\n      data = \"ic-request=true\";\n      // if the element is in a form, include the entire form\n      var closestForm = elt.closest('form');\n      if (elt.is('form') || (verb != \"GET\" && closestForm.length > 0)) {\n        data += \"&\" + closestForm.serialize();\n        // include data from a focused button (to capture clicked button value)\n        var buttonData = elt.data('ic-last-clicked-button');\n        if(buttonData) {\n          data = appendData(data, buttonData.name, buttonData.value);\n        }\n      } else { // otherwise include the element\n        data += \"&\" + elt.serialize();\n      }\n    }\n\n    var promptText = closestAttrValue(elt, 'ic-prompt');\n    if (promptText) {\n      var promptVal = prompt(promptText);\n      if (promptVal) {\n        var promptParamName = closestAttrValue(elt, 'ic-prompt-name') || 'ic-prompt-value';\n        data = appendData(data, promptParamName, promptVal);\n      } else {\n        return null;\n      }\n    }\n\n    if (elt.attr('id')) {\n      data = appendData(data, 'ic-element-id', elt.attr('id'));\n    }\n    if (elt.attr('name')) {\n      data = appendData(data, 'ic-element-name', elt.attr('name'));\n    }\n    if (getICAttribute(target, 'ic-id')) {\n      data = appendData(data, 'ic-id', getICAttribute(target, 'ic-id'));\n    }\n    if (target.attr('id')) {\n      data = appendData(data, 'ic-target-id', target.attr('id'));\n    }\n    if (triggerOrigin && triggerOrigin.attr('id')) {\n      data = appendData(data, 'ic-trigger-id', triggerOrigin.attr('id'));\n    }\n    if (triggerOrigin && triggerOrigin.attr('name')) {\n      data = appendData(data, 'ic-trigger-name', triggerOrigin.attr('name'));\n    }\n    var includeAttr = closestAttrValue(elt, 'ic-include');\n    if (includeAttr) {\n      data = processIncludes(data, includeAttr);\n    }\n    var localVars = closestAttrValue(elt, 'ic-local-vars');\n    if (localVars) {\n      data = processLocalVars(data, localVars);\n    }\n    $(getICAttributeSelector('ic-global-include')).each(function() {\n      data = processIncludes(data, getICAttribute($(this), 'ic-global-include'));\n    });\n    data = appendData(data, 'ic-current-url', currentUrl());\n\n    var selectFromResp = closestAttrValue(elt, 'ic-select-from-response');\n    if(selectFromResp) {\n      data = appendData(data, 'ic-select-from-response', selectFromResp);\n    }\n\n    log(elt, \"request parameters \" + data, \"DEBUG\");\n\n    return data;\n  }\n\n  function maybeSetIntercoolerInfo(elt) {\n    var target = getTarget(elt);\n    getIntercoolerId(target);\n    if (elt.data('elementAdded.ic') != true) {\n      elt.data('elementAdded.ic', true);\n      triggerEvent(elt, \"elementAdded.ic\");\n    }\n  }\n\n  function getIntercoolerId(elt) {\n    if (!getICAttribute(elt, 'ic-id')) {\n      setICAttribute(elt, 'ic-id', uuid());\n    }\n    return getICAttribute(elt, 'ic-id');\n  }\n\n  //============================================================\n  // Tree Processing\n  //============================================================\n\n  function processNodes(elt) {\n    elt = $(elt);\n    if (elt.length > 1) {\n      elt.each(function() {\n        processNodes(this);\n      });\n    } else {\n      processMacros(elt);\n      processEnhancement(elt);\n      processSources(elt);\n      processPolling(elt);\n      processEventSources(elt);\n      processTriggerOn(elt);\n      processRemoveAfter(elt);\n      processAddClasses(elt);\n      processRemoveClasses(elt);\n    }\n  }\n\n  function fireReadyStuff(elt) {\n    triggerEvent(elt, 'nodesProcessed.ic');\n    $.each(_readyHandlers, function(i, handler) {\n      try {\n        handler(elt);\n      } catch (e) {\n        log(elt, formatError(e), \"ERROR\");\n      }\n    });\n  }\n\n  function autoFocus(elt) {\n    elt.find('[autofocus]').last().focus();\n  }\n\n  function processMacros(elt) {\n    $.each(_MACROS, function(i, macro) {\n      if (elt.closest('.ic-ignore').length == 0) {\n        if (elt.is('[' + macro + ']')) {\n          processMacro(macro, elt);\n        }\n        elt.find('[' + macro + ']').each(function() {\n          var _this = $(this);\n          if (_this.closest('.ic-ignore').length == 0) {\n            processMacro(macro, _this);\n          }\n        });\n      }\n    });\n  }\n\n  function processSources(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      if (elt.is(getICAttributeSelector(\"ic-src\"))) {\n        maybeSetIntercoolerInfo(elt);\n      }\n      elt.find(getICAttributeSelector(\"ic-src\")).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          maybeSetIntercoolerInfo(_this);\n        }\n      });\n    }\n  }\n\n  function processPolling(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      if (elt.is(getICAttributeSelector(\"ic-poll\"))) {\n        maybeSetIntercoolerInfo(elt);\n        startPolling(elt);\n      }\n      elt.find(getICAttributeSelector(\"ic-poll\")).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          maybeSetIntercoolerInfo(_this);\n          startPolling(_this);\n        }\n      });\n    }\n  }\n\n  function processTriggerOn(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      handleTriggerOn(elt);\n      elt.find(getICAttributeSelector('ic-trigger-on')).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          handleTriggerOn(_this);\n        }\n      });\n    }\n  }\n\n  function processRemoveAfter(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      handleRemoveAfter(elt);\n      elt.find(getICAttributeSelector('ic-remove-after')).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          handleRemoveAfter(_this);\n        }\n      });\n    }\n  }\n\n  function processAddClasses(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      handleAddClasses(elt);\n      elt.find(getICAttributeSelector('ic-add-class')).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          handleAddClasses(_this);\n        }\n      });\n    }\n  }\n\n  function processRemoveClasses(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      handleRemoveClasses(elt);\n      elt.find(getICAttributeSelector('ic-remove-class')).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          handleRemoveClasses(_this);\n        }\n      });\n    }\n  }\n\n  function processEnhancement(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      if(closestAttrValue(elt, 'ic-enhance') === 'true') {\n        enhanceDomTree(elt);\n      } else {\n        elt.find(getICAttributeSelector('ic-enhance')).each(function(){\n          enhanceDomTree($(this));\n        });\n      }\n    }\n  }\n\n  function processEventSources(elt) {\n    if (elt.closest('.ic-ignore').length == 0) {\n      handleEventSource(elt);\n      elt.find(getICAttributeSelector('ic-sse-src')).each(function() {\n        var _this = $(this);\n        if (_this.closest('.ic-ignore').length == 0) {\n          handleEventSource(_this);\n        }\n      });\n    }\n  }\n\n  //============================================================\n  // Polling support\n  //============================================================\n\n  function startPolling(elt) {\n    if (elt.data('ic-poll-interval-id') == null && getICAttribute(elt, 'ic-pause-polling') != 'true') {\n      var interval = parseInterval(getICAttribute(elt, 'ic-poll'));\n      if (interval != null) {\n        var selector = icSelectorFor(elt);\n        var repeats = parseInt(getICAttribute(elt, 'ic-poll-repeats')) || -1;\n        var currentIteration = 0;\n        log(elt, \"POLL: Starting poll for element \" + selector, \"DEBUG\");\n        var timerId = setInterval(function() {\n          var target = $(selector);\n          triggerEvent(elt, \"onPoll.ic\", target);\n          if ((target.length == 0) || (currentIteration == repeats) || elt.data('ic-poll-interval-id') != timerId) {\n            log(elt, \"POLL: Clearing poll for element \" + selector, \"DEBUG\");\n            clearTimeout(timerId);\n          } else {\n            fireICRequest(target);\n          }\n          currentIteration++;\n        }, interval);\n        elt.data('ic-poll-interval-id', timerId);\n      }\n    }\n  }\n\n  function cancelPolling(elt) {\n    if (elt.data('ic-poll-interval-id') != null) {\n      clearTimeout(elt.data('ic-poll-interval-id'));\n      elt.data('ic-poll-interval-id', null);\n    }\n  }\n\n  //============================================================----\n  // Dependency support\n  //============================================================----\n\n  function refreshDependencies(dest, src) {\n    log(src, \"refreshing dependencies for path \" + dest, \"DEBUG\");\n    $(getICAttributeSelector('ic-src')).each(function() {\n      var fired = false;\n      var _this = $(this);\n      if (verbFor(_this) == \"GET\" && getICAttribute(_this, 'ic-deps') != 'ignore' ) {\n        if (isDependent(dest, getICAttribute(_this, 'ic-src'))) {\n          if (src == null || $(src)[0] != _this[0]) {\n            fireICRequest(_this);\n            fired = true;\n          }\n        } else if (isICDepsDependent(dest, getICAttribute(_this, 'ic-deps')) || getICAttribute(_this, 'ic-deps') == \"*\") {\n          if (src == null || $(src)[0] != _this[0]) {\n            fireICRequest(_this);\n            fired = true;\n          }\n        }\n      }\n      if (fired) {\n        log(_this, \"depends on path \" + dest + \", refreshing...\", \"DEBUG\")\n      }\n    });\n  }\n\n  function isICDepsDependent(src, dest) {\n    if(dest) {\n      var paths = dest.split(\",\");\n      for (var i = 0; i < paths.length; i++) {\n        var str = paths[i].trim();\n        if(isDependent(src, str)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n\n  function isDependent(src, dest) {\n    return !!_isDependentFunction(src, dest);\n  }\n\n  //============================================================----\n  // Trigger-On support\n  //============================================================----\n\n  function verbFor(elt) {\n    elt = $(elt);\n    if (getICAttribute(elt, 'ic-verb')) {\n      return getICAttribute(elt, 'ic-verb').toUpperCase();\n    }\n    return \"GET\";\n  }\n\n  function eventFor(attr, elt) {\n    if (attr == \"default\") {\n      elt = $(elt);\n      if (elt.is('button')) {\n        return 'click';\n      } else if (elt.is('form')) {\n        return 'submit';\n      } else if (elt.is('input, textarea, select, button')) {\n        return 'change';\n      } else {\n        return 'click';\n      }\n    } else {\n      return attr;\n    }\n  }\n\n  function preventDefault(elt, evt) {\n    return elt.is('form') ||\n          (elt.is('input[type=\"submit\"], button') && elt.closest('form').length == 1) ||\n          (elt.is('a') && elt.is('[href]') && elt.attr('href').indexOf('#') != 0);\n  }\n\n  function handleRemoveAfter(elt) {\n    elt = $(elt);\n    if (getICAttribute(elt, 'ic-remove-after')) {\n      var interval = parseInterval(getICAttribute(elt, 'ic-remove-after'));\n      setTimeout(function() {\n        remove(elt);\n      }, interval);\n    }\n  }\n\n  function parseAndApplyClass(classInfo, elt, operation) {\n    var cssClass = \"\";\n    var delay = 50;\n    if (classInfo.indexOf(\":\") > 0) {\n      var split = classInfo.split(':');\n      cssClass = split[0];\n      delay = parseInterval(split[1]);\n    } else {\n      cssClass = classInfo;\n    }\n    setTimeout(function() {\n      elt[operation](cssClass)\n    }, delay);\n  }\n\n  function handleAddClasses(elt) {\n    elt = $(elt);\n    if (getICAttribute(elt, 'ic-add-class')) {\n      var values = getICAttribute(elt, 'ic-add-class').split(\",\");\n      var arrayLength = values.length;\n      for (var i = 0; i < arrayLength; i++) {\n        parseAndApplyClass($.trim(values[i]), elt, 'addClass');\n      }\n    }\n  }\n\n  function handleRemoveClasses(elt) {\n    elt = $(elt);\n    if (getICAttribute(elt, 'ic-remove-class')) {\n      var values = getICAttribute(elt, 'ic-remove-class').split(\",\");\n      var arrayLength = values.length;\n      for (var i = 0; i < arrayLength; i++) {\n        parseAndApplyClass($.trim(values[i]), elt, 'removeClass');\n      }\n    }\n  }\n\n  function handleEventSource(elt) {\n    elt = $(elt);\n    if (getICAttribute(elt, 'ic-sse-src')) {\n      var evtSrcUrl = getICAttribute(elt, 'ic-sse-src');\n      var evtSrcWithCredentials = getICAttribute(elt, 'ic-sse-with-credentials') === 'true';\n      var eventSource = initEventSource(elt, evtSrcUrl, evtSrcWithCredentials);\n      elt.data('ic-event-sse-source', eventSource);\n      elt.data('ic-event-sse-map', {});\n    }\n  }\n\n  function initEventSource(elt, evtSrcUrl, evtSrcWithCredentials) {\n    var eventSource = Intercooler._internal.initEventSource(evtSrcUrl, evtSrcWithCredentials);\n    eventSource.onmessage = function(e) {\n      processICResponse(e.data, elt, false);\n    };\n    return eventSource;\n  }\n\n  function registerSSE(sourceElement, event) {\n    var source = sourceElement.data('ic-event-sse-source');\n    var eventMap = sourceElement.data('ic-event-sse-map');\n    if(source.addEventListener && eventMap[event] != true) {\n      source.addEventListener(event, function(){\n        sourceElement.find(getICAttributeSelector('ic-trigger-on')).each(function(){\n          var _that = $(this);\n          if(_that.attr('ic-trigger-on') == \"sse:\" + event) {\n            fireICRequest(_that);\n          }\n        });\n      })\n    }\n  }\n\n  function getTriggeredElement(elt) {\n    var triggerFrom = getICAttribute(elt, 'ic-trigger-from');\n    if(triggerFrom) {\n      if (triggerFrom == \"document\") {\n        return $(document);\n      } else if (triggerFrom == \"window\") {\n        return $(window);\n      } else {\n        return $(triggerFrom);\n      }\n    } else {\n      return elt;\n    }\n  }\n\n  function handleTriggerOn(elt) {\n\n    var triggerOnValue = getICAttribute(elt, 'ic-trigger-on');\n    if (triggerOnValue) {\n      // record button or submit input click info\n      if(elt.is('form')) {\n        elt.on('click focus', 'input, button, select, textarea', function(e){\n          if($(this).is('input[type=\"submit\"], button') && $(this).is(\"[name]\")) {\n            elt.data('ic-last-clicked-button', {name:$(this).attr(\"name\"), value:$(this).val()})\n          } else {\n            elt.data('ic-last-clicked-button', null)\n          }\n        });\n      }\n      var triggerOnArray = triggerOnValue.split(\",\");\n      for (var i = 0; i < triggerOnArray.length; i++) {\n        var triggerOn = $.trim(triggerOnArray[i]);\n        var splitTriggerOn = triggerOn.split(\" \");\n        var eventString = eventFor(splitTriggerOn[0], $(elt));\n        var eventModifier = splitTriggerOn[1];\n\n        if (triggerOn == 'load') {\n          fireICRequest(elt);\n        } else if (triggerOn == 'scrolled-into-view') {\n          initScrollHandler();\n          setTimeout(function() {\n            triggerEvent($(window), 'scroll');\n          }, 100); // Trigger a scroll in case element is already viewable\n        } else {\n          if(eventString.indexOf(\"sse:\") == 0) {\n            //Server-sent event, find closest event source and register for it\n            var sourceElt = elt.closest(getICAttributeSelector('ic-sse-src'));\n            if(sourceElt.length > 0) {\n              registerSSE(sourceElt, splitTriggerOn[0].substr(4))\n            }\n          } else {\n            $(getTriggeredElement(elt)).on(eventString, function(e) {\n              var onBeforeTrigger = closestAttrValue(elt, 'ic-on-beforeTrigger');\n              if (onBeforeTrigger) {\n                if (globalEval(onBeforeTrigger, [[\"elt\", elt], [\"evt\", e], [\"elt\", elt]]) == false) {\n                  log(elt, \"ic-trigger cancelled by ic-on-beforeTrigger\", \"DEBUG\");\n                  return false;\n                }\n              }\n\n              if (eventModifier == 'changed') {\n                var currentVal = elt.val();\n                var previousVal = elt.data('ic-previous-val');\n                elt.data('ic-previous-val', currentVal);\n                if (currentVal != previousVal) {\n                  fireICRequest(elt);\n                }\n              } else if (eventModifier == 'once') {\n                var alreadyTriggered = elt.data('ic-already-triggered');\n                elt.data('ic-already-triggered', true);\n                if (alreadyTriggered !== true) {\n                  fireICRequest(elt);\n                }\n              } else {\n                fireICRequest(elt);\n              }\n              if (preventDefault(elt, e)) {\n                e.preventDefault();\n                return false;\n              }\n              return true;\n            });\n            if(eventString && (eventString.indexOf(\"timeout:\") == 0)) {\n              var timeout = parseInterval(eventString.split(\":\")[1]);\n              setTimeout(function () {\n                $(getTriggeredElement(elt)).trigger(eventString);\n              }, timeout);\n            }\n          }\n        }\n      }\n    }\n  }\n\n  //============================================================----\n  // Macro support\n  //============================================================----\n\n  function macroIs(macro, constant) {\n    return macro == fixICAttributeName(constant);\n  }\n\n  function processMacro(macro, elt) {\n    // action attributes\n    if (macroIs(macro, 'ic-post-to')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-post-to'));\n      setIfAbsent(elt, 'ic-verb', 'POST');\n      setIfAbsent(elt, 'ic-trigger-on', 'default');\n      setIfAbsent(elt, 'ic-deps', 'ignore');\n    }\n    if (macroIs(macro, 'ic-put-to')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-put-to'));\n      setIfAbsent(elt, 'ic-verb', 'PUT');\n      setIfAbsent(elt, 'ic-trigger-on', 'default');\n      setIfAbsent(elt, 'ic-deps', 'ignore');\n    }\n    if (macroIs(macro, 'ic-patch-to')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-patch-to'));\n      setIfAbsent(elt, 'ic-verb', 'PATCH');\n      setIfAbsent(elt, 'ic-trigger-on', 'default');\n      setIfAbsent(elt, 'ic-deps', 'ignore');\n    }\n    if (macroIs(macro, 'ic-get-from')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-get-from'));\n      setIfAbsent(elt, 'ic-trigger-on', 'default');\n      setIfAbsent(elt, 'ic-deps', 'ignore');\n    }\n    if (macroIs(macro, 'ic-delete-from')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-delete-from'));\n      setIfAbsent(elt, 'ic-verb', 'DELETE');\n      setIfAbsent(elt, 'ic-trigger-on', 'default');\n      setIfAbsent(elt, 'ic-deps', 'ignore');\n    }\n\n    if (macroIs(macro, 'ic-action')) {\n      setIfAbsent(elt, 'ic-trigger-on', 'default');\n    }\n\n    // non-action attributes\n    var value = null;\n    var url = null;\n    if (macroIs(macro, 'ic-style-src')) {\n      value = getICAttribute(elt, 'ic-style-src').split(\":\");\n      var styleAttribute = value[0];\n      url = value[1];\n      setIfAbsent(elt, 'ic-src', url);\n      setIfAbsent(elt, 'ic-target', 'this.style.' + styleAttribute);\n    }\n    if (macroIs(macro, 'ic-attr-src')) {\n      value = getICAttribute(elt, 'ic-attr-src').split(\":\");\n      var attribute = value[0];\n      url = value[1];\n      setIfAbsent(elt, 'ic-src', url);\n      setIfAbsent(elt, 'ic-target', 'this.' + attribute);\n    }\n    if (macroIs(macro, 'ic-prepend-from')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-prepend-from'));\n      setIfAbsent(elt, 'ic-swap-style', 'prepend');\n    }\n    if (macroIs(macro, 'ic-append-from')) {\n      setIfAbsent(elt, 'ic-src', getICAttribute(elt, 'ic-append-from'));\n      setIfAbsent(elt, 'ic-swap-style', 'append');\n    }\n  }\n\n  function isLocalLink(anchor) {\n    return location.hostname === anchor[0].hostname &&\n      anchor.attr('href') &&\n      !anchor.attr('href').startsWith(\"#\")\n  }\n\n  function enhanceAnchor(anchor) {\n    if (closestAttrValue(anchor, 'ic-enhance') === \"true\") {\n      if (isLocalLink(anchor)) {\n        setIfAbsent(anchor, 'ic-src', anchor.attr('href'));\n        setIfAbsent(anchor, 'ic-trigger-on', 'default');\n        setIfAbsent(anchor, 'ic-deps', 'ignore');\n        setIfAbsent(anchor, 'ic-push-url', 'true');\n      }\n    }\n  }\n\n  function determineFormVerb(form) {\n    return form.find('input[name=\"_method\"]').val() || form.attr('method') || form[0].method;\n  }\n\n  function enhanceForm(form) {\n    if (closestAttrValue(form, 'ic-enhance') === \"true\") {\n      setIfAbsent(form, 'ic-src', form.attr('action'));\n      setIfAbsent(form, 'ic-trigger-on', 'default');\n      setIfAbsent(form, 'ic-deps', 'ignore');\n      setIfAbsent(form, 'ic-verb', determineFormVerb(form));\n    }\n  }\n\n  function enhanceDomTree(elt) {\n    if(elt.is('a')) {\n      enhanceAnchor(elt);\n    }\n    elt.find('a').each(function(){\n      enhanceAnchor($(this));\n    });\n    if(elt.is('form')){\n      enhanceForm(elt);\n    }\n    elt.find('form').each(function(){\n      enhanceForm($(this));\n    });\n  }\n\n  function setIfAbsent(elt, attr, value) {\n    if (getICAttribute(elt, attr) == null) {\n      setICAttribute(elt, attr, value);\n    }\n  }\n\n  //============================================================----\n  // Utilities\n  //============================================================----\n\n  function isScrolledIntoView(elem) {\n    elem = $(elem);\n    if (elem.height() == 0 && elem.width() == 0) {\n      return false;\n    }\n    var docViewTop = $(window).scrollTop();\n    var docViewBottom = docViewTop + $(window).height();\n\n    var elemTop = elem.offset().top;\n    var elemBottom = elemTop + elem.height();\n\n    return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom)\n      && (elemBottom <= docViewBottom) && (elemTop >= docViewTop));\n  }\n\n  function maybeScrollToTarget(elt, target) {\n    if (closestAttrValue(elt, 'ic-scroll-to-target') != \"false\" &&\n      (closestAttrValue(elt, 'ic-scroll-to-target') == 'true' ||\n        closestAttrValue(target, 'ic-scroll-to-target') == 'true')) {\n      var offset = -50; // -50 px default offset padding\n      if (closestAttrValue(elt, 'ic-scroll-offset')) {\n        offset = parseInt(closestAttrValue(elt, 'ic-scroll-offset'));\n      } else if (closestAttrValue(target, 'ic-scroll-offset')) {\n        offset = parseInt(closestAttrValue(target, 'ic-scroll-offset'));\n      }\n      var currentPosition = target.offset().top;\n      var portalTop = $(window).scrollTop();\n      var portalEnd = portalTop + window.innerHeight;\n      //if the current top of this element is not visible, scroll it to the top position\n      if (currentPosition < portalTop || currentPosition > portalEnd) {\n        offset += currentPosition;\n        $('html,body').animate({scrollTop: offset}, 400);\n      }\n    }\n  }\n\n  function getTransitionDuration(elt, target) {\n    var transitionDuration = closestAttrValue(elt, 'ic-transition-duration');\n    if (transitionDuration) {\n      return parseInterval(transitionDuration);\n    }\n    transitionDuration = closestAttrValue(target, 'ic-transition-duration');\n    if (transitionDuration) {\n      return parseInterval(transitionDuration);\n    }\n    target = $(target);\n    var duration = 0;\n    var durationStr = target.css('transition-duration');\n    if (durationStr) {\n      duration += parseInterval(durationStr);\n    }\n    var delayStr = target.css('transition-delay');\n    if (delayStr) {\n      duration += parseInterval(delayStr);\n    }\n    return duration;\n  }\n\n  function closeSSESource(elt) {\n    var src = elt.data('ic-event-sse-source');\n    try {\n      if(src) {\n        src.close();\n      }\n    } catch (e) {\n      log(elt, \"Error closing ServerSentEvent source\" + e, \"ERROR\");\n    }\n  }\n\n  function beforeSwapCleanup(target) {\n    target.find(getICAttributeSelector('ic-sse-src')).each(function() {\n      closeSSESource($(this));\n    });\n    triggerEvent(target, 'beforeSwap.ic');\n  }\n\n  function processICResponse(responseContent, elt, forHistory, url) {\n    if (responseContent && responseContent != \"\" && responseContent != \" \") {\n\n      log(elt, \"response content: \\n\" + responseContent, \"DEBUG\");\n      var target = getTarget(elt);\n\n      var transformer = closestAttrValue(elt, 'ic-transform-response');\n      if(transformer) {\n        responseContent = globalEval(transformer, [[\"content\", responseContent], [\"url\", url], [\"elt\", elt]]);\n      }\n\n      var contentToSwap = maybeFilter(responseContent, closestAttrValue(elt, 'ic-select-from-response'));\n\n      if (closestAttrValue(elt, 'ic-fix-ids') == \"true\") {\n        fixIDs(contentToSwap);\n      }\n\n      var doSwap = function() {\n        if (closestAttrValue(elt, 'ic-replace-target') == \"true\") {\n          try {\n            beforeSwapCleanup(target);\n            closeSSESource(target);\n            target.replaceWith(contentToSwap);\n            target = contentToSwap;\n          } catch (e) {\n            log(elt, formatError(e), \"ERROR\");\n          }\n          processNodes(contentToSwap);\n          fireReadyStuff(target);\n          autoFocus(target);\n        } else {\n          if (getICAttribute(elt, 'ic-swap-style') == \"prepend\") {\n            prepend(target, contentToSwap);\n            processNodes(contentToSwap);\n            fireReadyStuff(target);\n            autoFocus(target);\n          } else if (getICAttribute(elt, 'ic-swap-style') == \"append\") {\n            append(target, contentToSwap);\n            processNodes(contentToSwap);\n            fireReadyStuff(target);\n            autoFocus(target);\n          } else {\n            try {\n              beforeSwapCleanup(target);\n              target.empty().append(contentToSwap);\n            } catch (e) {\n              log(elt, formatError(e), \"ERROR\");\n            }\n            target.children().each(function() {\n              processNodes(this);\n            });\n            fireReadyStuff(target);\n            autoFocus(target);\n          }\n          if (forHistory != true) {\n            maybeScrollToTarget(elt, target);\n          }\n\n          var switchClass = elt.closest(getICAttributeSelector('ic-switch-class'));\n          var classToSwitch = switchClass.attr(fixICAttributeName('ic-switch-class'));\n          if(classToSwitch) {\n            switchClass.children().removeClass(classToSwitch);\n            switchClass.children().each(function(){\n              if($.contains($(this)[0], $(elt)[0]) || $(this)[0] == $(elt)[0]) {\n                $(this).addClass(classToSwitch);\n                $(this).addClass(classToSwitch);\n              }\n            })\n          }\n\n        }\n      };\n\n      if (target.length == 0) {\n        //TODO cgross - refactor getTarget to return printable string here\n        log(elt, \"Invalid target for element: \" + getICAttribute(elt.closest(getICAttributeSelector('ic-target')), 'ic-target'), \"ERROR\");\n        return;\n      }\n\n      var delay = getTransitionDuration(elt, target);\n      target.addClass('ic-transitioning');\n      setTimeout(function() {\n        try {\n          doSwap();\n        } catch (e) {\n          log(elt, \"Error during content swap : \" + formatError(e), \"ERROR\");\n        }\n        setTimeout(function() {\n          try {\n            target.removeClass('ic-transitioning');\n            if(_history) {\n              _history.updateHistory();\n            }\n            triggerEvent(target, \"complete_transition.ic\", [target]);\n          } catch (e) {\n            log(elt, \"Error during transition complete : \" + formatError(e), \"ERROR\");\n          }\n        }, 20);\n      }, delay);\n    } else {\n      log(elt, \"Empty response, nothing to do here.\", \"DEBUG\");\n    }\n  }\n\n  function maybeFilter(newContent, filter) {\n    var asQuery;\n    if ($.zepto) {\n      var newDoc = createDocument(newContent);\n      asQuery = $(newDoc).find('body').contents();\n    } else {\n      asQuery = $($.parseHTML(newContent, null, true));\n    }\n    if (filter) {\n      return walkTree(asQuery, filter).contents();\n    } else {\n      return asQuery;\n    }\n  }\n\n  function walkTree(elt, filter) {\n    return elt.filter(filter).add(elt.find(filter));\n  }\n\n  function fixIDs(contentToSwap) {\n    var fixedIDs = {};\n    walkTree(contentToSwap, \"[id]\").each(function() {\n      var originalID = $(this).attr(\"id\");\n      var fixedID;\n      do {\n        fixedID = \"ic-fixed-id-\" + uuid();\n      } while ($(\"#\" + fixedID).length > 0);\n      fixedIDs[originalID] = fixedID;\n      $(this).attr(\"id\", fixedID);\n    });\n    walkTree(contentToSwap, \"label[for]\").each(function () {\n      var originalID = $(this).attr(\"for\");\n      $(this).attr(\"for\", fixedIDs[originalID] || originalID);\n    });\n    walkTree(contentToSwap, \"*\").each(function () {\n      $.each(this.attributes, function () {\n        if (this.value.indexOf(\"#\") !== -1) {\n          this.value = this.value.replace(/#([-_A-Za-z0-9]+)/g, function(match, originalID) {\n            return \"#\" + (fixedIDs[originalID] || originalID);\n          });\n        }\n      })\n    });\n  }\n\n  function getStyleTarget(elt) {\n    var val = closestAttrValue(elt, 'ic-target');\n    if (val && val.indexOf(\"this.style.\") == 0) {\n      return val.substr(11)\n    } else {\n      return null;\n    }\n  }\n\n  function getAttrTarget(elt) {\n    var val = closestAttrValue(elt, 'ic-target');\n    if (val && val.indexOf(\"this.\") == 0) {\n      return val.substr(5)\n    } else {\n      return null;\n    }\n  }\n\n  function fireICRequest(elt, alternateHandler) {\n    elt = $(elt);\n\n    var triggerOrigin = elt;\n    if (!elt.is(getICAttributeSelector('ic-src')) && getICAttribute(elt, 'ic-action') == undefined) {\n      elt = elt.closest(getICAttributeSelector('ic-src'));\n    }\n\n    var confirmText = closestAttrValue(elt, 'ic-confirm');\n    if (confirmText) {\n      if (!confirm(confirmText)) {\n        return;\n      }\n    }\n\n    if(\"true\" == closestAttrValue(elt, 'ic-disable-when-doc-hidden')) {\n      if(document['hidden']) {\n        return;\n      }\n    }\n\n    if(\"true\" == closestAttrValue(elt, 'ic-disable-when-doc-inactive')) {\n      if(!document.hasFocus()) {\n        return;\n      }\n    }\n\n    if (elt.length > 0) {\n      var icEventId = uuid();\n      elt.data('ic-event-id', icEventId);\n      var invokeRequest = function() {\n\n        // if an existing request is in flight for this element, push this request as the next to be executed\n        if (elt.data('ic-request-in-flight') == true) {\n          elt.data('ic-next-request', {\"req\" : invokeRequest});\n          return;\n        }\n\n        if (elt.data('ic-event-id') == icEventId) {\n          var styleTarget = getStyleTarget(elt);\n          var attrTarget = styleTarget ? null : getAttrTarget(elt);\n          var verb = verbFor(elt);\n          var url = getICAttribute(elt, 'ic-src');\n          if (url) {\n            var success = alternateHandler || function(data) {\n              if (styleTarget) {\n                elt.css(styleTarget, data);\n              } else if (attrTarget) {\n                elt.attr(attrTarget, data);\n              } else {\n                processICResponse(data, elt, false, url);\n                if (verb != 'GET') {\n                  refreshDependencies(getICAttribute(elt, 'ic-src'), elt);\n                }\n              }\n            };\n            var data = getParametersForElement(verb, elt, triggerOrigin);\n            if(data) {\n              handleRemoteRequest(elt, verb, url, data, success);\n            }\n          }\n          maybeInvokeLocalAction(elt, \"\");\n        }\n      };\n\n      var triggerDelay = closestAttrValue(elt, 'ic-trigger-delay');\n      if (triggerDelay) {\n        setTimeout(invokeRequest, parseInterval(triggerDelay));\n      } else {\n        invokeRequest();\n      }\n    }\n  }\n\n  function maybeInvokeLocalAction(elt, modifier) {\n    var actions = getICAttribute(elt, 'ic' + modifier + '-action');\n    if (actions) {\n      invokeLocalAction(elt, actions, modifier);\n    }\n  }\n\n  function invokeLocalAction(elt, actions, modifier) {\n    var actionTargetVal = closestAttrValue(elt, 'ic' + modifier + '-action-target');\n    if(actionTargetVal === null && modifier !== \"\") {\n      actionTargetVal = closestAttrValue(elt, 'ic-action-target');\n    }\n\n    var target = null;\n    if(actionTargetVal) {\n      target = getTargetImpl(elt, 'ic-action-target');\n    } else {\n      target = getTarget(elt);\n    }\n    var actionArr = actions.split(\";\");\n\n    var actionsArr = [];\n    var delay = 0;\n\n    $.each(actionArr, function(i, actionStr) {\n      var actionDef = $.trim(actionStr);\n      var action = actionDef;\n      var actionArgs = [];\n      if (actionDef.indexOf(\":\") > 0) {\n        action = actionDef.substr(0, actionDef.indexOf(\":\"));\n        actionArgs = computeArgs(actionDef.substr(actionDef.indexOf(\":\") + 1, actionDef.length));\n      }\n      if (action == \"\") {\n        // ignore blanks\n      } else if (action == \"delay\") {\n        if (delay == null) {\n          delay = 0;\n        }\n        delay += parseInterval(actionArgs[0] + \"\");  // custom interval increase\n      } else {\n        if (delay == null) {\n          delay = 420; // 420ms default interval increase (400ms jQuery default + 20ms slop)\n        }\n        actionsArr.push([delay, makeApplyAction(target, action, actionArgs)]);\n        delay = null;\n      }\n    });\n\n    delay = 0;\n    $.each(actionsArr, function(i, action) {\n      delay += action[0];\n      setTimeout(action[1], delay);\n    });\n  }\n\n  function computeArgs(args) {\n    try {\n      return eval(\"[\" + args + \"]\")\n    } catch (e) {\n      return [$.trim(args)];\n    }\n  }\n\n  function makeApplyAction(target, action, args) {\n    return function() {\n      var func = target[action] || window[action];\n      if (func) {\n        func.apply(target, args);\n      } else {\n        log(target, \"Action \" + action + \" was not found\", \"ERROR\");\n      }\n    };\n  }\n\n  //============================================================\n  // History Support\n  //============================================================\n\n  function newIntercoolerHistory(storage, history, slotLimit, historyVersion) {\n\n    /* Constants */\n    var HISTORY_SUPPORT_SLOT = 'ic-history-support';\n    var HISTORY_SLOT_PREFIX = \"ic-hist-elt-\";\n\n    /* Instance Vars */\n    var historySupportData = JSON.parse(storage.getItem(HISTORY_SUPPORT_SLOT));\n    var _snapshot = null;\n\n    // Reset history if the history config has changed\n    if (historyConfigHasChanged(historySupportData)) {\n      log(getTargetForHistory($('body')), \"Intercooler History configuration changed, clearing history\", \"INFO\");\n      clearHistory();\n    }\n\n    if (historySupportData == null) {\n      historySupportData = {\n        slotLimit: slotLimit,\n        historyVersion: historyVersion,\n        lruList: []\n      };\n    }\n\n    /* Instance Methods  */\n    function historyConfigHasChanged(historySupportData) {\n      return historySupportData == null ||\n        historySupportData.slotLimit != slotLimit ||\n        historySupportData.historyVersion != historyVersion ||\n        historySupportData.lruList == null\n    }\n\n    function clearHistory() {\n      var keys = [];\n      for (var i = 0; i < storage.length; i++) {\n        if (storage.key(i).indexOf(HISTORY_SLOT_PREFIX) == 0) {\n          keys.push(storage.key(i));\n        }\n      }\n      for (var j = 0; j < keys.length; j++) {\n        storage.removeItem(keys[j]);\n      }\n      storage.removeItem(HISTORY_SUPPORT_SLOT);\n      historySupportData = {\n        slotLimit: slotLimit,\n        historyVersion: historyVersion,\n        lruList: []\n      };\n    }\n\n    function updateLRUList(url) {\n      var lruList = historySupportData.lruList;\n      var currentIndex = lruList.indexOf(url);\n      var t = getTargetForHistory($('body'));\n      // found in current list, shift it to the end\n      if (currentIndex >= 0) {\n        log(t, \"URL found in LRU list, moving to end\", \"INFO\");\n        lruList.splice(currentIndex, 1);\n        lruList.push(url);\n      } else {\n        // not found, add and shift if necessary\n        log(t, \"URL not found in LRU list, adding\", \"INFO\");\n        lruList.push(url);\n        if (lruList.length > historySupportData.slotLimit) {\n          var urlToDelete = lruList.shift();\n          log(t, \"History overflow, removing local history for \" + urlToDelete, \"INFO\");\n          storage.removeItem(HISTORY_SLOT_PREFIX + urlToDelete);\n        }\n      }\n\n      // save history metadata\n      storage.setItem(HISTORY_SUPPORT_SLOT, JSON.stringify(historySupportData));\n      return lruList;\n    }\n\n    function saveHistoryData(restorationData) {\n      var content = JSON.stringify(restorationData);\n      try {\n        storage.setItem(restorationData.id, content);\n      } catch (e) {\n        //quota error, nuke local cache\n        try {\n          clearHistory();\n          storage.setItem(restorationData.id, content);\n        } catch (e) {\n          log(getTargetForHistory($('body')), \"Unable to save intercooler history with entire history cleared, is something else eating \" +\n            \"local storage? History Limit:\" + slotLimit, \"ERROR\");\n        }\n      }\n    }\n\n    function makeHistoryEntry(html, yOffset, url, title) {\n      var restorationData = {\n        \"url\": url,\n        \"id\": HISTORY_SLOT_PREFIX + url,\n        \"content\": html,\n        \"yOffset\": yOffset,\n        \"timestamp\": new Date().getTime(),\n        \"title\": title\n      };\n      updateLRUList(url);\n      // save to the history slot\n      saveHistoryData(restorationData);\n      return restorationData;\n    }\n\n    function addPopStateHandler(windowToAdd) {\n      if (windowToAdd.onpopstate == null || windowToAdd.onpopstate['ic-on-pop-state-handler'] != true) {\n        var currentOnPopState = windowToAdd.onpopstate;\n        windowToAdd.onpopstate = function(event) {\n          triggerEvent(getTargetForHistory($('body')), 'handle.onpopstate.ic');\n          if (!handleHistoryNavigation(event)) {\n            if (currentOnPopState) {\n              currentOnPopState(event);\n            }\n          }\n          triggerEvent(getTargetForHistory($('body')), 'pageLoad.ic');\n        };\n        windowToAdd.onpopstate['ic-on-pop-state-handler'] = true;\n      }\n    }\n\n    function updateHistory() {\n      if (_snapshot) {\n        pushUrl(_snapshot.newUrl, currentUrl(), _snapshot.oldHtml, _snapshot.yOffset, _snapshot.oldTitle);\n        _snapshot = null;\n      }\n    }\n\n    function pushUrl(newUrl, originalUrl, originalHtml, yOffset, originalTitle) {\n\n      var historyEntry = makeHistoryEntry(originalHtml, yOffset, originalUrl, originalTitle);\n      history.replaceState({\"ic-id\": historyEntry.id}, \"\", \"\");\n\n      var t = getTargetForHistory($('body'));\n      var restorationData = makeHistoryEntry(t.html(), window.pageYOffset, newUrl, document.title);\n      history.pushState({'ic-id': restorationData.id}, \"\", newUrl);\n\n      triggerEvent(t, \"pushUrl.ic\", [t, restorationData]);\n    }\n\n    function handleHistoryNavigation(event) {\n      var data = event.state;\n      if (data && data['ic-id']) {\n        var historyData = JSON.parse(storage.getItem(data['ic-id']));\n        if (historyData) {\n          processICResponse(historyData[\"content\"], getTargetForHistory($('body')), true);\n          if (historyData[\"yOffset\"]) {\n            setTimeout(function () {\n              window.scrollTo(0, historyData[\"yOffset\"]);\n            }, 100);\n          }\n          if (historyData[\"title\"]) {\n            document.title = historyData[\"title\"];\n          }\n          return true;\n        } else {\n          $.get(currentUrl(), {'ic-restore-history': true}, function(data, status) {\n            var newDoc = createDocument(data);\n            var replacementHtml = getTargetForHistory(newDoc).html();\n            processICResponse(replacementHtml, getTargetForHistory($('body')), true);\n          });\n        }\n      }\n      return false;\n    }\n\n    function getTargetForHistory(elt) {\n      var explicitHistoryTarget = elt.find(getICAttributeSelector('ic-history-elt'));\n      if (explicitHistoryTarget.length > 0) {\n        return explicitHistoryTarget;\n      } else {\n        return elt;\n      }\n    }\n\n    function snapshotForHistory(newUrl, oldTitle) {\n      var t = getTargetForHistory($('body'));\n      triggerEvent(t, \"beforeHistorySnapshot.ic\", [t]);\n      _snapshot = {\n        newUrl: newUrl,\n        oldHtml: t.html(),\n        yOffset: window.pageYOffset,\n        oldTitle: oldTitle\n      };\n    }\n\n    function dumpLocalStorage() {\n      var str = \"\";\n      var keys = [];\n      for (var x in storage) {\n        keys.push(x);\n      }\n      keys.sort();\n      var total = 0;\n      for (var i in keys) {\n        var size = (storage[keys[i]].length * 2);\n        total += size;\n        str += keys[i] + \"=\" + (size / 1024 / 1024).toFixed(2) + \" MB\\n\";\n      }\n      return str + \"\\nTOTAL LOCAL STORAGE: \" + (total / 1024 / 1024).toFixed(2) + \" MB\";\n    }\n\n    function supportData() {\n      return historySupportData;\n    }\n\n    /* API */\n    return {\n      clearHistory: clearHistory,\n      updateHistory: updateHistory,\n      addPopStateHandler: addPopStateHandler,\n      snapshotForHistory: snapshotForHistory,\n      _internal: {\n        addPopStateHandler: addPopStateHandler,\n        supportData: supportData,\n        dumpLocalStorage: dumpLocalStorage,\n        updateLRUList: updateLRUList\n      }\n    };\n  }\n\n  function getSlotLimit() {\n    return 20;\n  }\n\n  function refresh(val) {\n    if (typeof val == 'string' || val instanceof String) {\n      refreshDependencies(val);\n    } else {\n      fireICRequest(val);\n    }\n    return Intercooler;\n  }\n\n  var _history = null;\n  try {\n    _history = newIntercoolerHistory(localStorage, window.history, getSlotLimit(), .1);\n  } catch(e) {\n    log($('body'), \"Could not initialize history\", \"WARN\");\n  }\n\n  //============================================================\n  // Local references transport\n  //============================================================\n\n  if($.ajaxTransport) {\n    $.ajaxTransport(\"text\", function(options, origOptions) {\n        if (origOptions.url[0] == \"#\") {\n          var ltAttr = fixICAttributeName(\"ic-local-\");\n          var src = $(origOptions.url);\n          var rsphdr = [];\n          var status = 200;\n          var statusText = \"OK\";\n          src.each(function(i, el) {\n            $.each(el.attributes, function(j, attr) {\n              if (attr.name.substr(0, ltAttr.length) == ltAttr) {\n                var lhName = attr.name.substring(ltAttr.length);\n                if (lhName == \"status\") {\n                  var statusLine = attr.value.match(/(\\d+)\\s?(.*)/);\n                  if (statusLine != null) {\n                    status = statusLine[1];\n                    statusText = statusLine[2];\n                  } else {\n                    status = \"500\";\n                    statusText = \"Attribute Error\";\n                  }\n                } else {\n                  rsphdr.push(lhName + \": \" + attr.value);\n                }\n              }\n            });\n          });\n          var rsp = src.length > 0 ? src.html() : \"\";\n          return {\n            send: function(reqhdr, completeCallback) {\n              completeCallback(status, statusText, {html: rsp}, rsphdr.join(\"\\n\"));\n            },\n            abort: function() {\n            }\n          };\n        } else {\n          return null;\n        }\n      }\n    );\n\n  }\n\n  //============================================================\n  // Bootstrap\n  //============================================================\n\n  function init() {\n    var elt = $('body');\n    processNodes(elt);\n    fireReadyStuff(elt);\n    if(_history) {\n      _history.addPopStateHandler(window);\n    }\n    if($.zepto) {\n      $('body').data('zeptoDataTest', {});\n      if(typeof($('body').data('zeptoDataTest')) == \"string\") {\n        log(null,\n          \"!!!! Please include the data module with Zepto!  Intercooler requires full data support to function !!!!\",\n          \"ERROR\")\n      }\n    }\n  }\n\n  $(function() {\n    init();\n  });\n\n  /* ===================================================\n   * API\n   * =================================================== */\n  return {\n    refresh: refresh,\n    history: _history,\n    triggerRequest: fireICRequest,\n    processNodes: processNodes,\n    closestAttrValue: closestAttrValue,\n    verbFor: verbFor,\n    isDependent: isDependent,\n    getTarget: getTarget,\n    processHeaders: processHeaders,\n    startPolling: startPolling,\n    cancelPolling: cancelPolling,\n    setIsDependentFunction: function(func) {\n      _isDependentFunction = func;\n    },\n    ready: function(readyHandler) {\n      _readyHandlers.push(readyHandler);\n    },\n    _internal: {\n      init: init,\n      replaceOrAddMethod: replaceOrAddMethod,\n      initEventSource: function(url, withCredentials) {\n        return new EventSource(url, {withCredentials: withCredentials});\n      },\n      globalEval: globalEval,\n      getLocalURL: getLocalURL\n    }\n  };\n})();\n\nreturn Intercooler;\n\n}));\n"
  },
  {
    "path": "brutaldon/static/js/jquery.magnific-popup.js",
    "content": "/*! Magnific Popup - v1.1.0 - 2016-02-20\n* http://dimsemenov.com/plugins/magnific-popup/\n* Copyright (c) 2016 Dmitry Semenov; */\n;(function (factory) { \nif (typeof define === 'function' && define.amd) { \n // AMD. Register as an anonymous module. \n define(['jquery'], factory); \n } else if (typeof exports === 'object') { \n // Node/CommonJS \n factory(require('jquery')); \n } else { \n // Browser globals \n factory(window.jQuery || window.Zepto); \n } \n }(function($) { \n\n/*>>core*/\n/**\n * \n * Magnific Popup Core JS file\n * \n */\n\n\n/**\n * Private static constants\n */\nvar CLOSE_EVENT = 'Close',\n\tBEFORE_CLOSE_EVENT = 'BeforeClose',\n\tAFTER_CLOSE_EVENT = 'AfterClose',\n\tBEFORE_APPEND_EVENT = 'BeforeAppend',\n\tMARKUP_PARSE_EVENT = 'MarkupParse',\n\tOPEN_EVENT = 'Open',\n\tCHANGE_EVENT = 'Change',\n\tNS = 'mfp',\n\tEVENT_NS = '.' + NS,\n\tREADY_CLASS = 'mfp-ready',\n\tREMOVING_CLASS = 'mfp-removing',\n\tPREVENT_CLOSE_CLASS = 'mfp-prevent-close';\n\n\n/**\n * Private vars \n */\n/*jshint -W079 */\nvar mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'\n\tMagnificPopup = function(){},\n\t_isJQ = !!(window.jQuery),\n\t_prevStatus,\n\t_window = $(window),\n\t_document,\n\t_prevContentType,\n\t_wrapClasses,\n\t_currPopupType;\n\n\n/**\n * Private functions\n */\nvar _mfpOn = function(name, f) {\n\t\tmfp.ev.on(NS + name + EVENT_NS, f);\n\t},\n\t_getEl = function(className, appendTo, html, raw) {\n\t\tvar el = document.createElement('div');\n\t\tel.className = 'mfp-'+className;\n\t\tif(html) {\n\t\t\tel.innerHTML = html;\n\t\t}\n\t\tif(!raw) {\n\t\t\tel = $(el);\n\t\t\tif(appendTo) {\n\t\t\t\tel.appendTo(appendTo);\n\t\t\t}\n\t\t} else if(appendTo) {\n\t\t\tappendTo.appendChild(el);\n\t\t}\n\t\treturn el;\n\t},\n\t_mfpTrigger = function(e, data) {\n\t\tmfp.ev.triggerHandler(NS + e, data);\n\n\t\tif(mfp.st.callbacks) {\n\t\t\t// converts \"mfpEventName\" to \"eventName\" callback and triggers it if it's present\n\t\t\te = e.charAt(0).toLowerCase() + e.slice(1);\n\t\t\tif(mfp.st.callbacks[e]) {\n\t\t\t\tmfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);\n\t\t\t}\n\t\t}\n\t},\n\t_getCloseBtn = function(type) {\n\t\tif(type !== _currPopupType || !mfp.currTemplate.closeBtn) {\n\t\t\tmfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );\n\t\t\t_currPopupType = type;\n\t\t}\n\t\treturn mfp.currTemplate.closeBtn;\n\t},\n\t// Initialize Magnific Popup only when called at least once\n\t_checkInstance = function() {\n\t\tif(!$.magnificPopup.instance) {\n\t\t\t/*jshint -W020 */\n\t\t\tmfp = new MagnificPopup();\n\t\t\tmfp.init();\n\t\t\t$.magnificPopup.instance = mfp;\n\t\t}\n\t},\n\t// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr\n\tsupportsTransitions = function() {\n\t\tvar s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist\n\t\t\tv = ['ms','O','Moz','Webkit']; // 'v' for vendor\n\n\t\tif( s['transition'] !== undefined ) {\n\t\t\treturn true; \n\t\t}\n\t\t\t\n\t\twhile( v.length ) {\n\t\t\tif( v.pop() + 'Transition' in s ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\treturn false;\n\t};\n\n\n\n/**\n * Public functions\n */\nMagnificPopup.prototype = {\n\n\tconstructor: MagnificPopup,\n\n\t/**\n\t * Initializes Magnific Popup plugin. \n\t * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed\n\t */\n\tinit: function() {\n\t\tvar appVersion = navigator.appVersion;\n\t\tmfp.isLowIE = mfp.isIE8 = document.all && !document.addEventListener;\n\t\tmfp.isAndroid = (/android/gi).test(appVersion);\n\t\tmfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);\n\t\tmfp.supportsTransition = supportsTransitions();\n\n\t\t// We disable fixed positioned lightbox on devices that don't handle it nicely.\n\t\t// If you know a better way of detecting this - let me know.\n\t\tmfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );\n\t\t_document = $(document);\n\n\t\tmfp.popupsCache = {};\n\t},\n\n\t/**\n\t * Opens popup\n\t * @param  data [description]\n\t */\n\topen: function(data) {\n\n\t\tvar i;\n\n\t\tif(data.isObj === false) { \n\t\t\t// convert jQuery collection to array to avoid conflicts later\n\t\t\tmfp.items = data.items.toArray();\n\n\t\t\tmfp.index = 0;\n\t\t\tvar items = data.items,\n\t\t\t\titem;\n\t\t\tfor(i = 0; i < items.length; i++) {\n\t\t\t\titem = items[i];\n\t\t\t\tif(item.parsed) {\n\t\t\t\t\titem = item.el[0];\n\t\t\t\t}\n\t\t\t\tif(item === data.el[0]) {\n\t\t\t\t\tmfp.index = i;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.items = $.isArray(data.items) ? data.items : [data.items];\n\t\t\tmfp.index = data.index || 0;\n\t\t}\n\n\t\t// if popup is already opened - we just update the content\n\t\tif(mfp.isOpen) {\n\t\t\tmfp.updateItemHTML();\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tmfp.types = []; \n\t\t_wrapClasses = '';\n\t\tif(data.mainEl && data.mainEl.length) {\n\t\t\tmfp.ev = data.mainEl.eq(0);\n\t\t} else {\n\t\t\tmfp.ev = _document;\n\t\t}\n\n\t\tif(data.key) {\n\t\t\tif(!mfp.popupsCache[data.key]) {\n\t\t\t\tmfp.popupsCache[data.key] = {};\n\t\t\t}\n\t\t\tmfp.currTemplate = mfp.popupsCache[data.key];\n\t\t} else {\n\t\t\tmfp.currTemplate = {};\n\t\t}\n\n\n\n\t\tmfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); \n\t\tmfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;\n\n\t\tif(mfp.st.modal) {\n\t\t\tmfp.st.closeOnContentClick = false;\n\t\t\tmfp.st.closeOnBgClick = false;\n\t\t\tmfp.st.showCloseBtn = false;\n\t\t\tmfp.st.enableEscapeKey = false;\n\t\t}\n\t\t\n\n\t\t// Building markup\n\t\t// main containers are created only once\n\t\tif(!mfp.bgOverlay) {\n\n\t\t\t// Dark overlay\n\t\t\tmfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {\n\t\t\t\tmfp.close();\n\t\t\t});\n\n\t\t\tmfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {\n\t\t\t\tif(mfp._checkIfClose(e.target)) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmfp.container = _getEl('container', mfp.wrap);\n\t\t}\n\n\t\tmfp.contentContainer = _getEl('content');\n\t\tif(mfp.st.preloader) {\n\t\t\tmfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);\n\t\t}\n\n\n\t\t// Initializing modules\n\t\tvar modules = $.magnificPopup.modules;\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar n = modules[i];\n\t\t\tn = n.charAt(0).toUpperCase() + n.slice(1);\n\t\t\tmfp['init'+n].call(mfp);\n\t\t}\n\t\t_mfpTrigger('BeforeOpen');\n\n\n\t\tif(mfp.st.showCloseBtn) {\n\t\t\t// Close button\n\t\t\tif(!mfp.st.closeBtnInside) {\n\t\t\t\tmfp.wrap.append( _getCloseBtn() );\n\t\t\t} else {\n\t\t\t\t_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {\n\t\t\t\t\tvalues.close_replaceWith = _getCloseBtn(item.type);\n\t\t\t\t});\n\t\t\t\t_wrapClasses += ' mfp-close-btn-in';\n\t\t\t}\n\t\t}\n\n\t\tif(mfp.st.alignTop) {\n\t\t\t_wrapClasses += ' mfp-align-top';\n\t\t}\n\n\t\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css({\n\t\t\t\toverflow: mfp.st.overflowY,\n\t\t\t\toverflowX: 'hidden',\n\t\t\t\toverflowY: mfp.st.overflowY\n\t\t\t});\n\t\t} else {\n\t\t\tmfp.wrap.css({ \n\t\t\t\ttop: _window.scrollTop(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\t\tif( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {\n\t\t\tmfp.bgOverlay.css({\n\t\t\t\theight: _document.height(),\n\t\t\t\tposition: 'absolute'\n\t\t\t});\n\t\t}\n\n\t\t\n\n\t\tif(mfp.st.enableEscapeKey) {\n\t\t\t// Close on ESC key\n\t\t\t_document.on('keyup' + EVENT_NS, function(e) {\n\t\t\t\tif(e.keyCode === 27) {\n\t\t\t\t\tmfp.close();\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\t_window.on('resize' + EVENT_NS, function() {\n\t\t\tmfp.updateSize();\n\t\t});\n\n\n\t\tif(!mfp.st.closeOnContentClick) {\n\t\t\t_wrapClasses += ' mfp-auto-cursor';\n\t\t}\n\t\t\n\t\tif(_wrapClasses)\n\t\t\tmfp.wrap.addClass(_wrapClasses);\n\n\n\t\t// this triggers recalculation of layout, so we get it once to not to trigger twice\n\t\tvar windowHeight = mfp.wH = _window.height();\n\n\t\t\n\t\tvar windowStyles = {};\n\n\t\tif( mfp.fixedContentPos ) {\n            if(mfp._hasScrollBar(windowHeight)){\n                var s = mfp._getScrollbarSize();\n                if(s) {\n                    windowStyles.marginRight = s;\n                }\n            }\n        }\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tif(!mfp.isIE7) {\n\t\t\t\twindowStyles.overflow = 'hidden';\n\t\t\t} else {\n\t\t\t\t// ie7 double-scroll bug\n\t\t\t\t$('body, html').css('overflow', 'hidden');\n\t\t\t}\n\t\t}\n\n\t\t\n\t\t\n\t\tvar classesToadd = mfp.st.mainClass;\n\t\tif(mfp.isIE7) {\n\t\t\tclassesToadd += ' mfp-ie7';\n\t\t}\n\t\tif(classesToadd) {\n\t\t\tmfp._addClassToMFP( classesToadd );\n\t\t}\n\n\t\t// add content\n\t\tmfp.updateItemHTML();\n\n\t\t_mfpTrigger('BuildControls');\n\n\t\t// remove scrollbar, add margin e.t.c\n\t\t$('html').css(windowStyles);\n\t\t\n\t\t// add everything to DOM\n\t\tmfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || $(document.body) );\n\n\t\t// Save last focused element\n\t\tmfp._lastFocusedEl = document.activeElement;\n\t\t\n\t\t// Wait for next cycle to allow CSS transition\n\t\tsetTimeout(function() {\n\t\t\t\n\t\t\tif(mfp.content) {\n\t\t\t\tmfp._addClassToMFP(READY_CLASS);\n\t\t\t\tmfp._setFocus();\n\t\t\t} else {\n\t\t\t\t// if content is not defined (not loaded e.t.c) we add class only for BG\n\t\t\t\tmfp.bgOverlay.addClass(READY_CLASS);\n\t\t\t}\n\t\t\t\n\t\t\t// Trap the focus in popup\n\t\t\t_document.on('focusin' + EVENT_NS, mfp._onFocusIn);\n\n\t\t}, 16);\n\n\t\tmfp.isOpen = true;\n\t\tmfp.updateSize(windowHeight);\n\t\t_mfpTrigger(OPEN_EVENT);\n\n\t\treturn data;\n\t},\n\n\t/**\n\t * Closes the popup\n\t */\n\tclose: function() {\n\t\tif(!mfp.isOpen) return;\n\t\t_mfpTrigger(BEFORE_CLOSE_EVENT);\n\n\t\tmfp.isOpen = false;\n\t\t// for CSS3 animation\n\t\tif(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition )  {\n\t\t\tmfp._addClassToMFP(REMOVING_CLASS);\n\t\t\tsetTimeout(function() {\n\t\t\t\tmfp._close();\n\t\t\t}, mfp.st.removalDelay);\n\t\t} else {\n\t\t\tmfp._close();\n\t\t}\n\t},\n\n\t/**\n\t * Helper for close() function\n\t */\n\t_close: function() {\n\t\t_mfpTrigger(CLOSE_EVENT);\n\n\t\tvar classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';\n\n\t\tmfp.bgOverlay.detach();\n\t\tmfp.wrap.detach();\n\t\tmfp.container.empty();\n\n\t\tif(mfp.st.mainClass) {\n\t\t\tclassesToRemove += mfp.st.mainClass + ' ';\n\t\t}\n\n\t\tmfp._removeClassFromMFP(classesToRemove);\n\n\t\tif(mfp.fixedContentPos) {\n\t\t\tvar windowStyles = {marginRight: ''};\n\t\t\tif(mfp.isIE7) {\n\t\t\t\t$('body, html').css('overflow', '');\n\t\t\t} else {\n\t\t\t\twindowStyles.overflow = '';\n\t\t\t}\n\t\t\t$('html').css(windowStyles);\n\t\t}\n\t\t\n\t\t_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);\n\t\tmfp.ev.off(EVENT_NS);\n\n\t\t// clean up DOM elements that aren't removed\n\t\tmfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');\n\t\tmfp.bgOverlay.attr('class', 'mfp-bg');\n\t\tmfp.container.attr('class', 'mfp-container');\n\n\t\t// remove close button from target element\n\t\tif(mfp.st.showCloseBtn &&\n\t\t(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {\n\t\t\tif(mfp.currTemplate.closeBtn)\n\t\t\t\tmfp.currTemplate.closeBtn.detach();\n\t\t}\n\n\n\t\tif(mfp.st.autoFocusLast && mfp._lastFocusedEl) {\n\t\t\t$(mfp._lastFocusedEl).focus(); // put tab focus back\n\t\t}\n\t\tmfp.currItem = null;\t\n\t\tmfp.content = null;\n\t\tmfp.currTemplate = null;\n\t\tmfp.prevHeight = 0;\n\n\t\t_mfpTrigger(AFTER_CLOSE_EVENT);\n\t},\n\t\n\tupdateSize: function(winHeight) {\n\n\t\tif(mfp.isIOS) {\n\t\t\t// fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2\n\t\t\tvar zoomLevel = document.documentElement.clientWidth / window.innerWidth;\n\t\t\tvar height = window.innerHeight * zoomLevel;\n\t\t\tmfp.wrap.css('height', height);\n\t\t\tmfp.wH = height;\n\t\t} else {\n\t\t\tmfp.wH = winHeight || _window.height();\n\t\t}\n\t\t// Fixes #84: popup incorrectly positioned with position:relative on body\n\t\tif(!mfp.fixedContentPos) {\n\t\t\tmfp.wrap.css('height', mfp.wH);\n\t\t}\n\n\t\t_mfpTrigger('Resize');\n\n\t},\n\n\t/**\n\t * Set content of popup based on current index\n\t */\n\tupdateItemHTML: function() {\n\t\tvar item = mfp.items[mfp.index];\n\n\t\t// Detach and perform modifications\n\t\tmfp.contentContainer.detach();\n\n\t\tif(mfp.content)\n\t\t\tmfp.content.detach();\n\n\t\tif(!item.parsed) {\n\t\t\titem = mfp.parseEl( mfp.index );\n\t\t}\n\n\t\tvar type = item.type;\n\n\t\t_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);\n\t\t// BeforeChange event works like so:\n\t\t// _mfpOn('BeforeChange', function(e, prevType, newType) { });\n\n\t\tmfp.currItem = item;\n\n\t\tif(!mfp.currTemplate[type]) {\n\t\t\tvar markup = mfp.st[type] ? mfp.st[type].markup : false;\n\n\t\t\t// allows to modify markup\n\t\t\t_mfpTrigger('FirstMarkupParse', markup);\n\n\t\t\tif(markup) {\n\t\t\t\tmfp.currTemplate[type] = $(markup);\n\t\t\t} else {\n\t\t\t\t// if there is no markup found we just define that template is parsed\n\t\t\t\tmfp.currTemplate[type] = true;\n\t\t\t}\n\t\t}\n\n\t\tif(_prevContentType && _prevContentType !== item.type) {\n\t\t\tmfp.container.removeClass('mfp-'+_prevContentType+'-holder');\n\t\t}\n\n\t\tvar newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);\n\t\tmfp.appendContent(newContent, type);\n\n\t\titem.preloaded = true;\n\n\t\t_mfpTrigger(CHANGE_EVENT, item);\n\t\t_prevContentType = item.type;\n\n\t\t// Append container back after its content changed\n\t\tmfp.container.prepend(mfp.contentContainer);\n\n\t\t_mfpTrigger('AfterChange');\n\t},\n\n\n\t/**\n\t * Set HTML content of popup\n\t */\n\tappendContent: function(newContent, type) {\n\t\tmfp.content = newContent;\n\n\t\tif(newContent) {\n\t\t\tif(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&\n\t\t\t\tmfp.currTemplate[type] === true) {\n\t\t\t\t// if there is no markup, we just append close button element inside\n\t\t\t\tif(!mfp.content.find('.mfp-close').length) {\n\t\t\t\t\tmfp.content.append(_getCloseBtn());\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmfp.content = newContent;\n\t\t\t}\n\t\t} else {\n\t\t\tmfp.content = '';\n\t\t}\n\n\t\t_mfpTrigger(BEFORE_APPEND_EVENT);\n\t\tmfp.container.addClass('mfp-'+type+'-holder');\n\n\t\tmfp.contentContainer.append(mfp.content);\n\t},\n\n\n\t/**\n\t * Creates Magnific Popup data object based on given data\n\t * @param  {int} index Index of item to parse\n\t */\n\tparseEl: function(index) {\n\t\tvar item = mfp.items[index],\n\t\t\ttype;\n\n\t\tif(item.tagName) {\n\t\t\titem = { el: $(item) };\n\t\t} else {\n\t\t\ttype = item.type;\n\t\t\titem = { data: item, src: item.src };\n\t\t}\n\n\t\tif(item.el) {\n\t\t\tvar types = mfp.types;\n\n\t\t\t// check for 'mfp-TYPE' class\n\t\t\tfor(var i = 0; i < types.length; i++) {\n\t\t\t\tif( item.el.hasClass('mfp-'+types[i]) ) {\n\t\t\t\t\ttype = types[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\titem.src = item.el.attr('data-mfp-src');\n\t\t\tif(!item.src) {\n\t\t\t\titem.src = item.el.attr('href');\n\t\t\t}\n\t\t}\n\n\t\titem.type = type || mfp.st.type || 'inline';\n\t\titem.index = index;\n\t\titem.parsed = true;\n\t\tmfp.items[index] = item;\n\t\t_mfpTrigger('ElementParse', item);\n\n\t\treturn mfp.items[index];\n\t},\n\n\n\t/**\n\t * Initializes single popup or a group of popups\n\t */\n\taddGroup: function(el, options) {\n\t\tvar eHandler = function(e) {\n\t\t\te.mfpEl = this;\n\t\t\tmfp._openClick(e, el, options);\n\t\t};\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t}\n\n\t\tvar eName = 'click.magnificPopup';\n\t\toptions.mainEl = el;\n\n\t\tif(options.items) {\n\t\t\toptions.isObj = true;\n\t\t\tel.off(eName).on(eName, eHandler);\n\t\t} else {\n\t\t\toptions.isObj = false;\n\t\t\tif(options.delegate) {\n\t\t\t\tel.off(eName).on(eName, options.delegate , eHandler);\n\t\t\t} else {\n\t\t\t\toptions.items = el;\n\t\t\t\tel.off(eName).on(eName, eHandler);\n\t\t\t}\n\t\t}\n\t},\n\t_openClick: function(e, el, options) {\n\t\tvar midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;\n\n\n\t\tif(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;\n\n\t\tif(disableOn) {\n\t\t\tif($.isFunction(disableOn)) {\n\t\t\t\tif( !disableOn.call(mfp) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t} else { // else it's number\n\t\t\t\tif( _window.width() < disableOn ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif(e.type) {\n\t\t\te.preventDefault();\n\n\t\t\t// This will prevent popup from closing if element is inside and popup is already opened\n\t\t\tif(mfp.isOpen) {\n\t\t\t\te.stopPropagation();\n\t\t\t}\n\t\t}\n\n\t\toptions.el = $(e.mfpEl);\n\t\tif(options.delegate) {\n\t\t\toptions.items = el.find(options.delegate);\n\t\t}\n\t\tmfp.open(options);\n\t},\n\n\n\t/**\n\t * Updates text on preloader\n\t */\n\tupdateStatus: function(status, text) {\n\n\t\tif(mfp.preloader) {\n\t\t\tif(_prevStatus !== status) {\n\t\t\t\tmfp.container.removeClass('mfp-s-'+_prevStatus);\n\t\t\t}\n\n\t\t\tif(!text && status === 'loading') {\n\t\t\t\ttext = mfp.st.tLoading;\n\t\t\t}\n\n\t\t\tvar data = {\n\t\t\t\tstatus: status,\n\t\t\t\ttext: text\n\t\t\t};\n\t\t\t// allows to modify status\n\t\t\t_mfpTrigger('UpdateStatus', data);\n\n\t\t\tstatus = data.status;\n\t\t\ttext = data.text;\n\n\t\t\tmfp.preloader.html(text);\n\n\t\t\tmfp.preloader.find('a').on('click', function(e) {\n\t\t\t\te.stopImmediatePropagation();\n\t\t\t});\n\n\t\t\tmfp.container.addClass('mfp-s-'+status);\n\t\t\t_prevStatus = status;\n\t\t}\n\t},\n\n\n\t/*\n\t\t\"Private\" helpers that aren't private at all\n\t */\n\t// Check to close popup or not\n\t// \"target\" is an element that was clicked\n\t_checkIfClose: function(target) {\n\n\t\tif($(target).hasClass(PREVENT_CLOSE_CLASS)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar closeOnContent = mfp.st.closeOnContentClick;\n\t\tvar closeOnBg = mfp.st.closeOnBgClick;\n\n\t\tif(closeOnContent && closeOnBg) {\n\t\t\treturn true;\n\t\t} else {\n\n\t\t\t// We close the popup if click is on close button or on preloader. Or if there is no content.\n\t\t\tif(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\t// if click is outside the content\n\t\t\tif(  (target !== mfp.content[0] && !$.contains(mfp.content[0], target))  ) {\n\t\t\t\tif(closeOnBg) {\n\t\t\t\t\t// last check, if the clicked element is in DOM, (in case it's removed onclick)\n\t\t\t\t\tif( $.contains(document, target) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if(closeOnContent) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t}\n\t\treturn false;\n\t},\n\t_addClassToMFP: function(cName) {\n\t\tmfp.bgOverlay.addClass(cName);\n\t\tmfp.wrap.addClass(cName);\n\t},\n\t_removeClassFromMFP: function(cName) {\n\t\tthis.bgOverlay.removeClass(cName);\n\t\tmfp.wrap.removeClass(cName);\n\t},\n\t_hasScrollBar: function(winHeight) {\n\t\treturn (  (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );\n\t},\n\t_setFocus: function() {\n\t\t(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();\n\t},\n\t_onFocusIn: function(e) {\n\t\tif( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {\n\t\t\tmfp._setFocus();\n\t\t\treturn false;\n\t\t}\n\t},\n\t_parseMarkup: function(template, values, item) {\n\t\tvar arr;\n\t\tif(item.data) {\n\t\t\tvalues = $.extend(item.data, values);\n\t\t}\n\t\t_mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );\n\n\t\t$.each(values, function(key, value) {\n\t\t\tif(value === undefined || value === false) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tarr = key.split('_');\n\t\t\tif(arr.length > 1) {\n\t\t\t\tvar el = template.find(EVENT_NS + '-'+arr[0]);\n\n\t\t\t\tif(el.length > 0) {\n\t\t\t\t\tvar attr = arr[1];\n\t\t\t\t\tif(attr === 'replaceWith') {\n\t\t\t\t\t\tif(el[0] !== value[0]) {\n\t\t\t\t\t\t\tel.replaceWith(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if(attr === 'img') {\n\t\t\t\t\t\tif(el.is('img')) {\n\t\t\t\t\t\t\tel.attr('src', value);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tel.replaceWith( $('<img>').attr('src', value).attr('class', el.attr('class')) );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tel.attr(arr[1], value);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\ttemplate.find(EVENT_NS + '-'+key).html(value);\n\t\t\t}\n\t\t});\n\t},\n\n\t_getScrollbarSize: function() {\n\t\t// thx David\n\t\tif(mfp.scrollbarSize === undefined) {\n\t\t\tvar scrollDiv = document.createElement(\"div\");\n\t\t\tscrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';\n\t\t\tdocument.body.appendChild(scrollDiv);\n\t\t\tmfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\t\t\tdocument.body.removeChild(scrollDiv);\n\t\t}\n\t\treturn mfp.scrollbarSize;\n\t}\n\n}; /* MagnificPopup core prototype end */\n\n\n\n\n/**\n * Public static functions\n */\n$.magnificPopup = {\n\tinstance: null,\n\tproto: MagnificPopup.prototype,\n\tmodules: [],\n\n\topen: function(options, index) {\n\t\t_checkInstance();\n\n\t\tif(!options) {\n\t\t\toptions = {};\n\t\t} else {\n\t\t\toptions = $.extend(true, {}, options);\n\t\t}\n\n\t\toptions.isObj = true;\n\t\toptions.index = index || 0;\n\t\treturn this.instance.open(options);\n\t},\n\n\tclose: function() {\n\t\treturn $.magnificPopup.instance && $.magnificPopup.instance.close();\n\t},\n\n\tregisterModule: function(name, module) {\n\t\tif(module.options) {\n\t\t\t$.magnificPopup.defaults[name] = module.options;\n\t\t}\n\t\t$.extend(this.proto, module.proto);\n\t\tthis.modules.push(name);\n\t},\n\n\tdefaults: {\n\n\t\t// Info about options is in docs:\n\t\t// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options\n\n\t\tdisableOn: 0,\n\n\t\tkey: null,\n\n\t\tmidClick: false,\n\n\t\tmainClass: '',\n\n\t\tpreloader: true,\n\n\t\tfocus: '', // CSS selector of input to focus after popup is opened\n\n\t\tcloseOnContentClick: false,\n\n\t\tcloseOnBgClick: true,\n\n\t\tcloseBtnInside: true,\n\n\t\tshowCloseBtn: true,\n\n\t\tenableEscapeKey: true,\n\n\t\tmodal: false,\n\n\t\talignTop: false,\n\n\t\tremovalDelay: 0,\n\n\t\tprependTo: null,\n\n\t\tfixedContentPos: 'auto',\n\n\t\tfixedBgPos: 'auto',\n\n\t\toverflowY: 'auto',\n\n\t\tcloseMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-close\">&#215;</button>',\n\n\t\ttClose: 'Close (Esc)',\n\n\t\ttLoading: 'Loading...',\n\n\t\tautoFocusLast: true\n\n\t}\n};\n\n\n\n$.fn.magnificPopup = function(options) {\n\t_checkInstance();\n\n\tvar jqEl = $(this);\n\n\t// We call some API method of first param is a string\n\tif (typeof options === \"string\" ) {\n\n\t\tif(options === 'open') {\n\t\t\tvar items,\n\t\t\t\titemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,\n\t\t\t\tindex = parseInt(arguments[1], 10) || 0;\n\n\t\t\tif(itemOpts.items) {\n\t\t\t\titems = itemOpts.items[index];\n\t\t\t} else {\n\t\t\t\titems = jqEl;\n\t\t\t\tif(itemOpts.delegate) {\n\t\t\t\t\titems = items.find(itemOpts.delegate);\n\t\t\t\t}\n\t\t\t\titems = items.eq( index );\n\t\t\t}\n\t\t\tmfp._openClick({mfpEl:items}, jqEl, itemOpts);\n\t\t} else {\n\t\t\tif(mfp.isOpen)\n\t\t\t\tmfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));\n\t\t}\n\n\t} else {\n\t\t// clone options obj\n\t\toptions = $.extend(true, {}, options);\n\n\t\t/*\n\t\t * As Zepto doesn't support .data() method for objects\n\t\t * and it works only in normal browsers\n\t\t * we assign \"options\" object directly to the DOM element. FTW!\n\t\t */\n\t\tif(_isJQ) {\n\t\t\tjqEl.data('magnificPopup', options);\n\t\t} else {\n\t\t\tjqEl[0].magnificPopup = options;\n\t\t}\n\n\t\tmfp.addGroup(jqEl, options);\n\n\t}\n\treturn jqEl;\n};\n\n/*>>core*/\n\n/*>>inline*/\n\nvar INLINE_NS = 'inline',\n\t_hiddenClass,\n\t_inlinePlaceholder,\n\t_lastInlineElement,\n\t_putInlineElementsBack = function() {\n\t\tif(_lastInlineElement) {\n\t\t\t_inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();\n\t\t\t_lastInlineElement = null;\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(INLINE_NS, {\n\toptions: {\n\t\thiddenClass: 'hide', // will be appended with `mfp-` prefix\n\t\tmarkup: '',\n\t\ttNotFound: 'Content not found'\n\t},\n\tproto: {\n\n\t\tinitInline: function() {\n\t\t\tmfp.types.push(INLINE_NS);\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {\n\t\t\t\t_putInlineElementsBack();\n\t\t\t});\n\t\t},\n\n\t\tgetInline: function(item, template) {\n\n\t\t\t_putInlineElementsBack();\n\n\t\t\tif(item.src) {\n\t\t\t\tvar inlineSt = mfp.st.inline,\n\t\t\t\t\tel = $(item.src);\n\n\t\t\t\tif(el.length) {\n\n\t\t\t\t\t// If target element has parent - we replace it with placeholder and put it back after popup is closed\n\t\t\t\t\tvar parent = el[0].parentNode;\n\t\t\t\t\tif(parent && parent.tagName) {\n\t\t\t\t\t\tif(!_inlinePlaceholder) {\n\t\t\t\t\t\t\t_hiddenClass = inlineSt.hiddenClass;\n\t\t\t\t\t\t\t_inlinePlaceholder = _getEl(_hiddenClass);\n\t\t\t\t\t\t\t_hiddenClass = 'mfp-'+_hiddenClass;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// replace target inline element with placeholder\n\t\t\t\t\t\t_lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);\n\t\t\t\t\t}\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t} else {\n\t\t\t\t\tmfp.updateStatus('error', inlineSt.tNotFound);\n\t\t\t\t\tel = $('<div>');\n\t\t\t\t}\n\n\t\t\t\titem.inlineElement = el;\n\t\t\t\treturn el;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('ready');\n\t\t\tmfp._parseMarkup(template, {}, item);\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>inline*/\n\n/*>>ajax*/\nvar AJAX_NS = 'ajax',\n\t_ajaxCur,\n\t_removeAjaxCursor = function() {\n\t\tif(_ajaxCur) {\n\t\t\t$(document.body).removeClass(_ajaxCur);\n\t\t}\n\t},\n\t_destroyAjaxRequest = function() {\n\t\t_removeAjaxCursor();\n\t\tif(mfp.req) {\n\t\t\tmfp.req.abort();\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(AJAX_NS, {\n\n\toptions: {\n\t\tsettings: null,\n\t\tcursor: 'mfp-ajax-cur',\n\t\ttError: '<a href=\"%url%\">The content</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitAjax: function() {\n\t\t\tmfp.types.push(AJAX_NS);\n\t\t\t_ajaxCur = mfp.st.ajax.cursor;\n\n\t\t\t_mfpOn(CLOSE_EVENT+'.'+AJAX_NS, _destroyAjaxRequest);\n\t\t\t_mfpOn('BeforeChange.' + AJAX_NS, _destroyAjaxRequest);\n\t\t},\n\t\tgetAjax: function(item) {\n\n\t\t\tif(_ajaxCur) {\n\t\t\t\t$(document.body).addClass(_ajaxCur);\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\n\t\t\tvar opts = $.extend({\n\t\t\t\turl: item.src,\n\t\t\t\tsuccess: function(data, textStatus, jqXHR) {\n\t\t\t\t\tvar temp = {\n\t\t\t\t\t\tdata:data,\n\t\t\t\t\t\txhr:jqXHR\n\t\t\t\t\t};\n\n\t\t\t\t\t_mfpTrigger('ParseAjax', temp);\n\n\t\t\t\t\tmfp.appendContent( $(temp.data), AJAX_NS );\n\n\t\t\t\t\titem.finished = true;\n\n\t\t\t\t\t_removeAjaxCursor();\n\n\t\t\t\t\tmfp._setFocus();\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tmfp.wrap.addClass(READY_CLASS);\n\t\t\t\t\t}, 16);\n\n\t\t\t\t\tmfp.updateStatus('ready');\n\n\t\t\t\t\t_mfpTrigger('AjaxContentAdded');\n\t\t\t\t},\n\t\t\t\terror: function() {\n\t\t\t\t\t_removeAjaxCursor();\n\t\t\t\t\titem.finished = item.loadError = true;\n\t\t\t\t\tmfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));\n\t\t\t\t}\n\t\t\t}, mfp.st.ajax.settings);\n\n\t\t\tmfp.req = $.ajax(opts);\n\n\t\t\treturn '';\n\t\t}\n\t}\n});\n\n/*>>ajax*/\n\n/*>>image*/\nvar _imgInterval,\n\t_getTitle = function(item) {\n\t\tif(item.data && item.data.title !== undefined)\n\t\t\treturn item.data.title;\n\n\t\tvar src = mfp.st.image.titleSrc;\n\n\t\tif(src) {\n\t\t\tif($.isFunction(src)) {\n\t\t\t\treturn src.call(mfp, item);\n\t\t\t} else if(item.el) {\n\t\t\t\treturn item.el.attr(src) || '';\n\t\t\t}\n\t\t}\n\t\treturn '';\n\t};\n\n$.magnificPopup.registerModule('image', {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-figure\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<figure>'+\n\t\t\t\t\t\t'<div class=\"mfp-img\"></div>'+\n\t\t\t\t\t\t'<figcaption>'+\n\t\t\t\t\t\t\t'<div class=\"mfp-bottom-bar\">'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-title\"></div>'+\n\t\t\t\t\t\t\t\t'<div class=\"mfp-counter\"></div>'+\n\t\t\t\t\t\t\t'</div>'+\n\t\t\t\t\t\t'</figcaption>'+\n\t\t\t\t\t'</figure>'+\n\t\t\t\t'</div>',\n\t\tcursor: 'mfp-zoom-out-cur',\n\t\ttitleSrc: 'title',\n\t\tverticalFit: true,\n\t\ttError: '<a href=\"%url%\">The image</a> could not be loaded.'\n\t},\n\n\tproto: {\n\t\tinitImage: function() {\n\t\t\tvar imgSt = mfp.st.image,\n\t\t\t\tns = '.image';\n\n\t\t\tmfp.types.push('image');\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\t\t\t\tif(mfp.currItem.type === 'image' && imgSt.cursor) {\n\t\t\t\t\t$(document.body).addClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(imgSt.cursor) {\n\t\t\t\t\t$(document.body).removeClass(imgSt.cursor);\n\t\t\t\t}\n\t\t\t\t_window.off('resize' + EVENT_NS);\n\t\t\t});\n\n\t\t\t_mfpOn('Resize'+ns, mfp.resizeImage);\n\t\t\tif(mfp.isLowIE) {\n\t\t\t\t_mfpOn('AfterChange', mfp.resizeImage);\n\t\t\t}\n\t\t},\n\t\tresizeImage: function() {\n\t\t\tvar item = mfp.currItem;\n\t\t\tif(!item || !item.img) return;\n\n\t\t\tif(mfp.st.image.verticalFit) {\n\t\t\t\tvar decr = 0;\n\t\t\t\t// fix box-sizing in ie7/8\n\t\t\t\tif(mfp.isLowIE) {\n\t\t\t\t\tdecr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);\n\t\t\t\t}\n\t\t\t\titem.img.css('max-height', mfp.wH-decr);\n\t\t\t}\n\t\t},\n\t\t_onImageHasSize: function(item) {\n\t\t\tif(item.img) {\n\n\t\t\t\titem.hasSize = true;\n\n\t\t\t\tif(_imgInterval) {\n\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t}\n\n\t\t\t\titem.isCheckingImgSize = false;\n\n\t\t\t\t_mfpTrigger('ImageHasSize', item);\n\n\t\t\t\tif(item.imgHidden) {\n\t\t\t\t\tif(mfp.content)\n\t\t\t\t\t\tmfp.content.removeClass('mfp-loading');\n\n\t\t\t\t\titem.imgHidden = false;\n\t\t\t\t}\n\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Function that loops until the image has size to display elements that rely on it asap\n\t\t */\n\t\tfindImageSize: function(item) {\n\n\t\t\tvar counter = 0,\n\t\t\t\timg = item.img[0],\n\t\t\t\tmfpSetInterval = function(delay) {\n\n\t\t\t\t\tif(_imgInterval) {\n\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t}\n\t\t\t\t\t// decelerating interval that checks for size of an image\n\t\t\t\t\t_imgInterval = setInterval(function() {\n\t\t\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(counter > 200) {\n\t\t\t\t\t\t\tclearInterval(_imgInterval);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcounter++;\n\t\t\t\t\t\tif(counter === 3) {\n\t\t\t\t\t\t\tmfpSetInterval(10);\n\t\t\t\t\t\t} else if(counter === 40) {\n\t\t\t\t\t\t\tmfpSetInterval(50);\n\t\t\t\t\t\t} else if(counter === 100) {\n\t\t\t\t\t\t\tmfpSetInterval(500);\n\t\t\t\t\t\t}\n\t\t\t\t\t}, delay);\n\t\t\t\t};\n\n\t\t\tmfpSetInterval(1);\n\t\t},\n\n\t\tgetImage: function(item, template) {\n\n\t\t\tvar guard = 0,\n\n\t\t\t\t// image load complete handler\n\t\t\t\tonLoadComplete = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\tif (item.img[0].complete) {\n\t\t\t\t\t\t\titem.img.off('.mfploader');\n\n\t\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\n\t\t\t\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\t\titem.loaded = true;\n\n\t\t\t\t\t\t\t_mfpTrigger('ImageLoadComplete');\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t// if image complete check fails 200 times (20 sec), we assume that there was an error.\n\t\t\t\t\t\t\tguard++;\n\t\t\t\t\t\t\tif(guard < 200) {\n\t\t\t\t\t\t\t\tsetTimeout(onLoadComplete,100);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tonLoadError();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\t\t// image error handler\n\t\t\t\tonLoadError = function() {\n\t\t\t\t\tif(item) {\n\t\t\t\t\t\titem.img.off('.mfploader');\n\t\t\t\t\t\tif(item === mfp.currItem){\n\t\t\t\t\t\t\tmfp._onImageHasSize(item);\n\t\t\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\t\titem.loaded = true;\n\t\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\timgSt = mfp.st.image;\n\n\n\t\t\tvar el = template.find('.mfp-img');\n\t\t\tif(el.length) {\n\t\t\t\tvar img = document.createElement('img');\n\t\t\t\timg.className = 'mfp-img';\n\t\t\t\tif(item.el && item.el.find('img').length) {\n\t\t\t\t\timg.alt = item.el.find('img').attr('alt');\n\t\t\t\t}\n\t\t\t\titem.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);\n\t\t\t\timg.src = item.src;\n\n\t\t\t\t// without clone() \"error\" event is not firing when IMG is replaced by new IMG\n\t\t\t\t// TODO: find a way to avoid such cloning\n\t\t\t\tif(el.is('img')) {\n\t\t\t\t\titem.img = item.img.clone();\n\t\t\t\t}\n\n\t\t\t\timg = item.img[0];\n\t\t\t\tif(img.naturalWidth > 0) {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t} else if(!img.width) {\n\t\t\t\t\titem.hasSize = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmfp._parseMarkup(template, {\n\t\t\t\ttitle: _getTitle(item),\n\t\t\t\timg_replaceWith: item.img\n\t\t\t}, item);\n\n\t\t\tmfp.resizeImage();\n\n\t\t\tif(item.hasSize) {\n\t\t\t\tif(_imgInterval) clearInterval(_imgInterval);\n\n\t\t\t\tif(item.loadError) {\n\t\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );\n\t\t\t\t} else {\n\t\t\t\t\ttemplate.removeClass('mfp-loading');\n\t\t\t\t\tmfp.updateStatus('ready');\n\t\t\t\t}\n\t\t\t\treturn template;\n\t\t\t}\n\n\t\t\tmfp.updateStatus('loading');\n\t\t\titem.loading = true;\n\n\t\t\tif(!item.hasSize) {\n\t\t\t\titem.imgHidden = true;\n\t\t\t\ttemplate.addClass('mfp-loading');\n\t\t\t\tmfp.findImageSize(item);\n\t\t\t}\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n/*>>image*/\n\n/*>>zoom*/\nvar hasMozTransform,\n\tgetHasMozTransform = function() {\n\t\tif(hasMozTransform === undefined) {\n\t\t\thasMozTransform = document.createElement('p').style.MozTransform !== undefined;\n\t\t}\n\t\treturn hasMozTransform;\n\t};\n\n$.magnificPopup.registerModule('zoom', {\n\n\toptions: {\n\t\tenabled: false,\n\t\teasing: 'ease-in-out',\n\t\tduration: 300,\n\t\topener: function(element) {\n\t\t\treturn element.is('img') ? element : element.find('img');\n\t\t}\n\t},\n\n\tproto: {\n\n\t\tinitZoom: function() {\n\t\t\tvar zoomSt = mfp.st.zoom,\n\t\t\t\tns = '.zoom',\n\t\t\t\timage;\n\n\t\t\tif(!zoomSt.enabled || !mfp.supportsTransition) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar duration = zoomSt.duration,\n\t\t\t\tgetElToAnimate = function(image) {\n\t\t\t\t\tvar newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),\n\t\t\t\t\t\ttransition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,\n\t\t\t\t\t\tcssObj = {\n\t\t\t\t\t\t\tposition: 'fixed',\n\t\t\t\t\t\t\tzIndex: 9999,\n\t\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\t\ttop: 0,\n\t\t\t\t\t\t\t'-webkit-backface-visibility': 'hidden'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tt = 'transition';\n\n\t\t\t\t\tcssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;\n\n\t\t\t\t\tnewImg.css(cssObj);\n\t\t\t\t\treturn newImg;\n\t\t\t\t},\n\t\t\t\tshowMainContent = function() {\n\t\t\t\t\tmfp.content.css('visibility', 'visible');\n\t\t\t\t},\n\t\t\t\topenTimeout,\n\t\t\t\tanimatedImg;\n\n\t\t\t_mfpOn('BuildControls'+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\t// Basically, all code below does is clones existing image, puts in on top of the current one and animated it\n\n\t\t\t\t\timage = mfp._getItemToZoom();\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\tshowMainContent();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\n\t\t\t\t\topenTimeout = setTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset( true ) );\n\t\t\t\t\t\topenTimeout = setTimeout(function() {\n\n\t\t\t\t\t\t\tshowMainContent();\n\n\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t\t\t\timage = animatedImg = null;\n\t\t\t\t\t\t\t\t_mfpTrigger('ZoomAnimationEnded');\n\t\t\t\t\t\t\t}, 16); // avoid blink when switching images\n\n\t\t\t\t\t\t}, duration); // this timeout equals animation duration\n\n\t\t\t\t\t}, 16); // by adding this timeout we avoid short glitch at the beginning of animation\n\n\n\t\t\t\t\t// Lots of timeouts...\n\t\t\t\t}\n\t\t\t});\n\t\t\t_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\n\t\t\t\t\tclearTimeout(openTimeout);\n\n\t\t\t\t\tmfp.st.removalDelay = duration;\n\n\t\t\t\t\tif(!image) {\n\t\t\t\t\t\timage = mfp._getItemToZoom();\n\t\t\t\t\t\tif(!image) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tanimatedImg = getElToAnimate(image);\n\t\t\t\t\t}\n\n\t\t\t\t\tanimatedImg.css( mfp._getOffset(true) );\n\t\t\t\t\tmfp.wrap.append(animatedImg);\n\t\t\t\t\tmfp.content.css('visibility', 'hidden');\n\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tanimatedImg.css( mfp._getOffset() );\n\t\t\t\t\t}, 16);\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\tif(mfp._allowZoom()) {\n\t\t\t\t\tshowMainContent();\n\t\t\t\t\tif(animatedImg) {\n\t\t\t\t\t\tanimatedImg.remove();\n\t\t\t\t\t}\n\t\t\t\t\timage = null;\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\t\t_allowZoom: function() {\n\t\t\treturn mfp.currItem.type === 'image';\n\t\t},\n\n\t\t_getItemToZoom: function() {\n\t\t\tif(mfp.currItem.hasSize) {\n\t\t\t\treturn mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Get element postion relative to viewport\n\t\t_getOffset: function(isLarge) {\n\t\t\tvar el;\n\t\t\tif(isLarge) {\n\t\t\t\tel = mfp.currItem.img;\n\t\t\t} else {\n\t\t\t\tel = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);\n\t\t\t}\n\n\t\t\tvar offset = el.offset();\n\t\t\tvar paddingTop = parseInt(el.css('padding-top'),10);\n\t\t\tvar paddingBottom = parseInt(el.css('padding-bottom'),10);\n\t\t\toffset.top -= ( $(window).scrollTop() - paddingTop );\n\n\n\t\t\t/*\n\n\t\t\tAnimating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.\n\n\t\t\t */\n\t\t\tvar obj = {\n\t\t\t\twidth: el.width(),\n\t\t\t\t// fix Zepto height+padding issue\n\t\t\t\theight: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop\n\t\t\t};\n\n\t\t\t// I hate to do this, but there is no another option\n\t\t\tif( getHasMozTransform() ) {\n\t\t\t\tobj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';\n\t\t\t} else {\n\t\t\t\tobj.left = offset.left;\n\t\t\t\tobj.top = offset.top;\n\t\t\t}\n\t\t\treturn obj;\n\t\t}\n\n\t}\n});\n\n\n\n/*>>zoom*/\n\n/*>>iframe*/\n\nvar IFRAME_NS = 'iframe',\n\t_emptyPage = '//about:blank',\n\n\t_fixIframeBugs = function(isShowing) {\n\t\tif(mfp.currTemplate[IFRAME_NS]) {\n\t\t\tvar el = mfp.currTemplate[IFRAME_NS].find('iframe');\n\t\t\tif(el.length) {\n\t\t\t\t// reset src after the popup is closed to avoid \"video keeps playing after popup is closed\" bug\n\t\t\t\tif(!isShowing) {\n\t\t\t\t\tel[0].src = _emptyPage;\n\t\t\t\t}\n\n\t\t\t\t// IE8 black screen bug fix\n\t\t\t\tif(mfp.isIE8) {\n\t\t\t\t\tel.css('display', isShowing ? 'block' : 'none');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n$.magnificPopup.registerModule(IFRAME_NS, {\n\n\toptions: {\n\t\tmarkup: '<div class=\"mfp-iframe-scaler\">'+\n\t\t\t\t\t'<div class=\"mfp-close\"></div>'+\n\t\t\t\t\t'<iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen></iframe>'+\n\t\t\t\t'</div>',\n\n\t\tsrcAction: 'iframe_src',\n\n\t\t// we don't care and support only one default type of URL by default\n\t\tpatterns: {\n\t\t\tyoutube: {\n\t\t\t\tindex: 'youtube.com',\n\t\t\t\tid: 'v=',\n\t\t\t\tsrc: '//www.youtube.com/embed/%id%?autoplay=1'\n\t\t\t},\n\t\t\tvimeo: {\n\t\t\t\tindex: 'vimeo.com/',\n\t\t\t\tid: '/',\n\t\t\t\tsrc: '//player.vimeo.com/video/%id%?autoplay=1'\n\t\t\t},\n\t\t\tgmaps: {\n\t\t\t\tindex: '//maps.google.',\n\t\t\t\tsrc: '%id%&output=embed'\n\t\t\t}\n\t\t}\n\t},\n\n\tproto: {\n\t\tinitIframe: function() {\n\t\t\tmfp.types.push(IFRAME_NS);\n\n\t\t\t_mfpOn('BeforeChange', function(e, prevType, newType) {\n\t\t\t\tif(prevType !== newType) {\n\t\t\t\t\tif(prevType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(); // iframe if removed\n\t\t\t\t\t} else if(newType === IFRAME_NS) {\n\t\t\t\t\t\t_fixIframeBugs(true); // iframe is showing\n\t\t\t\t\t}\n\t\t\t\t}// else {\n\t\t\t\t\t// iframe source is switched, don't do anything\n\t\t\t\t//}\n\t\t\t});\n\n\t\t\t_mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {\n\t\t\t\t_fixIframeBugs();\n\t\t\t});\n\t\t},\n\n\t\tgetIframe: function(item, template) {\n\t\t\tvar embedSrc = item.src;\n\t\t\tvar iframeSt = mfp.st.iframe;\n\n\t\t\t$.each(iframeSt.patterns, function() {\n\t\t\t\tif(embedSrc.indexOf( this.index ) > -1) {\n\t\t\t\t\tif(this.id) {\n\t\t\t\t\t\tif(typeof this.id === 'string') {\n\t\t\t\t\t\t\tembedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tembedSrc = this.id.call( this, embedSrc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tembedSrc = this.src.replace('%id%', embedSrc );\n\t\t\t\t\treturn false; // break;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar dataObj = {};\n\t\t\tif(iframeSt.srcAction) {\n\t\t\t\tdataObj[iframeSt.srcAction] = embedSrc;\n\t\t\t}\n\t\t\tmfp._parseMarkup(template, dataObj, item);\n\n\t\t\tmfp.updateStatus('ready');\n\n\t\t\treturn template;\n\t\t}\n\t}\n});\n\n\n\n/*>>iframe*/\n\n/*>>gallery*/\n/**\n * Get looped index depending on number of slides\n */\nvar _getLoopedId = function(index) {\n\t\tvar numSlides = mfp.items.length;\n\t\tif(index > numSlides - 1) {\n\t\t\treturn index - numSlides;\n\t\t} else  if(index < 0) {\n\t\t\treturn numSlides + index;\n\t\t}\n\t\treturn index;\n\t},\n\t_replaceCurrTotal = function(text, curr, total) {\n\t\treturn text.replace(/%curr%/gi, curr + 1).replace(/%total%/gi, total);\n\t};\n\n$.magnificPopup.registerModule('gallery', {\n\n\toptions: {\n\t\tenabled: false,\n\t\tarrowMarkup: '<button title=\"%title%\" type=\"button\" class=\"mfp-arrow mfp-arrow-%dir%\"></button>',\n\t\tpreload: [0,2],\n\t\tnavigateByImgClick: true,\n\t\tarrows: true,\n\n\t\ttPrev: 'Previous (Left arrow key)',\n\t\ttNext: 'Next (Right arrow key)',\n\t\ttCounter: '%curr% of %total%'\n\t},\n\n\tproto: {\n\t\tinitGallery: function() {\n\n\t\t\tvar gSt = mfp.st.gallery,\n\t\t\t\tns = '.mfp-gallery';\n\n\t\t\tmfp.direction = true; // true - next, false - prev\n\n\t\t\tif(!gSt || !gSt.enabled ) return false;\n\n\t\t\t_wrapClasses += ' mfp-gallery';\n\n\t\t\t_mfpOn(OPEN_EVENT+ns, function() {\n\n\t\t\t\tif(gSt.navigateByImgClick) {\n\t\t\t\t\tmfp.wrap.on('click'+ns, '.mfp-img', function() {\n\t\t\t\t\t\tif(mfp.items.length > 1) {\n\t\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t_document.on('keydown'+ns, function(e) {\n\t\t\t\t\tif (e.keyCode === 37) {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t} else if (e.keyCode === 39) {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t_mfpOn('UpdateStatus'+ns, function(e, data) {\n\t\t\t\tif(data.text) {\n\t\t\t\t\tdata.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {\n\t\t\t\tvar l = mfp.items.length;\n\t\t\t\tvalues.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';\n\t\t\t});\n\n\t\t\t_mfpOn('BuildControls' + ns, function() {\n\t\t\t\tif(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {\n\t\t\t\t\tvar markup = gSt.arrowMarkup,\n\t\t\t\t\t\tarrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),\n\t\t\t\t\t\tarrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);\n\n\t\t\t\t\tarrowLeft.click(function() {\n\t\t\t\t\t\tmfp.prev();\n\t\t\t\t\t});\n\t\t\t\t\tarrowRight.click(function() {\n\t\t\t\t\t\tmfp.next();\n\t\t\t\t\t});\n\n\t\t\t\t\tmfp.container.append(arrowLeft.add(arrowRight));\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t_mfpOn(CHANGE_EVENT+ns, function() {\n\t\t\t\tif(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);\n\n\t\t\t\tmfp._preloadTimeout = setTimeout(function() {\n\t\t\t\t\tmfp.preloadNearbyImages();\n\t\t\t\t\tmfp._preloadTimeout = null;\n\t\t\t\t}, 16);\n\t\t\t});\n\n\n\t\t\t_mfpOn(CLOSE_EVENT+ns, function() {\n\t\t\t\t_document.off(ns);\n\t\t\t\tmfp.wrap.off('click'+ns);\n\t\t\t\tmfp.arrowRight = mfp.arrowLeft = null;\n\t\t\t});\n\n\t\t},\n\t\tnext: function() {\n\t\t\tmfp.direction = true;\n\t\t\tmfp.index = _getLoopedId(mfp.index + 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tprev: function() {\n\t\t\tmfp.direction = false;\n\t\t\tmfp.index = _getLoopedId(mfp.index - 1);\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tgoTo: function(newIndex) {\n\t\t\tmfp.direction = (newIndex >= mfp.index);\n\t\t\tmfp.index = newIndex;\n\t\t\tmfp.updateItemHTML();\n\t\t},\n\t\tpreloadNearbyImages: function() {\n\t\t\tvar p = mfp.st.gallery.preload,\n\t\t\t\tpreloadBefore = Math.min(p[0], mfp.items.length),\n\t\t\t\tpreloadAfter = Math.min(p[1], mfp.items.length),\n\t\t\t\ti;\n\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index+i);\n\t\t\t}\n\t\t\tfor(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {\n\t\t\t\tmfp._preloadItem(mfp.index-i);\n\t\t\t}\n\t\t},\n\t\t_preloadItem: function(index) {\n\t\t\tindex = _getLoopedId(index);\n\n\t\t\tif(mfp.items[index].preloaded) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar item = mfp.items[index];\n\t\t\tif(!item.parsed) {\n\t\t\t\titem = mfp.parseEl( index );\n\t\t\t}\n\n\t\t\t_mfpTrigger('LazyLoad', item);\n\n\t\t\tif(item.type === 'image') {\n\t\t\t\titem.img = $('<img class=\"mfp-img\" />').on('load.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t}).on('error.mfploader', function() {\n\t\t\t\t\titem.hasSize = true;\n\t\t\t\t\titem.loadError = true;\n\t\t\t\t\t_mfpTrigger('LazyLoadError', item);\n\t\t\t\t}).attr('src', item.src);\n\t\t\t}\n\n\n\t\t\titem.preloaded = true;\n\t\t}\n\t}\n});\n\n/*>>gallery*/\n\n/*>>retina*/\n\nvar RETINA_NS = 'retina';\n\n$.magnificPopup.registerModule(RETINA_NS, {\n\toptions: {\n\t\treplaceSrc: function(item) {\n\t\t\treturn item.src.replace(/\\.\\w+$/, function(m) { return '@2x' + m; });\n\t\t},\n\t\tratio: 1 // Function or number.  Set to 1 to disable.\n\t},\n\tproto: {\n\t\tinitRetina: function() {\n\t\t\tif(window.devicePixelRatio > 1) {\n\n\t\t\t\tvar st = mfp.st.retina,\n\t\t\t\t\tratio = st.ratio;\n\n\t\t\t\tratio = !isNaN(ratio) ? ratio : ratio();\n\n\t\t\t\tif(ratio > 1) {\n\t\t\t\t\t_mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.img.css({\n\t\t\t\t\t\t\t'max-width': item.img[0].naturalWidth / ratio,\n\t\t\t\t\t\t\t'width': '100%'\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\t_mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {\n\t\t\t\t\t\titem.src = st.replaceSrc(item, ratio);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t}\n});\n\n/*>>retina*/\n _checkInstance(); }));"
  },
  {
    "path": "brutaldon/static/manifest.webmanifest",
    "content": "{\"dir\" : \"ltr\",\n    \"lang\" : \"en\",\n    \"name\" : \"brutaldon\",\n    \"scope\" : \"/\",\n    \"display\" : \"minimal-ui\",\n    \"start_url\" : \"/\",\n    \"short_name\" : \"brutaldon\",\n    \"theme_color\" : \"#CCCCCC\",\n    \"description\" : \"\",\n    \"orientation\" : \"any\",\n    \"background_color\" : \"#CCCCCC\",\n    \"icons\" : [\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon.png\",\n            \"sizes\": \"320x320\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-48.png\",\n            \"sizes\": \"48x48\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-72.png\",\n            \"sizes\": \"72x72\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-76.png\",\n            \"sizes\": \"76x76\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-96.png\",\n            \"sizes\": \"96x96\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-120.png\",\n            \"sizes\": \"120x120\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-144.png\",\n            \"sizes\": \"144x144\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-152.png\",\n            \"sizes\": \"152x152\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-192.png\",\n            \"sizes\": \"192x192\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-180.png\",\n            \"sizes\": \"180x180\"\n        },\n        {\n            \"src\": \"https://brutaldon.online/static/images/brutaldon-512.png\",\n            \"sizes\": \"512x512\"\n        }\n\n    ]}\n"
  },
  {
    "path": "brutaldon/static/offline.html",
    "content": "<!DOCTYPE html>\n<html>\n    <head>\n        <meta charset=\"utf-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <title>\n            brutaldon\n        </title>\n        <link rel=\"manifest\" href=\"/static/manifest.webmanifest\">\n\n        <link rel=\"stylesheet\"\n              href=\"/static/css/bulma.min.css\">\n        <link rel=\"stylesheet\"\n              href=\"/static/css/fork-awesome.min.css\">\n        <link rel=\"stylesheet\" href=\"/static/css/brutaldon.css\">\n\n\n        <link rel=\"icon\" href=\"/static/images/brutaldon.png\" type=\"image/png\">\n\n    </head>\n    <body class=\"has-navbar-fixed-top\">\n        <div id=\"page-load-indicator\">&nbsp</div>\n\n        <nav class=\"navbar is-fixed-top is-primary\" role=\"navigation\"\n             aria-label=\"main navigation\">\n            <div class=\"navbar-brand\">\n                <a class=\"navbar-item\" href=\"/home\"\n                    <img src=\"/static/images/brutaldon.png\"\n                         class=\"image is-32x32\" alt=\"Brutaldon\">\n\n                </a>\n            </div>\n\n        </nav>\n\n        <section id=\"main\" class=\"section\"  ic-history-elt=\"true\">\n            <div class=\"container\">\n\n\n                <div class=\"container\">\n                    <img src=\"/static/images/brutaldon.png\"\n                </div>\n\n                <h1 class=\"title\">Brutaldon</h1>\n                <h2 class=\"subtitle\">a brutalist web interface for Mastodon</h2>\n                <section class=\"section\">\n\n                    <p>\n                        Either you are offline currently, or brutaldon is down. Please try again later.\n                    </p>\n\n\n                </section>\n            </div>\n        </section>\n\n        <footer class=\"footer\">\n            <div class=\"level\">\n                <div class=\"level-left\">\n                    <a class=\"level-item is-size-7\" href=\"/about\">\n                        About\n                    </a>\n                    <a class=\"level-item is-size-7\" href=\"https://github.com/jfmcbrayer/brutaldon\">\n                        Source\n                    </a>\n                </div>\n                <div class=\"level-right\">\n\n                    <a class=\"level-item is-size-7\" href=\"/privacy\">\n                        Privacy\n                    </a>\n                </div>\n            </div>\n        </footer>\n\n\n\n        <script type=\"application/javascript\">\n         document.addEventListener('DOMContentLoaded', menuPrepare);\n         $(document).on('handle.onpopstate.ic',\n                        restorePlace);\n         if (navigator.serviceWorker.controller) {\n             console.log('[PWA Builder] active service worker found, no need to register')\n         } else {\n\n             //Register the ServiceWorker\n             navigator.serviceWorker.register('pwabuilder-sw.js', {\n                 scope: '/'\n             }).then(function(reg) {\n                 console.log('Service worker has been registered for scope:'+ reg.scope);\n             });\n         }\n         Intercooler.ready(function ()\n             {\n                 $(\".attachments\").photobox('a', { history: true });\n                 var refresh = new Event('refreshOffline');\n                 self.dispatchEvent(refresh);\n             });\n        </script>\n\n\n\n\n    </body>\n</html>\n"
  },
  {
    "path": "brutaldon/templates/about.html",
    "content": "{% extends \"base.html\" %}\n{% load static %}\n\n{% block content %}\n\n    <div class=\"container\">\n        <img src=\"{% static \"/images/brutaldon.png\" %}\"\n    </div>\n\n    <h1 class=\"title\">Brutaldon</h1>\n    <h2 class=\"subtitle\">a brutalist web interface for Mastodon</h2>\n    <section class=\"section\">\n\n        <p>\n            Brutaldon is a client for <a href=\"https://joinmastodon.org/\">Mastodon</a>. You can use it to log in to any Mastodon instance from any browser, including text browsers such as lynx.\n        </p>\n        <p>\n            You do not need a separate brutaldon account to use it. Brutaldon will authenticate you to your instance.\n        </p>\n    </section>\n\n    <section class=\"section container\">\n        <p>\n            <a class=\"button is-primary\" href=\"{% url \"login\" %}\">\n                Log in\n            </a>\n        </p>\n        {% if request.session.instance %}\n            {% if request.session.username or request.session.access_token %}\n\n                <p>\n                    <a href=\"{% url \"home\" %}\">\n                        Or continue to your home timeline.\n                    </a>\n                </p>\n            {% endif %}\n        {% endif %}\n\n    </section>\n\n    <section>\n        This is version {{ version }} of brutaldon.\n    </section>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/accounts/account_partial.html",
    "content": "<article class=\"media box\">\n    <figure class=\"media-left\">\n        <p class=\"image is-64x64\">\n            <img src=\"{{ account.user.avatar_static }}\"\n                 alt=\"{{ account.user.acct }}\">\n        </p>\n    </figure>\n    <div class=\"media-content\">\n        <strong>{{ account.user.display_name }}</strong> ({{ account.user.username }})\n    </div>\n    <div class=\"media-right\">\n        <form method=\"POST\" action=\"{% url \"accounts\" account.account_id %}\">\n            {% csrf_token %}\n            <button class=\"button\" name=\"activate\" value=\"1\">Activate</button>\n            <button class=\"button\" name=\"forget\" value=\"1\">Forget</button>\n        </form>\n    </div>\n</article>\n"
  },
  {
    "path": "brutaldon/templates/accounts/list.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n    <div class=\"container\">\n        <h1 class=\"title\">Signed-in accounts</h1>\n\n        {% if not accounts %}\n            <p>No accounts.</p>\n        {% endif %}\n\n\n        {% for account in accounts %}\n            {% include \"accounts/account_partial.html\" %}\n        {% endfor %}\n\n        <p>\n            Or <a href=\"{% url \"login\" %}\">log in</a> to another account to\n            add it to the list.\n        </p>\n\n        <p>\n            Or <a href=\"{% url \"logout\" %}\">log out</a> of <em>all</em>\n            accounts.\n        </p>\n\n    </div>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/base.html",
    "content": "{% load static %}\n{% load taglinks %}\n\n<!DOCTYPE html>\n<html>\n    <head>\n        <meta charset=\"utf-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n        <title>\n            {% block title %}\n                {% if own_acct %}\n                    brutaldon ('{{ own_acct.username }}')\n                {% else %}\n                    brutaldon\n                {% endif %}\n            {% endblock %}</title>\n            <link rel=\"manifest\" href=\"{% static 'manifest.webmanifest' %}\">\n            {% if not preferences %}\n                <link rel=\"stylesheet\"\n                      href=\"{% static 'css/bulma.min.css' %}\">\n                <link rel=\"stylesheet\"\n                      href=\"{% static 'css/fork-awesome.min.css' %}\">\n                <link rel=\"stylesheet\"\n                      href=\"{% static 'css/bulma-badge.min.css' %}\">\n                <link rel=\"stylesheet\"\n                      href=\"{% static 'css/bulma-tooltip.min.css' %}\">\n                <link rel=\"stylesheet\"\n                      href=\"{% static 'css/magnific-popup.css' %}\">\n                <link rel=\"stylesheet\" href=\"{% static \"css/brutaldon.css\" %}\">\n            {% else  %}\n                <link rel=\"stylesheet\"\n                      href=\"{% static preferences.theme.main_css %}\">\n                <link rel=\"stylesheet\" href=\"{% static preferences.theme.tweaks_css %}\">\n                <link rel=\"stylesheet\"\n                      href=\"{% static 'css/magnific-popup.css' %}\">\n                {% if not preferences.theme.is_brutalist %}\n                    <link rel=\"stylesheet\"\n                          href=\"{% static 'css/fork-awesome.min.css' %}\">\n                    <link rel=\"stylesheet\"\n                          href=\"{% static 'css/bulma-badge.min.css' %}\">\n                    <link rel=\"stylesheet\"\n                          href=\"{% static 'css/bulma-tooltip.min.css' %}\">\n                {% endif %}\n                {% if not preferences.no_javascript %}\n                    <script type=\"text/javascript\" src=\"{% static 'js/jquery.min.js' %}\"></script>\n                    <script type=\"text/javascript\" src=\"{% static 'js/intercooler.js' %}\"></script>\n                    <script type=\"application/javascript\" src=\"{% static 'js/mousetrap.min.js' %}\"></script>\n                    <script type=\"text/javascript\" src=\"{% static 'js/jquery.magnific-popup.min.js' %}\"></script>\n                    <script type=\"text/javascript\" src=\"{% static 'js/loading-attribute-polyfill.min.js' %}\"></script>\n                    <script type=\"text/javascript\" src=\"{% static 'js/brutaldon-enhancements.js' %}\"></script>\n                    {% block page_scripts %}\n                    {% endblock %}\n                {% endif %}\n            {% endif %}\n            {% if own_acct %}\n                <link rel=\"icon\" href=\"{{ own_acct.avatar_static }}\">\n            {% else %}\n                <link rel=\"icon\" href=\"{% static \"images/brutaldon.png\" %}\" type=\"image/png\">\n            {% endif %}\n\n            <meta name=\"twitter:card\" content=\"summary\">\n            <meta property=\"og:type\" content=\"website\">\n            <meta name=\"twitter:site\" content=\"@jfmcbrayer\">\n            <meta name=\"twitter:url\" property=\"og:url\" content=\"{% url \"about\" %}\">\n            <meta name=\"twitter:title\" property=\"og:title\" content=\"Brutaldon\">\n            <meta name=\"twitter:image\" property=\"og:image\"\n                  content=\"{% static \"images/brutaldon.png\" %}\">\n            <meta name=\"twitter:description\" property=\"og:description\"\n                  content=\"A brutalist, web-1.0 web client for Mastodon and Pleroma. Supports text-only browsers like Lynx, older browsers, as well as the latest mainstream browsers. All JavaScript is completely optional and progressively enhances the core application.\">\n\n\n\n\n    </head>\n    <body ic-global-include='{\"csrfmiddlewaretoken\": \"{{ csrf_token }}\"}'>\n        <div id=\"page-load-indicator\"></div>\n        <div id=\"new-toot-modal\" class=\"modal\"></div>\n        {% block navbar %}\n            <nav class=\"navbar is-primary\" role=\"navigation\"\n                 aria-label=\"main navigation\" id=\"main-nav-bar\">\n                <div class=\"navbar-brand\">\n                    <a class=\"navbar-item\" href=\"{% url \"home\" %}\">\n                        {% if own_acct %}\n                        <img src=\"{{ own_acct.avatar_static }}\"\n                             class=\"image is-32x32 avatar\"\n                             alt=\"Brutaldon ('{{ own_acct.username }}')\">\n                        {% else %}\n                        <img loading=\"lazy\" src=\"{% static \"images/brutaldon.png\" %}\"\n                             class=\"image is-32x32\" alt=\"Brutaldon\">\n                        {% endif %}\n                    </a>\n                </div>\n                {% if request.session.active_instance and request.session.active_username %}\n                    <div class=\"navbar-menu is-active\" id=\"navMenu\">\n                        <!-- navbar start, navbar end -->\n                        <div class=\"navbar-start\">\n                            <a href=\"{% url \"home\" %}\" class=\"navbar-item\">\n                                <span class=\"fa fa-home\"></span>\n                                <span>Home</span>\n                            </a>\n                            <a class=\"navbar-item\" href=\"{% url \"note\" %}\">\n                                <span class=\"fa fa-bell\"></span>\n                                {% if preferences.notifications and not preferences.theme.is_brutalist %}\n                                    <span ic-src=\"{% url 'notes_count' %}\"\n                                          ic-poll=\"{{ preferences.poll_frequency }}s\"\n                                          ic-target=\"this\"\n                                          ic-select-from-response=\"#notes-count\">\n                                        <span\n                                            {% if notifications and notifications != '0' %}\n                                            class=\"badge\"\n                                            {% endif %}\n                                            data-badge=\"{{ notifications }}\">\n                                            Notifications</span>\n                                    </span>\n                                {% elif notifications and preferences.notifications %}\n                                    <span ic-src=\"{% url 'notes_count' %}\"\n                                          ic-poll=\"{{ preferences.poll_frequency }}s\"\n                                          ic-target=\"this\"\n                                          ic-select-from-response=\"#notes-count\">\n                                        <span >Notifications ({{ notifications }})</span>\n                                    </span>\n                                {% else %}\n                                    <span >Notifications</span>\n                                {% endif %}\n                            </a>\n                            <a class=\"navbar-item\" href=\"{% url \"local\" %}\">\n                                <span class=\"fa fa-community\"></span>\n                                <span >Local</span>\n                            </a>\n                            <a class=\"navbar-item\" href=\"{% url \"fed\" %}\">\n                                <span class=\"fa fa-globe\"></span>\n                                <span >Federated</span>\n                            </a>\n                            <a class=\"navbar-item\" href=\"{% url \"toot\" %}\"\n                               ic-get-from=\"{% url \"toot\" %}\"\n                               ic-target=\"#new-toot-modal\"\n                               ic-on-complete=\"$('#new-toot-modal').toggleClass('is-active');\">\n                                <span class=\"fa fa-edit\"> </span>\n                                <span >New Toot</span>\n                            </a>\n                            <a class=\"navbar-item\" href=\"{% url \"search\" %}\"\n                               ic-get-from=\"{% url \"search\" %}\"\n                               ic-target=\"#new-toot-modal\"\n                               ic-on-complete=\"$('#new-toot-modal').toggleClass('is-active');\">\n                                <span class=\"fa fa-search\"> </span>\n                                <span >Search</span>\n                            </a>\n                        </div>\n                        <div class=\"navbar-end\" >\n                            <a class=\"navbar-item\" href=\"{% url \"settings\" %}\">\n                                <span class=\"fa fa-gear\"></span>\n                                <span >Settings</span>\n                            </a>\n                            <a class=\"navbar-item\" href=\"{% url \"accounts\" %}\">\n                                <span class=\"fa fa-id-card-o\"> </span>\n                                <span >Accounts</span>\n                            </a>\n                        </div>\n                    </div>\n                {% endif %}\n            </nav>\n        {% endblock %}\n\n        <main id=\"main\" class=\"section\">\n            <div class=\"container\">\n                {% block content %}\n                    <h1 class=\"title\">\n                        Title\n                    </h1>\n                    <p class=\"subtitle\">\n                        Brutaldon is totally a thing.\n                    </p>\n                {% endblock %}\n            </div>\n        </main>\n\n        <footer class=\"footer\">\n            <div class=\"level\">\n                <div class=\"level-left\">\n                    <a class=\"level-item is-size-7\" href=\"{% url \"about\" %}\">\n                        About\n                    </a>\n                    <a class=\"level-item is-size-7\" href=\"https://github.com/jfmcbrayer/brutaldon\">\n                        Source\n                    </a>\n                    <span class=\"level-item is-size-7\" >Bookmarklet: <a href=\"{{ bookmarklet_url }}\">Share via brutaldon</a></span>\n                </div>\n                <div class=\"level-right\">\n                    {% if preferences.theme.is_brutalist %}\n                        <noscript class=\"loading-lazy\">\n                        <img loading=\"lazy\" class=\"level-item\" src=\"{% static '/images/lynx.gif' %}\"\n                             alt=\"Lynx Now!\">\n                        <img loading=\"lazy\" class=\"level-item\" src=\"{% static '/images/now9.gif' %}\"\n                             alt=\"Netscape Now!\">\n                        </noscript>\n                    {% endif %}\n                    <a class=\"level-item is-size-7\" href=\"{% url \"privacy\" %}\">\n                        Privacy\n                    </a>\n                </div>\n            </div>\n        </footer>\n\n        {% if not preferences.no_javascript %}\n\n            <script type=\"application/javascript\">\n             $(document).ready(function () {\n                 menuPrepare();\n             });\n\n             {% if preferences.lightbox %}\n             Intercooler.ready(function ()\n                 {\n                     $('.attachments').each(function() {\n                         $(this).magnificPopup({\n                             delegate: 'figure.attachment-image a',\n                             type: 'image',\n                             preload: [1, 1],\n                             gallery:  {enabled: true },\n                             zoom: { enabled: true }\n                         });\n                     });\n                 });\n             {% endif %}\n            </script>\n            {% block page_scripts_inline %}\n            {% endblock %}\n\n        {% endif %}\n    </body>\n</html>\n"
  },
  {
    "path": "brutaldon/templates/comma.html",
    "content": "{% if not forloop.first %}\n    {% if forloop.last %}, and\n    {% else %},\n    {% endif %}\n{% endif %}\n"
  },
  {
    "path": "brutaldon/templates/error.html",
    "content": "{% extends \"base.html\" %}\n"
  },
  {
    "path": "brutaldon/templates/filters/create.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n\n    <div class=\"container\">\n        <h1 class=\"title\">Create Filter</h1>\n\n        <form method=\"post\" id=\"create-filter-form\" action=\"{% url \"create_filter\" %}\">\n            {% csrf_token %}\n\n            <div>\n                {{ form.non_field_errors }}\n            </div>\n\n            <div class=\"field\">\n                <label class=\"label\"> {{ form.phrase.label }}</label>\n                <div class=\"control\">\n                    {% render_field form.phrase class+=\"input\" %}\n                </div>\n            </div>\n\n            <div class=\"columns\">\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_home.label }}\n                        {% render_field form.context_home %}\n                    </label>\n                </div>\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_public.label }}\n                        {% render_field form.context_public %}\n                    </label>\n                </div>\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_notes.label }}\n                        {% render_field form.context_notes %}\n                    </label>\n                </div>\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_thread.label }}\n                        {% render_field form.context_thread %}\n                    </label>\n                </div>\n            </div>\n\n            <div class=\"field\">\n                <label class=\"label checkbox\">\n                    {{ form.whole_word.label }}\n                    {% render_field form.whole_word %}\n                </label>\n            </div>\n\n            <div class=\"field\">\n                <label class=\"label\" for=\"expires_in\">{{ form.expires_in.label }}</label>\n                <div class=\"control has-icons-left\">\n                    <div class=\"select\">\n                        {% render_field form.expires_in class+=\"select\" %}\n                        <span class=\"icon is-small is-left\">\n                            <span class=\"fa fa-clock-o\"></span>\n                        </span>\n                    </div>\n                </div>\n            </div>\n\n            <div class=\"field\">\n                <input type=\"submit\"  name=\"submit\" value=\"Save\"\n                       class=\"button is-primary\">\n            </div>\n\n        </form>\n    </div>\n\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/filters/delete.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n    <h1 class=\"title\">Delete that filter?</h1>\n\n    <div class=\"container\">\n        <p class=\"label\">Phrase: {{ filter.phrase }}</p>\n        <p class=\"label\">Context: {{ filter.context|join:\", \" }}</p>\n        <p class=\"label\">Whole word? {{ filter.whole_word }}</p>\n    </div>\n\n    <div class=\"container\">\n        <form method=\"POST\" action=\"{% url \"delete_filter\" filter.id %}\">\n            {% csrf_token %}\n            <div class=\"level is-mobile\">\n                <div class=\"level-left\">\n                    <div class=\"level-item\">\n                        <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n                    </div>\n                </div>\n                <div class=\"level-right\">\n                    <div class=\"level-item\">\n                        <input class=\"button is-primary\" type=\"submit\" name=\"delete\"\n                               value=\"Delete\">\n                    </div>\n                </div>\n            </div>\n        </form>\n    </div>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/filters/edit.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n\n    <div class=\"container\">\n        <h1 class=\"title\">Edit Filter</h1>\n\n        <form method=\"post\" id=\"edit-filter-form\"\n              action=\"{% url \"edit_filter\" filter.id %}\">\n            {% csrf_token %}\n\n            <div>\n                {{ form.non_field_errors }}\n            </div>\n\n            <div class=\"field\">\n                <label class=\"label\"> {{ form.phrase.label }}</label>\n                <div class=\"control\">\n                    {% render_field form.phrase class+=\"input\" %}\n                </div>\n            </div>\n\n            <div class=\"columns\">\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_home.label }}\n                        {% render_field form.context_home %}\n                    </label>\n                </div>\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_public.label }}\n                        {% render_field form.context_public %}\n                    </label>\n                </div>\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_notes.label }}\n                        {% render_field form.context_notes %}\n                    </label>\n                </div>\n                <div class=\"column field\">\n                    <label class=\"label checkbox\">\n                        {{ form.context_thread.label }}\n                        {% render_field form.context_thread %}\n                    </label>\n                </div>\n            </div>\n\n            <div class=\"field\">\n                <label class=\"label checkbox\">\n                    {{ form.whole_word.label }}\n                    {% render_field form.whole_word %}\n                </label>\n            </div>\n\n            <div class=\"field\">\n                <label class=\"label\" for=\"expires_in\">{{ form.expires_in.label }}</label>\n                <div class=\"control has-icons-left\">\n                    <div class=\"select\">\n                        {% render_field form.expires_in class+=\"select\" %}\n                        <span class=\"icon is-small is-left\">\n                            <span class=\"fa fa-clock-o\"></span>\n                        </span>\n                    </div>\n                </div>\n            </div>\n\n            <div class=\"field\">\n                <input type=\"submit\"  name=\"submit\" value=\"Save\"\n                       class=\"button is-primary\">\n            </div>\n\n        </form>\n    </div>\n\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/filters/list.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n    <div class=\"container\">\n        <h1 class=\"title\">Filters</h1>\n\n        <table class=\"table\">\n            <thead>\n                <tr>\n                    <th>Phrase</th>\n                    <th>Filter contexts</th>\n                    <th></th>\n                    <th></th>\n                    <th class=\"empty-cell\"></th>\n            </thead>\n            <tbody>\n                {% for filter in filters %}\n                    <tr id=\"filter-{{ filter.id }}\">\n                        <td>{{ filter.phrase }}</td>\n                        <td>\n                            {% for context in filter.context %}\n                                {{ context }}\n                            {% endfor %}\n                        </td>\n                        <td>\n                            <a href=\"{% url \"edit_filter\" filter.id %}\">\n                                <span class=\"fa fa-pencil\"></span>\n                                Edit filter\n                            </a>\n                        </td>\n                        <td>\n                            <a href=\"{% url \"delete_filter\" filter.id %}\"\n                               ic-delete-from=\"{% url \"delete_filter\" filter.id %}\",\n                               ic-indicator=\"#filter-spinner-{{ filter.id }}\"\n                               ic-confirm=\"Really delete that filter?\"\n                               ic-success-action=\"fadeOut;remove\"\n                               ic-action-target=\"#filter-{{ filter.id }}\">\n                                <span class=\"fa fa-times\"></span>\n                                Delete filter\n                        </td>\n                        <td class=\"empty-cell\">\n                            <i id=\"filter-spinner-{{filter.id}}\"\n                               class=\"fa fa-spinner fa-spin\"\n                               style=\"display:none\"></i>\n                        </td>\n                    </tr>\n                {% endfor %}\n            </tbody>\n        </table>\n\n        <p>\n            <a class=\"button is-primary\" href=\"{% url \"create_filter\" %}\">\n                Create filter\n            </a>\n    </div>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/intercooler/block.html",
    "content": "{% if not relationship.blocking %}\n<a class=\"level-item fa fa-ban\" title=\"block\"\n   href=\"{% url 'block' user.id %}\"\n   ic-post-to=\"{% url 'block' user.id %}\"\n   ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n    <span class=\"is-hidden\">Block</span>\n</a>\n{% else %}\n<a class=\"level-item fa fa-circle-o\" title=\"unblock\"\n   href=\"{% url 'block' user.id %}\"\n   ic-post-to=\"{% url 'block' user.id %}\"\n   ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n    <span class=\"is-hidden\">Unblock</span>\n</a>\n{% endif %}\n"
  },
  {
    "path": "brutaldon/templates/intercooler/boost.html",
    "content": "{% if toot.visibility != 'private' and toot.visibility != 'direct' %}\r\n    {% if toot.reblogged %}\r\n    <span class=\"fa fa-retweet has-text-warning\">\r\n        <strong class=\"is-hidden-mobile\" >Boosted</strong>\r\n        {% else %}\r\n        <span class=\"fa fa-retweet\" >\r\n            <span class=\"is-hidden-mobile\" >Boost</span>\r\n            {% endif %}\r\n        </span>\r\n    </span>\r\n{% endif %}\r\n"
  },
  {
    "path": "brutaldon/templates/intercooler/fav.html",
    "content": "    {% if toot.favourited %}\r\n    <span class=\"fa fa-heart has-text-warning\">\r\n        <strong class=\"is-hidden-mobile\" >Favorited</strong>\r\n        {% else %}\r\n        <span class=\"fa fa-heart\">\r\n            <span class=\"is-hidden-mobile\" >Favorite</span>\r\n            {% endif %}\r\n        </span>\r\n    </span>\r\n"
  },
  {
    "path": "brutaldon/templates/intercooler/follow.html",
    "content": "{% if relationship.requested %}\r\n    <a class=\"level-item fa fa-hourglass\" title=\"cancel request\"\r\n       href=\"{% url 'follow' user.id %}\"\r\n       ic-post-to=\"{% url 'follow' user.id %}\"\r\n       ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\r\n        <span class=\"is-hidden\">Cancel request</span>\r\n    </a>\r\n{% elif not relationship.following %}\r\n    <a class=\"level-item fa fa-user-plus\" title=\"follow\"\r\n       href=\"{% url 'follow' user.id %}\"\r\n       ic-post-to=\"{% url 'follow' user.id %}\"\r\n       ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\r\n        <span class=\"is-hidden\">Follow</span>\r\n    </a>\r\n{% else %}\r\n    <a class=\"level-item fa fa-user-times\" title=\"unfollow\"\r\n       href=\"{% url 'follow' user.id %}\"\r\n       ic-post-to=\"{% url 'follow' user.id %}\"\r\n       ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\r\n        <span class=\"is-hidden\">Unfollow</span>\r\n    </a>\r\n{% endif %}\r\n"
  },
  {
    "path": "brutaldon/templates/intercooler/mute.html",
    "content": "{% if not relationship.muting %}\n<a class=\"level-item fa fa-volume-off\" title=\"mute\"\n   href=\"{% url 'mute' user.id %}\"\n   ic-post-to=\"{% url 'mute' user.id %}\"\n   ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n    <span class=\"is-hidden\">Mute</span>\n</a>\n{% else %}\n<a class=\"level-item fa fa-volume-up\" title=\"unmute\"\n   href=\"{% url 'mute' user.id %}\"\n   ic-post-to=\"{% url 'mute' user.id %}\"\n   ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n    <span class=\"is-hidden\">Unmute</span>\n</a>\n{% endif %}\n"
  },
  {
    "path": "brutaldon/templates/intercooler/notes.html",
    "content": "<span id=\"notes-count\">\n{% if not preferences.theme.is_brutalist %}\n    <span\n        {% if notifications and notifications != '0' %}\n        class=\"badge\"\n        {% endif %}\n        data-badge=\"{{ notifications }}\">\n        Notifications</span>\n    </span>\n{% else %}\n    <span >Notifications ({{ notifications }})</span>\n{% endif %}\n</span>\n"
  },
  {
    "path": "brutaldon/templates/intercooler/post.html",
    "content": "<div class=\"modal-background\" ></div>\n<div class=\"modal-content\">\n    <div class=\"box\">\n        {% include \"main/post_partial.html\" %}\n    </div>\n</div>\n<button id=\"toot-modal-close\" class=\"modal-close is-large\" aria-label=\"close\"></button>\n\n<script type=\"application/javascript\">\n $(\"#toot-modal-close\").on(\"click\", function () { $(\"#new-toot-modal\").toggleClass(\"is-active\"); });\n $(\".modal-background\").on(\"click\", function () { $(\"#new-toot-modal\").toggleClass(\"is-active\"); });\n \n Mousetrap.bind('ctrl+enter', function(e) {\n     var form = document.querySelector('#post-form');\n     form.submit();\n     return true;\n });\n Mousetrap.bind('esc', function(e) { $(\"#new-toot-modal\").toggleClass(\"is-active\"); });\n</script>\n"
  },
  {
    "path": "brutaldon/templates/intercooler/search.html",
    "content": "<div class=\"modal-background\" ></div>\n<div class=\"modal-content\">\n\n    <div class=\"box\">\n        <h1 class=\"title\">Search</h1>\n\n        <div class=\"notification\">\n            <div>\n                You can search for tags, users, or for specific toots by URL. You may\n                also be able to full-text search for toots you have previously\n                interacted with.\n            </div>\n        </div>\n        <form method=\"get\" action=\"{% url \"search_results\" %}\">\n            <div class=\"field\">\n                <label class=\"label\">{{ form.instance.label  }}</label>\n                <div class=\"control has-icons-left\">\n                    <input type=\"search\" name=\"q\" id=\"q\" class=\"input\">\n                    <span class=\"icon is-small is-left\">\n                        <i class=\"fa fa-search\"></i>\n                    </span>\n                </div>\n            </div>\n\n            <div class=\"field\">\n                <input type=\"submit\" value=\"Search\" class=\"button is-primary\" >\n            </div>\n        </form>\n    </div>\n</div>\n<button id=\"toot-modal-close\" class=\"modal-close is-large\" aria-label=\"close\"></button>\n\n<script type=\"application/javascript\">\n $(\"#toot-modal-close\").on(\"click\", function () { $(\"#new-toot-modal\").toggleClass(\"is-active\"); });\n $(\".modal-background\").on(\"click\", function () { $(\"#new-toot-modal\").toggleClass(\"is-active\"); });\n Mousetrap.bind('esc', function(e) { $(\"#new-toot-modal\").toggleClass(\"is-active\"); });\n</script>\n"
  },
  {
    "path": "brutaldon/templates/intercooler/users.html",
    "content": "<div class=\"tooltip is-tooltip-active is-tooltip-multiline is-tooltip-bottom\"\n     data-tooltip=\"{{ users }}\"></div>\n"
  },
  {
    "path": "brutaldon/templates/main/block.html",
    "content": "{% extends \"base.html\" %}\n{% load taglinks %}\n{% load sanitizer %}\n\n{% block title %}Brutaldon ({{ own_acct.username }}) - confirm (un)block {% endblock %}\n\n{% block content %}\n    {% if relationship.blocking %}\n        <h1 class=\"title\">Unblock this user?</h1>\n    {% else %}\n        <h1 class=\"title\">Block this user?</h1>\n    {% endif %}\n\n    <article class=\"media user-info\">\n        <figure class=\"media-left\">\n            <p class=\"image is-64x64\">\n                <a href=\"{% url \"user\" user.acct %}\">\n                    <img src=\"{{ user.avatar }}\"\n                         alt=\"\">\n                </a>\n            </p>\n        </figure>\n        <div class=\"media-content\">\n            <div class=\"content\">\n                <p>\n                    <strong>{{ user.display_name }}</strong>\n                    <small>\n                        <a href=\"{% url \"user\" user.acct %}\">\n                            @{{ user.acct }}\n                        </a>\n                    </small>\n                </p>\n                {{ user.note | relink_toot | strip_html | safe }}\n                <p>\n                </p>\n\n            </div>\n        </div>\n    </article>\n\n    <form method=\"POST\" action=\"{% url 'block' user.id %}\">\n        {% csrf_token %}\n        <div class=\"level is-mobile\">\n            <div class=\"level-left\">\n                <div class=\"level-item\">\n                    <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n                </div>\n            </div>\n            <div class=\"level-right\">\n                <div class=\"level-item\">\n                    <input class=\"button is-primary\" type=\"submit\" name=\"block\"\n                           value=\"Confirm\">\n                </div>\n            </div>\n        </div>\n    </form>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/boost.html",
    "content": "{% extends \"base.html\" %}\n\n{% block title  %} Brutaldon ({{ own_acct.username }}) - confirm boost {% endblock %}\n\n{% block content %}\n{% if toot.reblogged %}\n<h1 class=\"title\">Unboost that toot?</h1>\n{% else %}\n<h1 class=\"title\" >Boost that toot?</h1>\n{% endif %}\n\n{% include \"main/toot_partial.html\" with toot=toot %}\n<form method=\"POST\" action=\"{% url \"boost\" toot.id %}\">\n    {% csrf_token %}\n    <div class=\"level is-mobile\">\n        <div class=\"level-left\">\n            <div class=\"level-item\">\n                <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n            </div>\n        </div>\n        <div class=\"level-right\">\n            <div class=\"level-item\">\n                {% if toot.reblogged %}\n                <input class=\"button is-primary\" type=\"submit\" name=\"boost\"\n                       value=\"Unboost\">\n                {% else %}\n                <input class=\"button is-primary\" type=\"submit\" name=\"boost\"\n                       value=\"Boost\">\n                {% endif %}\n            </div>\n        </div>\n    </div>\n</form>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/delete.html",
    "content": "{% extends \"base.html\" %}\n\n{% block title  %} Brutaldon - confirm delete {% endblock %}\n\n{% block content %}\n<h1 class=\"title\">Delete that toot?</h1>\n\n{% include \"main/toot_partial.html\" with toot=toot %}\n<form method=\"POST\" action=\"{% url \"delete\" toot.id %}\">\n    {% csrf_token %}\n    <div class=\"level is-mobile\">\n        <div class=\"level-left\">\n            <div class=\"level-item\">\n                <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n            </div>\n        </div>\n        <div class=\"level-right\">\n            <div class=\"level-item\">\n                <input class=\"button is-primary\" type=\"submit\" name=\"delete\"\n                       value=\"Delete\">\n            </div>\n        </div>\n    </div>\n</form>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/emoji.html",
    "content": "{% extends \"base.html\" %}\n\n{% block title %}Brutaldon ({{ own_acct.username }}) - Custom emoji reference {% endblock %}\n\n{% block content %}\n    <section>\n        <h1 class=\"title\">Custom emoji reference</h1>\n        <p class=\"subtitle\">\n            Copy shortcodes from the list below to use your instance's custom emoji.\n        </p>\n    </section>\n\n    <hr>\n    <section>\n        <div class=\"columns is-9 is-variable is-centered is-multiline\">\n            {% for emojo in emojos  %}\n                <div class=\"column is-one-fifth\">\n                    <p class=\"level emoji-box\">\n                        <img alt=\"\" class=\"level-item emoji\" src=\"{{ emojo.url }}\">\n                        <span class=\"level-item\">:{{ emojo.shortcode }}:</span>\n                    </p>\n                </div>\n            {% endfor %}\n        </div>\n    </section>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/fav.html",
    "content": "{% extends \"base.html\" %}\n\n{% block title  %} Brutaldon ({{ own_acct.username }}) - confirm favorite {% endblock %}\n\n{% block content %}\n{% if toot.favourited %}\n<h1 class=\"title\">Unfav that toot?</h1>\n{% else %}\n<h1 class=\"title\" >Fav that toot?</h1>\n{% endif %}\n\n{% include \"main/toot_partial.html\" with toot=toot %}\n<form method=\"POST\" action=\"{% url \"fav\" toot.id %}\">\n    {% csrf_token %}\n    <div class=\"level is-mobile\">\n        <div class=\"level-left\">\n            <div class=\"level-item\">\n                <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n            </div>\n        </div>\n        <div class=\"level-right\">\n            <div class=\"level-item\">\n                {% if toot.favorited %}\n                <input class=\"button is-primary\" type=\"submit\" name=\"fav\"\n                       value=\"Unfavorite\">\n                {% else %}\n                <input class=\"button is-primary\" type=\"submit\" name=\"fav\"\n                       value=\"Favorite\">\n                {% endif %}\n            </div>\n        </div>\n    </div>\n</form>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/follow.html",
    "content": "{% extends \"base.html\" %}\n{% load taglinks %}\n{% load sanitizer %}\n\n{% block title %}Brutaldon ({{ own_acct.username }}) - confirm (un)follow {% endblock %}\n\n{% block content %}\n    {% if relationship.requested %}\n        <h1 class=\"title\">Cancel follow request?</h1>\n    {% elif relationship.following %}\n        <h1 class=\"title\">Unfollow this user?</h1>\n    {% else %}\n        <h1 class=\"title\">Follow this user?</h1>\n    {% endif %}\n\n    <article class=\"media user-info\">\n        <figure class=\"media-left\">\n            <p class=\"image is-64x64\">\n                <a href=\"{% url \"user\" user.acct %}\">\n                    <img src=\"{{ user.avatar }}\"\n                         alt=\"\">\n                </a>\n            </p>\n        </figure>\n        <div class=\"media-content\">\n            <div class=\"content\">\n                <p>\n                    <strong>{{ user.display_name }}</strong>\n                    <small>\n                        <a href=\"{% url \"user\" user.acct %}\">\n                            @{{ user.acct }}\n                        </a>\n                    </small>\n                </p>\n                {{ user.note | relink_toot | strip_html | safe }}\n                <p>\n                </p>\n\n            </div>\n        </div>\n    </article>\n\n    <form method=\"POST\" action=\"{% url 'follow' user.id %}\">\n        {% csrf_token %}\n        <div class=\"level is-mobile\">\n            <div class=\"level-left\">\n                <div class=\"level-item\">\n                    <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n                </div>\n            </div>\n            <div class=\"level-right\">\n                <div class=\"level-item\">\n                    <input class=\"button is-primary\" type=\"submit\" name=\"follow\"\n                           value=\"Confirm\">\n                </div>\n            </div>\n        </div>\n    </form>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/home_timeline.html",
    "content": "{% extends \"main/timeline.html\" %}\n"
  },
  {
    "path": "brutaldon/templates/main/local_timeline.html",
    "content": "{% extends \"main/timeline.html\" %}\n\n{% block pagination %}\n    <nav class=\"pagination is-centered\" role=\"navigation\" aria-label=\"pagination\">\n        {% if prev %}\n            <a class=\"pagination-next\" href=\"{% url 'local_prev' prev.min_id %}\">Newer</a>\n        {% endif %}\n        {% if next %}\n            <a class=\"pagination-previous\" href=\"{% url 'local_next' next.max_id %}\">Older</a>\n        {% endif %}\n    </nav>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/mute.html",
    "content": "{% extends \"base.html\" %}\n{% load taglinks %}\n{% load sanitizer %}\n\n{% block title %}Brutaldon - confirm (un)mute {% endblock %}\n\n{% block content %}\n    {% if relationship.muting %}\n        <h1 class=\"title\">Unmute this user?</h1>\n    {% else %}\n        <h1 class=\"title\">Mute this user?</h1>\n    {% endif %}\n\n    <article class=\"media user-info\">\n        <figure class=\"media-left\">\n            <p class=\"image is-64x64\">\n                <a href=\"{% url \"user\" user.acct %}\">\n                    <img src=\"{{ user.avatar }}\"\n                         alt=\"\">\n                </a>\n            </p>\n        </figure>\n        <div class=\"media-content\">\n            <div class=\"content\">\n                <p>\n                    <strong>{{ user.display_name }}</strong>\n                    <small>\n                        <a href=\"{% url \"user\" user.acct %}\">\n                            @{{ user.acct }}\n                        </a>\n                    </small>\n                </p>\n                {{ user.note | relink_toot | strip_html | safe }}\n                <p>\n                </p>\n\n            </div>\n        </div>\n    </article>\n\n    <form method=\"POST\" action=\"{% url 'mute' user.id %}\">\n        {% csrf_token %}\n        <div class=\"level is-mobile\">\n            <div class=\"level-left\">\n                <div class=\"level-item\">\n                    <input class=\"button\" type=\"submit\" name=\"cancel\" value=\"Cancel\">\n                </div>\n            </div>\n            <div class=\"level-right\">\n                <div class=\"level-item\">\n                    <input class=\"button is-primary\" type=\"submit\" name=\"mute\"\n                           value=\"Confirm\">\n                </div>\n            </div>\n        </div>\n    </form>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/notifications.html",
    "content": "{% extends \"base.html\" %}\n{% load humanetime %}\n{% load taglinks %}\n{% load sanitizer %}\n\n{% block title %}\n    Brutaldon ({{ own_acct.username }}) - Notifications timelime\n{% endblock %}\n\n{% comment %}\nmastodon.notifications()[0]\n# Returns the following dictionary:\n{\n'id': # id of the notification\n'type': # \"mention\", \"reblog\", \"favourite\" or \"follow\"\n'created_at': # The time the notification was created\n'account': # User dict of the user from whom the notification originates\n'status': # In case of \"mention\", the mentioning status\n# In case of reblog / favourite, the reblogged / favourited status\n}\n{% endcomment %}\n\n\n{% block content %}\n    <h1 class=\"title\">Your notifications timeline</h1>\n    {% for group in groups %}\n        {% if bundle_notifications and group.0.type in bundleable  %}\n            {% if group.0.type == 'favourite' %}\n                <p>\n                    {% for account in group.accounts %}\n                        {% include \"comma.html\" %}{{ account.display_name | fix_emojos:account.emojis |strip_html |safe }}\n                        (<a href=\"{{ account.url | localuser}}\">{{ account.acct }}</a>)\n                    {% endfor %}\n                    favorited your toot.\n                </p>\n                {% include \"main/toot_partial.html\" with toot=group.0.status %}\n                <hr class=\"is-hidden\">\n            {% elif group.0.type == 'reblog' %}\n                <p>\n                    {% for account in group.accounts %}\n                        {% include \"comma.html\" %}{{ account.display_name | fix_emojos:account.emojis |strip_html |safe }}\n                        (<a href=\"{{ account.url | localuser }}\">{{ account.acct }}</a>)\n                    {% endfor %}\n                    boosted your toot.\n                </p>\n                {% include \"main/toot_partial.html\" with toot=group.0.status reblog=True reblog_by=group.0.account.acct reblog_icon=group.0.account.avatar_static %}\n                <hr class=\"is-hidden\">\n            {% endif %}\n        {% else %}\n            {% for note in group %}\n                {% if note.type == 'mention' %}\n                    <p>\n                        <strong>{{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }}</strong>\n                        (<a href=\"{{ note.account.url | localuser }}\">{{ note.account.acct }}</a>)\n                        mentioned you.\n                    </p>\n                    <br>\n                    {% include \"main/toot_partial.html\" with toot=note.status reblog=False %}\n                    <hr class=\"is-hidden\">\n                {% elif note.type == 'reblog' %}\n                    <p>\n                        {{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }}\n                        (<a href=\"{{ note.account.url | localuser }}\">{{ note.account.acct }}</a>)\n                        boosted your toot.\n                        (<span>\n                        <small>{{ note.created_at |humane_time  }}</small>\n                        </span>)\n                    </p>\n                    {% include \"main/toot_partial.html\" with toot=note.status reblog=True reblog_by=note.account.acct reblog_icon=note.account.avatar_static %}\n                    <hr class=\"is-hidden\">\n                {% elif note.type == 'favourite' %}\n                    <p>\n                        {{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }}\n                        (<a href=\"{{ note.account.url | localuser}}\">{{ note.account.acct }}</a>)\n                        favorited your toot.\n                        (<span>\n                        <small>{{ note.created_at |humane_time  }}</small>\n                        </span>)\n                    </p>\n                    {% include \"main/toot_partial.html\" with toot=note.status %}\n                    <hr class=\"is-hidden\">\n                {% elif note.type == 'follow' %}\n                    <article class=\"media\">\n                        <figure class=\"media-left\">\n                            <p class=\"image is-64x64\">\n                                <img src=\"{{ note.account.avatar_static }}\" alt=\"\">\n                            </p>\n                        </figure>\n                        <div class=\"media-content\" >\n                            <div class=\"content\">\n                                <strong>{{ note.account.display_name | fix_emojos:note.account.emojis |strip_html |safe }}</strong>\n                                (<a href=\"{{ note.account.url |localuser }}\">{{ note.account.acct }}</a>)\n                                followed you.\n                                (<a href=\"{{ note.url }}\">\n                                    <small>{{ note.created_at |humane_time  }}</small>\n                                </a>)\n                            </div>\n                        </div>\n                    </article>\n                    <hr class=\"is-hidden\">\n                {% elif note.type == 'poll' %}\n                    <p>A poll you created or voted in has ended.</p>\n                    {% include \"main/toot_partial.html\" with toot=note.status %}\n                    <hr class=\"is-hidden\">\n                {% endif %}\n            {% endfor %}\n        {% endif %}\n    {% endfor %}\n\n    <nav class=\"pagination is-centered\" role=\"navigation\" aria-label=\"pagination\">\n        {% if prev %}\n            <a class=\"pagination-next\" href=\"{% url 'note_prev' prev.min_id %}\">Newer</a>\n        {% endif %}\n        {% if next %}\n            <a class=\"pagination-previous\" href=\"{% url 'note_next' next.max_id %}\">Older</a>\n        {% endif %}\n    </nav>\n\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/post.html",
    "content": "{% extends \"base.html\" %}\n{% load static %}\n\n{% block title  %} Brutaldon ({{ own_acct.username }}) - toot {% endblock %}\n\n{% block content %}\n    <h1 class=\"title\" >Toot!</h1>\n    <div class=\"box\">\n        {% include \"main/post_partial.html\" %}\n    </div>\n{% endblock %}\n\n{% block page_scripts_inline %}\n    <script type=\"application/javascript\">\n     document.addEventListener('DOMContentLoaded', function () {\n         Mousetrap.bind('ctrl+enter', function(e) {\n             var form = document.querySelector('#post-form');\n             form.submit();\n             return true;\n         });\n     });\n    </script>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/post_minimal_partial.html",
    "content": "{% load widget_tweaks %}\n<form method=\"post\" id=\"post-form\" action=\"{% url \"toot\" %}\" enctype=\"multipart/form-data\">\n    {% csrf_token %}\n\n    <div>\n        {{ form.non_field_errors }}\n        <br>\n    </div>\n\n    <div class=\"field\">\n        <label class=\"label\"> {{ form.spoiler_text.label }}</label>\n        <div class=\"control\">\n            {% render_field form.spoiler_text class+=\"input mousetrap\" placeholder=\"Optional\" %}\n        </div>\n    </div>\n\n    <div class=\"field\" >\n        <label class=\"label\" >{{ form.status.label }}</label>\n        <div class=\"control\">\n            <textarea name=\"status\" cols=\"40\" rows=\"3\" class=\"textarea is-primary mousetrap\"\n                      required=\"\" id=\"id_status\"\n                      ic-post-to=\"{% url \"user_search\" %}\"\n                      ic-trigger-on=\"keyup changed\" ic-trigger-delay=\"500ms\"\n                      ic-target=\"#username_autocomplete\">{% if form.status.value %}{{ form.status.value }}{% endif %}</textarea>\n            <div id=\"username_autocomplete\"></div>\n        </div>\n        <div id=\"status_count\"></div>\n    </div>\n\n    <div class=\"field has-addons\">\n        <div class=\"control  level is-mobile\">\n            <a href=\"{% url \"user\" own_acct.acct %}\" class=\"image avatar is-48x48 level-item\">\n                <img src=\"{{ own_acct.avatar_static }}\" alt=\"[{{ own_acct.acct }}]\">\n            </a>\n            <input type=\"submit\" class=\"button is-primary level-item\"\n                   name=\"toot\" value=\"Toot\">\n            <a href=\"{% url \"emoji\" %}\" target=\"_blank\"  rel=\"noopener noreferrer\"\n               class=\"level-item emoji-link\" title=\"custom emoji reference\">😊</a>\n            <a href=\"{% url \"toot\" %}\"\n               ic-get-from=\"{% url \"toot\" %}\"\n               ic-target=\"#post-form\"\n               ic-select-from-response=\"#post-form\"\n               ic-include=\"#id_status,#id_spoiler_text\"\n               title=\"Complete toot form (media, visibility, etc\"\n               class=\"fa fa-edit\">\n                <span class=\"is-hidden\">Complete toot form (media, visibility etc)</span>\n            </a>\n        </div>\n    </div>\n    {% if not preferences.theme.no_javascript %}\n        <script type=\"application/javascript\">\n         Intercooler.ready(characterCountSetup);\n        </script>\n    {% endif %}\n</form>\n"
  },
  {
    "path": "brutaldon/templates/main/post_partial.html",
    "content": "{% load widget_tweaks %}\n\n{% if reply %}\n    <form method=\"post\" id=\"post-form\" action=\"{% url \"reply\" toot.id %}\" enctype=\"multipart/form-data\">\n{% elif redraft %}\n        <form method=\"post\" id=\"post-form\" action=\"{% url \"redraft\" toot.id %}\" enctype=\"multipart/form-data\">\n{% else %}\n            <form id=\"post-form\" method=\"post\" action=\"{% url \"toot\" %}\" enctype=\"multipart/form-data\">\n{% endif %}\n{% csrf_token %}\n\n<div>\n    {{ form.non_field_errors }}\n    <br>\n</div>\n\n<div class=\"field\">\n    <label class=\"label\"> {{ form.spoiler_text.label }}</label>\n    <div class=\"control\">\n        {% render_field form.spoiler_text class+=\"input mousetrap\" placeholder=\"Optional\" %}\n    </div>\n</div>\n\n<div class=\"field\" >\n    <label class=\"label\" >{{ form.status.label }}</label>\n    <div class=\"control\">\n        <textarea name=\"status\" cols=\"40\" rows=\"3\" class=\"textarea is-primary mousetrap\"\n                  required=\"\" id=\"id_status\"\n                  ic-post-to=\"{% url \"user_search\" %}\"\n                  ic-trigger-on=\"keyup changed\" ic-trigger-delay=\"500ms\"\n                  ic-target=\"#username_autocomplete\">{% if form.status.value %}{{ form.status.value }}{% endif %}</textarea>\n        <div id=\"username_autocomplete\"></div>\n    </div>\n    <div id=\"status_count\"></div>\n</div>\n\n<div class=\"field\">\n    <label class=\"label\" > {{ form.visibility.label }}</label>\n    <div class=\"control has-icons-left\">\n        <div class=\"select\">\n            {% render_field form.visibility class+=\"select\"%}\n            <span class=\"icon is-small is-left\" >\n                <i class=\"fa fa-address-card\"></i>\n            </span>\n        </div>\n    </div>\n</div>\n\n<div class=\"field has-addons\">\n    <div class=\"file\">\n        <label class=\"file-label\">\n            {% render_field form.media_file_1 class+=\"file-input\" %}\n            <span class=\"file-cta\">\n                <span class=\"file-icon\">\n                    <i class=\"fa fa-upload\"></i>\n                </span>\n                <span class=\"file-label\" id=\"media_filename_1\">\n                    {{ form.media_file_1.label }}\n                </span>\n            </span>\n        </label>\n    </div>\n    <div class=\"control is-expanded\">\n        {% render_field form.media_text_1 class+=\"input mousetrap\" placeholder=\"Describe attachment\" %}\n    </div>\n</div>\n\n<div class=\"field has-addons\">\n    <div class=\"file\">\n        <label class=\"file-label\">\n            {% render_field form.media_file_2 class+=\"file-input\" %}\n            <span class=\"file-cta\">\n                <span class=\"file-icon\">\n                    <i class=\"fa fa-upload\"></i>\n                </span>\n                <span class=\"file-label\" id=\"media_filename_2\">\n                    {{ form.media_file_2.label }}\n                </span>\n            </span>\n        </label>\n    </div>\n    <div class=\"control is-expanded\">\n        {% render_field form.media_text_2 class+=\"input mousetrap\" placeholder=\"Describe attachment\" %}\n    </div>\n</div>\n\n<div class=\"field has-addons\">\n    <div class=\"file\">\n        <label class=\"file-label\">\n            {% render_field form.media_file_3 class+=\"file-input\" %}\n            <span class=\"file-cta\">\n                <span class=\"file-icon\">\n                    <i class=\"fa fa-upload\"></i>\n                </span>\n                <span class=\"file-label\" id=\"media_filename_3\">\n                    {{ form.media_file_3.label }}\n                </span>\n            </span>\n        </label>\n    </div>\n    <div class=\"control is-expanded\">\n        {% render_field form.media_text_3 class+=\"input mousetrap\" placeholder=\"Describe attachment\" %}\n    </div>\n</div>\n<div class=\"field has-addons\">\n    <div class=\"file\">\n        <label class=\"file-label\">\n            {% render_field form.media_file_4 class+=\"file-input\" %}\n            <span class=\"file-cta\">\n                <span class=\"file-icon\">\n                    <i class=\"fa fa-upload\"></i>\n                </span>\n                <span class=\"file-label\" id=\"media_filename_4\">\n                    {{ form.media_file_4.label }}\n                </span>\n            </span>\n        </label>\n    </div>\n    <div class=\"control is-expanded\">\n        {% render_field form.media_text_4 class+=\"input mousetrap\" placeholder=\"Describe attachment\" %}\n    </div>\n</div>\n\n\n<div class=\"field has-addons\">\n    <div class=\"control level is-mobile\">\n        <a href=\"{% url \"user\" own_acct.acct %}\" class=\"image avatar is-48x48 level-item\" >\n            <img src=\"{{ own_acct.avatar_static }}\" alt=\"[{{ own_acct.acct }}]\">\n        </a>\n        <input type=\"submit\" class=\"button is-primary level-item\"\n               name=\"toot\" value=\"Toot\">\n        <a href=\"{% url \"emoji\" %}\" target=\"_blank\"  rel=\"noopener noreferrer\"\n           class=\"level-item emoji-link\" title=\"custom emoji reference\">😊</a>\n    </div>\n</div>\n{% if not preferences.no_javascript %}\n    <script type=\"application/javascript\">\n     fileButtonUpdaters();\n     Intercooler.ready(fileButtonUpdaters);\n     Intercooler.ready(characterCountSetup);\n    </script>\n{% endif %}\n            </form>\n"
  },
  {
    "path": "brutaldon/templates/main/public_timeline.html",
    "content": "{% extends \"main/timeline.html\" %}\n\n{% block pagination %}\n    <nav class=\"pagination is-centered\" role=\"navigation\" aria-label=\"pagination\">\n        {% if prev %}\n            <a class=\"pagination-next\" href=\"{% url 'fed_prev' prev.min_id %}\">Newer</a>\n        {% endif %}\n        {% if next %}\n            <a class=\"pagination-previous\" href=\"{% url 'fed_next' next.max_id %}\">Older</a>\n        {% endif %}\n    </nav>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/redraft.html",
    "content": "{% extends \"base.html\" %}\n{% load humanize %}\n{% load static %}\n\n{% block title %}\nBrutaldon ({{ own_acct.username }}) - reply\n{% endblock %}\n\n{% block page_scripts %}\n    <script src=\"{% static 'js/mousetrap.min.js' %}\" type=\"application/javascript\"></script>\n{% endblock %}\n\n{% block content %}\n    <h1 class=\"title\">Redraft</h1>\n    {% include \"main/toot_partial.html\" with toot=toot active=True %}\n    <hr class=\"is-hidden\">\n    <div class=\"notification\">\n        <p>\n            Submitting this form will <em>post</em> this replacement toot, and\n            <em class=\"error\">delete</em> the original toot. The replacement toot will not\n            have any favs, boosts, or replies that the original toot had.\n            Currently, media attachments must be re-uploaded. Sorry, working on it.\n        </p>\n    </div>\n\n    <div class=\"box\">\n        {% include \"main/post_partial.html\" %}\n    </div>\n\n{% endblock %}\n\n{% block page_scripts_inline %}\n    <script type=\"application/javascript\">\n     document.addEventListener('DOMContentLoaded', function () {\n         Mousetrap.bind('ctrl+enter', function(e) {\n             var form = document.querySelector('#post-form');\n             form.submit();\n             return true;\n         });\n     });\n    </script>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/reply.html",
    "content": "{% extends \"base.html\" %}\n{% load humanize %}\n{% load static %}\n\n{% block title %}\nBrutaldon ({{ own_acct.username }}) - reply\n{% endblock %}\n\n{% block page_scripts %}\n    <script src=\"{% static 'js/mousetrap.min.js' %}\" type=\"application/javascript\"></script>\n{% endblock %}\n\n{% block content %}\n    <h1 class=\"title\">Thread</h1>\n    {% for ancestor in context.ancestors %}\n        {% include \"main/toot_partial.html\" with toot=ancestor %}\n        <hr class=\"is-hidden\">\n    {% endfor %}\n    {% include \"main/toot_partial.html\" with toot=toot active=True %}\n    <hr class=\"is-hidden\">\n    <div class=\"box\">\n        {% include \"main/post_partial.html\" %}\n    </div>\n\n{% endblock %}\n\n{% block page_scripts_inline %}\n    <script type=\"application/javascript\">\n     document.addEventListener('DOMContentLoaded', function () {\n         Mousetrap.bind('ctrl+enter', function(e) {\n             var form = document.querySelector('#post-form');\n             form.submit();\n             return true;\n         });\n     });\n    </script>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/search.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block title %}brutaldon ({{ own_acct.username }}) – search {% endblock %}\n\n{% block content %}\n<h1 class=\"title\">Search</h1>\n\n<div class=\"notification\">\n    <div>\n        You can search for tags, users, or for specific toots by URL. You may\n        also be able to full-text search for toots you have previously\n        interacted with.\n    </div>\n</div>\n\n<form method=\"get\" action=\"{% url \"search_results\" %}\">\n    <div class=\"field\">\n        <label class=\"label\">{{ form.instance.label  }}</label>\n        <div class=\"control has-icons-left\">\n            <input type=\"search\" name=\"q\" id=\"q\" class=\"input\">\n            <span class=\"icon is-small is-left\">\n                <i class=\"fa fa-search\"></i>\n            </span>\n        </div>\n    </div>\n\n    <div class=\"field\">\n        <input type=\"submit\" value=\"Search\" class=\"button is-primary\" >\n    </div>\n</form>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/search_results.html",
    "content": "{% extends \"base.html\" %}\n{% load humanize %}\n{% load taglinks %}\n{% load sanitizer %}\n\n{% block title %}\nBrutaldon ({{ own_acct.username }}) - search results\n{% endblock %}\n\n{% comment %}\nmastodon.search(\"<query>\")\n    # Returns the following dictionary\n    {\n    'accounts': # List of account dicts resulting from the query\n    'hashtags': # List of hashtag dicts resulting from the query\n    'statuses': # List of toot dicts resulting from the query\n    }\n\n    {% endcomment %}\n\n    {% block content %}\n\n    <section>\n        <form method=\"get\" action=\"{% url \"search_results\" %}\">\n            <div class=\"field has-addons\">\n                <label class=\"label\">{{ form.instance.label  }}</label>\n                <div class=\"control has-icons-left\">\n                    <input type=\"search\" name=\"q\" id=\"q\" class=\"input\">\n                    <span class=\"icon is-small is-left\">\n                        <i class=\"fa fa-search\"></i>\n                    </span>\n                </div>\n                <input type=\"submit\" value=\"Search\" class=\"button is-primary\" >\n            </div>\n\n        </form>\n        <br>\n    </section>\n\n    <h1 class=\"title\">Search results</h1>\n    <div class=\"container\">\n        <h2 class=\"subtitle\">Users</h2>\n        {% for user in results.accounts %}\n        <article class=\"media user-info\">\n            <figure class=\"media-left\">\n                <p class=\"image is-64x64\">\n                    <a href=\"{% url \"user\" user.acct %}\">\n                        <img src=\"{{ user.avatar }}\"\n                             alt=\"\">\n                    </a>\n                </p>\n            </figure>\n            <div class=\"media-content\">\n                <div class=\"content\">\n                    <p>\n                        <strong>{{ user.display_name }}</strong>\n                        <small>\n                            <a href=\"{% url \"user\" user.acct %}\">\n                                @{{ user.acct }}\n                            </a>\n                        </small>\n                    </p>\n                    {{ user.note | relink_toot | strip_html | safe }}\n                    <p>\n                    </p>\n\n                </div>\n            </div>\n        </article>\n\n\n        {% endfor %}\n\n\n        <h2 class=\"subtitle\">Tags</h2>\n        <ul>\n            {% for tag in results.hashtags %}\n            <li><a href=\"{% url 'tag' tag.name %}\">#{{ tag.name }}</a></li>\n            {% endfor %}\n        </ul>\n\n        <h2 class=\"subtitle\">Toots</h2>\n        {% for toot in results.statuses %}\n        {% include \"main/toot_partial.html\" with toot=toot reblog=False %}\n        {% endfor %}\n    </div>\n    {% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/thread.html",
    "content": "{% extends \"base.html\" %}\n{% load humanize %}\n\n{% block title %}\n    Brutaldon ({{ own_acct.username }}) - thread\n{% endblock %}\n\n{% comment %}\nmastodon.status_context(<numerical id>)\n# Returns the following dictionary:\n{\n'ancestors': # A list of toot dicts\n'descendants': # A list of toot dicts\n}\n{% endcomment %}\n\n{% block content %}\n    <h1 id=\"title\" class=\"title\">\n        Thread\n    </h1>\n    {% include \"main/toot_partial.html\" with toot=root %}\n    {% for descendant in descendants %}\n        {% if descendant == toot %}\n            {% include \"main/toot_partial.html\" with toot=toot active=True %}\n        {% else %}\n            {% include \"main/toot_partial.html\" with toot=descendant %}\n        {% endif %}\n        <hr class=\"is-hidden\">\n    {% endfor %}\n\n    {% if not preferences.no_javascript %}\n        <script type=\"application/javascript\">\n         Intercooler.ready(expandCWButtonPrepare);\n        </script>\n    {% endif %}\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/timeline.html",
    "content": "{% extends \"base.html\" %}\n{% load humanize %}\n{% load static %}\n{% load cache %}\n\n{% block title %}\n    Brutaldon ({{ own_acct.username }}) - {{ timeline_name }} timelime\n{% endblock %}\n\n{% block page_scripts %}\n    {% if not fullbrutalism %}\n        <script src=\"{% static 'js/mousetrap.min.js' %}\" type=\"application/javascript\"></script>\n    {% endif %}\n{% endblock %}\n\n{% block content %}\n    {% if form %}\n        <h1 class=\"title\">Post</h1>\n        <div class=\"box\">\n            {% include \"main/post_minimal_partial.html\" %}\n        </div>\n        <hr class=\"is-hidden\">\n    {% endif %}\n    <h1 class=\"title\">Your {{ timeline_name }} timeline</h1>\n    <div id=\"timeline\">\n        {% for toot in toots %}\n            {% cache 600 toot_partial toot.id %}\n                {% if toot.reblog %}\n                    {% include \"main/toot_partial.html\" with toot=toot.reblog reblog=True reblog_by=toot.account.acct reblog_icon=toot.account.avatar_static %}\n                {% else %}\n                    {% include \"main/toot_partial.html\" with toot=toot reblog=False %}\n                {% endif %}\n            {% endcache %}\n            <hr class=\"is-hidden\">\n        {% endfor %}\n\n        {% block pagination %}\n            <div class=\"around-pagination\">\n                <div class=\"columns\">\n                    {% if next %}\n                        <p class=\"column is-one-quarter\">\n                            <a class=\"pagination-previous is-fullwidth button\"\n                               href=\"{% url 'home_next' next.max_id %}\"\n                               {% if preferences.click_to_load %}\n                               ic-get-from=\"{% url 'home_next' next.max_id %}\"\n                               ic-select-from-response=\"#timeline\"\n                               ic-indicator=\"#page-load-indicator\"\n                               ic-target=\"closest div.around-pagination\"\n                               ic-push-url=\"true\"\n                               {% endif %}\n                            >\n                                Older\n                            </a>\n                        </p>\n                        <p class=\"column is-one-half\"></p>\n                        {% endif %}\n                        {% if prev %}\n                        <p class=\"column is-one-quarter\">\n                            <a class=\"pagination-next is-fullwidth button\"\n                               href=\"{% url 'home_prev' prev.min_id %}\">\n                                Newer\n                            </a>\n                        </p>\n                        {% endif %}\n                </div>\n            </div>\n        {% endblock %}\n    </div>\n{% endblock %}\n\n{% block page_scripts_inline %}\n    <script type=\"application/javascript\">\n     document.addEventListener('DOMContentLoaded', function () {\n         Mousetrap.bind('ctrl+enter', function(e) {\n             var form = document.querySelector('#post-form');\n             form.submit();\n             return true;\n         });\n     });\n    </script>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/main/toot_partial.html",
    "content": "{% load humanetime %}\n{% load humanize %}\n{% load sanitizer %}\n{% load taglinks %}\n{% load static %}\n\n{% if toot %}\n{% if active %}\n    <article id=\"toot-{{toot.id}}\" class=\"media box active-context\">\n{% else %}\n        <article id=\"toot-{{toot.id}}\" class=\"media box\">\n{% endif %}\n\n<figure class=\"media-left\">\n    <p class=\"image is-64x64 account-avatar\">\n        <a href=\"{% url \"user\" toot.account.acct %}\">\n            <img loading=\"auto\" src=\"{{ toot.account.avatar_static }}\"\n                 alt=\"\">\n        </a>\n    </p>\n    {% if reblog %}\n        <p class=\"image is-32x32 reblog-icon\" >\n            <a href=\"{% url \"user\" reblog_by %}\">\n                <img loading=\"auto\" src =\"{{ reblog_icon }}\" alt=\"\">\n            </a>\n        </p>\n    {% endif %}\n</figure>\n<div class=\"media-content\">\n    <div class=\"content\">\n        <p>\n            <strong>{{ toot.account.display_name | fix_emojos:toot.account.emojis | strip_html |safe}}</strong>\n            <small><a href=\"{% url \"user\" toot.account.acct %}\">\n                @{{ toot.account.acct }}</a></small>\n            <a href=\"{{ toot.url }}\">\n                <small>{{ toot.created_at |humane_time  }}</small>\n            </a>\n            {% if reblog %}\n                <br>\n                Boosted by @{{ reblog_by }}\n            {% endif %}\n        </p>\n        {% if toot.spoiler_text %}\n            <details class=\"toot\">\n                <summary><strong>{{ toot.spoiler_text }} </strong></summary>\n                <div class=\"toot\">\n                    {{ toot.content | relink_toot | fix_emojos:toot.emojis | strip_html | safe }}\n                </div>\n            </details>\n        {% else %}\n            <div class=\"toot\">\n                {{ toot.content | relink_toot | fix_emojos:toot.emojis | strip_html | safe }}\n            </div>\n        {% endif %}\n\n        {% if toot.poll %}\n            <div class=\"poll\">\n                {% if toot.poll.voted or toot.poll.expired %}\n                    {% include \"polls/completed_partial.html\" with toot=toot %}\n                {% else %}\n                    <!-- Poll form -->\n                    {% include \"polls/new_partial.html\" with toot=toot %}\n                {% endif %}\n            </div>\n        {% endif %}\n\n\n        {% if toot.card %}\n            <div class=\"card\">\n                <div class=\"card-content columns\">\n                    {% if toot.card.image %}\n                        <div class=\"column is-one-third\">\n                            <a href=\"{{ toot.card.url }}\">\n                                <noscript class=\"loading-lazy\">\n                                <img loading=\"lazy\" alt=\"{{ toot.card.title }}\"\n                                     src=\"{{ toot.card.image }}\"\n                                     class=\"is-max-128\">\n                                </noscript>\n                            </a>\n                        </div>\n                    {% endif %}\n                    <div class=\"column is-two-thirds\">\n                        <p>\n                            <strong>\n                                <a href=\"{{ toot.card.url }}\">\n                                    {{ toot.card.title }}\n                                </a>\n                            </strong>\n\n                            <p>{{ toot.card.description |truncatechars_html:500}}</p>\n                    </div>\n                </div>\n            </div>\n        {% endif %}\n\n        {% if toot.media_attachments %}\n            <br>\n            <div class=\"columns is-multiline attachments is-gapless\">\n                {% for media in toot.media_attachments %}\n                    {% if media.type == \"image\" %}\n                        <figure class=\"column attachment-image\">\n                            <a href=\"{{ media.url }}\">\n                                <noscript class=\"loading-lazy\">\n                                {% if toot.sensitive and not preferences.preview_sensitive %}\n                                    <img loading=\"lazy\" src=\"{% static \"images/sensitive.png\" %}\"\n                                {% else %}\n                                    <img loading=\"lazy\" src=\"{{ media.preview_url }}\"\n                                {% endif %}\n                                         alt=\"{% if media.description  %}\n                                              {{ media.description }}\n                                         {% elif media.text_url %}\n                                              {{ media.text_url }}\n                                         {% else %}\n                                              {{ media.url  }}\n                                         {% endif %}\"\n                                         {% if media.description %}\n                                         title=\"{{ media.description }}\"\n                                         {% endif %}\n                                         class=\"image is-max-256\">\n                                    </noscript>\n                            </a>\n                        </figure>\n                    {% else %}\n                        <figure class=\"column\">\n                            <video controls loop class=\"is-max-256\"\n                                   poster=\"{{ media.preview_url }}\">\n                                <source src=\"{{ media.url }}\" type=\"video/mp4\">\n                                <a href=\"{{ media.url }}\">\n                                    <noscript class=\"loading-lazy\">\n                                    {% if toot.sensitive and not preferences.preview_sensitive %}\n                                        <img loading=\"lazy\" src=\"{% static \"images/sensitive.png\" %}\"\n                                    {% else %}\n                                        <img loading=\"lazy\" src=\"{{ media.preview_url }}\"\n                                    {% endif %}\n                                             alt=\"{% if media.description  %}\n                                                  {{ media.description }}\n                                             {% elif media.text_url %}\n                                                  {{ media.text_url }}\n                                             {% else %}\n                                                  {{ media.url  }}\n                                             {% endif %}\"\n                                             {% if media.description %}\n                                             title=\"{{ media.description }}\"\n                                             {% endif %}\n                                             class=\"image is-max-256\">\n                                    </noscript>\n                                </a>\n                            </video>\n                        </figure>\n                    {% endif %}\n\n                {% endfor %}\n            </div>\n        {% endif %}\n        <br>\n        <p class=\"is-hidden\"></p>\n\n    </div>\n    {% if not confirm_page %}\n        <nav class=\"level is-mobile\">\n            <div class=\"level-left\">\n                <a href=\"{% url \"reply\" toot.id %}#toot-{{ toot.id }}\" class=\"level-item\">\n                    {% if toot.replies_count > 0 %}\n                        <span class=\"fa fa-reply-all\">\n                            <span class=\"is-hidden-mobile\"><strong>Reply</strong></span>\n                        </span>\n                    {% else %}\n                        <span class=\"fa fa-reply\">\n                            <span class=\"is-hidden-mobile\">Reply</span>\n                        </span>\n                    {% endif %}\n                </a>\n                {% if toot.visibility != 'private' and toot.visibility != 'direct' %}\n                    <a href=\"{% url \"boost\" toot.id %}\" class=\"level-item\"\n                       ic-post-to=\"{% url \"boost\" toot.id %}\"\n                       ic-indicator=\"#toot-spinner-{{toot.id}}\">\n                        {% if toot.reblogged %}\n                            <span class=\"fa fa-retweet has-text-warning\">\n                                <strong class=\"is-hidden-mobile\" >Boosted</strong>\n                        {% else %}\n                                <span class=\"fa fa-retweet\" >\n                                    <span class=\"is-hidden-mobile\" >Boost</span>\n                        {% endif %}\n                                </span>\n                            </span>\n                    </a>\n                {% endif %}\n                <a href=\"{% url \"fav\" toot.id %}\" class=\"level-item\"\n                   ic-post-to=\"{% url \"fav\" toot.id %}\"\n                   ic-indicator=\"#toot-spinner-{{toot.id}}\">\n                    {% if toot.favourited %}\n                        <span class=\"fa fa-heart has-text-warning\">\n                            <strong class=\"is-hidden-mobile\" >Favorited</strong>\n                    {% else %}\n                            <span class=\"fa fa-heart\">\n                                <span class=\"is-hidden-mobile\" >Favorite</span>\n                    {% endif %}\n                            </span>\n                        </span>\n                </a>\n                <i id=\"toot-spinner-{{toot.id}}\" class=\"fa fa-spinner fa-spin\" style=\"display:none\"></i>\n            </div>\n            <div class=\"level-right\">\n                {% if toot.account.acct == own_acct.acct %}\n                    <a class=\"level-item\" href=\"{% url \"redraft\" toot.id %}\">\n                        redraft\n                    </a>\n                    <a class=\"level-item\" href=\"{% url \"delete\" toot.id %}\"\n                       ic-delete-from=\"{% url \"delete\" toot.id %}\"\n                       ic-indicator=\"#toot-spinner-{{toot.id}}\"\n                       ic-confirm=\"Really delete that toot?\"\n                       ic-success-action=\"fadeOut;remove\"\n                       ic-action-target=\"#toot-{{ toot.id }}\">\n                        delete\n                    </a>\n                {% endif %}\n                {{ toot.visibility }}\n                &nbsp;&nbsp;\n                {% if toot.in_reply_to_id or toot.replies_count > 0 %}\n                    <a class=\"level-item\" href=\"{% url \"thread\" toot.id %}#toot-{{ toot.id }}\">\n                        <span class=\"fa fa-comments\"></span>\n                        <strong> thread</strong>\n                    </a>\n                {% else %}\n                    <a class=\"level-item\" href=\"{% url \"thread\" toot.id %}#toot-{{ toot.id }}\">\n                        thread\n                    </a>\n                {% endif %}\n            </div>\n        </nav>\n    {% endif %}\n\n</div>\n<div class=\"media-right\"></div>\n        </article>\n{% endif %}\n"
  },
  {
    "path": "brutaldon/templates/main/user.html",
    "content": "{% extends \"base.html\" %}\n{% load humanize %}\n{% load sanitizer %}\n{% load taglinks %}\n\n{% block title %}\nBrutaldon ({{ own_acct.username }}) - {{ user.acct }} timelime\n{% endblock %}\n\n{% block content %}\n\n<div class=\"card user-card\">\n    {% if not preferences.theme.is_brutalist %}\n        <div class=\"card-header\" style=\"background-image: url({{ user.header }});\">\n    {% else %}\n        <div class=\"card-header\">\n    {% endif %}\n            <div class=\"card-header-title title\">\n                <a href=\"{{ user.url }}\">\n                    {{ user.display_name }}\n                </a>\n            </div>\n            <figure class=\"image is-96x96 card-header-icon\">\n                <img src=\"{{ user.avatar }}\" alt=\"Avatar\">\n                {% if user.locked %}\n                    <span class=\"fa fa-lock account-locked\">\n                        <span class=\"is-hidden\">Private</span>\n                    </span>\n                {% endif %}\n            </figure>\n        </div>\n        <div class=\"card-content\">\n            <div class=\"content\">\n                {{ user.note | relink_toot | strip_html | safe }}\n            </div>\n            {% if user.acct != own_acct.acct %}\n            <div class=\"level is-mobile\">\n                <div class=\"level-left\">\n                    {% if relationship.requested %}\n                        <a class=\"level-item fa fa-hourglass\" title=\"cancel request\"\n                           href=\"{% url 'follow' user.id %}\"\n                           ic-post-to=\"{% url 'follow' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n                            <span class=\"is-hidden\">Cancel request</span>\n                        </a>\n                    {% elif not relationship.following %}\n                        <a class=\"level-item fa fa-user-plus\" title=\"follow\"\n                           href=\"{% url 'follow' user.id %}\"\n                           ic-post-to=\"{% url 'follow' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n                            <span class=\"is-hidden\">Follow</span>\n                        </a>\n                    {% else %}\n                        <a class=\"level-item fa fa-user-times\" title=\"unfollow\"\n                           href=\"{% url 'follow' user.id %}\"\n                           ic-post-to=\"{% url 'follow' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\"\n                           ic-confirm=\"Unfollow this user?\">\n                            <span class=\"is-hidden\">Unfollow</span>\n                        </a>\n                    {% endif %}\n                    <a class=\"level-item fa fa-social-home\"\n                       href=\"{{ user.url }}\" title=\"home\">\n                        <span class=\"is-hidden\">View on home site</span>\n                    </a>\n                    <a class=\"level-item fa fa-envelope\"\n                       href=\"{% url 'toot' user.acct %}\" title=\"mention\">\n                        <span class=\"is-hidden\">Mention</span>\n                    </a>\n                    <i id=\"user-spinner\" class=\"fa fa-spinner fa-spin\" style=\"display:none\"></i>\n                </div>\n                <div class=\"level-right\">\n                    {% if not relationship.muting %}\n                        <a class=\"level-item fa fa-volume-off\" title=\"mute\"\n                           href=\"{% url 'mute' user.id %}\"\n                           ic-post-to=\"{% url 'mute' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\"\n                           ic-confirm=\"Mute this user?\">\n                            <span class=\"is-hidden\">Mute</span>\n                        </a>\n                    {% else %}\n                        <a class=\"level-item fa fa-volume-up\" title=\"unmute\"\n                           href=\"{% url 'mute' user.id %}\"\n                           ic-post-to=\"{% url 'mute' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n                            <span class=\"is-hidden\">Unmute</span>\n                        </a>\n                    {% endif %}\n                    {% if not relationship.blocking %}\n                        <a class=\"level-item fa fa-ban\" title=\"block\"\n                           href=\"{% url 'block' user.id %}\"\n                           ic-post-to=\"{% url 'block' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\"\n                           ic-confirm=\"Block this user?\">\n                            <span class=\"is-hidden\">Block</span>\n                        </a>\n                    {% else %}\n                        <a class=\"level-item fa fa-circle-o\" title=\"unblock\"\n                           href=\"{% url 'block' user.id %}\"\n                           ic-post-to=\"{% url 'block' user.id %}\"\n                           ic-indicator=\"#user-spinner\" ic-replace-target=\"true\">\n                                <span class=\"is-hidden\">Unblock</span>\n                            </a>\n                    {% endif %}\n                </div>\n            </div>\n            {% endif %}\n        </div>\n    </div>\n\n    <br>\n\n    {% for toot in toots %}\n    {% if toot.reblog %}\n    {% include \"main/toot_partial.html\" with toot=toot.reblog reblog=True reblog_by=toot.account.acct reblog_icon=toot.account.avatar_static %}\n    {% else %}\n    {% include \"main/toot_partial.html\" with toot=toot reblog=False %}\n    {% endif %}\n    <hr class=\"is-hidden\">\n    {% endfor %}\n    <nav class=\"pagination is-centered\" role=\"navigation\" aria-label=\"pagination\">\n        {% if prev %}\n        <a class=\"pagination-next\" href=\"{% url 'user_prev' user.acct prev.min_id %}\">Newer</a>\n        {% endif %}\n        {% if next %}\n        <a class=\"pagination-previous\" href=\"{% url 'user_next' user.acct next.max_id %}\">Older</a>\n        {% endif %}\n    </nav>\n\n    {% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/polls/completed_partial.html",
    "content": "{% load sanitizer %}\n{% load taglinks %}\n{% load static %}\n<div class=\"columns is-multiline\">\n    {% for option in toot.poll.options %}\n        <div class=\"column is-one-quarter\">\n            <strong>{{ option.title }}</strong>\n            ({{ option.votes_count}} vote{{ option.votes_count|pluralize }})\n\n        </div>\n        <div class=\"column is-three-quarters\">\n            <progress class=\"progress is-primary\"\n                      value=\"{{ option.votes_count }}\"\n                      max=\"{{ toot.poll.votes_count }}\"\n                {{ option.votes_count }}\n            </progress>\n        </div>\n    {% endfor %}\n</div>\n"
  },
  {
    "path": "brutaldon/templates/polls/new_partial.html",
    "content": "{% load sanitizer %}\n{% load taglinks %}\n{% load static %}\n\n<form method=\"POST\" action=\"{% url \"vote\" toot.id %}\"\n      ic-post-to=\"{% url \"vote\" toot.id %}\"\n      ic-target=\"closest article\"\n      ic-indicator=\"#poll-spinner-{{ toot.id  }}\"\n      ic-replace-target=\"true\">\n    {% csrf_token %}\n    {% for option in toot.poll.options %}\n        <div class=\"field\">\n            {% if toot.poll.multiple %}\n                <label class=\"checkbox\">\n                    <input type=\"checkbox\"\n                           name=\"poll-multiple\"\n                           value=\"{{ forloop.counter0 }}\">\n                    {{ option.title }}\n                </label>\n            {% else %}\n                <label class=\"radio\">\n                    <input type=\"radio\"\n                           name=\"poll-single\"\n                           value=\"{{ forloop.counter0 }}\">\n                    {{ option.title  }}\n                </label>\n            {% endif %}\n        </div>\n    {% endfor %}\n    <input type=\"submit\"  class=\"button is-primary\" name=\"Vote\" value=\"Vote\">\n    <span id=\"poll-spinner-{{toot.id}}\" class=\"fa fa-spinner fa-spin\"\n       style=\"display:none\"></span>\n\n</form>\n"
  },
  {
    "path": "brutaldon/templates/privacy.html",
    "content": "{% extends \"base.html\" %}\n{% load static %}\n\n{% block content %}\n<h1 class=\"title\">Privacy statement</h1>\n<h2 class=\"subtitle\">A shameful attempt at ass-covering</h2>\n\n<section class=\"section\">\n    <h2 class=\"subtitle\">Summary</h2>\n    <p>\n        Brutaldon tries to collect as little information about you as possible. The information that it collects in order to log you in to your instance and to implement client features is stored as transiently as possible.\n    </p>\n</section>\n<section class=\"section\">\n    <h2 class=\"subtitle\">\n        Information that is stored until a database wipe\n    </h2>\n    <p>\n        If you use the old login form (instance, email, password), which is only recommended if you running your own copy of brutaldon behind a firewall, the email you use to sign in will be stored along with an access token and the name of the instance you connected to. Your password will never be stored. We will never share your email with anyone for any reason, unless legally forced to do so. We will never send you email except in the case of an unforseen emergency requiring us to.\n    </p>\n    <p>\n        If you use the normal login form, your email will not be stored, only your instance name and access token.\n    </p>\n    <p>\n        Both methods of login will store your username and instance name. All of your brutaldon settings (theme, timezone, etc) are stored and associated with your username.\n    </p>\n\n    <p>\n        You can always revoke an access token through the web interface of your instance.\n    </p>\n    <h2 class=\"subtitle\">\n        Information that is stored only during your session\n    </h2>\n    <p>\n        Data stored in your session is deleted when you log out, or periodically by the server.\n    </p>\n    <p></p>\n    <p>\n        Data stored in the session includes:\n    </p>\n    <ul>\n        <li> A reference to your information in the database.</li>\n        <li> All of your <em>public</em> Mastodon profile information. This is needed for some client functionality.</li>\n    </ul>\n</section>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/requests/list.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n    <div class=\"container\">\n        <h1 class=\"title\">Follow requests</h1>\n\n        {% if not requests %}\n            <p>No follow requests.</p>\n        {% endif %}\n\n\n        {% for request in requests %}\n            {% include \"requests/request_partial.html\" %}\n        {% endfor %}\n\n    </div>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/requests/request_partial.html",
    "content": "<article class=\"media box\">\n    <figure class=\"media-left\">\n        <p class=\"image is-64x64\">\n            <img src=\"{{ request.avatar_static }}\"\n                 alt=\"{{ request.acct }}\">\n        </p>\n    </figure>\n    <div class=\"media-content\">\n        <strong>{{ request.display_name }}</strong> ({{ request.acct }})\n    </div>\n    <div class=\"media-right\">\n        <form method=\"POST\" action=\"{% url \"follow_requests\" request.id %}\">\n            {% csrf_token %}\n            <button name=\"accept\" class=\"button is-success\" value=\"Accept\">\n                Accept\n            </button>\n            <button name=\"reject\" class=\"button is-danger\" value=\"Reject\">\n                Reject\n            </button>\n        </form>\n    </div>\n"
  },
  {
    "path": "brutaldon/templates/setup/login-oauth.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n    <h1 class=\"title\">Log in to your instance</h1>\n\n    <form method=\"post\" action=\"{% url \"login\" %}\">\n        {% csrf_token %}\n        <div class=\"field\">\n            <label class=\"label\">{{ form.instance.label  }}</label>\n            <div class=\"control has-icons-left\">\n                {% render_field form.instance class+=\"input\" %}\n                <span class=\"icon is-small is-left\">\n                    <i class=\"fa fa-mastodon\"></i>\n                </span>\n            </div>\n        </div>\n\n        <div class=\"field\">\n            <input type=\"submit\" name=\"log_in\"\n                   value=\"Log in\" class=\"button is-primary\" >\n        </div>\n    </form>\n\n    <div class=\"notification\">\n        <button class=\"delete\"></button>\n        <div>\n            Not able to log in with this form? Maybe your brutaldon instance isn't\n            visible on the internet to your Mastodon instance? If so, you can use\n            the <a href=\"{% url \"oldlogin\" %}\">old login form</a>.\n        </div>\n    </div>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/setup/login.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n    <h1 class=\"title\">Log in to your instance</h1>\n\n    <form method=\"post\" action=\"{% url \"oldlogin\" %}\">\n        {% csrf_token %}\n        <div class=\"field\">\n            <label class=\"label\">{{ form.instance.label  }}</label>\n            <div class=\"control has-icons-left\">\n                {% render_field form.instance class+=\"input\" %}\n                <span class=\"icon is-small is-left\">\n                    <i class=\"fa fa-mastodon\"></i>\n                </span>\n            </div>\n        </div>\n\n        <div class=\"field\">\n            <label class=\"label\">{{ form.email.label }}</label>\n            <div class=\"control has-icons-left\">\n                {% render_field form.email class+=\"input\" %}\n                <span class=\"icon is-small is-left\">\n                    <i class=\"fa fa-user\"></i>\n                </span>\n            </div>\n        </div>\n        <div class=\"field\" >\n            <label class=\"label\" >{{ form.password.label }}</label>\n            <div class=\"control has-icons-left\" >\n                {% render_field form.password class+=\"input\" type=\"password\" %}\n                <span class=\"icon is-small is-left\">\n                    <i class=\"fa fa-lock\" ></i>\n                </span>\n            </div>\n        </div>\n        <div class=\"field\">\n            <input type=\"submit\" name=\"log_in\"\n                   value=\"Log in\" class=\"button is-primary\" >\n        </div>\n    </form>\n    {% if form.errors %}\n    <p class=\"error\">\n      {{ form.non_field_errors | escape }}\n    </p>\n    {% endif %}\n\n    <div class=\"notification\">\n        <button class=\"delete\"></button>\n        <p>\n            This information is only used to log you in to your instance for the\n            first time. Brutaldon never stores your username and password; it\n            only uses it to acquire a token which you can disable from the\n            settings page of your Mastodon instance. However, you do need to\n            absolutely trust the person running this copy of brutaldon! If that's\n            not the case, use the <a href=\"{% url \"login\" %}\">OAuth login form</a>.\n        </p>\n    </div>\n\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templates/setup/settings.html",
    "content": "{% extends \"base.html\" %}\n{% load widget_tweaks %}\n\n{% block content %}\n<div class=\"container\">\n    <h1 class=\"title\">Settings</h1>\n    <form method=\"post\" action=\"{% url \"settings\" %}\" >\n        {% csrf_token %}\n\n        <h2 class=\"subtitle\">General Options</h2>\n        <div class=\"field\">\n            <label class=\"label\" for=\"id_theme\">{{ form.theme.label }}</label>\n            <div class=\"control has-icons-left\">\n                <div class=\"select\">\n                    {% render_field form.theme class+=\"select\" %}\n                    <span class=\"icon is-small is-left\">\n                        <span class=\"fa fa-paint-brush\"></span>\n                </div>\n            </div>\n        </div>\n\n        <div class=\"field\">\n            <label class=\"label\" for=\"id_timezone\">{{ form.timezone.label }}</label>\n            <div class=\"control has-icons-left\">\n                <div class=\"select\">\n                    {% render_field form.timezone class+=\"select\" %}\n                    <span class=\"icon is-small is-left\">\n                        <span class=\"fa fa-clock-o\"></span>\n                </div>\n            </div>\n        </div>\n\n        <h2 class=\"subtitle\">Content Options</h2>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_preview_sensitive\">\n                    {% render_field form.preview_sensitive class+=\"checkbox\" %}\n                    {{ form.preview_sensitive.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.preview_sensitive.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n\n        <h2 class=\"subtitle\">Timeline Options</h2>\n        <div class=\"field\">\n            <label class=\"label checkbox\">\n                {% render_field form.filter_replies %}\n                {{ form.filter_replies.label  }}\n            </label>\n        </div>\n        <div class=\"field\">\n            <label class=\"label checkbox\"\">\n                {% render_field form.filter_boosts %}\n                {{ form.filter_boosts.label  }}\n            </label>\n        </div>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_filter_notifications\">\n                    {% render_field form.filter_notifications class+=\"checkbox\" %}\n                    {{ form.filter_notifications.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.filter_notifications.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_bundle_notifications\">\n                    {% render_field form.bundle_notifications class+=\"checkbox\" %}\n                    {{ form.bundle_notifications.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.bundle_notifications.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n\n        <h2 class=\"subtitle\">JavaScript Options</h2>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_no_javascript\">\n                    {% render_field form.no_javascript class+=\"checkbox\" %}\n                    {{ form.no_javascript.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.no_javascript.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_notifications\">\n                    {% render_field form.notifications class+=\"checkbox\" %}\n                    {{ form.notifications.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.notifications.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_click_to_load\">\n                    {% render_field form.click_to_load class+=\"checkbox\" %}\n                    {{ form.click_to_load.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.click_to_load.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label checkbox\" for=\"id_lightbox\">\n                    {% render_field form.lightbox class+=\"checkbox\" %}\n                    {{ form.lightbox.label }}\n                </label>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.lightbox.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n\n        <div class=\"columns\">\n            <div class=\"column is-quarter\">\n                <label class=\"label\" for=\"id_poll_frequency\">\n                    {{ form.poll_frequency.label }}\n                </label>\n                <div class=\"control\">\n                    {% render_field form.poll_frequency class+=\"input\" %}\n                </div>\n            </div>\n            <div class=\"column is-quarter\">\n                <p class=\"notification is-info preferences-help\">\n                    {{ form.poll_frequency.help_text }}\n                </p>\n            </div>\n            <div class=\"column is-half\">\n\n            </div>\n        </div>\n\n        <div class=\"field\">\n            <input type=\"submit\" name=\"submit\"\n                   value=\"Save\" class=\"button is-primary\" >\n        </div>\n    </form>\n\n    <h2 class=\"subtitle\">Bookmarklet</h2>\n    <p>\n        <a href=\"{{ bookmarklet_url }}\">Share via brutaldon</a>\n    </p>\n\n    <h2 class=\"subtitle\">Filters and More</h2>\n    <p><a href=\"{% url \"list_filters\" %}\">List filters</a></p>\n    <p><a href=\"{% url \"follow_requests\" %}\">Follow requests</a></p>\n\n</div>\n{% endblock %}\n"
  },
  {
    "path": "brutaldon/templatetags/__init__.py",
    "content": ""
  },
  {
    "path": "brutaldon/templatetags/humanetime.py",
    "content": "from datetime import datetime, timedelta\nfrom django.utils.timezone import get_default_timezone, get_current_timezone, localtime\nfrom django.utils.timezone import now as django_now\nfrom django.utils.translation import gettext as _\nfrom django import template\n\nregister = template.Library()\n\n\n@register.filter(is_safe=True)\ndef humane_time(arg):\n    \"\"\"Returns a time string that is humane but not relative (unlike Django's humanetime)\n\n    For times less than 6 hours ago: display date and time to the minute.\n    For times less than 12 hours ago: display date and time to the hour.\n    For times more than 12 hours ago display date and \"time of day\".\n    For times more than 2 days ago display date.\n    For times more than 6 months ago, display month and year.\n    For times more than 10 years ago, display year.\n\n    Prefer words to numbers, unless it is too long.\n\n    The goal is a date/time that is always accurate no matter how long it's\n    been sitting there waiting for you to look at it, but is only precise\n    to a degree you are liable to care about.\n\n    It is not safe to use on future times.\n\n    FIXME: work out how best to make these strings translatable\n\n    \"\"\"\n    now = django_now()\n    arg = localtime(arg)\n    diff = now - arg\n\n    if arg.tzinfo == now.tzinfo:\n        utc = \" (UTC)\"\n    else:\n        utc = \"\"\n    if diff < timedelta(hours=6):\n        return arg.strftime(\"%a, %b %d, %Y at %I:%M %p\") + utc\n    elif diff < timedelta(hours=12):\n        return arg.strftime(\"%a, %b %d, %Y around %I %p\") + utc\n    elif diff < timedelta(hours=36):\n        return arg.strftime(\"%a, %b %d, %Y in the \") + time_of_day(arg.hour) + utc\n    elif diff < timedelta(days=6 * 28):\n        return arg.strftime(\"%b %d, %Y\")\n    elif diff < timedelta(days=10 * 365):\n        return arg.strftime(\"%b, %Y\")\n    else:\n        return arg.strftime(\"%Y\")\n\n\ndef time_of_day(hour):\n    \"\"\"Return a description of what time of day an hour is.\n\n    This is very english-centric and probably not translatable.\n    \"\"\"\n    if hour < 3:\n        return _(\"wee hours\")\n    elif hour < 6:\n        return _(\"early morning\")\n    elif hour < 12:\n        return _(\"morning\")\n    elif hour < 18:\n        return _(\"afternoon\")\n    elif hour < 22:\n        return _(\"evening\")\n    else:\n        return _(\"night\")\n"
  },
  {
    "path": "brutaldon/templatetags/taglinks.py",
    "content": "from django import template\nfrom bs4 import BeautifulSoup\nfrom urllib import parse\nfrom django.urls import reverse\nfrom django.utils.translation import gettext as _\nfrom pdb import set_trace\n\nregister = template.Library()\n\n\n@register.filter\ndef pdb(element):\n    set_trace()\n    return element\n\n\n@register.filter\ndef relink_tags(value):\n    \"\"\"Treat the text as html, and replace tag links with app-internal tag links\n\n    Currently, this only works for tags in toots coming from Mastodon servers,\n    not necessarily GNU Social, Pleroma, or other fediverse servers, because\n    it relies on the markup that Mastodon puts on tags.\n\n    FIXME: handle arbitrary tag links\n    \"\"\"\n    value = value.replace(\"&apos;\", \"'\")\n    soup = BeautifulSoup(value, \"html.parser\")\n    for link in soup.find_all(\"a\", class_=\"hashtag\"):\n        try:\n            link[\"href\"] = reverse(\"tag\", args=[link.span.string])\n        except:\n            continue\n    return soup.decode(formatter=\"html\")\n\n\n@register.filter\ndef relink_mentions(value):\n    \"\"\"Treat the text as html, and replace mention links with app-internal links\n\n    Currently, this only works for mentions in toots coming from Mastodon servers,\n    not necessarily GNU Social, Pleroma, or other fediverse servers, because\n    it relies on the markup that Mastodon puts on mentions.\n\n    FIXME: handle arbitrary mention links\n    \"\"\"\n    value = value.replace(\"&apos;\", \"'\")\n    soup = BeautifulSoup(value, \"html.parser\")\n    for link in soup.find_all(\"a\", class_=\"mention\"):\n        parsed = parse.urlparse(link[\"href\"])\n        try:\n            instance = parsed[1]\n            user = parsed[2][2:]\n            link[\"href\"] = reverse(\"user\", args=[user + \"@\" + instance])\n        except:\n            continue\n    return soup.decode(formatter=\"html\")\n\n\n@register.filter\ndef relink_toot(value):\n    return relink_tags(relink_mentions(value))\n\n\n@register.filter\ndef localuser(value):\n    \"\"\"Convert a remote user link to local\"\"\"\n    try:\n        parsed = parse.urlparse(value)\n        instance = parsed[1]\n        if parsed[2].startswith(\"/@\"):\n            user = parsed[2][2:]\n        else:\n            user = parsed[2].split(\"/\")[-1]\n        local = reverse(\"user\", args=[user + \"@\" + instance])\n    except:\n        local = value\n    return local\n\n\n@register.filter\ndef fix_emojos(value, emojos):\n    \"\"\"Replace instances of recognized custom emoji :shortcodes: in value with image link tags\n    \"\"\"\n    for emojo in emojos:\n        try:\n            value = value.replace(\n                \":%(shortcode)s:\" % emojo,\n                '<img src=\"%(url)s\" title=\":%(shortcode)s:\" alt=\":%(shortcode)s:\" class=\"emoji\">'\n                % emojo,\n            )\n        except:\n            continue\n    return value\n"
  },
  {
    "path": "brutaldon/urls.py",
    "content": "\"\"\"brutaldon URL Configuration\n\nThe `urlpatterns` list routes URLs to views. For more information please see:\n    https://docs.djangoproject.com/en/2.0/topics/http/urls/\nExamples:\nFunction views\n    1. Add an import:  from my_app import views\n    2. Add a URL to urlpatterns:  path('', views.home, name='home')\nClass-based views\n    1. Add an import:  from other_app.views import Home\n    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')\nIncluding another URLconf\n    1. Import the include() function: from django.urls import include, path\n    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))\n\"\"\"\nfrom django.contrib import admin\nfrom django.urls import path\nfrom brutaldon import views\n\nurlpatterns = [\n    path(\"admin/\", admin.site.urls),\n    path(\"about\", views.about, name=\"about\"),\n    path(\"privacy\", views.privacy, name=\"privacy\"),\n    path(\"home/next/<next>\", views.home, name=\"home_next\"),\n    path(\"home/prev/<prev>\", views.home, name=\"home_prev\"),\n    path(\"home\", views.home, name=\"home\"),\n    path(\"login\", views.login, name=\"login\"),\n    path(\"oldlogin\", views.old_login, name=\"oldlogin\"),\n    path(\"logout\", views.logout, name=\"logout\"),\n    path(\"oauth_callback\", views.oauth_callback, name=\"oauth_callback\"),\n    path(\"error\", views.error, name=\"error\"),\n    path(\"local\", views.local, name=\"local\"),\n    path(\"local/next/<next>\", views.local, name=\"local_next\"),\n    path(\"local/prev/<prev>\", views.local, name=\"local_prev\"),\n    path(\"fed\", views.fed, name=\"fed\"),\n    path(\"fed/next/<next>\", views.fed, name=\"fed_next\"),\n    path(\"fed/prev/<prev>\", views.fed, name=\"fed_prev\"),\n    path(\"note\", views.note, name=\"note\"),\n    path(\"note/next<next>\", views.note, name=\"note_next\"),\n    path(\"note/prev/<prev>\", views.note, name=\"note_prev\"),\n    path(\"notes_count\", views.notes_count, name=\"notes_count\"),\n    path(\"user_search\", views.user_search, name=\"user_search\"),\n    path(\"settings\", views.settings, name=\"settings\"),\n    path(\"thread/<id>\", views.thread, name=\"thread\"),\n    path(\"tags/<tag>\", views.tag, name=\"tag\"),\n    path(\"user/\", views.home, name=\"user_bad\"),\n    path(\"user/<username>\", views.user, name=\"user\"),\n    # next/prev are integers, but pleroma uses 128 bit integers\n    # ...encoded in Base62.\n    # aka a \"flake_id\"\n    # from baseconv import base62, but we don't need to decode it\n    # just pass it along back to pleroma but it is NOT an <int:>\n    path(\"user/<username>/next/<next>\", views.user, name=\"user_next\"),\n    path(\"user/<username>/prev/<prev>\", views.user, name=\"user_prev\"),\n    path(\"toot/<mention>\", views.toot, name=\"toot\"),\n    path(\"toot\", views.toot, name=\"toot\"),\n    path(\"reply/<id>\", views.reply, name=\"reply\"),\n    path(\"redraft/<id>\", views.redraft, name=\"redraft\"),\n    path(\"fav/<id>\", views.fav, name=\"fav\"),\n    path(\"boost/<id>\", views.boost, name=\"boost\"),\n    path(\"delete/<id>\", views.delete, name=\"delete\"),\n    path(\"follow/<id>\", views.follow, name=\"follow\"),\n    path(\"block/<id>\", views.block, name=\"block\"),\n    path(\"mute/<id>\", views.mute, name=\"mute\"),\n    path(\"search\", views.search, name=\"search\"),\n    path(\"search_results\", views.search_results, name=\"search_results\"),\n    path(\"emoji\", views.emoji_reference, name=\"emoji\"),\n    path(\"filters/list\", views.list_filters, name=\"list_filters\"),\n    path(\"filters/create\", views.create_filter, name=\"create_filter\"),\n    path(\"filters/delete/<id>\", views.delete_filter, name=\"delete_filter\"),\n    path(\"filters/edit/<id>\", views.edit_filter, name=\"edit_filter\"),\n    path(\"requests/\", views.follow_requests, name=\"follow_requests\"),\n    path(\"requests/<id>\", views.follow_requests, name=\"follow_requests\"),\n    path(\"accounts/\", views.accounts, name=\"accounts\"),\n    path(\"accounts/<id>\", views.accounts, name=\"accounts\"),\n    path(\"vote/<id>\", views.vote, name=\"vote\"),\n    path(\"share/\", views.share, name=\"share\"),\n    path(\"\", views.home, name=\"\"),\n]\n"
  },
  {
    "path": "brutaldon/views.py",
    "content": "from django.http import HttpResponse, Http404, HttpResponseRedirect\nfrom django.db import IntegrityError\nfrom django.conf import settings as django_settings\nfrom django.shortcuts import render, redirect\nfrom django.urls import reverse\nfrom django.views.decorators.cache import never_cache, cache_page\nfrom django.core.files.uploadhandler import TemporaryFileUploadHandler\nfrom django.utils.translation import gettext as _\nfrom brutaldon.forms import (\n    LoginForm,\n    OAuthLoginForm,\n    PreferencesForm,\n    PostForm,\n    FilterForm,\n)\nfrom brutaldon.models import Client, Account, Preference, Theme\nfrom mastodon import (\n    Mastodon,\n    MastodonIllegalArgumentError,\n    AttribAccessDict,\n    MastodonError,\n    MastodonAPIError,\n    MastodonNotFoundError,\n)\nfrom urllib import parse\nfrom pdb import set_trace\nfrom itertools import groupby\nfrom inscriptis import get_text\nfrom time import sleep\nfrom requests import Session\nimport re\n\n\nclass NotLoggedInException(Exception):\n    pass\n\n\nclass LabeledList(list):\n    \"\"\"A subclass of list that can accept additional attributes\"\"\"\n\n    def __new__(self, *args, **kwargs):\n        return super(LabeledList, self).__new__(self, args, kwargs)\n\n    def __init(self, *args, **kwargs):\n        if len(args) == 1 and hasattr(args[0], \"__iter__\"):\n            list.__init__(self, args[0])\n        else:\n            list.__init__(self, args)\n        self.__dict__.update(kwargs)\n\n    def __call(self, **kwargs):\n        self.__dict__.update(kwargs)\n        return self\n\n\nglobal sessons_cache\nsessions_cache = {}\n\nVISIBILITIES = [\"direct\", \"private\", \"unlisted\", \"public\"]\n\n###\n### Utility functions\n###\n\n\ndef get_session(domain):\n    if domain in sessions_cache:\n        return sessions_cache[domain]\n    else:\n        s = Session()\n        sessions_cache[domain] = s\n        return s\n\n\ndef get_usercontext(request, feature_set=\"mainline\"):\n    if is_logged_in(request):\n        try:\n            client = Client.objects.get(api_base_id=request.session[\"active_instance\"])\n            user = Account.objects.get(username=request.session[\"active_username\"])\n        except (\n            Client.DoesNotExist,\n            Client.MultipleObjectsReturned,\n            Account.DoesNotExist,\n            Account.MultipleObjectsReturned,\n        ):\n            raise NotLoggedInException()\n        mastodon = Mastodon(\n            client_id=client.client_id,\n            client_secret=client.client_secret,\n            access_token=user.access_token,\n            api_base_url=client.api_base_id,\n            session=get_session(client.api_base_id),\n            ratelimit_method=\"throw\",\n            feature_set=feature_set,\n        )\n        return user, mastodon\n    else:\n        return None, None\n\n\ndef is_logged_in(request):\n    return request.session.has_key(\"active_user\")\n\n\ndef _notes_count(account, mastodon):\n    if not mastodon:\n        return \"\"\n    notes = mastodon.notifications(limit=40)\n    if account.preferences.filter_notifications:\n        notes = [\n            note for note in notes if note.type == \"mention\" or note.type == \"follow\"\n        ]\n    for index, item in enumerate(notes):\n        if account.note_seen is None:\n            account.note_seen = \"0\"\n            account.save()\n        if str(item.id) <= str(account.note_seen):\n            break\n    else:\n        index = \"40+\"\n    return str(index)\n\n\ndef br_login_required(function=None, home_url=None, redirect_field_name=None):\n    \"\"\"Check that the user is logged in to a Mastodon instance.\n\n    This decorator ensures that the view functions it is called on can be\n    accessed only by logged in users. When an instanceless user accesses\n    such a protected view, they are redirected to the address specified in\n    the field named in `next_field` or, lacking such a value, the URL in\n    `home_url`, or the `ANONYMOUS_HOME_URL` setting.\n    \"\"\"\n    if home_url is None:\n        home_url = django_settings.ANONYMOUS_HOME_URL\n\n    def _dec(view_func):\n        def _view(request, *args, **kwargs):\n            def not_logged_in():\n                url = None\n                if redirect_field_name and redirect_field_name in request.REQUEST:\n                    url = request.REQUEST[redirect_field_name]\n                if not url:\n                    url = home_url\n                if not url:\n                    url = \"/\"\n                return HttpResponseRedirect(url)\n\n            if not is_logged_in(request):\n                return not_logged_in()\n            else:\n                try:\n                    return view_func(request, *args, **kwargs)\n                except MastodonAPIError:\n                    # mastodon must have expired our session\n                    return not_logged_in()\n\n        _view.__name__ = view_func.__name__\n        _view.__dict__ = view_func.__dict__\n        _view.__doc__ = view_func.__doc__\n\n        return _view\n\n    if function is None:\n        return _dec\n    else:\n        return _dec(function)\n\n\ndef user_search(request):\n    check = request.POST.get(\"status\", \"\").split()\n    if len(check):\n        check = check[-1]\n        if len(check) > 1 and check.startswith(\"@\"):\n            check = check[1:]\n            return user_search_inner(request, check)\n        else:\n            check = \"&nbsp;\"\n    else:\n        check = \"&nbsp;\"\n    return HttpResponse(check)\n\n\ndef user_search_inner(request, query):\n    account, mastodon = get_usercontext(request)\n    results = mastodon.search(query)\n    return render(\n        request,\n        \"intercooler/users.html\",\n        {\n            \"users\": \"\\n\".join([user.acct for user in results.accounts]),\n            \"preferences\": account.preferences,\n        },\n    )\n\n\ndef min_visibility(visibility1, visibility2):\n    return VISIBILITIES[\n        min(VISIBILITIES.index(visibility1), VISIBILITIES.index(visibility2))\n    ]\n\n\ndef timeline(\n    request,\n    timeline=\"home\",\n    timeline_name=\"Home\",\n    max_id=None,\n    min_id=None,\n    filter_context=\"home\",\n):\n    account, mastodon = get_usercontext(request)\n    data = mastodon.timeline(timeline, limit=40, max_id=max_id, min_id=min_id)\n    form = PostForm(\n        initial={\"visibility\": request.session[\"active_user\"].source.privacy}\n    )\n    try:\n        prev = data[0]._pagination_prev\n        if len(mastodon.timeline(min_id=prev[\"min_id\"])) == 0:\n            prev = None\n        else:\n            prev[\"min_id\"] = data[0].id\n    except (IndexError, AttributeError, KeyError):\n        prev = None\n    try:\n        next = data[-1]._pagination_next\n        next[\"max_id\"] = data[-1].id\n    except (IndexError, AttributeError, KeyError):\n        next = None\n\n    notifications = _notes_count(account, mastodon)\n    filters = get_filters(mastodon, filter_context)\n\n    # This filtering has to be done *after* getting next/prev links\n    if account.preferences.filter_replies:\n        data = [x for x in data if not x.in_reply_to_id]\n    if account.preferences.filter_boosts:\n        data = [x for x in data if not x.reblog]\n\n    # Apply filters\n    data = [x for x in data if not toot_matches_filters(x, filters)]\n\n    return render(\n        request,\n        \"main/%s_timeline.html\" % timeline,\n        {\n            \"toots\": data,\n            \"form\": form,\n            \"timeline\": timeline,\n            \"timeline_name\": timeline_name,\n            \"own_acct\": request.session[\"active_user\"],\n            \"preferences\": account.preferences,\n            \"notifications\": notifications,\n            \"prev\": prev,\n            \"next\": next,\n        },\n    )\n\n\ndef get_filters(mastodon, context=None):\n    try:\n        if context:\n            return [ff for ff in mastodon.filters() if context in ff.context]\n        else:\n            return mastodon.filters()\n    except:\n        return []\n\n\ndef toot_matches_filters(toot, filters=[]):\n    if not filters:\n        return False\n\n    def maybe_rewrite_filter(filter):\n        if filter.whole_word:\n            return f\"\\\\b{filter.phrase}\\\\b\"\n        else:\n            return filter.phrase\n\n    phrases = [maybe_rewrite_filter(x) for x in filters]\n    pattern = \"|\".join(phrases)\n    try:\n        if toot.get(\"type\") in [\"reblog\", \"favourite\"]:\n            return re.search(\n                pattern, toot.status.spoiler_text + toot.status.content, re.I\n            )\n        return re.search(pattern, toot.spoiler_text + toot.content, re.I)\n    except:\n        return False\n\n\ndef switch_accounts(request, new_account):\n    \"\"\"Try to switch accounts to the specified account, if it is already in\n    the user's session. Sets up new session variables. Returns boolean success\n    code.\"\"\"\n    accounts_dict = request.session.get(\"accounts_dict\")\n    if not accounts_dict or not new_account in accounts_dict.keys():\n        return False\n    try:\n        account = Account.objects.get(id=accounts_dict[new_account][\"account_id\"])\n        if account.username != new_account:\n            return False\n    except Account.DoesNotExist:\n        return False\n\n    request.session[\"active_username\"] = account.username\n    request.session[\"active_instance\"] = account.client.api_base_id\n    account, mastodon = get_usercontext(request)\n    request.session[\"active_user\"] = mastodon.account_verify_credentials()\n    accounts_dict[new_account][\"user\"] = request.session[\"active_user\"]\n    request.session[\"accounts_dict\"] = accounts_dict\n    return True\n\n\ndef forget_account(request, account_name):\n    \"\"\"Forget that you were logged into an account. If it's the last one, log out\n    entirely. Sets up session variables. Returns a redirect to the correct\n    view.\n    \"\"\"\n    accounts_dict = request.session.get(\"accounts_dict\")\n    if not accounts_dict or not account_name in accounts_dict.keys():\n        return redirect(\"accounts\")\n    del accounts_dict[account_name]\n    if len(accounts_dict) == 0:\n        request.session.flush()\n        return redirect(\"about\")\n    elif account_name == request.session[\"active_username\"]:\n        key = [*accounts_dict][0]\n        if switch_accounts(request, key):\n            return redirect(\"accounts\")\n        else:\n            request.session.flush()\n            return redirect(\"about\")\n    else:\n        request.session[\"accounts_dict\"] = accounts_dict\n        return redirect(\"accounts\")\n\n\n###\n### View functions\n###\n\n\ndef notes_count(request):\n    account, mastodon = get_usercontext(request)\n    count = _notes_count(account, mastodon)\n    return render(\n        request,\n        \"intercooler/notes.html\",\n        {\"notifications\": count, \"preferences\": account.preferences},\n    )\n\n\n@br_login_required\ndef home(request, next=None, prev=None):\n    return timeline(\n        request, \"home\", \"Home\", max_id=next, min_id=prev, filter_context=\"home\"\n    )\n\n\n@br_login_required\ndef local(request, next=None, prev=None, filter_context=\"public\"):\n    return timeline(request, \"local\", \"Local\", max_id=next, min_id=prev)\n\n\n@br_login_required\ndef fed(request, next=None, prev=None, filter_context=\"public\"):\n    return timeline(request, \"public\", \"Federated\", max_id=next, min_id=prev)\n\n\n@br_login_required\ndef tag(request, tag):\n    try:\n        account, mastodon = get_usercontext(request)\n    except NotLoggedInException:\n        return redirect(login)\n    data = mastodon.timeline_hashtag(tag)\n    notifications = _notes_count(account, mastodon)\n    return render(\n        request,\n        \"main/timeline.html\",\n        {\n            \"toots\": data,\n            \"timeline_name\": \"#\" + tag,\n            \"own_acct\": request.session[\"active_user\"],\n            \"notifications\": notifications,\n            \"preferences\": account.preferences,\n        },\n    )\n\n\n@never_cache\ndef login(request):\n    # User posts instance name in form.\n    # POST page redirects user to instance, where they log in.\n    # Instance redirects user to oauth_after_login view.\n    # oauth_after_login view saves credential in session, then redirects to home.\n    if request.method == \"GET\":\n        form = OAuthLoginForm()\n        return render(request, \"setup/login-oauth.html\", {\"form\": form})\n    elif request.method == \"POST\":\n        form = OAuthLoginForm(request.POST)\n        redirect_uris = request.build_absolute_uri(reverse(\"oauth_callback\"))\n        if form.is_valid():\n            api_base_url = form.cleaned_data[\"instance\"]\n            resp = django_settings.CHECK_INSTANCE_URL(api_base_url, redirect)\n            if resp is not None:\n                return resp\n            tmp_base = parse.urlparse(api_base_url.lower())\n            if tmp_base.netloc == \"\":\n                api_base_url = parse.urlunparse(\n                    (\"https\", tmp_base.path, \"\", \"\", \"\", \"\")\n                )\n                request.session[\"active_instance_hostname\"] = tmp_base.path\n            else:\n                api_base_url = api_base_url.lower()\n                request.session[\"active_instance_hostname\"] = tmp_base.netloc\n\n            request.session[\"active_instance\"] = api_base_url\n            try:\n                client = Client.objects.get(api_base_id=api_base_url)\n            except (Client.DoesNotExist, Client.MultipleObjectsReturned):\n                (client_id, client_secret) = Mastodon.create_app(\n                    \"brutaldon\",\n                    api_base_url=api_base_url,\n                    redirect_uris=redirect_uris,\n                    scopes=[\"read\", \"write\", \"follow\"],\n                )\n                client = Client(\n                    api_base_id=api_base_url,\n                    client_id=client_id,\n                    client_secret=client_secret,\n                )\n                client.save()\n\n            request.session[\"active_client_id\"] = client.client_id\n            request.session[\"active_client_secret\"] = client.client_secret\n\n            mastodon = Mastodon(\n                client_id=client.client_id,\n                client_secret=client.client_secret,\n                api_base_url=api_base_url,\n            )\n            client.version = mastodon.instance().get(\"version\")\n            client.save()\n            return redirect(\n                mastodon.auth_request_url(\n                    redirect_uris=redirect_uris, scopes=[\"read\", \"write\", \"follow\"]\n                )\n            )\n        else:\n            return render(request, \"setup/login.html\", {\"form\": form})\n\n    else:\n        return redirect(login)\n\n\n@never_cache\ndef oauth_callback(request):\n    code = request.GET.get(\"code\", \"\")\n    mastodon = Mastodon(\n        client_id=request.session[\"active_client_id\"],\n        client_secret=request.session[\"active_client_secret\"],\n        api_base_url=request.session[\"active_instance\"],\n    )\n    redirect_uri = request.build_absolute_uri(reverse(\"oauth_callback\"))\n    access_token = mastodon.log_in(\n        code=code, redirect_uri=redirect_uri, scopes=[\"read\", \"write\", \"follow\"]\n    )\n    request.session[\"access_token\"] = access_token\n    user = mastodon.account_verify_credentials()\n    try:\n        account = Account.objects.get(\n            username=user.username + \"@\" + request.session[\"active_instance_hostname\"]\n        )\n        account.access_token = access_token\n        if not account.preferences:\n            preferences = Preference(theme=Theme.objects.get(id=1))\n            preferences.save()\n            account.preferences = preferences\n        else:\n            request.session[\"timezone\"] = account.preferences.timezone\n        account.save()\n    except (Account.DoesNotExist, Account.MultipleObjectsReturned):\n        preferences = Preference(theme=Theme.objects.get(id=1))\n        preferences.save()\n        account = Account(\n            username=user.username + \"@\" + request.session[\"active_instance_hostname\"],\n            access_token=access_token,\n            client=Client.objects.get(api_base_id=request.session[\"active_instance\"]),\n            preferences=preferences,\n        )\n        account.save()\n\n    request.session[\"active_user\"] = user\n    request.session[\"active_username\"] = (\n        user.username + \"@\" + request.session[\"active_instance_hostname\"]\n    )\n\n    accounts_dict = request.session.get(\"accounts_dict\")\n    if not accounts_dict:\n        accounts_dict = {}\n    accounts_dict[account.username] = {\"account_id\": account.id, \"user\": user}\n    request.session[\"accounts_dict\"] = accounts_dict\n\n    return redirect(home)\n\n\n@never_cache\ndef old_login(request):\n    if request.method == \"GET\":\n        form = LoginForm()\n        return render(request, \"setup/login.html\", {\"form\": form})\n    elif request.method == \"POST\":\n        form = LoginForm(request.POST)\n        if form.is_valid():\n            api_base_url = form.cleaned_data[\"instance\"]\n            if \"gab.com\" in api_base_url:\n                return redirect(django_settings.GAB_RICKROLL_URL)\n            tmp_base = parse.urlparse(api_base_url.lower())\n            if tmp_base.netloc == \"\":\n                api_base_url = parse.urlunparse(\n                    (\"https\", tmp_base.path, \"\", \"\", \"\", \"\")\n                )\n                request.session[\"active_instance_hostname\"] = tmp_base.path\n            else:\n                api_base_url = api_base_url.lower()\n                request.session[\"active_instance_hostname\"] = tmp_base.netloc\n\n            request.session[\"active_instance\"] = api_base_url\n            email = form.cleaned_data[\"email\"]\n            password = form.cleaned_data[\"password\"]\n\n            try:\n                client = Client.objects.get(api_base_id=api_base_url)\n            except (Client.DoesNotExist, Client.MultipleObjectsReturned):\n                (client_id, client_secret) = Mastodon.create_app(\n                    \"brutaldon\",\n                    api_base_url=api_base_url,\n                    scopes=[\"read\", \"write\", \"follow\"],\n                )\n                client = Client(\n                    api_base_id=api_base_url,\n                    client_id=client_id,\n                    client_secret=client_secret,\n                )\n                client.save()\n\n            mastodon = Mastodon(\n                client_id=client.client_id,\n                client_secret=client.client_secret,\n                api_base_url=api_base_url,\n            )\n            client.version = mastodon.instance().get(\"version\")\n            client.save()\n\n            try:\n                account = Account.objects.get(email=email, client_id=client.id)\n            except (Account.DoesNotExist, Account.MultipleObjectsReturned):\n                preferences = Preference(theme=Theme.objects.get(id=1))\n                preferences.save()\n                account = Account(\n                    email=email, access_token=\"\", client=client, preferences=preferences\n                )\n            try:\n                access_token = mastodon.log_in(\n                    email, password, scopes=[\"read\", \"write\", \"follow\"]\n                )\n                account.access_token = access_token\n                user = mastodon.account_verify_credentials()\n                request.session[\"active_user\"] = user\n                request.session[\"active_username\"] = (\n                    user.username + \"@\" + request.session[\"active_instance_hostname\"]\n                )\n                account.username = request.session[\"active_username\"]\n                request.session[\"timezone\"] = account.preferences.timezone\n\n                accounts_dict = request.session.get(\"accounts_dict\")\n                if not accounts_dict:\n                    accounts_dict = {}\n                accounts_dict[account.username] = {\n                    \"account_id\": account.id,\n                    \"user\": user,\n                }\n                request.session[\"accounts_dict\"] = accounts_dict\n                account.save()\n\n                return redirect(home)\n            except IntegrityError:\n                account = Account.objects.get(username=account.username)\n                accounts_dict[account.username] = {\n                    \"account_id\": account.id,\n                    \"user\": user,\n                }\n                request.session[\"accounts_dict\"] = accounts_dict\n                return redirect(home)\n            except Exception as ex:\n                form.add_error(\"\", ex)\n                return render(request, \"setup/login.html\", {\"form\": form})\n        else:\n            return render(request, \"setup/login.html\", {\"form\": form})\n\n\n@never_cache\ndef logout(request):\n    request.session.flush()\n    return redirect(about)\n\n\ndef error(request):\n    return render(request, \"error.html\", {\"error\": _(\"Not logged in yet.\")})\n\n\n@br_login_required\ndef note(request, next=None, prev=None):\n    try:\n        account, mastodon = get_usercontext(request)\n    except NotLoggedInException:\n        return redirect(about)\n    try:\n        last_seen = mastodon.notifications(limit=1)[0]\n    except IndexError:\n        pass\n    else:\n        account.note_seen = last_seen.id\n        account.save()\n\n    notes = mastodon.notifications(limit=40, max_id=next, min_id=prev)\n    filters = get_filters(mastodon, context=\"notifications\")\n\n    if account.preferences.filter_notifications:\n        notes = [\n            note for note in notes if note.type == \"mention\" or note.type == \"follow\"\n        ]\n\n    # Apply filters\n    notes = [x for x in notes if not toot_matches_filters(x, filters)]\n\n    try:\n        prev = notes[0]._pagination_prev\n        if len(mastodon.notifications(min_id=prev[\"min_id\"])) == 0:\n            prev = None\n    except (IndexError, AttributeError, KeyError):\n        prev = None\n    try:\n        next = notes[-1]._pagination_next\n    except (IndexError, AttributeError, KeyError):\n        next = None\n\n    # Now group notes into lists based on type and status\n    groups = []\n    if account.preferences.bundle_notifications:\n\n        def bundle_key(note):\n            try:\n                return str(note.status.id) + note.type\n            except:\n                return str(note.id) + note.type\n\n        def group_sort_key(group):\n            return max([k.id for k in group])\n\n        sorted_notes = sorted(notes, key=bundle_key, reverse=True)\n        for _, group in groupby(sorted_notes, bundle_key):\n            group = LabeledList(group)\n            group.accounts = [x.account for x in group]\n            groups.append(group)\n        groups.sort(key=group_sort_key, reverse=True)\n    else:\n        groups.append(notes)\n\n    return render(\n        request,\n        \"main/notifications.html\",\n        {\n            \"notes\": notes,\n            \"groups\": groups,\n            \"timeline\": \"Notifications\",\n            \"timeline_name\": \"Notifications\",\n            \"own_acct\": request.session[\"active_user\"],\n            \"preferences\": account.preferences,\n            \"prev\": prev,\n            \"next\": next,\n            \"bundleable\": [\"favourite\", \"reblog\"],\n            \"bundle_notifications\": account.preferences.bundle_notifications,\n        },\n    )\n\n\n@br_login_required\ndef thread(request, id):\n    account, mastodon = get_usercontext(request)\n    try:\n        toot = mastodon.status(id)\n        root = toot\n        context = mastodon.status_context(id)\n        if context.ancestors and len(context.ancestors) > 0:\n            root = context.ancestors[0]\n            context = mastodon.status_context(context.ancestors[0])\n    except MastodonNotFoundError:\n        raise Http404(_(\"Thread not found; the message may have been deleted.\"))\n    notifications = _notes_count(account, mastodon)\n    filters = get_filters(mastodon, context=\"thread\")\n\n    # Apply filters\n    descendants = [\n        x for x in context.descendants if not toot_matches_filters(x, filters)\n    ]\n\n    return render(\n        request,\n        \"main/thread.html\",\n        {\n            \"context\": context,\n            \"toot\": toot,\n            \"root\": root,\n            \"descendants\": descendants,\n            \"own_acct\": request.session[\"active_user\"],\n            \"notifications\": notifications,\n            \"preferences\": account.preferences,\n        },\n    )\n\n\ndef same_username(account, acct, username):\n    if acct == username:\n        return True\n    try:\n        user, host = username.split(\"@\", 1)\n    except ValueError:\n        user, host = username, \"\"\n    myhost = account.username.split(\"@\", 1)[1]\n    if acct == user and host == myhost:\n        return True\n    return False\n\n\n@br_login_required\ndef user(request, username, prev=None, next=None):\n    try:\n        account, mastodon = get_usercontext(request)\n    except NotLoggedInException:\n        return redirect(about)\n    user_dict = None\n    # pleroma currently flops if the user's not already locally known\n    # this is a BUG that they MUST FIX\n    # but until then, we might have to fallback to a regular search,\n    # if the account search fails to return results.\n    for dict in mastodon.account_search(username):\n        if not same_username(account, dict.acct, username):\n            continue\n        user_dict = dict\n        break\n    else:\n        for dict in mastodon.search(username, result_type=\"accounts\").accounts:\n            if not same_username(account, dict.acct, username):\n                continue\n            user_dict = dict\n            break\n        else:\n            raise Http404(_(\"The user %s could not be found.\") % username)\n    data = mastodon.account_statuses(user_dict.id, max_id=next, min_id=prev)\n    relationship = mastodon.account_relationships(user_dict.id)[0]\n    notifications = _notes_count(account, mastodon)\n    try:\n        prev = data[0]._pagination_prev\n        if len(mastodon.account_statuses(user_dict.id, min_id=prev[\"min_id\"])) == 0:\n            prev = None\n    except (IndexError, AttributeError, KeyError):\n        prev = None\n    try:\n        next = data[-1]._pagination_next\n    except (IndexError, AttributeError, KeyError):\n        next = None\n    return render(\n        request,\n        \"main/user.html\",\n        {\n            \"toots\": data,\n            \"user\": user_dict,\n            \"relationship\": relationship,\n            \"own_acct\": request.session[\"active_user\"],\n            \"preferences\": account.preferences,\n            \"notifications\": notifications,\n            \"prev\": prev,\n            \"next\": next,\n        },\n    )\n\n\n@never_cache\n@br_login_required\ndef settings(request):\n    try:\n        account, mastodon = get_usercontext(request)\n        account.client.version = mastodon.instance().get(\"version\")\n        account.client.save()\n\n    except NotLoggedInException:\n        return redirect(about)\n    if request.method == \"POST\":\n        form = PreferencesForm(request.POST)\n        if form.is_valid():\n            for field in account.preferences._fields:\n                if field in form.cleaned_data:\n                    setattr(account.preferences, field, form.cleaned_data[field])\n            request.session[\"timezone\"] = account.preferences.timezone\n            account.preferences.save()\n            account.save()\n\n            # Update this here because it's a handy place to do it.\n            user_info = mastodon.account_verify_credentials()\n            request.session[\"active_user\"] = user_info\n            accounts_dict = request.session[\"accounts_dict\"]\n\n            accounts_dict[account.username][\"user\"] = user_info\n            request.session[\"accounts_dict\"] = accounts_dict\n\n            return redirect(home)\n        else:\n            return render(\n                request, \"setup/settings.html\", {\"form\": form, \"account\": account}\n            )\n    else:\n        request.session[\"timezone\"] = account.preferences.timezone\n        form = PreferencesForm(instance=account.preferences)\n        return render(\n            request,\n            \"setup/settings.html\",\n            {\"form\": form, \"account\": account, \"preferences\": account.preferences},\n        )\n\n\ndef status_post(account, request, mastodon, **kw):\n    while True:\n        try:\n            mastodon.status_post(**kw)\n        except MastodonIllegalArgumentError as e:\n            if not \"is only available with feature set\" in e.args[0]:\n                raise\n            feature_set = e.args[0].rsplit(\" \", 1)[-1]\n\n            account, mastodon = get_usercontext(request, feature_set=feature_set)\n\n            continue\n        except TypeError:\n            # not sure why, but the old code retried status_post without a\n            # content_type keyword, if there was a TypeError\n            kw.pop(\"content_type\")\n            continue\n        else:\n            break\n    return account, mastodon\n\n\n@never_cache\n@br_login_required\ndef toot(request, mention=None):\n    account, mastodon = get_usercontext(request)\n    if request.method == \"GET\":\n        if mention:\n            if not mention.startswith(\"@\"):\n                mention = \"@\" + mention\n            form = PostForm(\n                initial={\n                    \"visibility\": request.session[\"active_user\"].source.privacy,\n                    \"status\": mention + \" \",\n                }\n            )\n        else:\n            form = PostForm(\n                initial={\"visibility\": request.session[\"active_user\"].source.privacy}\n            )\n        if request.GET.get(\"ic-request\"):\n            return render(\n                request,\n                \"intercooler/post.html\",\n                {\n                    \"form\": form,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n        else:\n            return render(\n                request,\n                \"main/post.html\",\n                {\n                    \"form\": form,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n    elif request.method == \"POST\":\n        form = PostForm(request.POST, request.FILES)\n        if form.is_valid():\n            # create media objects\n            media_objects = []\n            for index in range(1, 5):\n                if \"media_file_\" + str(index) in request.FILES:\n                    media_objects.append(\n                        mastodon.media_post(\n                            request.FILES[\n                                \"media_file_\" + str(index)\n                            ].temporary_file_path(),\n                            description=request.POST.get(\n                                \"media_text_\" + str(index), None\n                            ),\n                        )\n                    )\n\n            if form.cleaned_data[\"visibility\"] == \"\":\n                form.cleaned_data[\"visibility\"] = request.session[\n                    \"active_user\"\n                ].source.privacy\n            try:\n                status_post(\n                    account,\n                    request,\n                    mastodon,\n                    status=form.cleaned_data[\"status\"],\n                    visibility=form.cleaned_data[\"visibility\"],\n                    spoiler_text=form.cleaned_data[\"spoiler_text\"],\n                    media_ids=media_objects,\n                    content_type=\"text/markdown\",\n                )\n            except MastodonAPIError as error:\n                form.add_error(\n                    \"\",\n                    \"%s (%s used)\"\n                    % (\n                        error.args[-1],\n                        len(form.cleaned_data[\"status\"])\n                        + len(form.cleaned_data[\"spoiler_text\"]),\n                    ),\n                )\n                return render(\n                    request,\n                    \"main/post.html\",\n                    {\n                        \"form\": form,\n                        \"own_acct\": request.session[\"active_user\"],\n                        \"preferences\": account.preferences,\n                    },\n                )\n            return redirect(home)\n        else:\n            return render(\n                request,\n                \"main/post.html\",\n                {\n                    \"form\": form,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n    else:\n        return redirect(toot)\n\n\n@br_login_required\ndef redraft(request, id):\n    if request.method == \"GET\":\n        account, mastodon = get_usercontext(request)\n        toot = mastodon.status(id)\n        toot_content = get_text(toot.content)  # convert to plain text\n        # fix up white space\n        toot_content = re.sub(\"(^\\n)|(\\n$)\", \"\", re.sub(\"\\n\\n\", \"\\n\", toot_content))\n        # Fix up references\n        for mention in toot.mentions:\n            menchie_re = re.compile(r\"\\s?@\" + mention.username + r\"\\s\", re.I)\n            toot_content = menchie_re.sub(\n                \" @\" + mention.acct + \" \", toot_content, count=1\n            )\n        form = PostForm(\n            {\n                \"status\": toot_content.strip(),\n                \"visibility\": toot.visibility,\n                \"spoiler_text\": toot.spoiler_text,\n                \"media_text_1\": safe_get_attachment(toot, 0).description,\n                \"media_text_2\": safe_get_attachment(toot, 1).description,\n                \"media_text_3\": safe_get_attachment(toot, 2).description,\n                \"media_text_4\": safe_get_attachment(toot, 3).description,\n            }\n        )\n        return render(\n            request,\n            \"main/redraft.html\",\n            {\n                \"toot\": toot,\n                \"form\": form,\n                \"redraft\": True,\n                \"own_acct\": request.session[\"active_user\"],\n                \"preferences\": account.preferences,\n            },\n        )\n    elif request.method == \"POST\":\n        form = PostForm(request.POST, request.FILES)\n        account, mastodon = get_usercontext(request)\n        toot = mastodon.status(id)\n        if form.is_valid():\n            media_objects = []\n            for index in range(1, 5):\n                if \"media_file_\" + str(index) in request.FILES:\n                    media_objects.append(\n                        mastodon.media_post(\n                            request.FILES[\n                                \"media_file_\" + str(index)\n                            ].temporary_file_path(),\n                            description=request.POST.get(\n                                \"media_text_\" + str(index), None\n                            ),\n                        )\n                    )\n            if form.cleaned_data[\"visibility\"] == \"\":\n                form.cleaned_data[\"visibility\"] = request.session[\n                    \"active_user\"\n                ].source.privacy\n            try:\n                status_post(\n                    account,\n                    request,\n                    mastodon,\n                    status=form.cleaned_data[\"status\"],\n                    visibility=form.cleaned_data[\"visibility\"],\n                    spoiler_text=form.cleaned_data[\"spoiler_text\"],\n                    media_ids=media_objects,\n                    in_reply_to_id=toot.in_reply_to_id,\n                    content_type=\"text/markdown\",\n                )\n                mastodon.status_delete(id)\n            except MastodonAPIError as error:\n                form.add_error(\n                    \"\",\n                    \"%s (%s used)\"\n                    % (\n                        error.args[-1],\n                        len(form.cleaned_data[\"status\"])\n                        + len(form.cleaned_data[\"spoiler_text\"]),\n                    ),\n                )\n                return render(\n                    request,\n                    \"main/redraft.html\",\n                    {\n                        \"toot\": toot,\n                        \"form\": form,\n                        \"redraft\": True,\n                        \"own_acct\": request.session[\"active_user\"],\n                        \"preferences\": account.preferences,\n                    },\n                )\n            return redirect(home)\n        else:\n            return render(\n                request,\n                \"main/redraft.html\",\n                {\n                    \"toot\": toot,\n                    \"form\": form,\n                    \"redraft\": True,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n    else:\n        return redirect(redraft, id)\n\n\ndef safe_get_attachment(toot, index):\n    \"\"\"Get an attachment from a toot, without crashing if it isn't there.\"\"\"\n    try:\n        return toot.media_attachments[index]\n    except IndexError:\n        adict = AttribAccessDict()\n        adict.id, adict.type, adict.description = \"\", \"unknown\", \"\"\n        adict.url, adict.remote_url, adict.preview_url = \"\", \"\", \"\"\n        adict.text_url = \"\"\n        return adict\n\n\n@br_login_required\ndef reply(request, id):\n    if request.method == \"GET\":\n        account, mastodon = get_usercontext(request)\n        try:\n            toot = mastodon.status(id)\n            context = mastodon.status_context(id)\n        except MastodonNotFoundError:\n            raise Http404(_(\"Thread not found; the message may have been deleted.\"))\n        notifications = _notes_count(account, mastodon)\n        if toot.account.acct != request.session[\"active_user\"].acct:\n            initial_text = \"@\" + toot.account.acct + \" \"\n        else:\n            initial_text = \"\"\n        for mention in [\n            x\n            for x in toot.mentions\n            if x.acct != request.session[\"active_user\"].acct\n            and x.acct != toot.account.acct\n        ]:\n            initial_text += \"@\" + mention.acct + \" \"\n        form = PostForm(\n            initial={\n                \"status\": initial_text,\n                \"visibility\": min_visibility(\n                    toot.visibility, request.session[\"active_user\"].source.privacy\n                ),\n                \"spoiler_text\": toot.spoiler_text,\n            }\n        )\n        return render(\n            request,\n            \"main/reply.html\",\n            {\n                \"context\": context,\n                \"toot\": toot,\n                \"form\": form,\n                \"reply\": True,\n                \"own_acct\": request.session[\"active_user\"],\n                \"notifications\": notifications,\n                \"preferences\": account.preferences,\n            },\n        )\n    elif request.method == \"POST\":\n        form = PostForm(request.POST, request.FILES)\n        account, mastodon = get_usercontext(request)\n        toot = mastodon.status(id)\n        context = mastodon.status_context(id)\n        notifications = _notes_count(account, mastodon)\n        if form.is_valid():\n            # create media objects\n            media_objects = []\n            for index in range(1, 5):\n                if \"media_file_\" + str(index) in request.FILES:\n                    media_objects.append(\n                        mastodon.media_post(\n                            request.FILES[\n                                \"media_file_\" + str(index)\n                            ].temporary_file_path(),\n                            description=request.POST.get(\n                                \"media_text_\" + str(index), None\n                            ),\n                        )\n                    )\n            try:\n                status_post(\n                    account,\n                    request,\n                    mastodon,\n                    status=form.cleaned_data[\"status\"],\n                    visibility=form.cleaned_data[\"visibility\"],\n                    spoiler_text=form.cleaned_data[\"spoiler_text\"],\n                    media_ids=media_objects,\n                    in_reply_to_id=id,\n                    content_type=\"text/markdown\",\n                )\n            except MastodonAPIError as error:\n                form.add_error(\n                    \"\",\n                    \"%s (%s used)\"\n                    % (\n                        error.args[-1],\n                        len(form.cleaned_data[\"status\"])\n                        + len(form.cleaned_data[\"spoiler_text\"]),\n                    ),\n                )\n                return render(\n                    request,\n                    \"main/reply.html\",\n                    {\n                        \"context\": context,\n                        \"toot\": toot,\n                        \"form\": form,\n                        \"reply\": True,\n                        \"own_acct\": request.session[\"active_user\"],\n                        \"notifications\": notifications,\n                        \"preferences\": account.preferences,\n                    },\n                )\n            return HttpResponseRedirect(\n                reverse(\"thread\", args=[id]) + \"#toot-\" + str(id)\n            )\n        else:\n            return render(\n                request,\n                \"main/reply.html\",\n                {\n                    \"context\": context,\n                    \"toot\": toot,\n                    \"form\": form,\n                    \"reply\": True,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n    else:\n        return HttpResponseRedirect(reverse(\"reply\", args=[id]) + \"#toot-\" + str(id))\n\n\n@br_login_required\ndef share(request):\n    account, mastodon = get_usercontext(request)\n    if request.method == \"GET\":\n        params = request.GET\n    if request.method == \"POST\":\n        params = request.POST\n    title = params.get(\"title\")\n    url = params.get(\"url\")\n    if title:\n        initial_text = f\"{title}\\n\\n{url}\"\n    else:\n        initial_text = f\"{url}\"\n\n    form = PostForm(\n        initial={\n            \"status\": initial_text,\n            \"visibility\": request.session[\"active_user\"].source.privacy,\n        }\n    )\n    return render(\n        request,\n        \"main/post.html\",\n        {\n            \"form\": form,\n            \"own_acct\": request.session[\"active_user\"],\n            \"preferences\": account.preferences,\n        },\n    )\n\n\n@never_cache\n@br_login_required\ndef fav(request, id):\n    account, mastodon = get_usercontext(request)\n    toot = mastodon.status(id)\n    if request.method == \"POST\":\n        if not request.POST.get(\"cancel\", None):\n            if toot.favourited:\n                mastodon.status_unfavourite(id)\n            else:\n                mastodon.status_favourite(id)\n        if request.POST.get(\"ic-request\"):\n            toot[\"favourited\"] = not toot[\"favourited\"]\n            return render(\n                request,\n                \"intercooler/fav.html\",\n                {\n                    \"toot\": toot,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n        else:\n            return HttpResponseRedirect(\n                reverse(\"thread\", args=[id]) + \"#toot-\" + str(id)\n            )\n    else:\n        return render(\n            request,\n            \"main/fav.html\",\n            {\n                \"toot\": toot,\n                \"own_acct\": request.session[\"active_user\"],\n                \"confirm_page\": True,\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@never_cache\n@br_login_required\ndef boost(request, id):\n    account, mastodon = get_usercontext(request)\n    toot = mastodon.status(id)\n    if request.method == \"POST\":\n        if not request.POST.get(\"cancel\", None):\n            if toot.reblogged:\n                mastodon.status_unreblog(id)\n            else:\n                mastodon.status_reblog(id)\n        if request.POST.get(\"ic-request\"):\n            toot[\"reblogged\"] = not toot[\"reblogged\"]\n            return render(\n                request,\n                \"intercooler/boost.html\",\n                {\n                    \"toot\": toot,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n        else:\n            return HttpResponseRedirect(\n                reverse(\"thread\", args=[id]) + \"#toot-\" + str(id)\n            )\n    else:\n        return render(\n            request,\n            \"main/boost.html\",\n            {\n                \"toot\": toot,\n                \"own_acct\": request.session[\"active_user\"],\n                \"confirm_page\": True,\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@never_cache\n@br_login_required\ndef delete(request, id):\n    account, mastodon = get_usercontext(request)\n    toot = mastodon.status(id)\n    if request.method == \"POST\" or request.method == \"DELETE\":\n        if toot.account.acct != request.session[\"active_user\"].acct:\n            return redirect(\"home\")\n        if not request.POST.get(\"cancel\", None):\n            mastodon.status_delete(id)\n            if request.POST.get(\"ic-request\"):\n                return HttpResponse(\"\")\n        return redirect(home)\n    else:\n        return render(\n            request,\n            \"main/delete.html\",\n            {\n                \"toot\": toot,\n                \"own_acct\": request.session[\"active_user\"],\n                \"confirm_page\": True,\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@never_cache\n@br_login_required\ndef follow(request, id):\n    account, mastodon = get_usercontext(request)\n    try:\n        user_dict = mastodon.account(id)\n        relationship = mastodon.account_relationships(user_dict.id)[0]\n    except (IndexError, AttributeError, KeyError):\n        raise Http404(\"The user could not be found.\")\n    if request.method == \"POST\":\n        if not request.POST.get(\"cancel\", None):\n            if relationship.requested or relationship.following:\n                mastodon.account_unfollow(id)\n            else:\n                mastodon.account_follow(id)\n        if request.POST.get(\"ic-request\"):\n            sleep(\n                1\n            )  # This is annoying, but the next call will return Requested instead of Following in some cases\n            relationship = mastodon.account_relationships(user_dict.id)[0]\n            return render(\n                request,\n                \"intercooler/follow.html\",\n                {\n                    \"user\": user_dict,\n                    \"relationship\": relationship,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"preferences\": account.preferences,\n                },\n            )\n        else:\n            return redirect(user, user_dict.acct)\n    else:\n        return render(\n            request,\n            \"main/follow.html\",\n            {\n                \"user\": user_dict,\n                \"relationship\": relationship,\n                \"confirm_page\": True,\n                \"own_acct\": request.session[\"active_user\"],\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@never_cache\n@br_login_required\ndef block(request, id):\n    account, mastodon = get_usercontext(request)\n    try:\n        user_dict = mastodon.account(id)\n        relationship = mastodon.account_relationships(user_dict.id)[0]\n    except (IndexError, AttributeError, KeyError):\n        raise Http404(\"The user could not be found.\")\n    if request.method == \"POST\":\n        if not request.POST.get(\"cancel\", None):\n            if relationship.blocking:\n                mastodon.account_unblock(id)\n            else:\n                mastodon.account_block(id)\n            if request.POST.get(\"ic-request\"):\n                relationship[\"blocking\"] = not relationship[\"blocking\"]\n                return render(\n                    request,\n                    \"intercooler/block.html\",\n                    {\"user\": user_dict, \"relationship\": relationship},\n                )\n            else:\n                return redirect(user, user_dict.acct)\n    else:\n        return render(\n            request,\n            \"main/block.html\",\n            {\n                \"user\": user_dict,\n                \"relationship\": relationship,\n                \"confirm_page\": True,\n                \"own_acct\": request.session[\"active_user\"],\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@never_cache\n@br_login_required\ndef mute(request, id):\n    account, mastodon = get_usercontext(request)\n    try:\n        user_dict = mastodon.account(id)\n        relationship = mastodon.account_relationships(user_dict.id)[0]\n    except (IndexError, AttributeError, KeyError):\n        raise Http404(\"The user could not be found.\")\n    if request.method == \"POST\":\n        if not request.POST.get(\"cancel\", None):\n            if relationship.muting:\n                mastodon.account_unmute(id)\n            else:\n                mastodon.account_mute(id)\n            if request.POST.get(\"ic-request\"):\n                relationship[\"muting\"] = not relationship[\"muting\"]\n                return render(\n                    request,\n                    \"intercooler/mute.html\",\n                    {\"user\": user_dict, \"relationship\": relationship},\n                )\n            else:\n                return redirect(user, user_dict.acct)\n    else:\n        return render(\n            request,\n            \"main/mute.html\",\n            {\n                \"user\": user_dict,\n                \"relationship\": relationship,\n                \"confirm_page\": True,\n                \"own_acct\": request.session[\"active_user\"],\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@br_login_required\ndef search(request):\n    account, mastodon = get_usercontext(request)\n    if request.GET.get(\"ic-request\"):\n        return render(\n            request,\n            \"intercooler/search.html\",\n            {\n                \"preferences\": account.preferences,\n                \"own_acct\": request.session[\"active_user\"],\n            },\n        )\n    else:\n        return render(\n            request,\n            \"main/search.html\",\n            {\n                \"preferences\": account.preferences,\n                \"own_acct\": request.session[\"active_user\"],\n            },\n        )\n\n\n@br_login_required\n@cache_page(60 * 5)\ndef search_results(request):\n    if request.method == \"GET\":\n        query = request.GET.get(\"q\", \"\")\n    elif request.method == \"POST\":\n        query = request.POST.get(\"q\", \"\")\n    else:\n        query = \"\"\n    account, mastodon = get_usercontext(request)\n\n    results = mastodon.search(query)\n    notifications = _notes_count(account, mastodon)\n    return render(\n        request,\n        \"main/search_results.html\",\n        {\n            \"results\": results,\n            \"own_acct\": request.session[\"active_user\"],\n            \"notifications\": notifications,\n            \"preferences\": account.preferences,\n        },\n    )\n\n\n@cache_page(60 * 30)\ndef about(request):\n    version = django_settings.BRUTALDON_VERSION\n    account, mastodon = get_usercontext(request)\n    if account:\n        preferences = account.preferences\n    else:\n        preferences = None\n    return render(\n        request,\n        \"about.html\",\n        {\n            \"preferences\": preferences,\n            \"version\": version,\n            \"own_acct\": request.session.get(\"active_user\", None),\n        },\n    )\n\n\n@cache_page(60 * 30)\ndef privacy(request):\n    account, mastodon = get_usercontext(request)\n    if account:\n        preferences = account.preferences\n    else:\n        preferences = None\n    return render(\n        request,\n        \"privacy.html\",\n        {\n            \"preferences\": preferences,\n            \"own_acct\": request.session.get(\"active_user\", None),\n        },\n    )\n\n\n@cache_page(60 * 30)\n@br_login_required\ndef emoji_reference(request):\n    account, mastodon = get_usercontext(request)\n    emojos = mastodon.custom_emojis()\n    notifications = _notes_count(account, mastodon)\n    return render(\n        request,\n        \"main/emoji.html\",\n        {\n            \"preferences\": account.preferences,\n            \"emojos\": sorted(emojos, key=lambda x: x[\"shortcode\"]),\n            \"notifications\": notifications,\n            \"own_acct\": request.session[\"active_user\"],\n        },\n    )\n\n\n@br_login_required\ndef list_filters(request):\n    account, mastodon = get_usercontext(request)\n    filters = mastodon.filters()\n    return render(\n        request,\n        \"filters/list.html\",\n        {\"account\": account, \"preferences\": account.preferences, \"filters\": filters},\n    )\n\n\n@br_login_required\ndef create_filter(request):\n    account, mastodon = get_usercontext(request)\n    if request.method == \"POST\":\n        form = FilterForm(request.POST)\n        if form.is_valid():\n            contexts = []\n            if form.cleaned_data[\"context_home\"]:\n                contexts.append(\"home\")\n            if form.cleaned_data[\"context_public\"]:\n                contexts.append(\"public\")\n            if form.cleaned_data[\"context_notes\"]:\n                contexts.append(\"notifications\")\n            if form.cleaned_data[\"context_thread\"]:\n                contexts.append(\"thread\")\n            expires = form.cleaned_data[\"expires_in\"]\n            if expires == \"\":\n                expires = None\n            mastodon.filter_create(\n                form.cleaned_data[\"phrase\"],\n                contexts,\n                whole_word=form.cleaned_data[\"whole_word\"],\n                expires_in=expires,\n            )\n            return redirect(list_filters)\n        else:\n            return render(\n                request,\n                \"filters/create.html\",\n                {\"form\": form, \"account\": account, \"preferences\": account.preferences},\n            )\n    else:\n        form = FilterForm()\n        return render(\n            request,\n            \"filters/create.html\",\n            {\"form\": form, \"account\": account, \"preferences\": account.preferences},\n        )\n\n\n@br_login_required\ndef delete_filter(request, id):\n    account, mastodon = get_usercontext(request)\n    filter = mastodon.filter(id)\n\n    if request.method == \"POST\" or request.method == \"DELETE\":\n        if not request.POST.get(\"cancel\", None):\n            mastodon.filter_delete(filter.id)\n            if request.POST.get(\"ic-request\"):\n                return HttpResponse(\"\")\n        return redirect(list_filters)\n    else:\n        return render(\n            request,\n            \"filters/delete.html\",\n            {\n                \"filter\": filter,\n                \"own_acct\": request.session[\"active_user\"],\n                \"confirm_page\": True,\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@br_login_required\ndef edit_filter(request, id):\n    account, mastodon = get_usercontext(request)\n    filter = mastodon.filter(id)\n\n    contexts = []\n    if request.method == \"POST\":\n        form = FilterForm(request.POST)\n        if form.is_valid():\n            if form.cleaned_data[\"context_home\"]:\n                contexts.append(\"home\")\n            if form.cleaned_data[\"context_public\"]:\n                contexts.append(\"public\")\n            if form.cleaned_data[\"context_notes\"]:\n                contexts.append(\"notifications\")\n            if form.cleaned_data[\"context_thread\"]:\n                contexts.append(\"thread\")\n            expires = form.cleaned_data[\"expires_in\"]\n            if expires == \"\":\n                expires = None\n            mastodon.filter_update(\n                id,\n                form.cleaned_data[\"phrase\"],\n                contexts,\n                whole_word=form.cleaned_data[\"whole_word\"],\n                expires_in=expires,\n            )\n            return redirect(list_filters)\n        else:\n            return render(\n                request,\n                \"filters/edit.html\",\n                {\n                    \"form\": form,\n                    \"account\": account,\n                    \"filter\": filter,\n                    \"preferences\": account.preferences,\n                },\n            )\n    else:\n        contexts = []\n        form = FilterForm(\n            {\n                \"phrase\": filter.phrase,\n                \"context_home\": \"home\" in filter.context,\n                \"context_public\": \"public\" in filter.context,\n                \"context_notes\": \"notifications\" in filter.context,\n                \"context_thread\": \"thread\" in filter.context,\n                \"whole_word\": filter.whole_word,\n            }\n        )\n        return render(\n            request,\n            \"filters/edit.html\",\n            {\n                \"form\": form,\n                \"account\": account,\n                \"filter\": filter,\n                \"preferences\": account.preferences,\n            },\n        )\n\n\n@br_login_required\ndef follow_requests(request, id=None):\n    account, mastodon = get_usercontext(request)\n    if request.method == \"GET\":\n        reqs = mastodon.follow_requests()\n        return render(\n            request,\n            \"requests/list.html\",\n            {\"account\": account, \"preferences\": account.preferences, \"requests\": reqs},\n        )\n    elif id is None:\n        return redirect(follow_requests)\n    else:\n        if request.POST.get(\"accept\", None):\n            mastodon.follow_request_authorize(id)\n        elif request.POST.get(\"reject\", None):\n            mastodon.follow_request_reject(id)\n        return redirect(follow_requests)\n\n\n@br_login_required\ndef accounts(request, id=None):\n    active_account, mastodon = get_usercontext(request)\n    if request.method == \"GET\":\n        accounts = [x for x in request.session.get(\"accounts_dict\").values()]\n        return render(\n            request,\n            \"accounts/list.html\",\n            {\n                \"active_account\": active_account,\n                \"own_acct\": request.session[\"active_user\"],\n                \"accounts\": accounts,\n                \"preferences\": active_account.preferences,\n            },\n        )\n    if request.method == \"POST\":\n        if request.POST.get(\"activate\"):\n            to_account = Account.objects.get(id=id).username\n            if switch_accounts(request, to_account):\n                return redirect(home)\n            else:\n                return redirect(\"accounts\")\n        elif request.POST.get(\"forget\"):\n            account = Account.objects.get(id=id).username\n            return forget_account(request, account)\n        else:\n            accounts = [x for x in request.session.get(\"accounts_dict\").values()]\n            return render(\n                request,\n                \"accounts/list.html\",\n                {\n                    \"active_account\": active_account,\n                    \"own_acct\": request.session[\"active_user\"],\n                    \"accounts\": accounts,\n                    \"preferences\": active_account.preferences,\n                },\n            )\n\n\n@br_login_required\ndef vote(request, id):\n    if request.method == \"GET\":\n        return redirect(\"thread\", id)\n    if request.method == \"POST\":\n        account, mastodon = get_usercontext(request)\n        toot = mastodon.status(id)\n        poll = toot.poll\n        if not poll:\n            return redirect(\"thread\", id)\n        # radio buttons\n        if \"poll-single\" in request.POST.keys():\n            mastodon.poll_vote(poll.id, request.POST[\"poll-single\"])\n        # checkboxes\n        else:\n            values = [x for x in request.POST.getlist(\"poll-multiple\")]\n            if values:\n                mastodon.poll_vote(poll.id, values)\n\n        if request.POST.get(\"ic-request\"):\n            return render(\n                request, \"main/toot_partial.html\", {\"toot\": mastodon.status(id)}\n            )\n        else:\n            return redirect(\"thread\", id)\n"
  },
  {
    "path": "brutaldon/wsgi.py",
    "content": "\"\"\"\nWSGI config for brutaldon project.\n\nIt exposes the WSGI callable as a module-level variable named ``application``.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/\n\"\"\"\n\nimport os\n\nfrom django.core.wsgi import get_wsgi_application\n\nos.environ.setdefault(\"DJANGO_SETTINGS_MODULE\", \"brutaldon.settings\")\n\napplication = get_wsgi_application()\n"
  },
  {
    "path": "manage.py",
    "content": "#!/usr/bin/env python\nimport os\nimport sys\n\nif __name__ == \"__main__\":\n    os.environ.setdefault(\"DJANGO_SETTINGS_MODULE\", \"brutaldon.settings\")\n    try:\n        from django.core.management import execute_from_command_line\n    except ImportError as exc:\n        raise ImportError(\n            \"Couldn't import Django. Are you sure it's installed and \"\n            \"available on your PYTHONPATH environment variable? Did you \"\n            \"forget to activate a virtual environment?\"\n        ) from exc\n    execute_from_command_line(sys.argv)\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"dependencies\": {\n    \"bulma\": \"^0.7.5\",\n    \"bulma-extensions\": \"^2.2.2\",\n    \"bulmaswatch\": \"^0.6.2\",\n    \"fork-awesome\": \"^1.1.0\",\n    \"intercooler\": \"^1.2.1\",\n    \"jquery\": \"^3.4.1\",\n    \"loading-attribute-polyfill\": \"^1.2.0\",\n    \"magnific-popup\": \"^1.1.0\",\n    \"mousetrap\": \"^1.6.2\"\n  }\n}\n"
  }
]