[
  {
    "path": ".bowerrc",
    "content": "{\n    \"directory\": \"app/components\"\n}\n"
  },
  {
    "path": ".couchappignore",
    "content": "[\n  \"^dist$\",\n  \"^node_modules$\",\n  \".couchapp_deploy\",\n  \"testacular.conf\",\n  \"component.json\",\n  \"Gruntfile.js\",\n  \"package.json\",\n  \"^imgsrc$\",\n  \"^usertemplates$\",\n  \"LICENSE\",\n  \"README.md\",\n  \".idea\",\n  \"travis.yml\",\n  \".jshintrc\",\n  \".bowerrc\",\n  \".jshintignore\",\n  \".editorconfig\",\n  \".ericaignore\"\n]\n"
  },
  {
    "path": ".couchapprc",
    "content": "{}"
  },
  {
    "path": ".editorconfig",
    "content": "; EditorConfig is awesome: http://EditorConfig.org\nroot = true  ; top-most EditorConfig file\n\n; Unix-style newlines with a newline ending every file\n[*.js]\nend_of_line = lf\ninsert_final_newline = true\nindent_stype = space\nindent_size = 4\n\n[.jshintrc]\nend_of_line = lf\ninsert_final_newline = true\nindent_stype = space\nindent_size = 4\n\n[*.html]\nend_of_line = lf\ninsert_final_newline = true\nindent_stype = space\nindent_size = 4\n"
  },
  {
    "path": ".ericaignore",
    "content": "[\n  \"^dist$\",\n  \"^node_modules$\",\n  \".couchapp_deploy\",\n  \"testacular.conf\",\n  \"component.json\",\n  \"Gruntfile.js\",\n  \"package.json\",\n  \"^imgsrc$\",\n  \"^usertemplates$\",\n  \"LICENSE\",\n  \"README.md\",\n  \".idea\",\n  \"travis.yml\",\n  \".jshintrc\",\n  \".bowerrc\",\n  \".jshintignore\",\n  \".editorconfig\",\n  \".couchappignore\"\n]\n"
  },
  {
    "path": ".gitignore",
    "content": ".idea\nnode_modules/\ndist\n.couchapp_deploy\n"
  },
  {
    "path": ".jshintignore",
    "content": "_attachments/vendor\n"
  },
  {
    "path": ".jshintrc",
    "content": "{\n    \"predef\": [\n        \"angular\",\n        \"moment\",\n\n        \"d3\",\n        \"prettyPrint\"\n    ],\n    \"indent\": 4,\n    \"trailing\": true,\n\n    \"strict\": true,\n    \"curly\": true,\n    \"eqeqeq\": true,\n    \"immed\": true,\n    \"latedef\": true,\n    \"newcap\": true,\n    \"noarg\": true,\n    \"sub\": true,\n    \"undef\": true,\n    \"boss\": true,\n    \"eqnull\": true,\n    \"jquery\": true,\n    \"devel\": true,\n    \"browser\": true\n}\n"
  },
  {
    "path": ".travis.yml",
    "content": "language: node_js\nnode_js:\n  - 0.8\nbefore_script:\n  - npm install -g grunt-cli\n  - npm install\nscript:\n  - grunt jshint\n"
  },
  {
    "path": "Gruntfile.js",
    "content": "/*jshint node:true*/\n'use strict';\nvar url = require('url');\nvar util = require('util');\n\n// # Globbing\n// for performance reasons we're only matching one level down:\n// 'test/spec/{,*/}*.js'\n// use this if you want to match all subfolders:\n// 'test/spec/**/*.js'\n\nmodule.exports = function (grunt) {\n    // load all grunt tasks\n    require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);\n\n    // configurable paths\n    var yeomanConfig = {\n        app: '_attachments',\n        dist: 'dist/_attachments'\n    };\n\n    grunt.initConfig({\n        pkg: grunt.file.readJSON('package.json'),\n        yeoman: yeomanConfig,\n        clean: {\n            dist: ['.tmp', '<%= yeoman.dist %>/*'],\n            server: '.tmp'\n        },\n        watch: {\n            js: {\n                files: ['Gruntfile.js', '.jshintrc', '<%= yeoman.app %>/script/*.js'],\n                tasks: ['jshint', 'couchapp'],\n                spawn: true\n            },\n            html: {\n                files: ['<%= yeoman.app %>/partials/*.html', '<%= yeoman.app %>/index.html'],\n                tasks: ['couchapp'],\n                spawn: true\n            },\n            css: {\n                files: '<%= yeoman.app %>/style/*.css',\n                tasks: ['couchapp'],\n                spawn: true\n            }\n        },\n        jshint: {\n            options: {\n                jshintrc: '.jshintrc'\n            },\n            all: [\n                'Gruntfile.js',\n                '<%= yeoman.app %>/script/{,*/}*.js',\n                '!<%= yeoman.app %>/vendor/*',\n                '!<%= yeoman.app %>/script/vendor/*',\n                'test/spec/{,*/}*.js'\n            ]\n        },\n        compass: {\n            options: {\n                sassDir: '<%= yeoman.app %>/styles',\n                cssDir: '.tmp/styles',\n                imagesDir: '<%= yeoman.app %>/img',\n                javascriptsDir: '<%= yeoman.app %>/script',\n                fontsDir: '<%= yeoman.app %>/styles/fonts',\n                importPath: '<%= yeoman.app %>/components',\n                relativeAssets: true\n            },\n            dist: {},\n            server: {\n                options: {\n                    debugInfo: true\n                }\n            }\n        },\n        // not used since Uglify task does concat,\n        // but still available if needed\n        /*concat: {\n            dist: {}\n        },*/\n        uglify: {\n            options: {\n                banner: grunt.file.read(yeomanConfig.app + '/banner')\n            }\n        },\n        useminPrepare: {\n            html: '<%= yeoman.app %>/index.html',\n            options: {\n                dest: '<%= yeoman.dist %>'\n            }\n        },\n        usemin: {\n            html: ['<%= yeoman.dist %>/{,*/}*.html'],\n            css: ['<%= yeoman.dist %>/styles/{,*/}*.css'],\n            options: {\n                dirs: ['<%= yeoman.dist %>']\n            }\n        },\n        imagemin: {\n            dist: {\n                files: [{\n                    expand: true,\n                    cwd: '<%= yeoman.app %>/img',\n                    src: '{,*/}*.{png,jpg,jpeg}',\n                    dest: '<%= yeoman.dist %>/img'\n                }]\n            }\n        },\n        cssmin: {\n            dist: {\n                files: {\n                    '<%= yeoman.dist %>/styles/main.css': [\n                        '.tmp/styles/{,*/}*.css',\n                        '<%= yeoman.app %>/styles/{,*/}*.css'\n                    ]\n                }\n            }\n        },\n        copy: {\n            dist: {\n                files: [\n                    {\n                        expand: true,\n                        dot: true,\n                        cwd: '<%= yeoman.app %>',\n                        dest: '<%= yeoman.dist %>',\n                        src: [\n                            'index.html',\n                            'partials/*.html',\n                            /* At least until a solution that does't require editing config.js is found */\n                            'script/config.js',\n                            '*.{ico,txt}',\n                            'img/*.gif',\n                            'vendor/bootstrap/img/*.png',\n                            '.htaccess'\n                        ]\n                    },\n                    {\n                        expand: true,\n                        dot: true,\n                        cwd: '<%= yeoman.app %>/../',\n                        dest: '<%= yeoman.dist %>/../',\n                        src: [\n                            '*.{ico,txt}',\n                            '.couchappignore',\n                            'couchapp.json',\n                            '.couchapprc',\n                            '.ericaignore',\n                            '_id',\n                            'language',\n                            'LICENSE',\n                            'README.md'\n                        ]\n                    }\n                ]\n            }\n        },\n        compress: {\n            dist: {\n                options: {\n                    archive: '<%= pkg.name %>-<%= pkg.version %>.tar.gz'\n                },\n                files: [\n                    {expand: true, cwd: 'dist/', src: ['**', '.*'], dest: ''}\n                ]\n            }\n        }\n\n    });\n\n    grunt.renameTask('regarde', 'watch');\n\n    /* Push up to couchdb server for dev test */\n    grunt.registerTask('couchapp', 'deploy couchapp', function (targetEnv, sourcePath) {\n        var done = this.async();\n\n\n        var spawnOpts = {\n            cmd: 'couchapp',\n            args: ['push']\n        };\n\n        if(sourcePath) {\n            spawnOpts.args.push(sourcePath);\n        }\n\n        if(targetEnv) {\n            spawnOpts.args.push(targetEnv);\n        }\n\n        grunt.verbose.writeln('Now Running' + util.inspect(spawnOpts).cyan);\n\n        grunt.util.spawn(spawnOpts, function (err, res/*, code*/) {\n            grunt.log.ok();\n            grunt.log.write(res.stderr);\n            done();\n        });\n    });\n\n    grunt.registerTask('test', [\n        'clean:server'\n//        'compass',\n    ]);\n\n    grunt.registerTask('build', [\n        'clean:dist',\n//        'compass:dist',\n        'useminPrepare',\n        'imagemin',\n        'concat',\n        'cssmin',\n        'uglify',\n        'copy',\n        'usemin'\n    ]);\n\n    grunt.registerTask('deploy', [\n        'build',\n        'couchapp:prod:dist'\n    ]);\n\n    grunt.registerTask('default', [\n        'jshint',\n        'test'\n    ]);\n\n};\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 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 General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<http://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<http://www.gnu.org/philosophy/why-not-lgpl.html>."
  },
  {
    "path": "README.md",
    "content": "[![Flattr this project](http://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=kevingaudin&url=http://acra.ch&title=ACRA%20-%20Application%20Crash%20Reports%20for%20Android&language=&tags=opensource%2Candroid&category=software&description=ACRA%20%28Application%20Crash%20Reports%20for%20Android%29%20is%20an%20open%20source%20android%20library%20for%20developers%2C%20enabling%20their%20apps%20to%20send%20detailed%20reports%20when%20they%20crash.)\n\n\n[![Build Status](https://travis-ci.org/ACRA/acralyzer.png)](https://travis-ci.org/ACRA/acralyzer)\n\nACRALYZER\n=========\n\nAcralyzer is a frontend web application enabling [ACRA](http://acra.ch) users to analyze reports sent by their applications.\n\nAcralyzer is Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com) and licensed under the terms of the [GNU General Public License version 3](COPYING).\n\nAcralyzer is without a maintainer right now. If you'd like to be that maintainer, see [#140](https://github.com/ACRA/acralyzer/issues/140).\n\nComponents\n==========\n\nAcralyzer is the frontend analysis tools. It needs to be connected to a backend storage server.\n\nThe default storage endpoint for Acralyzer is [acra-storage](http://github.com/ACRA/acra-storage).\n\nBoth Acralyzer and acra-storage are [CouchApps](http://couchapp.org).\nCouchApps are web applications made of HTML/Javascript files and served directly by a [CouchDB](http://couchdb.apache.org).\n\nAcralyzer uses other open source software:\n  * [CouchDB](http://couchdb.apache.org)\n  * [AngularJS](http://angularjs.org)\n  * [Twitter Bootstrap](http://twitter.github.com/bootstrap/)\n  * [Bootstrap-Notify](http://nijikokun.github.com/bootstrap-notify/)\n  * [d3.js](http://d3js.org)\n  * [JQuery](http://jquery.com/)\n  * [prettyprint.js](http://james.padolsey.com/javascript/prettyprint-for-javascript/),\n  * [moment.js](http://momentjs.com/)\n\nDocumentation\n=============\n\nFull setup instructions are available in [the Acralyzer Wiki on Github](https://github.com/ACRA/acralyzer/wiki).\n"
  },
  {
    "path": "_attachments/banner",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n*/\n\n"
  },
  {
    "path": "_attachments/index.html",
    "content": "<!DOCTYPE html>\n<html ng-app=\"Acralyzer\" ng-controller=\"AcralyzerCtrl\">\n  <head>\n    <!--\n    Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n    This file is part of Acralyzer.\n\n    Acralyzer is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    Acralyzer is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n    -->\n    <title>Acralyzer / {{acralyzer.app}}</title>\n    <meta charset=\"utf-8\">\n    <link rel=\"icon\" type=\"image/png\" href=\"img/logo.png\" />\n    <link rel=\"alternate\" type=\"application/rss+xml\"  href=\"{{rsslink}}\" title=\"Latest Crash Reports\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n\n    <!-- build:css vendor/bootstrap/css/bootstrap.min.css -->\n    <link rel=\"stylesheet\" href=\"vendor/bootstrap/css/bootstrap.min.css\" type=\"text/css\">\n    <link rel=\"stylesheet\" href=\"vendor/bootstrap/css/bootstrap-responsive.min.css\" type=\"text/css\">\n    <!-- endbuild -->\n\n    <!-- build:css styles/main.min.css -->\n    <link rel=\"stylesheet\" href=\"style/main.css\" type=\"text/css\">\n    <link rel=\"stylesheet\" href=\"style/graph.css\" type=\"text/css\">\n    <link rel=\"stylesheet\" href=\"style/animations.css\" type=\"text/css\">\n    <!-- endbuild -->\n  </head>\n  <body>\n    <div class=\"navbar navbar-fixed-top\" ng-controller=\"NavigationCtrl\">\n        <div class=\"navbar-inner\">\n            <a class=\"brand\" href=\"#\">Acralyzer</a>\n            <ul class=\"nav\">\n                <li ng-cloak><img title=\"Background polling is OFF.\" class=\"polling-indicator\" src=\"img/not-polling.gif\" ng-hide=\"acralyzer.isPolling\" ng-click=\"acralyzer.startPolling()\"><img title=\"Background polling is ON.\" class=\"polling-indicator\" ng-click=\"acralyzer.stopPolling()\" src=\"img/polling.gif\" ng-show=\"acralyzer.isPolling\"></li>\n                <li class=\"dropdown\" ng-cloak>\n                    <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\n                        {{acralyzer.app}}\n                        <b class=\"caret\"></b>\n                    </a>\n                    <ul class=\"dropdown-menu\">\n                        <li ng-repeat=\"app in acralyzer.apps\"><a href=\"#/{{$route.current.activetab}}/{{app}}\">{{app}}</a></li>\n                    </ul>\n                </li>\n                <li ng-class=\"{active: $route.current.activetab == 'dashboard'}\"><a href=\"#/dashboard/{{acralyzer.app}}\">Dashboard</a></li>\n                <li ng-class=\"{active: $route.current.activetab == 'bugs-browser'}\"><a href=\"#/bugs-browser/{{acralyzer.app}}\">Bugs</a></li>\n                <li ng-class=\"{active: $route.current.activetab == 'reports-browser'}\"><a href=\"#/reports-browser/{{acralyzer.app}}\">Reports</a></li>\n                <li ng-class=\"{active: $route.current.activetab == 'admin'}\"><a href=\"#/admin/{{acralyzer.app}}\">Admin</a></li>\n            </ul>\n\n            <div id=\"usermenu\" class=\"btn-group pull-right\" data-ng-controller=\"AccountCtrl\">\n              <button style=\"min-width: 150px\" class=\"btn dropdown-toggle\" data-toggle=\"dropdown\" ng-cloak>\n                  <i class=\"icon-user\"></i> {{username || \"Anonymous\"}}\n                  <span class=\"caret\"></span>\n              </button>\n              <ul class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"dLabel\">\n                <li ng-class=\"{ hide: username }\"><a ng-click=\"showLogin()\" title=\"Login\"><strong>Login</strong></a></li>\n                <li notifications-support><a href=\"#\">Enable Notifications</a></li>\n                <li ng-class=\"{ hide: !username }\"><a ng-click=\"showChangePassword()\" title=\"Change Password\">Change Password</a></li>\n                <li ng-class=\"{ hide: !username }\"><a ng-click=\"logout()\" title=\"Logout\"><i class=\"icon-off\" alt=\"logout\"></i> Logout</a></li>\n              </ul>\n\n            </div>\n\n        </div>\n    </div>\n\n    <div class='notifications top-right' ng-controller=\"AlertCtrl\" ng-cloak>\n        <alert ng-repeat=\"alert in alerts\" type=\"alert.type\" close=\"close($index)\">{{alert.msg}}</alert>\n    </div>\n\n    <div ng-view ng-animate=\"\"></div>\n\n\n    <footer class=\"footer\">\n        <div class=\"container\">\n            <p><a href=\"http://acra.ch/acralyzer\" target=\"_blank\">Acralyzer</a> is crafted by <a href=\"https://plus.google.com/105599514712357912650\" target=\"_blank\">Kevin Gaudin</a>.</p>\n            <p><a href=\"http://github.com/ACRA/acralyzer\" target=\"_blank\">Code</a> licensed under <a href=\"http://www.gnu.org/licenses/gpl.html\" target=\"_blank\">GNU General Public License v3</a>.</p>\n            <ul class=\"footer-links\">\n                <li><a href=\"https://plus.google.com/118444843928759726538\" target=\"_blank\">Follow +ACRA on Google+</a></li>\n                <li class=\"muted\">·</li>\n                <li><a href=\"https://github.com/ACRA/acralyzer/issues?state=open\" target=\"_blank\">Issues</a></li>\n                <li class=\"muted\">·</li>\n                <li><a href=\"https://github.com/ACRA/acralyzer/wiki\" target=\"_blank\">Documentation</a></li>\n            </ul>\n        </div>\n        <p>Acralyzer uses other open source software:</p>\n        <p>\n            <a href=\"http://couchdb.apache.org\" target=\"_blank\">CouchDB</a>\n            · <a href=\"http://angularjs.org\" target=\"_blank\">AngularJS</a>\n            · <a href=\"http://twitter.github.com/bootstrap/\" target=\"_blank\">Twitter Bootstrap</a>\n            · <a href=\"http://angular-ui.github.com/bootstrap/\" target=\"_blank\">Angular-UI Bootstrap</a>\n            <br/>\n            <a href=\"http://d3js.org\" target=\"_blank\">d3.js</a>\n            · <a href=\"http://jquery.com/\" target=\"_blank\">JQuery</a>\n            · <a href=\"http://james.padolsey.com/javascript/prettyprint-for-javascript/\" target=\"_blank\">prettyprint.js</a>\n            · <a href=\"http://momentjs.com/\" target=\"_blank\">moment.js</a>\n            · <a href=\"https://github.com/coreyti/showdown\" target=\"_blank\">Showdown</a>\n            <br/>\n            <a href=\"http://kevingaudin.github.io/monsterid.js\" target=\"_blank\">MonsterID.js</a>\n            · <a href=\"https://github.com/zeroclipboard/ZeroClipboard\" target=\"_blank\">ZeroClipboard</a>\n        </p>\n        <p>Most icons by <a href=\"http://glyphicons.com/\">Glyphicons</a>.</p>\n    </footer>\n\n    <!-- build:js script/vendors.js -->\n    <script src=\"vendor/jquery/jquery-1.8.3.min.js\"></script>\n    <script src=\"vendor/angular/angular.min.js\"></script>\n    <script src=\"vendor/angular/angular-resource.min.js\"></script>\n    <script src=\"vendor/d3/d3.v3.min.js\"></script>\n    <!-- endbuild -->\n    <!-- build:js script/libs.js -->\n    <script src=\"vendor/angular-ui-bootstrap/ui-bootstrap-tpls-0.3.0.min.js\"></script>\n    <script src=\"vendor/bootstrap/js/bootstrap.min.js\"></script>\n    <script src=\"vendor/padolsey/prettyprint.js\"></script>\n    <script src=\"vendor/timrwood/moment.min.js\"></script>\n    <script src=\"vendor/jshash/md5-min.js\"></script>\n    <script src=\"vendor/jshash/sha1.js\"></script>\n    <script src=\"vendor/showdown/showdown.js\"></script>\n    <script src=\"vendor/showdown/extensions/table.js\"></script>\n    <script src=\"vendor/showdown/extensions/github.js\"></script>\n    <script src=\"vendor/zeroclipboard/ZeroClipboard.min.js\"></script>\n    <script src=\"vendor/monsterid/monsterid.min.js\"></script>\n    <!-- endbuild -->\n\n    <!-- Config file has user changes in it, so for now don't minify it -->\n    <script src=\"script/config.js\"></script>\n\n    <!-- build:js script/app.js -->\n    <script src=\"script/AcralyzerEvents.js\"></script>\n    <script src=\"script/app.js\"></script>\n    <script src=\"script/service.user.js\"></script>\n\n    <script src=\"script/AlertController.js\"></script>\n    <script src=\"script/AccountControllers.js\"></script>\n    <script src=\"script/AcralyzerControllers.js\"></script>\n    <script src=\"script/DashboardControllers.js\"></script>\n    <script src=\"script/NavigationController.js\"></script>\n    <script src=\"script/ReportDetailsController.js\"></script>\n    <script src=\"script/ReportsBrowserControllers.js\"></script>\n    <script src=\"script/BugsBrowserControllers.js\"></script>\n    <script src=\"script/AdminControllers.js\"></script>\n\n    <script src=\"script/services.js\"></script>\n    <script src=\"script/service.reportsstore.js\"></script>\n    <script src=\"script/clipboard.js\"></script>\n    <script src=\"script/service.monsterid.js\"></script>\n    <!-- endbuild -->\n  </body>\n</html>\n"
  },
  {
    "path": "_attachments/partials/admin.html",
    "content": "<div class=\"container-fluid\">\n    <h2>\n        Administration\n    </h2>\n    <div id=\"content\">\n        <tabs>\n            <pane heading=\"Reports\">\n                <div>\n                    <button class=\"btn\" ng-click=\"purgeDays(daysToKeep)\" ng-disabled=\"purgingByDays || purgingByAppVersionCode\">\n                        <span ng-hide=\"purgingByDays\">Purge</span>\n                        <span ng-show=\"purgingByDays\"><img src=\"img/polling.gif\"/> Purging</span>\n                    </button>\n                    {{nbReportsByDaysToPurge}} reports older than <input ng-model=\"daysToKeep\" class=\"input-mini\"/> days.\n                </div>\n                <div>\n                    <button class=\"btn\" ng-click=\"purgeVersion(selectedVersion)\" ng-disabled=\"purgingByDays || purgingByAppVersionCode\">\n                        <span ng-hide=\"purgingByAppVersionCode\">Purge</span>\n                        <span ng-show=\"purgingByAppVersionCode\"><img src=\"img/polling.gif\"/> Purging</span>\n                    </button>\n                    {{nbReportsByAppVersionCodeToPurge}} reports from apps older than version <select ng-model=\"selectedVersion\" class=\"input-mini\" ng-options=\"code.value as code.label for code in appVersionCodes\"></select>.\n                </div>\n            </pane>\n            <pane heading=\"Preferences\">\n                <p>Your default reports database is <select ng-model=\"acralyzerConfig.defaultApp\" ng-options=\"app for app in apps\" ng-change=\"storeDefaultApp()\"></select></p>\n            </pane>\n            <pane heading=\"Users\">\n                <div ng-show='acralyzer.cloudant'>\n                    <p>\n                        This Acralyzer instance is hosted on Cloudant. To create a new reporter user for {{acralyzer.app}}:\n                    </p>\n                    <ul>\n                        <li>\n                            go to <a href=\"https://cloudant.com/dashboard/\">your Cloudant dashboard</a>\n                        </li><li>\n                        select the 'acra-{{acralyzer.app}}' database\n                    </li><li>\n                        click on the 'Permissions' button\n                    </li><li>\n                        click on the 'Generate API Key' button\n                    </li><li>\n                        uncheck the 'Read' checkbox for the generated API Key\n                    </li><li>\n                        check the 'Write' checkbox for the generated API Key\n                    </li><li>\n                        copy the username and password and paste them in your ACRA configuration (formUriBasicAuthLogin and\n                        formUriBasicAuthPassword)\n                    </li>\n                    </ul>\n                </div>\n                <div ng-hide='acralyzer.cloudant || newReporterCreated'>\n                    <form novalidate name='formNewReporter'>\n                        <legend>Create a new Reporter user</legend>\n                        <label>User name</label>\n                        <input type=\"text\" ng-model=\"userToCreate\" placeholder=\"new user name\" required/>\n                        <span class=\"help-block\">Type the name for your new reporter user.</span>\n                        <label>Password</label>\n                        <input type=\"text\" ng-model=\"passwordForUserToCreate\" placeholder=\"password\" required/>\n                        <span class=\"help-block\">Type the password for your new reporter user.</span>\n                        <button ng-click=\"createReporterUser(userToCreate,passwordForUserToCreate)\" class=\"btn\" ng-disabled=\"formNewReporter.$invalid\">Create user</button>\n                    </form>\n                </div>\n                <div ng-show='newReporterCreated'>\n                    You can now use this new user as a reporter in your ACRA configuration:\n                    <pre>\n    httpMethod = Method.PUT,\n    reportType = Type.JSON,\n    formUri = \"{{formUri}}\",\n    formUriBasicAuthLogin = \"{{userToCreate}}\",\n    formUriBasicAuthPassword = \"{{passwordForUserToCreate}}\"\n                    </pre>\n                    <button ng-click=\"newReporterCreated = false\">Create another user</button>\n                </div>\n            </pane>\n        </tabs>\n    </div>\n</div>\n"
  },
  {
    "path": "_attachments/partials/bug-details.html",
    "content": "<div ng-show=\"bug.id\">\n    <div class=\"bug-details-header\">\n        <div class=\"direct-link\"><a href=\"#/reports-browser/{{acralyzer.app}}/bug/{{bug.id}}\"><i class=\"icon-share\"></i>direct link</a></div>\n        <h3>Bug Summary</h3>\n        <table>\n            <tr>\n                <th>Application version code:</th>\n                <td>{{bug.key[0]}}</td>\n            </tr>\n            <tr>\n                <th>Exception:</th>\n                <td>{{bug.key[1]}}</td>\n            </tr>\n            <tr>\n                <th>Root Exception:</th>\n                <td>{{bug.key[2]}}</td>\n            </tr>\n            <tr>\n                <th>Solved:</th>\n                <td>\n                    <a title=\"Change status\" ng-click=\"bug.toggleSolved()\" ng-hide=\"bug.solvedPending\">{{bug.value.solved}}</a>\n                    <span title=\"Updating state\" ng-show=\"bug.solvedPending\"><img src=\"img/polling.gif\"/></span>\n                </td>\n            </tr>\n            <tr>\n                <th>Description</th>\n                <td>\n                    <div class=\"description\" ng-bind-html-unsafe=\"bug.descriptionHtml\"></div>\n                    <div ng-click=\"bug.toggleEditMode()\" ng-hide=\"bug.updating\">\n                        <i class=\"icon-edit\"></i>\n                        <small ng-show=\"bug.editMode\">Save changes</small>\n                        <small ng-hide=\"bug.editMode\">Edit description</small>\n                    </div>\n                    <div ng-show=\"bug.updating\">\n                        <img src=\"img/polling.gif\"/>\n                        <small class=\"action\">Updating...</small>\n                    </div>\n                    <div ng-animate=\"{show:'grow', hide:'shrink'}\" ng-show=\"bug.editMode\">\n                        <div ng-click=\"bug.revertDescription()\">\n                            <i class=\"icon-remove\"></i>\n                            <small ng-show=\"bug.editMode\">Revert changes</small>\n                        </div>\n                        <textarea ng-model=\"bug.value.description\"></textarea>\n                        <br/>\n                        <small>You can use <a href=\"http://daringfireball.net/projects/markdown/\" target=\"_blank\">Markdown</a> syntax.</small>\n                    </div>\n                </td>\n            </tr>\n        </table>\n    </div>\n\n    <h3>{{nbUsersToDisplay}}<i class=\"icon-plus-sign\" ng-click=\"incNbUsersToDisplay(10)\" ng-show=\"nbUsersToDisplay < users.length\"></i> most affected users (total: {{users.length}})</h3>\n    <div ng-repeat=\"user in users | orderBy:'reportsCount':true | limitTo: nbUsersToDisplay\" class=\"affected-user label\" ng-class=\"{ 'label-important': user.installationId == selectedUser.installationId, 'label-inverse': user.installationId !== selectedUser.installationId}\" ng-click=\"selectUser(user)\">\n        <img class=\"avatar\" monsterid=\"{{user.installationId}}\" title=\"{{user.installationId}}\" />\n        x {{user.reportsCount}}\n    </div>\n    <h3>Reports list</h3>\n\n</div>"
  },
  {
    "path": "_attachments/partials/bugs-browser.html",
    "content": "<div class=\"container-fluid\">\n    <h2>Browse bugs</h2>\n    <div id=\"content\">\n        <div id=\"filters\" class=\"row-fluid\">\n            <form ng-submit=\"getData()\" class=\"form-inline\">\n                <input type=\"text\" class=\"search-query\" placeholder=\"Search in bugs\" ng-model=\"search\">\n            </form>\n        </div>\n        <div class=\"row-fluid tab-content\">\n            <span ng-bind-template=\"Bugs {{firstItemIndex()}} to {{lastItemIndex()}} (out of {{bugsList.length}}):\">Loading...</span>\n            <button class=\"btn btn-small\" ng-click=\"hideSolvedBugs = !hideSolvedBugs\">\n                <span ng-hide=\"hideSolvedBugs\">Hide solved bugs</span>\n                <span ng-show=\"hideSolvedBugs\">Show solved bugs</span>\n            </button>\n            <div class=\"loader\" ng-show=\"loading\"><img  src=\"img/loader.gif\"/></div>\n\n            <ng-include src=\"'partials/bugs-table.html'\"></ng-include>\n\n            <span paginator items=\"bugsList | filter:shouldBeDisplayed | filter:search | orderBy:orderField:orderDescending\" pageSize=\"bugsCount\"></span>\n            <bug-details bug=\"selectedBug\" acralyzer=\"acralyzer\"></bug-details>\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "_attachments/partials/bugs-table.html",
    "content": "<div ng-hide=\"loading\" class=\"div-table table table-condensed bugs\">\n    <div class=\"div-table-row header\">\n        <div class=\"div-table-cell\"></div>\n        <div class=\"div-table-cell\">\n            <i class=\"icon-th-list\" ng-click=\"$parent.orderField = 'value.count'\"></i>\n            <span ng-click=\"$parent.orderDescending = !$parent.orderDescending\">\n                <i class=\"icon-chevron-down\" ng-show=\"$parent.orderField === 'value.count' && $parent.orderDescending\"></i>\n                <i class=\"icon-chevron-up\" ng-show=\"$parent.orderField === 'value.count' && !$parent.orderDescending\"></i>\n            </span>\n        </div>\n        <div class=\"div-table-cell\">\n            <i class=\"icon-time\" ng-click=\"$parent.orderField = 'value.latest'\"></i>\n            <span ng-click=\"$parent.orderDescending = !$parent.orderDescending\">\n                <i class=\"icon-chevron-down\" ng-show=\"$parent.orderField === 'value.latest' && $parent.orderDescending\"ng-click=\"\"></i>\n                <i class=\"icon-chevron-up\" ng-show=\"$parent.orderField === 'value.latest' && !$parent.orderDescending\"></i>\n            </span>\n        </div>\n        <div class=\"div-table-cell\">\n            <i class=\"icon-gift\" ng-click=\"$parent.orderField = 'key[0]'\"></i>\n            <span ng-click=\"$parent.orderDescending = !$parent.orderDescending\">\n                <i class=\"icon-chevron-down\" ng-show=\"$parent.orderField === 'key[0]' && $parent.orderDescending\"ng-click=\"\"></i>\n                <i class=\"icon-chevron-up\" ng-show=\"$parent.orderField === 'key[0]' && !$parent.orderDescending\"></i>\n            </span>\n        </div>\n        <div class=\"div-table-cell exceptions\"><i class=\"icon-fire\"></i></div>\n    </div>\n    <div class=\"div-table-row\"\n         ng-repeat=\"bug in pageItems()\">\n        <div class=\"div-table-cell actions\">\n            <a href=\"#/reports-browser/{{acralyzer.app}}/bug/{{bug.id}}\"\n               tooltip-html-unsafe=\"{{bug.descriptionHtml}}\" tooltip-placement=\"right\">\n                <i class=\"icon-search\" ng-hide=\"bug.value.description\"></i>\n                <i class=\"icon-zoom-in\" ng-show=\"bug.value.description\"></i>\n            </a>\n            <a ng-click=\"bug.toggleSolved()\">\n                <span title=\"Unsolved bug\" ng-hide=\"bug.value.solved || bug.solvedPending\"><i class=\"icon-bug-unsolved\"></i></span>\n                <span title=\"Solved bug\" ng-show=\"bug.value.solved && !bug.solvedPending\"><i class=\"icon-bug-solved\"></i></span>\n                <span title=\"Updating state\" ng-show=\"bug.solvedPending\"><img src=\"img/polling.gif\"/></span>\n            </a>\n        </div>\n        <div title=\"Number of reports\" class=\"div-table-cell label\">{{bug.value.count}}</div>\n        <div title=\"Latest report\" class=\"div-table-cell label label-info\">{{bug.latest}}</div>\n        <div title=\"Application version code\" class=\"div-table-cell label label-warning\">{{bug.key[0]}}</div>\n        <div class=\"div-table-cell exceptions\">\n            <span title=\"Exception\" class=\"label label-important\">{{bug.key[1]}}</span><br/>\n            <span title=\"Root exception\" class=\"label label-inverse\" ng-show=\"bug.key[2]\">Caused by: {{bug.key[2]}}</span>\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "_attachments/partials/change-password.html",
    "content": "<form name=\"changePasswordForm\" class=\"form-horizontal\">\n    <div class=\"modal-header\">\n        <h3>Change Password</h3>\n    </div>\n    <div class=\"modal-body\">\n        <div class=\"alert alert-danger\">\n            <i class=\"icon-exclamation-sign\"></i>\n            Changing password will log you out.\n        </div>\n        <div ng-class=\"{ 'control-group': true, 'error': changePasswordForm.password.$invalid || errmessage }\">\n            <label class=\"control-label\" for=\"password\">New Password</label>\n            <div class=\"controls\">\n                <input ng-model=\"password\" name=\"password\" type=\"password\" required init-focus/>\n                <span class='help-inline' ng-show='errmessage'>\n                    {{errmessage}}\n                </span>\n            </div>\n        </div>\n        <div ng-class=\"{ 'control-group': true, 'error': changePasswordForm.confirm_password.$invalid }\">\n            <label class=\"control-label\" for=\"confirm_password\">Confirm Password</label>\n            <div class=\"controls\">\n                <input ng-model=\"confirm_password\" name=\"confirm_password\" type=\"password\" required same-as=\"password\">\n                <span class='help-inline' ng-show='changePasswordForm.confirm_password.$valid'>\n                    <i class='icon-ok'></i>\n                </span>\n                <span class='help-inline' ng-show='changePasswordForm.confirm_password.$error.MATCH'>\n                    Passwords must match\n                </span>\n            </div>\n        </div>\n    </div>\n    <div class=\"modal-footer\">\n        <img src=\"img/not-polling.gif\" ng-show=\"pending\" alt=\"pending transaction\" />\n        <button class=\"btn btn-primary\" ng-click=\"close()\" data-my-disabled=\"!changePasswordForm.$valid\" ng-disabled='!changePasswordForm.$valid' >Change Password</button>\n    </div>\n</form>\n"
  },
  {
    "path": "_attachments/partials/dashboard.html",
    "content": "<div class=\"container-fluid\">\n    <div id=\"charts\" class=\"row-fluid\">\n        <div id=\"graph-container\" ng-controller=\"ReportsPerDayCtrl\" class=\"span8\">\n            <div class=\"chooser\">Reports per\n                <select class=\"input-small\" ng-model=\"period\" ng-change=\"getData()\" ng-options=\"p.name for p in periods\">\n                </select>\n            </div>\n        </div>\n        <div id=\"pie-charts\" ng-controller=\"PieChartsCtrl\" class=\"span4\">\n            <div class=\"chooser\">Reports per\n                <select ng-model=\"fieldName\" ng-change=\"getData()\" ng-options=\"f.label for f in fieldNames\">\n                </select>\n            </div>\n        </div>\n    </div>\n\n    <div class=\"row-fluid\">\n        <div id=\"content\" class=\"span12\">\n            <tabs>\n                <pane heading=\"Bugs\">\n                    <div ng-controller=\"BugsCtrl\">\n                        <span>{{bugsLimit}} latest bugs (out of <a href=\"#/bugs-browser/{{acralyzer.app}}\">{{bugs.length}}</a>):</span>\n                        <button class=\"btn btn-small\" ng-click=\"hideSolvedBugs = !hideSolvedBugs\">\n                            <span ng-hide=\"hideSolvedBugs\">Hide solved bugs</span>\n                            <span ng-show=\"hideSolvedBugs\">Show solved bugs</span>\n                        </button>\n\n                        <ng-include src=\"'partials/bugs-table.html'\"></ng-include>\n\n                    </div>\n                </pane>\n                <pane heading=\"Reports\">\n                    <div ng-controller=\"CrashReportsCtrl\">\n                        <div class=\"rss\"><a href=\"/acra-{{acralyzer.app}}/_design/acra-storage/_list/rss/recent-items?descending=true\"><img src=\"img/rss.png\"></a></div>\n                        <span>{{reports.length}} latest reports (out of <a href=\"#/reports-browser/{{acralyzer.app}}\">{{totalReports}}</a>):</span>\n\n                        <ng-include src=\"'partials/reports-table.html'\"></ng-include>\n\n                        <report-details report=\"selectedReport\" acralyzer=\"acralyzer\"></report-details>\n                    </div>\n                </pane>\n            </tabs>\n        </div>\n    </div>\n</div>\n"
  },
  {
    "path": "_attachments/partials/login-dialog.html",
    "content": "<form name=\"loginForm\" class=\"form-horizontal\">\n    <div class=\"modal-header\">\n        <h3>Login</h3>\n    </div>\n    <div class=\"modal-body\">\n          <div ng-class=\"{ 'control-group': true, 'error': loginForm.username.$invalid || badUsername }\">\n              <label class=\"control-label\" for=\"username\">Username</label>\n              <div class=\"controls\">\n                  <input ng-model=\"username\" name=\"username\" type=\"text\" required init-focus/>\n                  <span class=\"help-inline\" ng-show=\"loginForm.username.$error.required\">Required!</span><br>\n                  <span class=\"help-inline\" ng-show=\"badUsername\">Bad username or password</span><br>\n              </div>\n          </div>\n          <div ng-class=\"{ 'control-group': true, 'error': loginForm.password.$invalid }\">\n              <label class=\"control-label\" for=\"password\">Password</label>\n              <div class=\"controls\">\n                  <input ng-model=\"password\" name=\"password\" type=\"password\" required />\n                  <span class=\"help-inline\" ng-show=\"loginForm.password.$error.required\">Required!</span><br>\n              </div>\n          </div>\n    </div>\n    <div class=\"modal-footer\">\n        <img src=\"img/not-polling.gif\" ng-show=\"pending\" alt=\"pending transaction\" />\n        <button class=\"btn btn-primary\" ng-click=\"close()\" data-my-disabled=\"!loginForm.$valid\" ng-disabled='!loginForm.$valid' >Login</button>\n    </div>\n</form>\n"
  },
  {
    "path": "_attachments/partials/paginator.html",
    "content": "<div class=\"form-inline paginator\">\n    <button ng-disabled=\"isFirstPage()\" ng-click=\"decPage()\" class=\"btn\"><i class=\"icon-chevron-left\"></i> newer</button>\n    <span ng-show=\"paginator\">items per page: <select ng-model=\"paginator.pageSize\" ng-options=\"size for size in pageSizeList\" class=\"input-small\"></select></span>\n    <button ng-disabled=\"isLastPage()\" ng-click=\"incPage()\" class=\"btn\">older <i class=\"icon-chevron-right\"></i></button>\n</div>"
  },
  {
    "path": "_attachments/partials/report-details.html",
    "content": "<div ng-show=\"report._id\">\n    <hr/>\n    <div class=\"report-details-header\">\n        <div class=\"direct-link\"><a href=\"#/report-details/{{acralyzer.app}}/{{report._id}}\"><i class=\"icon-share\"></i>direct link</a></div>\n        <h3>Summary</h3>\n        <table>\n            <tr>\n                <th><i class=\"icon-gift\"></i></th>\n                <th>Package name</th>\n                <td>{{report.PACKAGE_NAME}}</td>\n                <th>Application version code</th>\n                <td>{{report.APP_VERSION_CODE}}</td>\n                <th>Application version name</th>\n                <td>{{report.APP_VERSION_NAME}}</td>\n            </tr>\n            <tr>\n                <th><i class=\"icon-time\"></i></th>\n                <th>Uptime</th>\n                <td class=\"nobr\">{{report.readableUptime}}</td>\n                <th>Crashed</th>\n                <td>{{report.formatedCrashDate}}</td>\n                <th>Reported</th>\n                <td>{{report.formatedTimestamp}}</td>\n            </tr>\n            <tr>\n                <th><i class=\"icon-user\"></i></th>\n                <th>Installation ID</th>\n                <td>\n                    <a class=\"label label-inverse\" href=\"#/reports-browser/{{acralyzer.app}}/user/{{report.INSTALLATION_ID}}\" ng-show=\"report.INSTALLATION_ID\">\n                        <img class=\"avatar\" monsterid=\"{{report.INSTALLATION_ID}}\" title=\"{{report.INSTALLATION_ID}}\"/>\n                        {{report.INSTALLATION_ID}}\n                    </a>\n                </td>\n                <th>E-mail</th>\n                <td><a href=\"mailto:{{report.USER_EMAIL}}\">{{report.USER_EMAIL}}</a></td>\n                <th>Comment</th>\n                <td>{{report.USER_COMMENT}}</td>\n            </tr>\n            <tr>\n                <th rowspan=\"2\"><i class=\"icon-fire\"></i></th>\n                <th>Stack Trace</th>\n                <td colspan=\"5\" class=\"stacktrace\">\n                    <div ng-repeat=\"stackline in report.STACK_TRACE\" class=\"pre\">{{stackline}}</div>\n                </td>\n            </tr>\n            <tr>\n                <th>Custom Data</th>\n                <td colspan=\"5\">\n                    <div prettyprint=\"report.CUSTOM_DATA\"/>\n                </td>\n            </tr>\n        </table>\n    </div>\n    <h3>Full report</h3>\n    <div class=\"report-details\" prettyprint=\"report\" />\n</div>"
  },
  {
    "path": "_attachments/partials/reports-browser.html",
    "content": "<div class=\"container-fluid\">\n    <h2>Browse reports</h2>\n    <div id=\"content\">\n        <bug-details bug=\"bug\" acralyzer=\"acralyzer\" ng-show=\"bug\"></bug-details>\n        <div id=\"filters\" class=\"row-fluid\">\n            <form ng-submit=\"getData()\" class=\"form-inline\">\n                <select ng-model=\"filterName\" ng-change=\"changeFilterValues()\" ng-options=\"f.label for f in availableFilters\" ng-hide=\"bug || selectedUser\">\n                </select>\n                <select ng-model=\"filterValue\" ng-disabled=\"filterName == noFilter\"  ng-change=\"filterValueSelected()\" ng-options=\"v.label for v in filterValues\" ng-hide=\"bug || selectedUser\">\n                </select>\n                <input type=\"text\" class=\"search-query\" placeholder=\"Search in this page\" ng-model=\"search\">\n                <label class=\"checkbox\">\n                    <input type=\"checkbox\" ng-model=\"fullSearch\" ng-change=\"getData()\"> All report attributes\n                </label>\n            </form>\n        </div>\n        <div id=\"reports-list\" class=\"row-fluid tab-content\">\n            <span ng-show=\"selectedUser && !bug\">\n                For user\n                <span class=\"label label-inverse\">\n                    <img class=\"avatar\" monsterid=\"{{selectedUser.installationId}}\" />\n                    {{selectedUser.installationId}}\n                </span>\n            </span>\n            <span ng-bind-template=\"reports {{startNumber}} to {{startNumber + reports.length - 1}} (out of {{totalReports}}):\" ng-hide=\"bug\">Loading...</span>\n            <span ng-bind-template=\"reports {{startNumber}} to {{startNumber + reports.length - 1}} (out of {{bug.value.count}}/{{totalReports}}):\" ng-show=\"bug\">Loading...</span>\n            <div class=\"loader\" ng-show=\"loading\"><img  src=\"img/loader.gif\"/></div>\n            <ng-include src=\"'partials/reports-table.html'\"></ng-include>\n            <ng-include src=\"'partials/paginator.html'\"></ng-include>\n        </div>\n        <report-details report=\"selectedReport\" acralyzer=\"acralyzer\"></report-details>\n    </div>\n</div>\n"
  },
  {
    "path": "_attachments/partials/reports-table.html",
    "content": "<div class=\"div-table reports-table\" ng-hide=\"loading\">\n    <div class=\"div-table-row\">\n        <div class=\"div-table-cell\"></div>\n        <div class=\"div-table-cell\"><i class=\"icon-user\"></i></div>\n        <div class=\"div-table-cell\"><i class=\"icon-time\"></i></div>\n        <div class=\"div-table-cell\"><i class=\"icon-gift\"></i></div>\n        <div class=\"div-table-cell\"><i class=\"icon-bugdroid\"></i></div>\n        <div class=\"div-table-cell\"><i class=\"icon-phone\"></i></div>\n        <div class=\"div-table-cell exceptions\"><i class=\"icon-fire\"></i></div>\n    </div>\n    <div class=\"div-table-row\" ng-repeat=\"report in reports | filter:search\" ng-class-odd=\"'odd'\" ng-class-even=\"'even'\" ng-cloak>\n        <div class=\"div-table-cell actions\">\n            <a ng-click=\"loadReport(report)\">\n                <i class=\"icon-search\" ng-hide=\"report.id == selectedReport._id\" title=\"Display details\"></i>\n                <i class=\"icon-asterisk\" ng-show=\"report.id == selectedReport._id\" title=\"Current selection\"></i>\n            </a>\n            <a ng-click=\"deleteReport(report)\">\n                <i class=\"icon-trash\" title=\"Delete permanently\"></i>\n            </a>\n        </div>\n        <span title=\"User\" class=\"div-table-cell label label-inverse\"><img class=\"avatar\" monsterid=\"{{report.value.installation_id}}\" ng-show=\"report.value.installation_id\"/></span>\n        <span title=\"Crash date\" class=\"div-table-cell label label-info\">{{report.displayDate}}</span>\n        <span title=\"Application version name\" class=\"div-table-cell label label-warning\">{{report.value.application_version_name}}</span>\n        <span title=\"Android verion\" class=\"div-table-cell label label-success\">{{report.value.android_version}}</span>\n        <span title=\"Device\" class=\"div-table-cell label\">{{report.value.device}}</span>\n        <div class=\"div-table-cell exceptions\">\n            <span title=\"Exception\" class=\"label label-important\">{{report.value.signature.digest}}</span>\n            <span title=\"Root exception\" class=\"label label-inverse\" ng-show=\"report.value.signature.rootCause\">Caused by: {{report.value.signature.rootCause}}</span>\n        </div>\n    </div>\n</div>"
  },
  {
    "path": "_attachments/script/AccountControllers.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer,acralyzerEvents) {\n    \"use strict\";\n\n    function AccountCtrl($scope, $user, $dialog) {\n        $scope.$on(acralyzerEvents.LOGIN_CHANGE, function(event, $user) {\n            $scope.username = $user.username;\n            $scope.isAdmin  = $user.isAdmin;\n        });\n\n        $scope.showLogin = function() {\n            var d = $dialog.dialog({\n                templateUrl: 'partials/login-dialog.html',\n                controller:  'LoginDialogCtrl'\n            });\n            d.open().then(function(result){\n            });\n        };\n        $scope.showChangePassword = function() {\n            if ($user.canChangePassword() === false) {\n                alert(\"Sorry, your couchdb setup does not allow you to change an admins password\");\n                return;\n            }\n            var d = $dialog.dialog({\n                templateUrl: 'partials/change-password.html',\n                controller:  'ChangePasswordDialogCtrl'\n            });\n            d.open().then(function(result){\n            });\n        };\n\n        $scope.logout = function() {\n            $user.logout();\n        };\n    }\n\n    function LoginDialogCtrl($scope, $user, dialog) {\n        $scope.username = \"\";\n        $scope.password = \"\";\n        $scope.pending = false;\n        $scope.badUsername = false;\n\n        $scope.close = function(result) {\n            if (this.disabled) { return; }\n            $scope.pending = true;\n            $scope.badUsername = false;\n            $user.login($scope.username, $scope.password).then(\n                function(data) {\n                    $scope.pending = false;\n                    dialog.close();\n                },\n                function(data) {\n                    $scope.badUsername = true;\n                    $scope.pending = false;\n                }\n            );\n\n        };\n    }\n\n    function ChangePasswordDialogCtrl($scope, $user, dialog) {\n        $scope.isAdmin  = $user.isAdmin;\n        $scope.username = $user.username;\n        $scope.password = \"\";\n        $scope.confirm_password = \"\";\n        $scope.pending = false;\n\n        $scope.close = function(password) {\n            if (this.disabled) { return; }\n            $scope.pending = true;\n            $scope.errmessage = null;\n            $user.changePassword($scope.password).then(\n                function() {\n                    /* success */\n                    $scope.pending = false;\n                    dialog.close();\n                },\n                function(result) {\n                    /* error */\n                    $scope.pending = false;\n                    $scope.errmessage = result;\n                }\n            );\n        };\n    }\n\n    acralyzer.controller('AccountCtrl', ['$scope','$user','$dialog', AccountCtrl]);\n    acralyzer.controller('LoginDialogCtrl', ['$scope','$user','dialog', LoginDialogCtrl]);\n    acralyzer.controller('ChangePasswordDialogCtrl', ['$scope', '$user', 'dialog', ChangePasswordDialogCtrl]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzer, window.acralyzerEvents);\n"
  },
  {
    "path": "_attachments/script/AcralyzerControllers.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer,acralyzerEvents,$) {\n    \"use strict\";\n    /**\n     * @class AcralyzerCtrl\n     *\n     * Application root controller, handles global behavior such as login logout and reports store change.\n     *\n     */\n    function AcralyzerCtrl($user, $scope, ReportsStore, $rootScope, $notify, $routeParams, $http) {\n\n        /**\n         * Application scope, visible to children scopes with $scope.acralyzer.\n         * @type {Object}\n         */\n        $scope.acralyzer = {\n            apps: []\n        };\n        $scope.acralyzer.app = null;\n        $scope.acralyzer.isPolling = acralyzerConfig.backgroundPollingOnStartup;\n\n        ReportsStore.listApps(function(data) {\n            console.log(\"Storage list retrieved.\");\n            $scope.acralyzer.apps.length = 0;\n            $scope.acralyzer.apps = data;\n            console.log($scope.acralyzer.apps);\n        }, function() {\n\n        });\n\n        var onUserLogin = function() {\n\n            if(!($routeParams.app)){\n                $scope.acralyzer.setApp(acralyzerConfig.defaultApp);\n            }\n\n            if(acralyzerConfig.backgroundPollingOnStartup) {\n                $scope.acralyzer.startPolling();\n            }\n        };\n\n        /**\n         * Switch to another reports store.\n         * @param {String} appName The name of the chosen android application (reports store database without database\n         * prefix)\n         */\n        $scope.acralyzer.setApp = function(appName) {\n            console.log(\"Setting app to \", appName);\n            if(!appName) {\n                appName = $scope.acralyzer.apps[0];\n                console.log(\"Override setting undefined app to \", appName);\n            }\n            if(appName !== $scope.acralyzer.app) {\n                $scope.acralyzer.app = appName;\n                ReportsStore.setApp($scope.acralyzer.app,\n                    function() {\n                        console.log(\"broadcasting APP_CHANGED\");\n                        $rootScope.$broadcast(acralyzerEvents.APP_CHANGED);\n                    }\n                );\n                if($scope.acralyzer.isPolling) {\n                    console.log(\"Start polling in AcralyzerControllers.setApp\");\n                    $scope.acralyzer.startPolling();\n                }\n            }\n        };\n\n        $scope.acralyzer.startPolling = function() {\n            $scope.acralyzer.isPolling = true;\n            ReportsStore.startPolling(function(data){\n                if($scope.acralyzer.isPolling) {\n\n                    // Determine what kind of change occurred in the database.\n                    var reportsUpdated = false;\n                    var reportsDeleted = false;\n                    var bugsUpdated = false;\n                    if (data.results && data.results.length > 0) {\n                        for (var i = 0; i< data.results.length; i++) {\n                            if (data.results[i].doc && data.results[i].doc.type === \"solved_signature\"){\n                                bugsUpdated = true;\n                            } else if (data.results[i].doc && data.results[i].deleted) {\n                                reportsDeleted = true;\n                            } else if (data.results[i].doc && data.results[i].doc.REPORT_ID) {\n                                reportsUpdated = true;\n                            }\n                        }\n                    }\n                    if (reportsUpdated) {\n                        $rootScope.$broadcast(acralyzerEvents.NEW_DATA);\n                    } else if (reportsDeleted) {\n                        $rootScope.$broadcast(acralyzerEvents.REPORTS_DELETED);\n                    }\n                    if (bugsUpdated) {\n                        $rootScope.$broadcast(acralyzerEvents.BUGS_UPDATED);\n                    }\n                } // Do not refresh if a late response is received after the user asked to stop polling.\n            });\n        };\n\n        $scope.acralyzer.stopPolling = function() {\n            console.log(\"Ok, let's stop polling...\");\n            $scope.acralyzer.isPolling = false;\n            ReportsStore.stopPolling();\n        };\n\n        var notifyNewData = function() {\n            $notify.warning({\n                desktop: true,\n                timeout: 10000,\n                title: \"Acralyzer - \" + $scope.acralyzer.app,\n                body: \"Received new report(s)\",\n                icon: \"img/loader.gif\"\n            });\n        };\n\n        // Check if hosting is Cloudant or older CouchDB version\n        $http({method : 'GET', url: '/'}).success(function(data){\n            if(data.cloudant_build) {\n                $scope.acralyzer.cloudant = true;\n                acralyzer.cloudant = true;\n            }\n            if(data.version) {\n                var splittedVersion = data.version.split('.');\n                var major = splittedVersion[0];\n                var minor = splittedVersion[1];\n                if(major <= 1 || ( major === 1 && minor < 2)) {\n                    $scope.acralyzer.createUsersWithHash = true;\n                    acralyzer.createUsersWithHash = true;\n                }\n            }\n            console.log($scope.acralyzer);\n        });\n\n        $scope.$on(acralyzerEvents.NEW_DATA, notifyNewData);\n        $scope.$on(acralyzerEvents.POLLING_FAILED, $scope.acralyzer.stopPolling);\n        $scope.$on(acralyzerEvents.LOGGED_OUT, $scope.acralyzer.stopPolling);\n        $scope.$on(acralyzerEvents.LOGGED_IN, onUserLogin);\n\n        /**\n         * Try to log user and execute initialization when done. onUserLogin() will be triggered by LOGGED_IN broadcast\n         * event.\n         */\n        $user.init();\n\n    }\n    acralyzer.controller('AcralyzerCtrl', [\"$user\", \"$scope\", \"ReportsStore\", \"$rootScope\", \"$notify\", \"$routeParams\", \"$http\", AcralyzerCtrl]);\n})(window.acralyzerConfig,window.angular,window.acralyzer,window.acralyzerEvents,window.jQuery);\n"
  },
  {
    "path": "_attachments/script/AcralyzerEvents.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n\n(function(acralyzerEvents) {\n    \"use strict\";\n    acralyzerEvents.NEW_DATA = \"new_data\";\n    acralyzerEvents.REPORTS_DELETED = \"reports_deleted\";\n    acralyzerEvents.BUGS_UPDATED = \"bugs_updated\";\n    acralyzerEvents.LOGIN_CHANGE = \"login_change\";\n    acralyzerEvents.LOGGED_IN = \"logged_in\";\n    acralyzerEvents.LOGGED_OUT = \"logged_out\";\n    acralyzerEvents.POLLING_FAILED = \"polling failed\";\n    acralyzerEvents.APP_CHANGED = \"app changed\";\n    acralyzerEvents.USER_PASSWORD_CHANGE = \"password_change\";\n\n}( window.acralyzerEvents = window.acralyzerEvents || {}));\n"
  },
  {
    "path": "_attachments/script/AdminControllers.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n\n(function(acralyzerConfig,angular,acralyzer,acralyzerEvents,location,moment) {\n    \"use strict\";\n\n    function AdminCtrl($scope, ReportsStore, $routeParams, $notify, $user, $http) {\n        if($routeParams.app) {\n            console.log(\"ReportsBrowser: Direct access to app \" + $routeParams.app);\n            $scope.acralyzer.setApp($routeParams.app);\n        } else {\n            console.log(\"ReportsBorwser: Access to default app \" + acralyzerConfig.defaultApp);\n            $scope.acralyzer.setApp(acralyzerConfig.defaultApp);\n        }\n\n        // REPORTS PURGES\n        $scope.daysToKeep = 90;\n        $scope.selectedVersion = \"\";\n        $scope.appVersionCodes = [];\n        $scope.purgingByDays = false;\n        $scope.purgingByAppVersionCode = false;\n        $scope.nbReportsByDaysToPurge = \"\";\n        $scope.nbReportsByAppVersionCodeToPurge = \"\";\n\n        ReportsStore.appVersionCodesList(function(data){\n            $scope.appVersionCodes.length = 0;\n            for(var row = 0; row < data.rows.length; row++) {\n                $scope.appVersionCodes.push({value:data.rows[row].key[0], label:data.rows[row].key[0]});\n            }\n        });\n\n        $scope.purgeDays = function(daysToKeep) {\n            $scope.purgingByDays = true;\n            var deadline = moment().subtract('days', daysToKeep);\n            console.log(\"Purge reports older than \" + daysToKeep);\n            console.log(\"key will be: \" + deadline.format(\"[[]YYYY,M,d[]]\"));\n            ReportsStore.purgeReportsOlderThan(deadline.year(), deadline.month(), deadline.date(),\n                function(nbReports) {\n                    // Intermediate callback\n                    $scope.nbReportsByDaysToPurge = nbReports;\n                },\n                function(data) {\n                    // Success callback\n                    $scope.purgingByDays = false;\n                    $scope.nbReportsByDaysToPurge = \"\";\n                    $notify.success({\n                        desktop: true,\n                        timeout: 10000,\n                        title: \"Acralyzer - \" + $scope.acralyzer.app,\n                        body: \"Purge of \" + data.length + \" reports succeeded, keeping the last \" + daysToKeep + \" days.\",\n                        icon: \"img/loader.gif\"\n                    });\n                },\n                function(){\n                    // Failure callback\n                    $scope.purgingByDays = false;\n                    $scope.nbReportsByDaysToPurge = \"\";\n                    $notify.success({\n                        desktop: true,\n                        timeout: 10000,\n                        title: \"Acralyzer - \" + $scope.acralyzer.app,\n                        body: \"Purge failed.\",\n                        icon: \"img/loader.gif\"\n                    });\n                }\n            );\n        };\n\n        $scope.purgeVersion = function(selectedVersion) {\n            $scope.purgingByAppVersionCode = true;\n            console.log(\"Purge reports from version \" + selectedVersion + \" and older.\");\n            console.log(selectedVersion);\n            ReportsStore.purgeReportsFromAppVersionCodeAndBelow(selectedVersion,\n                function(nbReports) {\n                    // Intermediate callback\n                    $scope.nbReportsByAppVersionCodeToPurge = nbReports;\n                },\n                function(data) {\n                    // Success callback\n                    ReportsStore.appVersionCodesList();\n                    $scope.purgingByAppVersionCode = false;\n                    $scope.nbReportsByAppVersionCodeToPurge = \"\";\n                    $notify.success({\n                        desktop: true,\n                        timeout: 10000,\n                        title: \"Acralyzer - \" + $scope.acralyzer.app,\n                        body: \"Purge of \" + data.length + \" reports succeeded, from \" + selectedVersion + \" and below.\",\n                        icon: \"img/loader.gif\"\n                    });\n                },\n                function(){\n                    // Failure callback\n                    $scope.purgingByAppVersionCode = false;\n                    $scope.nbReportsByAppVersionCodeToPurge = \"\";\n                    $notify.success({\n                        desktop: true,\n                        timeout: 10000,\n                        title: \"Acralyzer - \" + $scope.acralyzer.app,\n                        body: \"Purge failed.\",\n                        icon: \"img/loader.gif\"\n                    });\n                }\n            );\n        };\n\n        // USER PREFERENCES\n        $scope.acralyzerConfig = acralyzerConfig;\n        $scope.apps = [];\n        ReportsStore.listApps(function(appsList) {\n            $scope.apps = appsList;\n        });\n\n        $scope.storeDefaultApp = function() {\n            $user.updatePreferences({\n                defaultApp: acralyzerConfig.defaultApp\n            });\n        };\n\n        // USERS MANAGEMENT\n        $scope.formUri = 'http://' + location.host + '/' + acralyzerConfig.appDBPrefix + $scope.acralyzer.app + '/_design/acra-storage/_update/report';\n        $scope.createReporterUser = function(login, password) {\n            console.log(\"Transfer user creation to $user \", login, password);\n            $user.addReporterUser(login, password, function(){\n                $scope.newReporterCreated = true;\n            });\n        };\n    }\n    acralyzer.controller('AdminCtrl', [\"$scope\", \"ReportsStore\", \"$routeParams\", \"$notify\", \"$user\", \"$http\", AdminCtrl]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzer,window.acralyzerEvents,window.location,window.moment);\n"
  },
  {
    "path": "_attachments/script/AlertController.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,acralyzer) {\n    \"use strict\";\n\n    function AlertCtrl($scope, $notify) {\n        $scope.alerts = $notify._alerts;\n        $scope.close = function(index) {\n            $notify.remove(index);\n        };\n    }\n\n    acralyzer.controller('AlertCtrl', ['$scope','$notify', AlertCtrl]);\n\n})(window.acralyzerConfig,window.acralyzer);\n\n\n"
  },
  {
    "path": "_attachments/script/BugsBrowserControllers.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer,acralyzerEvents) {\n    \"use strict\";\n\n    function BugsBrowserCtrl($scope, ReportsStore, $routeParams) {\n        if($routeParams.app) {\n            console.log(\"BugsBrowser: Direct access to app \" + $routeParams.app);\n            $scope.acralyzer.setApp($routeParams.app);\n        } else {\n            console.log(\"BugsBorwser: Access to default app \" + acralyzerConfig.defaultApp);\n            $scope.acralyzer.setApp(acralyzerConfig.defaultApp);\n        }\n\n        console.log(\"Init BugsBrowserCtrl\");\n        $scope.bugsList = [];\n        $scope.bugsCount = 15;\n        $scope.hideSolvedBugs = true;\n        $scope.previousStartKeys = [];\n        $scope.startKey = null;\n        $scope.nextKey = null;\n        $scope.startNumber = 1;\n        $scope.endNumber = $scope.bugsCount;\n        $scope.fullSearch = false;\n        $scope.loading = true;\n        $scope.noFilter = { value: \"false\", label: \"Select filter\"};\n        $scope.noFilterValue = { value: \"false\", label: \"All values\"};\n        $scope.availableFilters = [\n            {value: \"appvercode\", label: \"Application version code\"}\n        ];\n        $scope.filterName = $scope.noFilter;\n        $scope.filterValue = $scope.noFilterValue;\n\n        $scope.filterValues = [];\n        $scope.orderField = 'value.count';\n        $scope.orderDescending = true;\n\n        // List animations\n        $scope.animationFade = {\n            enter: 'fade-enter',\n            leave: 'fade-leave'\n        };\n        $scope.animationNextPage = {\n            enter: 'nextpage-enter',\n            leave: 'nextpage-leave'\n        };\n        $scope.animationPreviousPage = {\n            enter: 'previouspage-enter',\n            leave: 'previouspage-leave'\n        };\n        $scope.listAnimation = $scope.animationFade;\n\n        $scope.setNextPageAnimation = function() {\n            $scope.listAnimation = $scope.animationNextPage;\n            console.log(\"setNextPageAnimation\");\n        };\n\n        $scope.setPreviousPageAnimation = function() {\n            $scope.listAnimation = $scope.animationPreviousPage;\n            console.log(\"setPreviousPageAnimation\");\n        };\n\n        $scope.getListAnimation = function() {\n            return $scope.listAnimation;\n        };\n\n        /**\n         * Takes two lists of bugs and merges the second one into the first one.\n         * New bugs are added, bugs absent from list2 are removed from list1, and updated bugs are examined to update\n         * the values from list1 with those from list2.\n         * This is necessary to allow to animate only changes.\n         * @param list1 Original list.\n         * @param list2 New list.\n         */\n        var mergeBugsLists = function(list1, list2) {\n            var bugslist = {};\n            for(var i1 = 0; i1 < list1.length; i1++) {\n                bugslist[list1[i1].id] = {idxlist1: i1};\n            }\n            for(var i2 = 0; i2 < list2.length; i2++) {\n                if(!bugslist[list2[i2].id]){\n                    // Mark bug as not found in list1\n                    bugslist[list2[i2].id] = {idxlist1: -1};\n                }\n                bugslist[list2[i2].id].idxlist2 = i2;\n            }\n            for(var iBugs in bugslist) {\n                if(bugslist[iBugs].idxlist1 < 0 && bugslist[iBugs].idxlist2 >= 0) {\n                    // New bug\n                    list1.push(list2[bugslist[iBugs].idxlist2]);\n                } else if (bugslist[iBugs].idxlist1 >= 0 && bugslist[iBugs].idxlist2 < 0) {\n                    // Deleted bug\n                    list1.splice(bugslist[iBugs].idxlist1, 1);\n                } else if(bugslist[iBugs].idxlist1 >= 0 && bugslist[iBugs].idxlist2 >= 0) {\n                    if(!list1[bugslist[iBugs].idxlist1].equals(list2[bugslist[iBugs].idxlist2])) {\n                        // Updated bug\n                        list1[bugslist[iBugs].idxlist1].updateWithBug(list2[bugslist[iBugs].idxlist2]);\n                    }\n                }\n            }\n        };\n\n\n        $scope.getData = function() {\n//            $scope.loading = true;\n            ReportsStore.bugsList(function(data) {\n                    $scope.listAnimation = $scope.animationFade;\n                    console.log(\"Refresh data for latest bugs\");\n                    console.log(data);\n                    mergeBugsLists($scope.bugsList, data.rows);\n                    $scope.totalBugs = data.total_rows;\n                    for(var row = 0; row < $scope.bugsList.length; row++) {\n                        $scope.bugsList[row].latest = moment($scope.bugsList[row].value.latest).fromNow();\n                    }\n                    $scope.loading = false;\n                },\n                function(response, getResponseHeaders){\n                    $scope.bugsList=[];\n                    $scope.totalBugs=\"\";\n                    $scope.loading = false;\n                }\n            );\n        };\n\n        $scope.shouldBeDisplayed = function(bug) {\n            if($scope.hideSolvedBugs && bug.value.solved) {\n                return false;\n            } else {\n                return true;\n            }\n        };\n\n        $scope.filterValueSelected = function() {\n            // reset pagination\n            $scope.startKey = null;\n            $scope.nextKey = null;\n            $scope.previousStartKeys.length = 0;\n            $scope.getData();\n        };\n\n        $scope.$on(acralyzerEvents.LOGGED_IN, $scope.getData);\n        $scope.$on(acralyzerEvents.LOGGED_OUT, $scope.getData);\n        $scope.$on(acralyzerEvents.BUGS_UPDATED, $scope.getData);\n        $scope.getData();\n    }\n\n\n    acralyzer.controller('BugsBrowserCtrl', [\"$scope\", \"ReportsStore\", \"$routeParams\", BugsBrowserCtrl]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzer,window.acralyzerEvents);\n"
  },
  {
    "path": "_attachments/script/DashboardControllers.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer,acralyzerEvents,$) {\n    \"use strict\";\n\n    function getBidimensionalArray(rows) {\n        var result = new Array(rows.length);\n        for(var i = 0; i < rows.length; i++) {\n            var row = rows[i];\n            if(row.key && row.value) {\n                result[i] = [row.key, row.value];\n            }\n        }\n        return result;\n    }\n\n    var formatAsPercentage = d3.format(\"%\"),\n    formatAsPercentage1Dec = d3.format(\".1%\"),\n    formatAsInteger = d3.format(\",\"),\n    fsec = d3.time.format(\"%S s\"),\n    fmin = d3.time.format(\"%M m\"),\n    fhou = d3.time.format(\"%H h\"),\n    fwee = d3.time.format(\"%a\"),\n    fdat = d3.time.format(\"%d d\"),\n    fmon = d3.time.format(\"%b\");\n\n    function CrashReportsCtrl($scope, ReportsStore) {\n        $scope.selectedReport = \"\";\n\n        $scope.getData = function() {\n            ReportsStore.recentReports(function(data) {\n                console.log(\"Refresh data for latest reports\");\n                $scope.reports = data.rows;\n                $scope.totalReports = data.total_rows;\n                for(var row = 0; row < $scope.reports.length; row++) {\n                    $scope.reports[row].displayDate = moment($scope.reports[row].key).fromNow();\n                }\n            },\n            function(response, getResponseHeaders){\n                $scope.reports=[];\n                $scope.totalReports=\"\";\n            });\n        };\n\n        $scope.loadReport = function(report) {\n            $scope.selectedReport = ReportsStore.reportDetails(report.id, function(data) {\n                data.readableUptime = moment.duration(data.uptime, 'seconds').humanize();\n                data.formatedCrashDate = moment(data.USER_CRASH_DATE).format('LLL');\n                data.formatedTimestamp = moment(data.timestamp).format('LLL');\n            });\n        };\n\n        $scope.deleteReport = function(report) {\n            if($scope.selectedReport === report) {\n                $scope.selectedReport = \"\";\n            }\n\n            ReportsStore.deleteReport(report, function(data) {\n                // Success callback\n            });\n        };\n\n        $scope.$on(acralyzerEvents.LOGGED_IN, $scope.getData);\n        $scope.$on(acralyzerEvents.APP_CHANGED, $scope.getData);\n//        $scope.$on(acralyzerEvents.LOGGED_OUT, $scope.getData);\n        $scope.$on(acralyzerEvents.NEW_DATA, $scope.getData);\n        $scope.$on(acralyzerEvents.REPORTS_DELETED, $scope.getData);\n        if($scope.acralyzer.app) {\n            $scope.getData();\n        }\n    }\n\n    function BugsCtrl($scope, ReportsStore, $filter) {\n        $scope.selectedBug = \"\";\n        $scope.bugsLimit = 10;\n        $scope.hideSolvedBugs = true;\n        $scope.bugs = [];\n\n        var mergeBugsLists = function(list1, list2) {\n            var bugslist = {};\n            for(var i1 = 0; i1 < list1.length; i1++) {\n                bugslist[list1[i1].id] = {idxlist1: i1};\n            }\n            for(var i2 = 0; i2 < list2.length; i2++) {\n                if(!bugslist[list2[i2].id]){\n                    // Mark bug as not found in list1\n                    bugslist[list2[i2].id] = {idxlist1: -1};\n                }\n                bugslist[list2[i2].id].idxlist2 = i2;\n            }\n            for(var iBugs in bugslist) {\n                if(bugslist[iBugs].idxlist1 < 0 && bugslist[iBugs].idxlist2 >= 0) {\n                    // New bug\n                    list1.push(list2[bugslist[iBugs].idxlist2]);\n                } else if (bugslist[iBugs].idxlist1 >= 0 && bugslist[iBugs].idxlist2 < 0) {\n                    // Deleted bug\n                    list1.splice(bugslist[iBugs].idxlist1, 1);\n                } else if(bugslist[iBugs].idxlist1 >= 0 && bugslist[iBugs].idxlist2 >= 0) {\n                    if(!list1[bugslist[iBugs].idxlist1].equals(list2[bugslist[iBugs].idxlist2])) {\n                        // Updated bug\n                        list1[bugslist[iBugs].idxlist1].updateWithBug(list2[bugslist[iBugs].idxlist2]);\n                    }\n                }\n            }\n        };\n\n        $scope.getData = function() {\n            ReportsStore.bugsList(function(data) {\n                    console.log(\"Refresh data for latest bugs\");\n                    mergeBugsLists($scope.bugs, data.rows);\n                    $scope.totalBugs = data.total_rows;\n                    for(var row = 0; row < $scope.bugs.length; row++) {\n                        $scope.bugs[row].latest = moment($scope.bugs[row].value.latest).fromNow();\n                    }\n                },\n                function(response, getResponseHeaders){\n                    $scope.bugs=[];\n                    $scope.totalBugs=\"\";\n                });\n        };\n\n        $scope.shouldBeDisplayed = function(bug) {\n            if($scope.hideSolvedBugs && bug.value.solved) {\n                return false;\n            } else {\n                return true;\n            }\n        };\n\n        $scope.pageItems = function() {\n            var filtFilter = $filter(\"filter\"); // First remove unnecessary items\n            var filtOrderBy = $filter(\"orderBy\"); // Order by latest occurence\n            var filtLimitTo = $filter(\"limitTo\"); // Limit to X items\n\n            return filtLimitTo(\n                filtOrderBy(\n                    filtFilter(\n                        $scope.bugs, $scope.shouldBeDisplayed\n                    ), 'value.latest', true\n                ), $scope.bugsLimit\n            );\n        };\n\n        $scope.$on(acralyzerEvents.LOGGED_IN, $scope.getData);\n        $scope.$on(acralyzerEvents.APP_CHANGED, $scope.getData);\n        $scope.$on(acralyzerEvents.NEW_DATA, $scope.getData);\n        $scope.$on(acralyzerEvents.BUGS_UPDATED, $scope.getData);\n        if($scope.acralyzer.app) {\n            $scope.getData();\n        }\n    }\n\n\n    function ReportsPerDayCtrl($scope, ReportsStore, $user) {\n        $scope.periods = [\n            {name: \"Year\", value: 1},\n            {name: \"Month\", value: 2},\n            {name: \"Day\", value: 3},\n            {name: \"Hour\", value: 4},\n            {name: \"Minute\", value: 5},\n            {name: \"Second\", value: 6}\n        ];\n        $scope.period = $scope.periods[2];\n\n        $scope.reportsPerDay=[];\n\n        $scope.dataDate = function(d) {\n            var result = new Date();\n            var dateArray = d[0];\n            if(dateArray[0]) {\n                result.setFullYear(dateArray[0]);\n            } else {\n                result.setFullYear(0);\n            }\n            if(dateArray[1]) {\n                result.setMonth(dateArray[1]);\n            } else {\n                result.setMonth(0);\n            }\n            if(dateArray[2]) {\n                result.setDate(dateArray[2]);\n            } else {\n                result.setDate(0);\n            }\n            if(dateArray[3]) {\n                result.setHours(dateArray[3]);\n            } else {\n                result.setHours(0);\n            }\n            if(dateArray[4]) {\n                result.setMinutes(dateArray[4]);\n            } else {\n                result.setMinutes(0);\n            }\n            if(dateArray[5]) {\n                result.setSeconds(dateArray[5]);\n            } else {\n                result.setSeconds(0);\n            }\n            if(dateArray[6]) {\n                result.setMilliseconds(dateArray[6]);\n            } else {\n                result.setMilliseconds(0);\n            }\n            return result;\n        };\n        $scope.dataValue = function(d) {\n            return d[1];\n        };\n\n\n        $scope.getData = function() {\n            if ($user.isReader()) {\n                ReportsStore.reportsPerDay(\n                    $scope.period.value,\n                    function(data) {\n                        $scope.reportsPerDay = getBidimensionalArray(data.rows);\n                        $scope.updateGraph();\n                    },\n                    function(response, getResonseHeaders){\n                        $scope.reportsPerDay=[[]];\n                        $scope.updateGraph();\n                    }\n                );\n            }\n        };\n\n\n        $scope.buildGraph = function () {\n            var container = $(\"#graph-container\");\n            $scope.metrics = {\n                /*\n                width : parseInt(container.style.width),\n                height : parseInt(container.style.height),\n                */\n                width : container.width(),\n                height : container.height() * 0.8,\n                padding : container.height() * 0.15\n            };\n\n            // create an svg container\n            if(!$scope.vis) {\n                $scope.vis =  d3.select(\"#graph-container\")\n                .append(\"svg:svg\")\n                .attr(\"width\", \"100%\")\n                .attr(\"height\", \"80%\")\n                .attr(\"viewBox\", \"0 0 \" + $scope.metrics.width + \" \" + $scope.metrics.height)\n                .attr(\"preserveAspectRatio\", \"xMidYMid meet\");\n                /*\n                .attr(\"width\", $scope.metrics.width)\n                .attr(\"height\", $scope.metrics.height);\n                */\n            }\n\n\n            $scope.xScale = d3.time.scale()\n                .domain([d3.min($scope.reportsPerDay, $scope.dataDate), new Date()])\n                .range([$scope.metrics.padding, $scope.metrics.width - $scope.metrics.padding]);   // map these the the chart width = total width minus padding at both sides\n\n\n            // define the y scale  (vertical)\n            $scope.yScale = d3.scale.linear()\n                .domain([0, d3.max($scope.reportsPerDay, $scope.dataValue)])\n                .range([$scope.metrics.height - $scope.metrics.padding, $scope.metrics.padding]);   // map these to the chart height, less padding.  \n                //REMEMBER: y axis range has the bigger number first because the y value of zero is at the top of chart and increases as you go down.\n\n\n            // define the y axis\n            $scope.yAxis = d3.svg.axis()\n                .orient(\"left\")\n                .scale($scope.yScale);\n\n            // define the y axis\n            $scope.xAxis = d3.svg.axis()\n                .orient(\"bottom\")\n                .scale($scope.xScale);\n\n            // draw y axis with labels and move in from the size by the amount of padding\n            $scope.vis.append(\"g\")\n                .attr(\"class\", \"yaxis\")   // give it a class so it can be used to select only xaxis labels  below\n                .attr(\"transform\", \"translate(\"+$scope.metrics.padding+\",0)\")\n                .call($scope.yAxis);\n\n            // draw x axis with labels and move to the bottom of the chart area\n            $scope.vis.append(\"g\")\n                .attr(\"class\", \"xaxis\")   // give it a class so it can be used to select only xaxis labels  below\n                .attr(\"transform\", \"translate(0,\" + ($scope.metrics.height - $scope.metrics.padding) + \")\")\n                .call($scope.xAxis);\n\n        };\n\n\n        $scope.updateGraph = function updateGraph() {\n\n            $scope.xScale.domain([d3.min($scope.reportsPerDay, $scope.dataDate), new Date()]);\n            $scope.yScale.domain([0, d3.max($scope.reportsPerDay, $scope.dataValue)]);\n            $scope.vis.select(\".xaxis\")\n            .transition().duration(750)\n            .call($scope.xAxis);\n            $scope.vis.select(\".yaxis\")\n            .transition().duration(750)\n            .call($scope.yAxis);\n\n            // now rotate text on x axis\n            // solution based on idea here: https://groups.google.com/forum/?fromgroups#!topic/d3-js/heOBPQF3sAY\n            // first move the text left so no longer centered on the tick\n            // then rotate up to get 45 degrees.\n            $scope.vis.selectAll(\".xaxis text\")  // select all the text elements for the xaxis\n            .attr(\"transform\", function(d) {\n                return \"translate(\" + this.getBBox().height*-2 + \",\" + this.getBBox().height + \")rotate(-45)\";\n            });\n\n            // Update data\n            var bars = $scope.vis.selectAll(\"rect\")\n            .data($scope.reportsPerDay);\n            bars.attr(\"class\", \"update\")\n            .transition().duration(375)\n            .attr(\"height\", 0)\n            .attr(\"y\", function(d){return $scope.yScale(0);})\n            .transition().delay(375).duration(1)\n            .attr(\"x\", function(d){return $scope.xScale($scope.dataDate(d));})\n            .transition().delay(376).duration(374)\n            .attr(\"y\", function(d){return $scope.yScale($scope.dataValue(d));})\n            .attr(\"height\", function(d) { return $scope.metrics.height - $scope.metrics.padding - $scope.yScale($scope.dataValue(d));});\n\n            bars.enter().append(\"rect\")\n            .attr(\"class\",\"enter\")\n            .attr(\"x\", function(d){return $scope.xScale($scope.dataDate(d));})\n            .attr(\"y\", function(d){return $scope.yScale(0);})\n            .attr(\"height\", 0)\n            .transition().duration(750)\n            .attr(\"x\", function(d){return $scope.xScale($scope.dataDate(d));})\n            .attr(\"y\", function(d){return $scope.yScale($scope.dataValue(d));})\n            .attr(\"width\", 1)\n            .attr(\"height\", function(d) { return $scope.metrics.height - $scope.metrics.padding - $scope.yScale($scope.dataValue(d)); });\n\n            bars.exit()\n            .attr(\"class\",\"exit\")\n            .transition().duration(750)\n            .attr(\"height\", 0)\n            .attr(\"y\", function(d){return $scope.yScale(0);})\n            .remove();\n        };\n\n        $scope.buildGraph();\n\n        $scope.$on(acralyzerEvents.LOGGED_IN, $scope.getData);\n        $scope.$on(acralyzerEvents.APP_CHANGED, $scope.getData);\n//        $scope.$on(acralyzerEvents.LOGGED_OUT, $scope.getData);\n        $scope.$on(acralyzerEvents.NEW_DATA, $scope.getData);\n        $scope.$on(acralyzerEvents.REPORTS_DELETED, $scope.getData);\n        if($scope.acralyzer.app) {\n            $scope.getData();\n        }\n    }\n\n    /* Pie charts */\n    function PieChartsCtrl($scope, ReportsStore, $user) {\n        $scope.fieldNames = [\n            {name: \"android-version\", label: \"Android version\"},\n            {name: \"android-sdk-version\", label: \"Android SDK version\"},\n            {name: \"app-version-name\", label: \"Application version name\"},\n            {name: \"app-version-code\", label: \"Application version code\"},\n            {name: \"device\", label: \"Device\"}\n        ];\n        $scope.fieldName = $scope.fieldNames[0];\n\n        $scope.reportsPerFieldName=[];\n\n        $scope.getData = function() {\n            if ($user.isReader()) {\n                ReportsStore.reportsPerFieldName(\n                    $scope.fieldName.name,\n                    function(data) {\n                        $scope.reportsPerFieldName = getBidimensionalArray(data.rows);\n                        var totalReports = 0;\n                        var i = 0;\n                        // Get total number of reports before calculating the ratio for each value.\n                        for(i = 0; i < $scope.reportsPerFieldName.length; i++) {\n                            totalReports += $scope.reportsPerFieldName[i][1];\n                        }\n                        for(i = 0; i < $scope.reportsPerFieldName.length; i++) {\n                            $scope.reportsPerFieldName[i][2] = $scope.reportsPerFieldName[i][1] / totalReports;\n                        }\n                        $scope.updateGraph();\n                    },\n                    function(response, getResonseHeaders){\n                        $scope.reportsPerFieldName=[[]];\n                        $scope.updateGraph();\n                    }\n                );\n            }\n        };\n\n        $scope.mouseover = function() {\n            d3.select(this).select(\"path\").transition()\n            .duration(350)\n            //.attr(\"stroke\",\"red\")\n            //.attr(\"stroke-width\", 1.5)\n            .attr(\"d\", $scope.arcFinal3)\n            ;\n        };\n\n        $scope.mouseout = function() {\n            d3.select(this).select(\"path\").transition()\n            .duration(350)\n            //.attr(\"stroke\",\"blue\")\n            //.attr(\"stroke-width\", 1.5)\n            .attr(\"d\", $scope.arcFinal)\n            ;\n        };\n\n        $scope.up = function(d, i) {\n            /* update bar chart when user selects piece of the pie chart */\n            //updateBarChart(dataset[i].category);\n            //            updateBarChart(d.data.category, color(i));\n            //            updateLineChart(d.data.category, color(i));\n\n        };\n\n        $scope.buildGraph = function () {\n            var container = $(\"#pie-charts\");\n\n            var outerRad =  Math.min(container.width(), container.height()) / 2;\n            var innerRad = outerRad * 0.999;\n            $scope.metrics = {\n                width : container.width(),\n                height : container.height(),\n                padding : container.height() * 0.15,\n                outerRadius : outerRad,\n                outerRadiusSelected : outerRad * 1.05,\n                innerRadius : innerRad,\n                // for animation\n                innerRadiusFinal : outerRad * 0.2,\n                innerRadiusFinal3 : outerRad * 0.25,\n                color : d3.scale.category20()    //builtin range of colors\n            };\n\n            // create an svg container\n            $scope.vis =  d3.select(\"#pie-charts\")\n            .append(\"svg:svg\")              //create the SVG element inside the <body>\n            .data([$scope.reportsPerFieldName])                   //associate our data with the document\n            .attr(\"width\", \"95%\")\n            .attr(\"height\", \"85%\")\n            .attr(\"viewBox\", \"0 0 \" + $scope.metrics.width + \" \" + $scope.metrics.height)\n            .attr(\"preserveAspectRatio\", \"xMidYMid meet\")\n            .append(\"svg:g\")                //make a group to hold our pie chart\n            .attr(\"transform\", \"translate(\" + $scope.metrics.width / 2 + \",\" + $scope.metrics.height / 2 + \")\")    //move the center of the pie chart from 0, 0 to radius, radius\n            ;\n\n            $scope.arc = d3.svg.arc()              //this will create <path> elements for us using arc data\n            .outerRadius($scope.metrics.outerRadius).innerRadius($scope.metrics.innerRadius);\n\n            // for animation\n            $scope.arcFinal = d3.svg.arc().innerRadius($scope.metrics.innerRadiusFinal).outerRadius($scope.metrics.outerRadius);\n            $scope.arcFinal3 = d3.svg.arc().innerRadius($scope.metrics.innerRadiusFinal3).outerRadius($scope.metrics.outerRadiusSelected);\n\n            $scope.pie = d3.layout.pie()            //this will create arc data for us given a list of values\n            .value(function(d) {\n                return d[2];\n            });    //we must tell it how to access the value of each element in our data array\n\n            // Computes the label angle of an arc, converting from radians to degrees.\n            $scope.angle = function(d) {\n                var a = (d.startAngle + d.endAngle) * 90 / Math.PI - 90;\n                return a > 90 ? a - 180 : a;\n            }\n\n            // Pie chart title\n            /*        $scope.chartTitle = $scope.vis.append(\"svg:text\")\n            .attr(\"dy\", \".35em\")\n            .attr(\"text-anchor\", \"middle\")\n            .text($scope.fieldName.label)\n            .attr(\"class\",\"title\")\n            */        ;\n\n        };\n\n        $scope.updateGraph = function () {\n            $scope.vis.data([$scope.reportsPerFieldName]);\n            //        $scope.chartTitle.text($scope.fieldName.label);\n\n            var arcs = $scope.vis.selectAll(\"g.slice\").data($scope.pie);\n\n            // update\n            arcs.select(\"path\").attr(\"d\", $scope.arcFinal);\n\n            arcs.select(\".pie-label\").remove();\n\n            arcs.filter(function(d) { return d.endAngle - d.startAngle > 0.2; })\n            .append(\"svg:text\")\n            .attr(\"class\", \"pie-label\")\n            .attr(\"dy\", \".35em\")\n            .attr(\"text-anchor\", \"middle\")\n            .attr(\"transform\", function(d) { return \"translate(\" + $scope.arcFinal.centroid(d) + \")rotate(\" + $scope.angle(d) + \")\"; })\n            .text(function(d) { return d.data[0] + \" : \" + formatAsPercentage(d.value); })\n            ;\n\n            arcs.select(\"title\")\n            .text(function(d) { return d.data[0] + \" : \" + formatAsPercentage(d.value) + \" (\" + d.data[1] + \" reports)\"; });\n\n            arcs.exit().remove();\n\n            var newarcs = arcs.enter()\n            .append(\"svg:g\")\n            .attr(\"class\", \"slice\")\n            .on(\"mouseover\", $scope.mouseover)\n            .on(\"mouseout\", $scope.mouseout)\n            .on(\"click\", $scope.up);\n\n            newarcs.append(\"svg:path\")\n            .attr(\"fill\", function(d, i) { return $scope.metrics.color(i); } ) //set the color for each slice to be chosen from the color function defined above\n            .attr(\"d\", $scope.arcFinal)     //this creates the actual SVG path using the associated data (pie) with the arc drawing function\n            .append(\"svg:title\") //mouseover title showing the figures\n            .text(function(d) { return d.data[0] + \" : \" + formatAsPercentage(d.value) + \" (\" + d.data[1] + \" reports)\"; })\n            ;\n\n            newarcs.filter(function(d) { return d.endAngle - d.startAngle > 0.2; })\n            .append(\"svg:text\")\n            .attr(\"class\", \"pie-label\")\n            .attr(\"dy\", \".35em\")\n            .attr(\"text-anchor\", \"middle\")\n            .attr(\"transform\", function(d) { return \"translate(\" + $scope.arcFinal.centroid(d) + \")rotate(\" + $scope.angle(d) + \")\"; })\n            .text(function(d) { return d.data[0] + \" : \" + formatAsPercentage(d.value); })\n            ;\n\n\n            /*        d3.selectAll(\"g.slice\").selectAll(\"path\").transition()\n            .duration(750)\n            .delay(10)\n            .attr(\"d\", $scope.arcFinal )\n            ;\n            */\n        };\n\n        $scope.buildGraph();\n\n        $scope.$on(acralyzerEvents.LOGGED_IN, $scope.getData);\n        $scope.$on(acralyzerEvents.APP_CHANGED, $scope.getData);\n//        $scope.$on(acralyzerEvents.LOGGED_OUT, $scope.getData);\n        $scope.$on(acralyzerEvents.NEW_DATA, $scope.getData);\n        $scope.$on(acralyzerEvents.REPORTS_DELETED, $scope.getData);\n        if($scope.acralyzer.app) {\n            $scope.getData();\n        }\n    }\n\n    function DashboardCtrl($scope, $routeParams) {\n        if($routeParams.app) {\n            console.log(\"Dashboard: Direct access to app \" + $routeParams.app);\n            $scope.acralyzer.setApp($routeParams.app);\n        }\n    }\n\n    acralyzer.controller('ReportsPerDayCtrl', [ \"$scope\", \"ReportsStore\", \"$user\", ReportsPerDayCtrl]);\n    acralyzer.controller('PieChartsCtrl', [\"$scope\", \"ReportsStore\", \"$user\", PieChartsCtrl]);\n    acralyzer.controller('DashboardCtrl', [\"$scope\", \"$routeParams\", DashboardCtrl]);\n    acralyzer.controller('CrashReportsCtrl', [\"$scope\", \"ReportsStore\", CrashReportsCtrl]);\n    acralyzer.controller('BugsCtrl', [\"$scope\", \"ReportsStore\", \"$filter\", BugsCtrl]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzer,window.acralyzerEvents,window.jQuery);\n"
  },
  {
    "path": "_attachments/script/NavigationController.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer) {\n    \"use strict\";\n\n    function NavigationCtrl($scope, $route, $dialog) {\n        $scope.$route = $route;\n    }\n\n    acralyzer.controller('NavigationCtrl', [\"$scope\", \"$route\", \"$dialog\", NavigationCtrl]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzer);\n"
  },
  {
    "path": "_attachments/script/ReportDetailsController.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer) {\n    \"use strict\";\n\n    function ReportDetailsCtrl($scope, $routeParams, ReportsStore) {\n        $scope.acralyzer.setApp($routeParams.app);\n        $scope.reportId = $routeParams.reportId;\n        $scope.loadReport = function(reportId) {\n            $scope.report = ReportsStore.reportDetails(reportId, function(data) {\n                data.readableUptime = moment.duration(data.uptime, 'seconds').humanize();\n                data.formatedCrashDate = moment(data.USER_CRASH_DATE).format('LLL');\n                data.formatedTimestamp = moment(data.timestamp).format('LLL');\n            });\n        };\n        $scope.loadReport($scope.reportId);\n\n    }\n\n    acralyzer.controller('ReportDetailsCtrl',[\"$scope\", \"$routeParams\", \"ReportsStore\",ReportDetailsCtrl]);\n})(window.acralyzerConfig,window.angular,window.acralyzer);\n"
  },
  {
    "path": "_attachments/script/ReportsBrowserControllers.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzer,acralyzerEvents,Showdown) {\n    \"use strict\";\n\n    function ReportsBrowserCtrl($scope, ReportsStore, $routeParams) {\n        if($routeParams.app) {\n            console.log(\"ReportsBrowser: Direct access to app \" + $routeParams.app);\n            $scope.acralyzer.setApp($routeParams.app);\n        } else {\n            console.log(\"ReportsBorwser: Access to default app \" + acralyzerConfig.defaultApp);\n            $scope.acralyzer.setApp(acralyzerConfig.defaultApp);\n        }\n\n        console.log(\"Init ReportsBrowserCtrl\");\n        $scope.paginator = {\n            pageSize: 15,\n            currentPage: 0\n        };\n        $scope.pageSizeList = [15, 30, 50, 100];\n\n        $scope.previousStartKeys = [];\n        $scope.selectedReport = \"\";\n        $scope.startKey = null;\n        $scope.nextKey = null;\n        $scope.startNumber = 1;\n        $scope.endNumber = $scope.paginator.pageSize;\n        $scope.fullSearch = false;\n        $scope.loading = true;\n        $scope.noFilter = { value: \"false\", label: \"Select filter\"};\n        $scope.noFilterValue = { value: \"false\", label: \"All values\"};\n        $scope.availableFilters = [\n            $scope.noFilter,\n            {value: \"appver\", label: \"Application version\"},\n            {value: \"androidver\", label: \"Android version\"}\n        ];\n        $scope.filterName = $scope.noFilter;\n        $scope.filterValue = $scope.noFilterValue;\n\n        $scope.filterValues = [];\n\n        // Filtering by bugId\n        $scope.bugId = $routeParams.bugId;\n        $scope.bug = null;\n\n        // Filtering by installation_id\n        if($routeParams.installationId) {\n            $scope.selectedUser = { installationId: $routeParams.installationId };\n        }\n\n        $scope.incPage = function() {\n            $scope.previousStartKeys.push($scope.startKey);\n            $scope.startKey = $scope.nextKey;\n            $scope.getData();\n        };\n\n        $scope.decPage = function() {\n            $scope.nextKey = null;\n            $scope.startKey = $scope.previousStartKeys.pop();\n            $scope.getData();\n        };\n\n        $scope.isFirstPage = function() {\n            return $scope.previousStartKeys.length <= 0;\n        };\n\n        $scope.isLastPage = function() {\n            return $scope.nextKey === null;\n        };\n\n        $scope.firstPage = function() {\n            $scope.startKey = null;\n            $scope.nextKey = null;\n            $scope.getData();\n        };\n\n        $scope.$watch('paginator.pageSize', function(newValue, oldValue){\n            if (newValue !== oldValue) {\n                $scope.firstPage();\n            }\n        });\n\n        $scope.getData = function() {\n            $scope.loading = true;\n            var successHandler = function(data) {\n                // Success Handler\n                $scope.reports = data.rows;\n                $scope.totalReports = data.total_rows;\n\n                // If there are more rows, here is the key to the next page\n                $scope.nextKey =data.next_row ? data.next_row.key : null;\n                $scope.startNumber = ($scope.previousStartKeys.length * $scope.paginator.pageSize) + 1;\n                $scope.endNumber = $scope.startNumber + $scope.reports.length - 1;\n\n                $scope.loading = false;\n            };\n\n            var errorHandler = function(response, getResponseHeaders){\n                // Error Handler\n                $scope.reports=[];\n                $scope.totalReports=\"\";\n            };\n\n            if(($scope.filterName === $scope.noFilter || $scope.filterValue === $scope.noFilterValue) && !$scope.bug && !$scope.selectedUser) {\n                ReportsStore.reportsList($scope.startKey, $scope.paginator.pageSize, $scope.fullSearch, successHandler, errorHandler);\n            } else if($scope.filterName !== $scope.noFilter && $scope.filterValue !== $scope.noFilterValue){\n                ReportsStore.filteredReportsList($scope.filterName.value, $scope.filterValue.value,$scope.startKey, $scope.paginator.pageSize, $scope.fullSearch, successHandler, errorHandler);\n            } else if($scope.bug) {\n                if($scope.selectedUser) {\n                    // Filter by bug AND user\n                    var filterKey = $scope.bug.key.slice(0);\n                    filterKey.push($scope.selectedUser.installationId);\n                    ReportsStore.filteredReportsList(\"bug-by-installation-id\", filterKey, $scope.startKey, $scope.paginator.pageSize, $scope.fullSearch, successHandler, errorHandler);\n                } else {\n                    // Filter by bug only\n                    ReportsStore.filteredReportsList(\"bug\", $scope.bug.key, $scope.startKey, $scope.paginator.pageSize, $scope.fullSearch, successHandler, errorHandler);\n                }\n            } else if($scope.selectedUser) {\n                // Filter by user only\n                ReportsStore.filteredReportsList(\"installation-id\", $scope.selectedUser.installationId, $scope.startKey, $scope.paginator.pageSize, $scope.fullSearch, successHandler, errorHandler);\n            }\n        };\n\n        $scope.changeFilterValues = function() {\n\n            if($scope.filterName === $scope.noFilter) {\n                $scope.filterValue = $scope.noFilterValue;\n                $scope.filterValueSelected();\n            } else {\n                var getFilteredValues;\n                if($scope.filterName.value === \"androidver\") {\n                    getFilteredValues = ReportsStore.androidVersionsList;\n                } else if ($scope.filterName.value === \"appver\") {\n                    getFilteredValues = ReportsStore.appVersionsList;\n                }\n\n                if(getFilteredValues) {\n                    getFilteredValues(function(data){\n                        console.log(\"Update filter values\");\n                        $scope.filterValues.length = 0;\n                        $scope.filterValues.push($scope.noFilterValue);\n                        for(var row = 0; row < data.rows.length; row++) {\n                            $scope.filterValues.push({value:data.rows[row].key[0], label:data.rows[row].key[0]});\n                        }\n                        $scope.filterValues.sort();\n                    });\n                }\n            }\n        };\n\n        $scope.filterValueSelected = function() {\n            // reset pagination\n            $scope.startKey = null;\n            $scope.nextKey = null;\n            $scope.previousStartKeys.length = 0;\n            $scope.getData();\n        };\n\n        $scope.loadReport = function(report) {\n            $scope.selectedReport = ReportsStore.reportDetails(report.id, function(data) {\n                data.readableUptime = moment.duration(data.uptime, 'seconds').humanize();\n                data.formatedCrashDate = moment(data.USER_CRASH_DATE).format('LLL');\n                data.formatedTimestamp = moment(data.timestamp).format('LLL');\n            });\n        };\n\n        $scope.deleteReport = function(report) {\n            if($scope.selectedReport === report) {\n                $scope.selectedReport = \"\";\n            }\n\n            ReportsStore.deleteReport(report, function(data) {\n                var index = $scope.reports.indexOf(report);\n                $scope.reports.splice(index, 1);\n            });\n        };\n\n        if($scope.bugId) {\n            ReportsStore.getBugForId($scope.bugId, function(bug){\n                // success callback\n                $scope.bug = bug;\n                $scope.bug.editMode = false;\n                $scope.bug.toggleEditMode = function() {\n                    if($scope.bug.editMode && $scope.bug.initialDescription !== $scope.bug.value.description) {\n                        // User has modified the description and wants to save it\n                        $scope.bug.updating = true;\n                        ReportsStore.saveBug(bug, function() {\n                            $scope.bug.updating = false;\n                            $scope.bug.initialDescription = $scope.bug.value.description;\n                        });\n                    }\n                    $scope.bug.editMode = !$scope.bug.editMode;\n                };\n\n                $scope.bug.initialDescription = $scope.bug.value.description;\n                $scope.bug.revertDescription = function() {\n                    $scope.bug.value.description = $scope.bug.initialDescription;\n                };\n\n                $scope.getData();\n            });\n        } else {\n            $scope.getData();\n        }\n\n        var converter = new Showdown.converter({extensions:['github','table']});\n\n        // When description is updated, re-generate its rendered html version\n        $scope.$watch('bug.value.description', function(newValue, oldValue) {\n            if(newValue !== oldValue) {\n                $scope.bug.descriptionHtml = converter.makeHtml(newValue);\n            }\n        });\n\n\n        $scope.filterWithUser = function(user) {\n            console.log(\"Selected user:\", user);\n            $scope.selectedUser = user;\n            $scope.firstPage();\n            $scope.getData();\n        };\n\n        $scope.$on(acralyzerEvents.LOGGED_IN, $scope.getData);\n        $scope.$on(acralyzerEvents.LOGGED_OUT, $scope.getData);\n    }\n\n\n    acralyzer.controller('ReportsBrowserCtrl', [\"$scope\", \"ReportsStore\", \"$routeParams\", ReportsBrowserCtrl]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzer,window.acralyzerEvents,window.Showdown);\n"
  },
  {
    "path": "_attachments/script/app.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig, angular, $, acralyzerEvents, prettyPrint) {\n    \"use strict\";\n\n    var acralyzer = window.acralyzer = angular.module('Acralyzer', ['ui.bootstrap', 'ngResource']);\n\n    acralyzer.config(['$routeProvider', function($routeProvider) {\n        $routeProvider.\n            when('/dashboard/:app', {templateUrl: 'partials/dashboard.html',   controller: 'DashboardCtrl', activetab: \"dashboard\"}).\n            when('/reports-browser/:app', {templateUrl: 'partials/reports-browser.html', controller: 'ReportsBrowserCtrl', activetab: \"reports-browser\"}).\n            when('/reports-browser/:app/bug/:bugId', {templateUrl: 'partials/reports-browser.html', controller: 'ReportsBrowserCtrl', activetab: \"reports-browser\"}).\n            when('/reports-browser/:app/user/:installationId', {templateUrl: 'partials/reports-browser.html', controller: 'ReportsBrowserCtrl', activetab: \"reports-browser\"}).\n            when('/bugs-browser/:app', {templateUrl: 'partials/bugs-browser.html', controller: 'BugsBrowserCtrl', activetab: \"bugs-browser\"}).\n            when('/report-details/:app/:reportId', {templateUrl: 'partials/report-details.html', controller: 'ReportDetailsCtrl', activetab: \"none\"}).\n            when('/admin/:app', {templateUrl: 'partials/admin.html', controller: 'AdminCtrl', activetab: \"admin\"}).\n            otherwise({redirectTo: '/dashboard/'});\n    }]);\n\n    acralyzer.directive('prettyprint',function(){\n            return {\n                restrict: 'A',\n                link:function($scope,$element,$attr){\n                    // Persistent container for json output\n                    var $json = $('<div>');\n                    $element.prepend($json);\n\n                    $attr.$observe('prettyprint',function(value){\n\n                        var dopp = function (inspect){\n                            // Replace contents of persistent json container with new json table\n                            $json.empty();\n                            $json.append(prettyPrint(inspect, {\n                                // Config\n                                //                            maxArray: 20, // Set max for array display (default: infinity)\n                                expanded: false, // Expanded view (boolean) (default: true),\n                                maxDepth: 5, // Max member depth (when displaying objects) (default: 3)\n                                sortKeys: true,\n                                stringsWithDoubleQuotes: false,\n                                classes: {\n                                    'default': {\n                                        table: \"none\",\n                                        th: \"none\"\n                                    }\n                                }\n                            }));\n                        };\n\n                        if (value !== '') {\n                            // Register watcher on evaluated expression\n                            $scope.$watch(function watcher(){\n                                return $scope.$eval(value);\n                            },dopp,true);\n                        } else {\n                            // Watch entire scope\n                            $scope.$watch(dopp);\n                        }\n\n                    });\n                }\n            };\n        });\n\n    acralyzer.directive('reportDetails', function() {\n        return {\n            restrict: 'E',\n            scope: {\n                report: '=',\n                acralyzer: '='\n            },\n            templateUrl: 'partials/report-details.html'\n        };\n    });\n\n    acralyzer.directive('bugDetails', function() {\n        return {\n            restrict: 'E',\n            scope: {\n                bug: '=',\n                acralyzer: '='\n            },\n            templateUrl: 'partials/bug-details.html',\n            controller: ['$scope', '$element', '$attrs', '$transclude', 'ReportsStore', function($scope, $element, $attrs, $transclude, ReportsStore) {\n                console.log(\"In the controller for bugDetails with scope:\");\n                $scope.nbUsersToDisplay = 10;\n                $scope.selectedUser = {};\n                $scope.incNbUsersToDisplay = function(nb) {\n                    $scope.nbUsersToDisplay += nb;\n                };\n                $scope.selectUser = function(user) {\n                    if($scope.selectedUser.installationId !== user.installationId) {\n                        $scope.selectedUser = user;\n                        $scope.$parent.filterWithUser(user);\n                    } else {\n                        $scope.selectedUser = {};\n                        $scope.$parent.filterWithUser(null);\n                    }\n                };\n                $scope.$watch('bug', function(newValue, oldValue) {\n                    if(newValue) {\n                        $scope.users = ReportsStore.getUsersForBug(newValue);\n                    }\n                });\n            }]\n        };\n    });\n\n\n    acralyzer.directive('notificationsSupport', [function() {\n        return {\n            restrict: 'A',\n            link: function(scope,elm,attrs,controller) {\n                if (\"Notification\" in window && window.Notification.permissionLevel) {\n                    if (window.Notification.permissionLevel() === \"default\") {\n                        elm.on('click', function(ev) {\n                            window.Notification.requestPermission(function () {\n                                elm.remove();\n                            });\n                        });\n                        return;\n                    }\n                }\n                else if (window.webkitNotifications) {\n                    if (window.webkitNotifications.checkPermission() === 1) {\n                        elm.on('click', function(ev) {\n                            window.webkitNotifications.requestPermission(function () {\n                                elm.remove();\n                            });\n                        });\n                        return;\n                    }\n                }\n                /* Not allowed or not supported */\n                elm.remove();\n            }\n        };\n    }]);\n    /* http://jsfiddle.net/S8TYF/ */\n    acralyzer.directive('sameAs', function() {\n        return {\n            require: 'ngModel',\n            link: function(scope, elm, attr, ctrl) {\n                var pwdWidget = elm.inheritedData('$formController')[attr.sameAs];\n\n                ctrl.$parsers.push(function(value) {\n                    if (value === pwdWidget.$viewValue) {\n                        ctrl.$setValidity('MATCH', true);\n                        return value;\n                    }\n                    ctrl.$setValidity('MATCH', false);\n                });\n\n                pwdWidget.$parsers.push(function(value) {\n                    ctrl.$setValidity('MATCH', value === ctrl.$viewValue);\n                    return value;\n                });\n            }\n        };\n    });\n\n    /* http://jsfiddle.net/vojtajina/nycgX/ */\n    acralyzer.directive('initFocus', function() {\n        var timer;\n        return {\n            restrict: 'A',\n            link: function($scope, $element, $attr) {\n                if (timer) { clearTimeout(timer); }\n                timer = setTimeout(function() {\n                    $element.focus();\n                }, 0);\n            }\n        };\n    });\n\n    /* http://www.frangular.com/2012/12/pagination-cote-client-directive-angularjs.html */\n    acralyzer.directive('paginator', function () {\n        var pageSizeLabel = \"Page size\";\n        return {\n            priority: 0,\n            restrict: 'A',\n            scope: {items: '&'},\n            templateUrl: 'partials/paginator.html',\n            replace: false,\n            compile: function compile(tElement, tAttrs, transclude) {\n                return {\n                    pre: function preLink(scope, iElement, iAttrs, controller) {\n                        scope.pageSizeList = [15, 30, 50, 100];\n                        scope.paginator = {\n                            pageSize: 15,\n                            currentPage: 0\n                        };\n\n                        scope.isFirstPage = function () {\n                            return scope.paginator.currentPage === 0;\n                        };\n                        scope.isLastPage = function () {\n                            return scope.paginator.currentPage >= scope.items().length / scope.paginator.pageSize - 1;\n                        };\n                        scope.incPage = function () {\n                            if (!scope.isLastPage()) {\n                                scope.$parent.setNextPageAnimation();\n                                scope.paginator.currentPage++;\n                            }\n                        };\n                        scope.decPage = function () {\n                            if (!scope.isFirstPage()) {\n                                scope.$parent.setPreviousPageAnimation();\n                                scope.paginator.currentPage--;\n                            }\n                        };\n                        scope.firstPage = function () {\n                            scope.paginator.currentPage = 0;\n                        };\n                        scope.numberOfPages = function () {\n                            return Math.ceil(scope.items().length / scope.paginator.pageSize);\n                        };\n                        scope.$watch('paginator.pageSize', function(newValue, oldValue) {\n                            if (newValue !== oldValue) {\n                                scope.firstPage();\n                            }\n                        });\n\n                        // ---- Functions available in parent scope -----\n\n                        scope.$parent.firstPage = function () {\n                            scope.firstPage();\n                        };\n                        // Function that returns the reduced items list, to use in ng-repeat\n                        scope.$parent.pageItems = function () {\n                            var start = scope.paginator.currentPage * scope.paginator.pageSize;\n                            var limit = scope.paginator.pageSize;\n                            return scope.items().slice(start, start + limit);\n                        };\n\n                        scope.$parent.firstItemIndex = function() {\n                            return scope.paginator.currentPage * scope.paginator.pageSize + 1;\n                        };\n\n                        scope.$parent.lastItemIndex = function() {\n                            var nbItemsInPage = scope.paginator.pageSize;\n                            if(scope.isLastPage()) {\n                                nbItemsInPage = scope.items().length % scope.paginator.pageSize;\n                            }\n                            return scope.paginator.currentPage * scope.paginator.pageSize + nbItemsInPage;\n                        };\n                    },\n                    post: function postLink(scope, iElement, iAttrs, controller) {}\n                };\n            }\n        };\n    });\n})(window.acralyzerConfig, window.angular, window.jQuery, window.acralyzerEvents, window.prettyPrint);\n"
  },
  {
    "path": "_attachments/script/clipboard.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n\n(function(acralyzer, ZeroClipboard) {\n    \"use strict\";\n\n    acralyzer.directive(\"clipboardText\", function() {\n        return {\n            restrict: 'A',\n            link: function(scope, element, attrs) {\n                var clip = new ZeroClipboard(element, {\n                    moviePath: \"vendor/zeroclipboard/ZeroClipboard.swf\"\n                } );\n            }\n        };\n    });\n})(window.acralyzer, window.ZeroClipboard);"
  },
  {
    "path": "_attachments/script/config.js",
    "content": "(function(acralyzerConfig, undefined ) {\n    \"use strict\";\n    // Update this variable with the name of your app:\n    acralyzerConfig.defaultApp = \"\";\n    acralyzerConfig.backgroundPollingOnStartup = true;\n\n    acralyzerConfig.appDBPrefix = \"acra-\";\n\n    // Helper functions\n\n}( window.acralyzerConfig = window.acralyzerConfig || {} ));\n"
  },
  {
    "path": "_attachments/script/service.monsterid.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n\n(function(acralyzer, MonsterId) {\n    \"use strict\";\n\n    acralyzer.directive(\"monsterid\", function() {\n        return {\n            restrict: 'A',\n            link: function(scope, element, attrs) {\n                scope.element = element;\n                var drawMonster = function(monsterId) {\n                    MonsterId.getAvatar(monsterId, element[0]);\n                };\n\n                scope.$watch('element[0].offsetWidth + element[0].offsetHeight', function(newValue, oldValue){\n                    drawMonster(attrs.monsterid);\n                });\n                scope.$watch(function() {\n                    return attrs.monsterid;\n                }, function(newValue, oldValue){\n                    drawMonster(attrs.monsterid);\n                });\n                drawMonster(attrs.monsterid);\n            }\n        };\n    });\n})(window.acralyzer, window.MonsterId);"
  },
  {
    "path": "_attachments/script/service.reportsstore.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,angular,acralyzerEvents,acralyzer,hex_md5,Showdown) {\n    \"use strict\";\n\n    /**\n     * Reports storage access module.\n     *\n     * @class ReportsStore\n     * @singleton\n     * @static\n     */\n    acralyzer.factory('ReportsStore', ['$rootScope', '$http', '$resource', function($rootScope, $http, $resource) {\n        // ReportsStore service instance\n        var ReportsStore = {\n            lastseq : -1,\n            continuePolling : true,\n            dbName : \"\",\n            currentWorkerId : 0\n        };\n\n        // Markdown converter\n        var converter = new Showdown.converter({extensions:['github','table']});\n\n        /**\n        * Switch to another app, i.e. reports storage database.\n        * @param {String} newAppName The app name. The database name is determined by adding prefix set in\n        * acralyzerConfig.appDBPrefix\n        * @param {function} cb Callback to be executed after database changed.\n        */\n        ReportsStore.setApp = function (newAppName, cb) {\n            ReportsStore.dbName = acralyzerConfig.appDBPrefix + newAppName;\n            ReportsStore.views = $resource('/' + ReportsStore.dbName + '/_design/acra-storage/_view/:view');\n            ReportsStore.details = $resource('/' + ReportsStore.dbName + '/:reportid');\n            ReportsStore.bug = $resource('/' + ReportsStore.dbName + '/:bugid', { bugid: '@_id' }, { save: {method: 'PUT'}});\n            ReportsStore.dbstate = $resource('/' + ReportsStore.dbName + '/');\n            ReportsStore.changes = $resource('/' + ReportsStore.dbName + '/_changes');\n            ReportsStore.lastseq = -1;\n            cb();\n        };\n\n        /**\n        * Gets the list of available apps for which we have crash reports databases.\n        * Looks for all CouchDB databases starting with\n        * @param {function} cb Callback which will receive an array of strings (app names) as a parameter.\n        * @param {function} [errorHandler] Callback to be triggered if an error occurs.\n        */\n        ReportsStore.listApps = function(cb, errorHandler) {\n            var filterDbsCallback = function(data) {\n                var finalData = [];\n                for (var i in data) {\n                    if(data[i].indexOf(acralyzerConfig.appDBPrefix) === 0) {\n                        finalData.push(data[i].substring(acralyzerConfig.appDBPrefix.length));\n                    }\n                }\n                cb(finalData);\n            };\n            $http.get('/_all_dbs').success(filterDbsCallback).error(errorHandler);\n        };\n\n        /**\n        * Gets the number of reports per unit of time.\n        * @param {Number} grouplvl Grouping level: Year = 1, Month = 2, Day = 3, Hour = 4, Minute = 5, Second = 6.\n        * @param {function} [cb] Callback which receives the results.\n        * @param {function} [errorHandler] Called in case of error while retrieving data\n        * @return Key: date/time, Value: quantity\n        */\n        ReportsStore.reportsPerDay = function(grouplvl, cb, errorHandler) {\n            return ReportsStore.views.get({view: 'reports-per-day', group_level: grouplvl}, cb, errorHandler);\n        };\n\n\n        // 10 latest reports - Key: date/time Value: report digest\n        ReportsStore.recentReports = function(cb, errorHandler) {\n            return ReportsStore.views.get({view: 'recent-items', limit: 10, descending: true}, cb, errorHandler);\n        };\n\n        // Key: report ID Value: report digest\n        ReportsStore.reportsList = function(startKey, reportsCount, includeDocs, cb, errorHandler) {\n            var viewParams = {\n                view: 'recent-items',\n                descending: true,\n                limit: reportsCount + 1,\n                include_docs: includeDocs\n            };\n            if(startKey !== null) {\n                viewParams.startkey = '\"' + startKey + '\"';\n            }\n\n            var additionalCallback = function(data) {\n                if(data.rows && (data.rows.length > reportsCount)) {\n                    data.next_row = data.rows.splice(reportsCount,1)[0];\n                }\n                for(var row = 0; row < data.rows.length; row++) {\n                    data.rows[row].displayDate = moment(data.rows[row].key).fromNow();\n                }\n                cb(data);\n            };\n            return ReportsStore.views.get(viewParams, additionalCallback, errorHandler);\n        };\n\n        // Key: report ID Value: report digest\n        ReportsStore.filteredReportsList = function(filterName, filterValue, pageStartKey, reportsCount, includeDocs, cb, errorHandler) {\n            var viewParams = {\n                view: 'recent-items-by-' + filterName,\n                descending: true,\n                limit: reportsCount + 1,\n                include_docs: includeDocs,\n                reduce: false\n            };\n\n            if(filterName.indexOf(\"bug\") === 0) {\n                // Bugs have composite keys, already an array.\n                viewParams.endkey = JSON.stringify(filterValue);\n                var startKeyValue = filterValue.slice(0);\n                startKeyValue.push({});\n                viewParams.startkey = JSON.stringify(startKeyValue);\n            } else {\n                viewParams.endkey = JSON.stringify([filterValue]);\n                viewParams.startkey = JSON.stringify([filterValue,{}]);\n            }\n\n            if(pageStartKey !== null) {\n                viewParams.startkey = JSON.stringify(pageStartKey);\n            }\n\n            var additionalCallback = function(data) {\n                if(data.rows && (data.rows.length > reportsCount)) {\n                    data.next_row = data.rows.splice(reportsCount,1)[0];\n                }\n\n                for(var row = 0; row < data.rows.length; row++) {\n                    if(filterName === \"bug\") {\n                        data.rows[row].displayDate = moment(data.rows[row].key[3]).fromNow();\n                    } else if(filterName === \"bug-by-installation-id\") {\n                        data.rows[row].displayDate = moment(data.rows[row].key[4]).fromNow();\n                    } else {\n                        data.rows[row].displayDate = moment(data.rows[row].key[1]).fromNow();\n                    }\n                }\n\n                cb(data);\n            };\n\n            return ReportsStore.views.get(viewParams, additionalCallback, errorHandler);\n        };\n\n        // 1 full report\n        ReportsStore.reportDetails = function(id, cb) {\n            return ReportsStore.details.get({reportid: id}, cb);\n        };\n\n        ReportsStore.reportsPerFieldName = function(fieldName, cb, errorHandler) {\n            return ReportsStore.views.get({view: 'reports-per-' + fieldName, group_level: 1}, cb, errorHandler);\n        };\n\n        ReportsStore.appVersionsList = function(cb) {\n            return ReportsStore.views.get({view: 'recent-items-by-appver', group_level: 1}, cb);\n        };\n\n        ReportsStore.appVersionCodesList = function(cb) {\n            return ReportsStore.views.get({view: 'recent-items-by-appvercode', group_level: 1}, cb);\n        };\n\n        ReportsStore.androidVersionsList = function(cb) {\n            return ReportsStore.views.get({view: 'recent-items-by-androidver', group_level: 1}, cb);\n        };\n\n        // BUGS MANAGEMENT\n        var computeBugId = function(bug) {\n            if (bug.id) {\n                return bug.id;\n            } else {\n                return hex_md5(bug.key[0] + \"|\" + bug.key[1] + \"|\" + bug.key[2]);\n            }\n        };\n\n        ReportsStore.bugsList = function(cb, errorHandler) {\n            var viewParams = {\n                view: 'bugs',\n                descending: true,\n                group: true\n            };\n\n            var bugEqualityTest = function(bug2) {\n                if(this.value.latest !== bug2.value.latest ||\n                    this.value.count !== bug2.value.count ||\n                    this.value.solved !== bug2.value.solved ||\n                    this.value.description !== bug2.value.description) {\n                    return false;\n                }\n                return true;\n            };\n\n            var bugUpdate = function(bug2) {\n                if(this.value.latest !== bug2.value.latest) {\n                    this.value.latest = bug2.value.latest;\n                }\n                if(this.value.count !== bug2.value.count) {\n                    this.value.count = bug2.value.count;\n                }\n                if(this.value.solved !== bug2.value.solved) {\n                    this.value.solved = bug2.value.solved;\n                }\n                if(this.value.description !== bug2.value.description) {\n                    this.value.description = bug2.value.description;\n                }\n            };\n\n            var toggleSolved = function() {\n                var bug = this;\n                this.solvedPending = true;\n                ReportsStore.toggleSolvedBug(bug, function(data){\n                    bug.solvedPending = false;\n                });\n            };\n\n            var additionalCallback = function(data) {\n                // The bug view does not return individual documents. Unless data has been specifically updated about\n                // one bug, there is no bug document in a database. We add here the computed id of each 'virtual' bug.\n                for (var i = 0; i < data.rows.length; i++) {\n                    data.rows[i].id = computeBugId(data.rows[i]);\n                    data.rows[i].equals = bugEqualityTest;\n                    data.rows[i].updateWithBug = bugUpdate;\n                    data.rows[i].toggleSolved = toggleSolved;\n                    data.rows[i].descriptionHtml = converter.makeHtml(data.rows[i].value.description);\n                }\n                cb(data);\n            };\n\n            return ReportsStore.views.get(viewParams, additionalCallback, errorHandler);\n        };\n\n        ReportsStore.toggleSolvedBug = function(bug, callback) {\n            var curBug = ReportsStore.bug.get({ bugid: bug.id}, function() {\n                // Success callback\n                curBug.solved = ! curBug.solved;\n                var state = curBug.solved;\n                curBug.$save(function(data) {\n                    bug.value.solved = state;\n                    console.log(\"bug is now:\");\n                    console.log(bug);\n                    callback(data);\n                });\n            }, function() {\n                // Fail callback\n                curBug = new ReportsStore.bug(\n                    {\n                        _id: bug.id,\n                        APP_VERSION_CODE: bug.key[0],\n                        digest: bug.key[1],\n                        rootCause: bug.key[2],\n                        solved: true,\n                        type: \"solved_signature\"\n                    });\n                curBug.$save(function(data) {\n                    bug.value.solved = curBug.solved;\n                    callback(data);\n                });\n            });\n        };\n\n        ReportsStore.saveBug = function(bug, callback) {\n            var curBug = ReportsStore.bug.get({ bugid: bug.id}, function() {\n                curBug.description = bug.value.description;\n                curBug.$save(callback);\n            }, function() {\n                // Fail callback\n                curBug = new ReportsStore.bug(\n                    {\n                        _id: bug.id,\n                        APP_VERSION_CODE: bug.key[0],\n                        digest: bug.key[1],\n                        rootCause: bug.key[2],\n                        solved: bug.value.solved,\n                        type: \"solved_signature\",\n                        description: bug.value.description\n                    });\n                curBug.$save(callback);\n            });\n        };\n\n        ReportsStore.deleteReport = function(report, cb) {\n            var reportToDelete = ReportsStore.details.get({reportid: report.id}, function() {\n                ReportsStore.details.remove({reportid: report.id, rev: reportToDelete._rev}, cb);\n            });\n        };\n\n        /**\n         * Gets a single bug from its Id.\n         * @param bugId\n         * @param cb\n         */\n        ReportsStore.getBugForId = function(bugId, cb) {\n            var bug = {};\n            ReportsStore.bugsList(function(data) {\n                console.log(\"looking for bug with id \" + bugId);\n                for (var i = 0; i < data.rows.length; i++) {\n                    if (data.rows[i].id === bugId) {\n                        bug = data.rows[i];\n                        console.log(\"Bug found:\");\n                        console.log(bug);\n                        break;\n                    }\n                }\n                cb(bug);\n            });\n            return bug;\n        };\n\n\n        // PURGES MANAGEMENT\n\n        /**\n         * Purge all reports older than given year/month/day.\n         * @param year Year of the oldest report to keep.\n         * @param month Month of the oldest report to keep.\n         * @param day Day of the oldest report to keep.\n         * @param intermediateCallback function called when the number of reports to purge is received. The number of\n         *        reports is provided as the first function parameter.\n         * @param finalCallback Success callback (angular $http callback).\n         * @param errorHandler Failure callback (angular $http callback).\n         * @returns {*}\n         */\n        ReportsStore.purgeReportsOlderThan = function(year, month, day, intermediateCallback, finalCallback, errorHandler) {\n            var result;\n\n            // This callback purges reports that will be retrieved by the request below\n            var additionalCallback = function(data) {\n                var docsToPurge = [];\n                console.log(data.rows.length + \" reports to purge.\");\n                intermediateCallback(data.rows.length);\n                for(var i = 0; i < data.rows.length; i++) {\n                    var doc = { _id: data.rows[i].id, _rev: data.rows[i].value };\n                    doc._deleted = true;\n                    docsToPurge.push(doc);\n                    console.log(doc);\n                }\n                console.log(\"Deleting \" + docsToPurge.length + \"reports.\");\n                $http.post(\"/\" + ReportsStore.dbName + \"/_bulk_docs\", { docs: docsToPurge })\n                    .success(finalCallback);\n            };\n\n            // Fetch old reports to purge them via the previously defined callback\n            result = ReportsStore.views.get({\n                    view: 'reports-revision-per-day',\n                    startkey: '[' + year + ',' + month + ',' + day + ']',\n                    descending: true\n                },\n                additionalCallback, errorHandler);\n            return result;\n        };\n\n        /**\n         * Purge all reports from app older than given version code.\n         * @param version Application version code\n         * @param intermediateCallback function called when the number of reports to purge is received. The number of\n         *        reports is provided as the first function parameter.\n         * @param finalCallback Success callback (angular $http callback).\n         * @param errorHandler Failure callback (angular $http callback).\n         * @returns {*}\n         */\n        ReportsStore.purgeReportsFromAppVersionCodeAndBelow = function(version, intermediateCallback, finalCallback, errorHandler) {\n            var result;\n\n            // This callback purges reports that will be retrieved by the request below\n            var additionalCallback = function(data) {\n                var docsToPurge = [];\n                console.log(data.rows.length + \" reports to purge.\");\n                intermediateCallback(data.rows.length);\n                for(var i = 0; i < data.rows.length; i++) {\n                    var doc = { _id: data.rows[i].id, _rev: data.rows[i].value };\n                    doc._deleted = true;\n                    docsToPurge.push(doc);\n                    console.log(doc);\n                }\n                console.log(\"Deleting \" + docsToPurge.length + \"reports.\");\n                $http.post(\"/\" + ReportsStore.dbName + \"/_bulk_docs\", { docs: docsToPurge })\n                    .success(finalCallback);\n            };\n\n            // Fetch old reports to purge them via the previously defined callback\n            result = ReportsStore.views.get({\n                    view: 'reports-revision-per-app-version-code',\n                    endkey: version\n                },\n                additionalCallback, errorHandler);\n            return result;\n        };\n\n        // BACKGROUND POLLING MANAGEMENT\n\n        /**\n         * Background polling worker method. If new data is received, the provided callback is executed. Otherwise,\n         * if polling is still ok for this worker, immediately start a new request.\n         * @private\n         * @param {Function} cb Callback to execute when new data is received.\n         * @param {Number} workerId The\n         */\n        ReportsStore.pollChanges = function(cb, workerId) {\n            console.log(\"Polling changes since = \" + ReportsStore.lastseq + \" (worker \" + workerId + \")\");\n            // Store the current dbName on polling start\n            var currentlyPolledDB = ReportsStore.dbName;\n            ReportsStore.changes.get(\n                {feed:'longpoll', since: ReportsStore.lastseq, include_docs: true},\n                function(data){\n                    if(data.last_seq > ReportsStore.lastseq) {\n                        // If the user asked to stop polling or changed DataBase, don't handle the result.\n                        if(ReportsStore.continuePolling && ReportsStore.dbName === currentlyPolledDB && workerId === ReportsStore.currentWorkerId) {\n                            console.log(\"New changes (worker \" + workerId + \")\");\n                            cb(data);\n                            ReportsStore.lastseq = data.last_seq;\n                        }\n                    }\n                    if(ReportsStore.continuePolling  && ReportsStore.dbName === currentlyPolledDB && workerId === ReportsStore.currentWorkerId) {\n                        console.log(\"worker \" + workerId + \" continues\");\n                        ReportsStore.pollChanges(cb, workerId);\n                    } else {\n                        console.log(\"worker \" + workerId + \" stops\");\n                    }\n                },\n                function() {\n                    console.log(\"Error while polling changes\");\n                    if(ReportsStore.continuePolling) {\n                        ReportsStore.pollChanges(cb);\n                    }\n                }\n            );\n        };\n\n        /**\n         * Initiates a new background polling worker.\n         * @param {function} cb Callback to execute when new data is received.\n         */\n        ReportsStore.startPolling = function(cb) {\n            // Just in case the app has not been initialized yet.\n            if (ReportsStore.dbstate) {\n                ReportsStore.dbstate.get(\n                    {},\n                    // Success\n                    function(data) {\n                        if(ReportsStore.lastseq === -1) {\n                            ReportsStore.lastseq = data.update_seq;\n                        }\n                        console.log(\"DB status retrieved, last_seq = \" + ReportsStore.lastseq);\n                        ReportsStore.continuePolling = true;\n                        ReportsStore.currentWorkerId++;\n                        ReportsStore.pollChanges(cb, ReportsStore.currentWorkerId);\n                    },\n                    // Error\n                    function() {\n                        ReportsStore.continuePolling = false;\n                        $rootScope.$broadcast(acralyzerEvents.POLLING_FAILED);\n                        console.log(\"Polling failed\");\n                    }\n                );\n            }\n        };\n\n        ReportsStore.stopPolling = function() {\n            console.log(\"STOP POLLING !\");\n            ReportsStore.continuePolling = false;\n        };\n\n\n        ReportsStore.getUsersForBug = function(bug, cb) {\n            var viewParams = {\n                view: 'users-per-bug',\n                reduce: true,\n                group_level: 4\n            };\n\n            viewParams.startkey = JSON.stringify([bug.key[0], bug.key[1], bug.key[2]]);\n            viewParams.endkey = JSON.stringify([bug.key[0], bug.key[1], bug.key[2], {}]);\n            var result = [];\n            ReportsStore.views.get(viewParams,function(data) {\n                for(var row = 0; row < data.rows.length; row++) {\n                    var user = {\n                        installationId: data.rows[row].key[3],\n                        reportsCount: data.rows[row].value\n                    };\n                    result.push(user);\n                }\n                if(cb) {\n                    cb(result);\n                }\n            });\n            return result;\n        };\n\n        return ReportsStore;\n    }]);\n\n})(window.acralyzerConfig,window.angular,window.acralyzerEvents,window.acralyzer,window.hex_md5,window.Showdown);\n"
  },
  {
    "path": "_attachments/script/service.user.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,acralyzer,acralyzerEvents,$,location,hex_sha1) {\n    \"use strict\";\n    /**\n    * Couchdb user service\n    *\n    * @class user\n    * @singleton\n    * @static\n    */\n    acralyzer.service('$user', ['$rootScope', '$q', '$resource', '$http', function($rootScope, $q, $resource, $http) {\n        var SessionResource = $resource('/_session');\n        var UserResource;\n        var acralyzerDbName = location.pathname.split(\"/\")[1];\n        var PreferencesResource = $resource(\"/\" + acralyzerDbName + \"/org.couchdb.user\\\\::name\",\n            {'name':'@name'},\n            {'save': { method: 'PUT' }}\n        );\n\n        var _hasAdminPath;\n        var _session;\n\n        /*\n         * Resets the user object back to the default state\n         * @method reset\n         */\n        var _reset = function($user) {\n            /** \n             * Username of current logged in user\n             *\n             * @property {String} username\n             * @type String\n             * @readOnly\n             */\n            $user.username = null;\n            /**\n             * Is current user an admin\n             *\n             * @property {Boolean} isAdmin\n             * @type Boolean\n             * @readOnly\n             */\n            $user.isAdmin = false;\n            /**\n             * Current users roles (as object)\n             *\n             * @property {Object} roles\n             * @type Object\n             * @readOnly\n             */\n            $user.roles = {};\n        };\n\n\n        /*\n         * Updates the session of the current user \n         *\n         * @private\n         * @method _processSession\n         * @param {Promise} deferred Promise to update when completed\n         */\n        var _processSession = function(data) {\n            if (!data) {\n                return _reset($user);\n            }\n            if (!UserResource)\n            {\n                UserResource = $resource(\n                    '/' + data.info.authentication_db + '/org.couchdb.user\\\\::name',\n                    {'name':'@name'},\n                    {'save': { method: 'PUT' } }\n                );\n            }\n            /* Grab user session after login */\n            var userCtx = data.userCtx;\n            $user.roles = {};\n            userCtx.roles.forEach(function(role) {\n                $user.roles[role] = 1;\n            });\n            $user.isAdmin = ($user.roles['_admin'] === 1);\n            $user.username = userCtx.name;\n            if ($user.username) {\n                /* Load preferences for this user on this acralyzer db instance */\n                PreferencesResource.get({\n                    name: $user.username\n                }, function(prefs){\n                    if(prefs.defaultApp) {\n                        console.log(\"Setting default app for current user to: \", prefs.defaultApp);\n                        acralyzerConfig.defaultApp = prefs.defaultApp;\n                        console.log(\"Broadcasting LOGGED_IN\");\n                        $rootScope.$broadcast(acralyzerEvents.LOGGED_IN, $user);\n                    }\n                }, function() {\n                    // No preferences for current user, log in anyway.\n                    console.log(\"Broadcasting LOGGED_IN\");\n                    $rootScope.$broadcast(acralyzerEvents.LOGGED_IN, $user);\n                });\n            } else {\n                $rootScope.$broadcast(acralyzerEvents.LOGGED_OUT, $user);\n            }\n            $rootScope.$broadcast(acralyzerEvents.LOGIN_CHANGE, $user);\n\n            /* Does this box support changing admin passwords */\n            if ($user.username && $user.isAdmin && _hasAdminPath === undefined)\n            {\n                $http.get('/_config/admins/' + $user.username)\n                .success(function(data, status, headers, config) {\n                    if (data.match(/^\"-hashed-/)) {\n                        _hasAdminPath = true;\n                    } else {\n                        _hasAdminPath = false;\n                    }\n                }).error(function(data, status, headers, config) {\n                    _hasAdminPath = false;\n                });\n            }\n        };\n\n        var $user = this;\n        /**\n        * Logs in the user.\n        *\n        * @method login\n        * @param {String} username Username to log in with\n        * @param {String} password Password to log in username with\n        *\n        * @return {Promise} Promise for completion of login\n        */\n        $user.login = function(username, password) {\n            var deferred = $q.defer();\n            var data = {\n                name: username,\n                password: password\n            };\n            /* Disabled until 1.1 is stable as older couch needs x-www-form-urlencoded\n             * https://github.com/angular/angular.js/issues/736\n            var newSession = new SessionResource(data);\n            */\n            var _newSessionPromise = $http.post(\n                '/_session',\n                $.param(data),\n                {\n                    headers: {\n                        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'\n                    }\n                }\n            );\n            _newSessionPromise.then(function(sess) {\n                /* Apparently admin user doesn't return the ctx properly, so lets fetch it */\n                _session = SessionResource.get({}, function(a) {\n                    /* success */\n                    _processSession(a);\n                    deferred.resolve($user);\n                });\n            }, function($http) {\n                deferred.reject();\n            });\n            return deferred.promise;\n        };\n\n        /**\n        * Changes the password of the currently logged in user\n        *\n        * Side effect: logs out user\n        *\n        * @method changePassword\n        * @param {String} password New Password for the user\n        *\n        * @return {Promise} Promise for completion of change password\n        */\n        $user.changePassword = function(password) {\n            var deferred = $q.defer();\n            if (!password) {\n                deferred.reject(\"Missing password\");\n                return deferred.promise;\n            }\n\n            if ($user.isAdmin && _hasAdminPath === true) {\n                $http.put('/_config/admins/'+$user.username, JSON.stringify(password))\n                .success(function() {\n                    $user.logout();\n                    deferred.resolve();\n                })\n                .error(function() {\n                    deferred.reject(/* data.reason */);\n                });\n                return deferred.promise;\n            }\n            UserResource.get({ 'name': $user.username }, function(user) {\n                user.password = password;\n                user.$save(\n                    function() {\n                        $rootScope.$broadcast(acralyzerEvents.USER_PASSWORD_CHANGE, $user);\n                        $rootScope.$broadcast(acralyzerEvents.LOGIN_CHANGE, $user);\n                        $user.logout();\n                        deferred.resolve();\n                    },\n                    function() {\n                        console.log(arguments);\n                        deferred.reject();\n                    }\n                );\n            });\n            return deferred.promise;\n        };\n\n        /**\n        * Logout the current user\n        *\n        * @method logout\n        * @return {Promise} Promise for completion of logout\n        */\n        $user.logout = function() {\n            var deferred = $q.defer();\n            _session.$delete(function() {\n                _reset($user);\n                $rootScope.$broadcast(acralyzerEvents.LOGGED_OUT, $user);\n                $rootScope.$broadcast(acralyzerEvents.LOGIN_CHANGE, $user);\n                deferred.resolve($user);\n            }, function() {\n                deferred.reject();\n            });\n            return deferred.promise;\n        };\n\n        /**\n         * Does this install support changing passwords?\n         *\n         * @method canChangePassword\n         * @return {Boolean} True if system can support changing password\n         */\n        $user.canChangePassword = function() {\n            if ($user.isAdmin && !_hasAdminPath) {\n                return false;\n            }\n            return true;\n        };\n\n        /**\n         * Is the current logged in user a 'reader'\n         *\n         * @method isReader\n         * @return {Boolean} True if user is allowed to read data\n         */\n        $user.isReader = function() {\n            if ($user.isAdmin || $user.roles.reader) {\n                return true;\n            }\n            return false;\n        };\n\n        $user.updatePreferences = function(prefs, callback, errorcallback) {\n            console.log(\"Store preferences \", prefs, \" for user \", $user, \" in database \" + acralyzerDbName);\n            var curPrefs = PreferencesResource.get({ name: $user.username}, function() {\n                for(var pref in prefs) {\n                    curPrefs[pref] = prefs[pref];\n                }\n                curPrefs.$save(callback, errorcallback);\n            }, function() {\n                // Fail callback\n                curPrefs = new PreferencesResource(\n                    {\n                        name: $user.username\n                    }\n                );\n                for(var pref in prefs) {\n                    curPrefs[pref] = prefs[pref];\n                }\n                curPrefs.$save(callback, errorcallback);\n            });\n        };\n\n        /**\n         * Try to login using current cookies.\n         */\n        $user.init = function() {\n            /* Initialize all the variables */\n            _reset($user);\n\n            /* First time we grab our session from couchdb */\n            _session = SessionResource.get({}, function(a) {\n                /* success */\n                _processSession(a);\n            }, function() {\n                alert('Unable to connect to couchdb');\n                /* failure */\n            });\n        };\n\n        /**\n         * Create a new Reporter user (with roles \"reader\" and \"reporter\"), with support for all CouchDB versions.\n         * @param login\n         * @param password\n         * @param successCallback\n         * @param errorCallback\n         */\n        $user.addReporterUser = function(login, password, successCallback, errorCallback) {\n            console.log(\"Create user \" , login, password);\n\n            var userData = {\n                name: login,\n                roles: [ 'reporter', 'reader' ],\n                type: 'user'\n            };\n\n            if(acralyzer.createUsersWithHash) {\n                userData.salt = Math.random().toString(36).substring(2);\n                userData.password_sha = hex_sha1(password + userData.salt);\n            } else {\n                userData.password = password;\n            }\n\n            $http(\n                {\n                    method: 'PUT',\n                    url: '/_users/org.couchdb.user:' + login,\n                    data: userData\n                }\n            ).success(\n                function(data, status, headers, config) {\n                    if(successCallback){\n                        successCallback();\n                    }\n                }\n            ).error(\n                function(data, status, headers, config) {\n                    if(errorCallback) {\n                        errorCallback();\n                    }\n                }\n            );\n        };\n\n        return $user;\n    }]);\n\n})(window.acralyzerConfig, window.acralyzer, window.acralyzerEvents, window.jQuery, window.location, window.hex_sha1);\n"
  },
  {
    "path": "_attachments/script/services.js",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n(function(acralyzerConfig,acralyzer,$) {\n    \"use strict\";\n\n    acralyzer.factory('$notify', ['$timeout', function($timeout) {\n        var ret = {};\n        ret._alerts = [\n        ];\n\n        var desktopNotifyAllowed, desktopNotifyObject;\n        /* data is an object with 'title', 'body' and optional 'icon' keys */\n        if (\"Notification\" in window && window.Notification.permissionLevel) {\n            desktopNotifyAllowed = function() { return window.Notification.permissionLevel() === \"granted\"; };\n            desktopNotifyObject = function(data) { return new window.Notification(data.title, data); };\n        }\n        else if (window.webkitNotifications) {\n            /* 0 = allowed, 1 = not allowed, 2 = denied */\n            desktopNotifyAllowed = function() { return window.webkitNotifications.checkPermission() === 0; };\n            desktopNotifyObject = function(data) { return new window.Notification(data.title, data); };\n        }\n\n        ret.desktop = function(data) {\n            if (!desktopNotifyAllowed()) { return; }\n\n            var timeout = data.timeout;\n            var notif = desktopNotifyObject(data);\n            /* undefined == not passed in */\n            if (timeout === undefined) { timeout = 10000; }\n            if (timeout > 0) {\n                notif.onshow = function() {\n                    setTimeout(function(){\n                        notif.close();\n                    }, timeout);\n                };\n            }\n            notif.show();\n        };\n\n        ['fatal','info','error','success','warning'].forEach(function(key) {\n            ret[key] = function(data) {\n                if (data.desktop) {\n                    ret.desktop(data);\n                }\n                var alert = { type: key, msg: data.body };\n                ret._alerts.push(alert);\n                if (data.timeout > 0) {\n                    $timeout(function() {\n                        var index = ret._alerts.indexOf(alert);\n                        ret._alerts.splice(index,1);\n                    },data.timeout);\n                }\n            };\n        });\n\n        ret.remove = function(index) {\n            ret._alerts.splice(index,1);\n        };\n\n        return ret;\n\n    }]);\n})(window.acralyzerConfig,window.acralyzer, window.jQuery);\n"
  },
  {
    "path": "_attachments/style/animations.css",
    "content": "\n/* Fade in/out */\n.fade-enter-setup,\n.fade-leave-setup {\n    -webkit-transition:all linear 0.5s;\n    -moz-transition:all linear 0.5s;\n    -ms-transition:all linear 0.5s;\n    -o-transition:all linear 0.5s;\n    transition:all linear 0.5s;\n}\n\n.fade-enter-setup {\n    opacity:0;\n}\n.fade-enter-start {\n    opacity:1;\n}\n.fade-enter-setup.fade-enter-start { }\n\n.fade-leave-setup {\n    opacity:1;\n}\n.fade-leave-start {\n    opacity:0;\n}\n\n.fade-leave-setup.fade-leave-start { }\n\n/* Next page */\n.nextpage-enter-setup,\n.nextpage-leave-setup {\n    -webkit-transition:all linear 0.5s;\n    -moz-transition:all linear 0.5s;\n    -ms-transition:all linear 0.5s;\n    -o-transition:all linear 0.5s;\n    transition:all linear 0.5s;\n}\n\n.nextpage-enter-setup {\n    opacity:0;\n    -webkit-transform: translateX(300px);\n}\n.nextpage-enter-start {\n    opacity:1;\n    -webkit-transform: translateX(0);\n}\n.nextpage-enter-setup.nextpage-enter-start { }\n\n.nextpage-leave-setup {\n    opacity:1;\n    -webkit-transform: translateX(0);\n}\n.nextpage-leave-start {\n    opacity:0;\n    -webkit-transform: translateX(-300px);\n}\n\n.nextpage-leave-setup.nextpage-leave-start { }\n\n/* Previous page */\n.previouspage-enter-setup,\n.previouspage-leave-setup {\n    -webkit-transition:all linear 0.5s;\n    -moz-transition:all linear 0.5s;\n    -ms-transition:all linear 0.5s;\n    -o-transition:all linear 0.5s;\n    transition:all linear 0.5s;\n}\n\n.previouspage-enter-setup {\n    opacity:0;\n    -webkit-transform: translateX(-300px);\n}\n.previouspage-enter-start {\n    opacity:1;\n    -webkit-transform: translateX(0);\n}\n.previouspage-enter-setup.previouspage-enter-start { }\n\n.previouspage-leave-setup {\n    opacity:1;\n    -webkit-transform: translateX(0);\n}\n.previouspage-leave-start {\n    opacity:0;\n    -webkit-transform: translateX(300px);\n}\n\n.previouspage-leave-setup.previouspage-leave-start { }\n\n/* grow/shrink */\n.grow-setup,\n.shrink-setup {\n    -webkit-transition:all linear 0.2s;\n    -moz-transition:all linear 0.2s;\n    -ms-transition:all linear 0.2s;\n    -o-transition:all linear 0.2s;\n    transition:all linear 0.2s;\n}\n\n.grow-setup {\n    opacity:0;\n    -webkit-transform: scaleY(0);\n}\n.grow-start {\n    opacity:1;\n    -webkit-transform: scaleY(1);\n}\n.grow-setup.grow-start { }\n\n.shrink-setup {\n    opacity:1;\n    -webkit-transform: scaleY(1);\n}\n.shrink-start {\n    opacity:0;\n    -webkit-transform: scaleY(0);\n}\n\n.shrink-setup.shrink-start { }\n\n/* From top */\n.fromtop-enter-setup,\n.fromtop-leave-setup {\n    -webkit-transition:all linear 0.5s;\n    -moz-transition:all linear 0.5s;\n    -ms-transition:all linear 0.5s;\n    -o-transition:all linear 0.5s;\n    transition:all linear 0.5s;\n}\n\n.fromtop-enter-setup {\n    opacity:0;\n    -webkit-transform: translateY(-300px);\n}\n.fromtop-enter-start {\n    opacity:1;\n    -webkit-transform: translateY(0);\n}\n.fromtop-enter-setup.fromtop-enter-start { }\n\n.fromtop-leave-setup {\n    opacity:1;\n    -webkit-transform: translateY(0);\n}\n.fromtop-leave-start {\n    opacity:0;\n    -webkit-transform: translateY(300px);\n}\n\n.fromtop-leave-setup.fromtop-leave-start { }\n"
  },
  {
    "path": "_attachments/style/graph.css",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n\n#graph-container rect {\n\tstroke: blue;\n\tfill: blue;\n}\n\n#graph-container .xaxis path,\n#graph-container .xaxis line,\n#graph-container .yaxis path,\n#graph-container .yaxis line {\n    fill: none;\n    stroke: black;\n    stroke-width:2;\n    shape-rendering: crispEdges;\n}\n\n#graph-container .axis text {\n    font-family: sans-serif;\n    font-size: 11px;\n}\n\n/*#graph-container rect.enter {\n\tstroke:green;\n\tfill:green;\n}\n#graph-container rect.exit {\n\tstroke:red;\n\tfill:red;\n}\n*/\n\n#graph-container svg {\n\twidth: 100%;\n\tmargin: 0 auto;\n}\n\n#graph-container text {\n\tfont-size: 0.8em;\n}\n\n\n.slice {\n    font-size: 1em;\n    font-family: sans-serif;\n    fill: white; /*svg specific - instead of color*/\n    font-weight: bold;\n}\n\n"
  },
  {
    "path": "_attachments/style/main.css",
    "content": "/*\n Copyright 2013 Kevin Gaudin (kevin.gaudin@gmail.com)\n\n This file is part of Acralyzer.\n\n Acralyzer is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n Acralyzer is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with Acralyzer.  If not, see <http://www.gnu.org/licenses/>.\n */\n\nbody {\n  font:1em Helvetica, sans-serif;\n  padding-top: 55px;\n}\n\n@media (max-width: 979px) {\n    body {\n        padding-top: 0;\n    }\n}\n\n.navbar-fixed-top .navbar-inner {\n    padding-left: 20px;\n    padding-right: 20px;\n}\n\n.navbar .brand {\n    padding-bottom: 0;\n    padding-left: 50px;\n    padding-top: 8px;\n    height: 32px;\n    background: url(../img/logo.png) 10px 3px no-repeat;\n}\n\n#profile {\n  border:4px solid #edd;\n  background:#fee;\n  padding:8px;\n  margin-bottom:8px;\n}\n\n\n#graph-container, #pie-charts {\n  height: 400px;\n}\n\n#graph-container, #pie-charts {\n  border-radius: 0.5em;\n  border: solid 1px #aaa;\n  display: block;\n  text-align: center;\n}\n\n#content {\n    border-radius: 0.5em;\n    border: solid 1px #aaa;\n    margin-top: 1.5em;\n    padding: 1em;\n}\n\n.report-details table {\n    width: auto;\n}\n\n.report-details thead{\n    display: none;\n}\n\n.report-details td {\n    overflow: auto;\n    margin: 0;\n    padding: 0;\n    background-color: #fff;\n}\n\n.report-details td:first-child,\ntable th {\n    text-shadow: 0 1px 0 #ffffff;\n    background-color: #eeeeee;\n    border: 1px solid #ccc;\n    padding: 0 0.5em;\n    font-weight: bold;\n}\n\ntable td {\n    border: 1px solid #ccc;\n    padding: 0 0.5em;\n    background-color: #fff;\n}\n\n.report-details td table tr:first-child td {\n    border-top: 0;\n}\n\n.report-details td table tr:last-child td {\n    border-bottom: 0;\n}\n\n.report-details td table td:first-child {\n    border-left: 0;\n}\n\n.stacktrace {\n    background-color: #f5f5f5;\n    font-family: Monaco,Menlo,Consolas,\"Courier New\",monospace;\n    overflow-x: auto;\n    font-size: 0.8em;\n}\n\n.stacktrace ul {\n    margin: 0;\n}\n\n.stacktrace li {\n    word-break: break-all;\n    word-wrap: break-word;\n    white-space: pre-wrap;\n}\n\n.nobr {\n    white-space: nowrap;\n}\n\n.loader {\n    text-align: center;\n    margin: 10em auto;\n}\n\n#reports-list li>div.odd {\n    background-color: #f9f9f9;\n}\n\n#reports-list li>div.even {\n    background-color: #fff;\n}\n\n.actions a:hover {\n    text-decoration: none;\n}\n\n.actions a {\n    cursor: pointer;\n}\n\n/* Footer\n-------------------------------------------------- */\n\n.footer {\n    text-align: center;\n    font-size: 0.8em;\n    padding: 30px 0;\n    margin-top: 80px;\n    border-top: 1px solid #e5e5e5;\n    background-color: #f5f5f5;\n}\n.footer p {\n    margin-bottom: 0;\n    color: #777;\n}\n.footer-links {\n    margin: 10px 0;\n}\n.footer-links li {\n    display: inline;\n    padding: 0 2px;\n}\n.footer-links li:first-child {\n    padding-left: 0;\n}\n\n.rss, .direct-link {\n    float: right;\n}\n\n.polling-indicator {\n    margin-top: 16px;\n}\n\n.notifications{position:fixed;}\n.notifications.top-right{right:10px;top:45px;}\n\nreport-summary .label-androidversion {\n    padding-left: 18px;\n    background: #468847 url(../img/bugdroid-white.png) no-repeat 1px 1px;\n}\n\n\n.div-table{\n    display:table;\n    border-spacing: 0.3em;\n}\n.div-table-row{\n    display:table-row;\n}\n.div-table-row:nth-child(even) {\n    background-color: #f9f9f9;\n}\n\n.div-table-cell {\n    display: table-cell;\n    padding: 0.1em 0.3em;\n    text-align: center;\n    vertical-align: middle;\n}\n\n.div-table-row.header .div-table-cell {\n    white-space: nowrap;\n}\n\n.div-table-cell.exceptions {\n    text-align: left;\n}\n\n.div-table-cell.actions {\n    white-space: nowrap;\n    text-align: right;\n}\n\n.icon-bugdroid {\n    background-image: url(../img/bugdroid-black14.png);\n    background-position: 0px;\n}\n\n.icon-phone {\n    background-image: url(../img/device-black.png);\n    background-position: 0px;\n}\n\n.icon-bug-unsolved {\n    background-image: url(../img/bug.png);\n    background-position: 0px;\n}\n\n.icon-bug-unsolved:hover, .icon-bug-solved:hover {\n    background-image: url(../img/bug-rollover.png);\n    background-position: 0px;\n}\n\n.icon-bug-solved {\n    background-image: url(../img/bug-solved.png);\n    background-position: 0px;\n}\n\nbug-details textarea {\n    width: 90%;\n    height: 5em;\n    background-color: #f7f7f7;\n    margin-bottom: 0;\n}\n\nbug-details small {\n    font-size: 80%;\n    color: #aaaaaa;\n    font-style: italic;\n}\n\nbug-details a, bug-details a:hover {\n    color: #888888;\n}\n\n.bugs .tooltip-inner {\n    text-align: left;\n    color: #222222;\n    background-color: #f7f7f7;\n    border-color: #888888;\n    border-style: solid;\n    border-width: 1px;\n    max-width: none;\n}\n\n.bugs .tooltip.right .tooltip-arrow {\n    border-right-color: #888888;\n}\n\n.bugs .tooltip.in {\n    opacity: 0.95;\n}\n\n.paginator {\n    margin-bottom: 1em;\n}\n\n.affected-user {\n    margin: 3px;\n}\n\n.avatar {\n    height: 32px;\n    width: 32px;\n}\n\n.reports-table .avatar {\n    height: 24px;\n    width: 24px;\n}\n\n"
  },
  {
    "path": "_attachments/vendor/bootstrap/css/bootstrap-responsive.css",
    "content": "/*!\n * Bootstrap Responsive v2.3.1\n *\n * Copyright 2012 Twitter, Inc\n * Licensed under the Apache License v2.0\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Designed and built with all the love in the world @twitter by @mdo and @fat.\n */\n\n.clearfix {\n  *zoom: 1;\n}\n\n.clearfix:before,\n.clearfix:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.clearfix:after {\n  clear: both;\n}\n\n.hide-text {\n  font: 0/0 a;\n  color: transparent;\n  text-shadow: none;\n  background-color: transparent;\n  border: 0;\n}\n\n.input-block-level {\n  display: block;\n  width: 100%;\n  min-height: 30px;\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\n@-ms-viewport {\n  width: device-width;\n}\n\n.hidden {\n  display: none;\n  visibility: hidden;\n}\n\n.visible-phone {\n  display: none !important;\n}\n\n.visible-tablet {\n  display: none !important;\n}\n\n.hidden-desktop {\n  display: none !important;\n}\n\n.visible-desktop {\n  display: inherit !important;\n}\n\n@media (min-width: 768px) and (max-width: 979px) {\n  .hidden-desktop {\n    display: inherit !important;\n  }\n  .visible-desktop {\n    display: none !important ;\n  }\n  .visible-tablet {\n    display: inherit !important;\n  }\n  .hidden-tablet {\n    display: none !important;\n  }\n}\n\n@media (max-width: 767px) {\n  .hidden-desktop {\n    display: inherit !important;\n  }\n  .visible-desktop {\n    display: none !important;\n  }\n  .visible-phone {\n    display: inherit !important;\n  }\n  .hidden-phone {\n    display: none !important;\n  }\n}\n\n.visible-print {\n  display: none !important;\n}\n\n@media print {\n  .visible-print {\n    display: inherit !important;\n  }\n  .hidden-print {\n    display: none !important;\n  }\n}\n\n@media (min-width: 1200px) {\n  .row {\n    margin-left: -30px;\n    *zoom: 1;\n  }\n  .row:before,\n  .row:after {\n    display: table;\n    line-height: 0;\n    content: \"\";\n  }\n  .row:after {\n    clear: both;\n  }\n  [class*=\"span\"] {\n    float: left;\n    min-height: 1px;\n    margin-left: 30px;\n  }\n  .container,\n  .navbar-static-top .container,\n  .navbar-fixed-top .container,\n  .navbar-fixed-bottom .container {\n    width: 1170px;\n  }\n  .span12 {\n    width: 1170px;\n  }\n  .span11 {\n    width: 1070px;\n  }\n  .span10 {\n    width: 970px;\n  }\n  .span9 {\n    width: 870px;\n  }\n  .span8 {\n    width: 770px;\n  }\n  .span7 {\n    width: 670px;\n  }\n  .span6 {\n    width: 570px;\n  }\n  .span5 {\n    width: 470px;\n  }\n  .span4 {\n    width: 370px;\n  }\n  .span3 {\n    width: 270px;\n  }\n  .span2 {\n    width: 170px;\n  }\n  .span1 {\n    width: 70px;\n  }\n  .offset12 {\n    margin-left: 1230px;\n  }\n  .offset11 {\n    margin-left: 1130px;\n  }\n  .offset10 {\n    margin-left: 1030px;\n  }\n  .offset9 {\n    margin-left: 930px;\n  }\n  .offset8 {\n    margin-left: 830px;\n  }\n  .offset7 {\n    margin-left: 730px;\n  }\n  .offset6 {\n    margin-left: 630px;\n  }\n  .offset5 {\n    margin-left: 530px;\n  }\n  .offset4 {\n    margin-left: 430px;\n  }\n  .offset3 {\n    margin-left: 330px;\n  }\n  .offset2 {\n    margin-left: 230px;\n  }\n  .offset1 {\n    margin-left: 130px;\n  }\n  .row-fluid {\n    width: 100%;\n    *zoom: 1;\n  }\n  .row-fluid:before,\n  .row-fluid:after {\n    display: table;\n    line-height: 0;\n    content: \"\";\n  }\n  .row-fluid:after {\n    clear: both;\n  }\n  .row-fluid [class*=\"span\"] {\n    display: block;\n    float: left;\n    width: 100%;\n    min-height: 30px;\n    margin-left: 2.564102564102564%;\n    *margin-left: 2.5109110747408616%;\n    -webkit-box-sizing: border-box;\n       -moz-box-sizing: border-box;\n            box-sizing: border-box;\n  }\n  .row-fluid [class*=\"span\"]:first-child {\n    margin-left: 0;\n  }\n  .row-fluid .controls-row [class*=\"span\"] + [class*=\"span\"] {\n    margin-left: 2.564102564102564%;\n  }\n  .row-fluid .span12 {\n    width: 100%;\n    *width: 99.94680851063829%;\n  }\n  .row-fluid .span11 {\n    width: 91.45299145299145%;\n    *width: 91.39979996362975%;\n  }\n  .row-fluid .span10 {\n    width: 82.90598290598291%;\n    *width: 82.8527914166212%;\n  }\n  .row-fluid .span9 {\n    width: 74.35897435897436%;\n    *width: 74.30578286961266%;\n  }\n  .row-fluid .span8 {\n    width: 65.81196581196582%;\n    *width: 65.75877432260411%;\n  }\n  .row-fluid .span7 {\n    width: 57.26495726495726%;\n    *width: 57.21176577559556%;\n  }\n  .row-fluid .span6 {\n    width: 48.717948717948715%;\n    *width: 48.664757228587014%;\n  }\n  .row-fluid .span5 {\n    width: 40.17094017094017%;\n    *width: 40.11774868157847%;\n  }\n  .row-fluid .span4 {\n    width: 31.623931623931625%;\n    *width: 31.570740134569924%;\n  }\n  .row-fluid .span3 {\n    width: 23.076923076923077%;\n    *width: 23.023731587561375%;\n  }\n  .row-fluid .span2 {\n    width: 14.52991452991453%;\n    *width: 14.476723040552828%;\n  }\n  .row-fluid .span1 {\n    width: 5.982905982905983%;\n    *width: 5.929714493544281%;\n  }\n  .row-fluid .offset12 {\n    margin-left: 105.12820512820512%;\n    *margin-left: 105.02182214948171%;\n  }\n  .row-fluid .offset12:first-child {\n    margin-left: 102.56410256410257%;\n    *margin-left: 102.45771958537915%;\n  }\n  .row-fluid .offset11 {\n    margin-left: 96.58119658119658%;\n    *margin-left: 96.47481360247316%;\n  }\n  .row-fluid .offset11:first-child {\n    margin-left: 94.01709401709402%;\n    *margin-left: 93.91071103837061%;\n  }\n  .row-fluid .offset10 {\n    margin-left: 88.03418803418803%;\n    *margin-left: 87.92780505546462%;\n  }\n  .row-fluid .offset10:first-child {\n    margin-left: 85.47008547008548%;\n    *margin-left: 85.36370249136206%;\n  }\n  .row-fluid .offset9 {\n    margin-left: 79.48717948717949%;\n    *margin-left: 79.38079650845607%;\n  }\n  .row-fluid .offset9:first-child {\n    margin-left: 76.92307692307693%;\n    *margin-left: 76.81669394435352%;\n  }\n  .row-fluid .offset8 {\n    margin-left: 70.94017094017094%;\n    *margin-left: 70.83378796144753%;\n  }\n  .row-fluid .offset8:first-child {\n    margin-left: 68.37606837606839%;\n    *margin-left: 68.26968539734497%;\n  }\n  .row-fluid .offset7 {\n    margin-left: 62.393162393162385%;\n    *margin-left: 62.28677941443899%;\n  }\n  .row-fluid .offset7:first-child {\n    margin-left: 59.82905982905982%;\n    *margin-left: 59.72267685033642%;\n  }\n  .row-fluid .offset6 {\n    margin-left: 53.84615384615384%;\n    *margin-left: 53.739770867430444%;\n  }\n  .row-fluid .offset6:first-child {\n    margin-left: 51.28205128205128%;\n    *margin-left: 51.175668303327875%;\n  }\n  .row-fluid .offset5 {\n    margin-left: 45.299145299145295%;\n    *margin-left: 45.1927623204219%;\n  }\n  .row-fluid .offset5:first-child {\n    margin-left: 42.73504273504273%;\n    *margin-left: 42.62865975631933%;\n  }\n  .row-fluid .offset4 {\n    margin-left: 36.75213675213675%;\n    *margin-left: 36.645753773413354%;\n  }\n  .row-fluid .offset4:first-child {\n    margin-left: 34.18803418803419%;\n    *margin-left: 34.081651209310785%;\n  }\n  .row-fluid .offset3 {\n    margin-left: 28.205128205128204%;\n    *margin-left: 28.0987452264048%;\n  }\n  .row-fluid .offset3:first-child {\n    margin-left: 25.641025641025642%;\n    *margin-left: 25.53464266230224%;\n  }\n  .row-fluid .offset2 {\n    margin-left: 19.65811965811966%;\n    *margin-left: 19.551736679396257%;\n  }\n  .row-fluid .offset2:first-child {\n    margin-left: 17.094017094017094%;\n    *margin-left: 16.98763411529369%;\n  }\n  .row-fluid .offset1 {\n    margin-left: 11.11111111111111%;\n    *margin-left: 11.004728132387708%;\n  }\n  .row-fluid .offset1:first-child {\n    margin-left: 8.547008547008547%;\n    *margin-left: 8.440625568285142%;\n  }\n  input,\n  textarea,\n  .uneditable-input {\n    margin-left: 0;\n  }\n  .controls-row [class*=\"span\"] + [class*=\"span\"] {\n    margin-left: 30px;\n  }\n  input.span12,\n  textarea.span12,\n  .uneditable-input.span12 {\n    width: 1156px;\n  }\n  input.span11,\n  textarea.span11,\n  .uneditable-input.span11 {\n    width: 1056px;\n  }\n  input.span10,\n  textarea.span10,\n  .uneditable-input.span10 {\n    width: 956px;\n  }\n  input.span9,\n  textarea.span9,\n  .uneditable-input.span9 {\n    width: 856px;\n  }\n  input.span8,\n  textarea.span8,\n  .uneditable-input.span8 {\n    width: 756px;\n  }\n  input.span7,\n  textarea.span7,\n  .uneditable-input.span7 {\n    width: 656px;\n  }\n  input.span6,\n  textarea.span6,\n  .uneditable-input.span6 {\n    width: 556px;\n  }\n  input.span5,\n  textarea.span5,\n  .uneditable-input.span5 {\n    width: 456px;\n  }\n  input.span4,\n  textarea.span4,\n  .uneditable-input.span4 {\n    width: 356px;\n  }\n  input.span3,\n  textarea.span3,\n  .uneditable-input.span3 {\n    width: 256px;\n  }\n  input.span2,\n  textarea.span2,\n  .uneditable-input.span2 {\n    width: 156px;\n  }\n  input.span1,\n  textarea.span1,\n  .uneditable-input.span1 {\n    width: 56px;\n  }\n  .thumbnails {\n    margin-left: -30px;\n  }\n  .thumbnails > li {\n    margin-left: 30px;\n  }\n  .row-fluid .thumbnails {\n    margin-left: 0;\n  }\n}\n\n@media (min-width: 768px) and (max-width: 979px) {\n  .row {\n    margin-left: -20px;\n    *zoom: 1;\n  }\n  .row:before,\n  .row:after {\n    display: table;\n    line-height: 0;\n    content: \"\";\n  }\n  .row:after {\n    clear: both;\n  }\n  [class*=\"span\"] {\n    float: left;\n    min-height: 1px;\n    margin-left: 20px;\n  }\n  .container,\n  .navbar-static-top .container,\n  .navbar-fixed-top .container,\n  .navbar-fixed-bottom .container {\n    width: 724px;\n  }\n  .span12 {\n    width: 724px;\n  }\n  .span11 {\n    width: 662px;\n  }\n  .span10 {\n    width: 600px;\n  }\n  .span9 {\n    width: 538px;\n  }\n  .span8 {\n    width: 476px;\n  }\n  .span7 {\n    width: 414px;\n  }\n  .span6 {\n    width: 352px;\n  }\n  .span5 {\n    width: 290px;\n  }\n  .span4 {\n    width: 228px;\n  }\n  .span3 {\n    width: 166px;\n  }\n  .span2 {\n    width: 104px;\n  }\n  .span1 {\n    width: 42px;\n  }\n  .offset12 {\n    margin-left: 764px;\n  }\n  .offset11 {\n    margin-left: 702px;\n  }\n  .offset10 {\n    margin-left: 640px;\n  }\n  .offset9 {\n    margin-left: 578px;\n  }\n  .offset8 {\n    margin-left: 516px;\n  }\n  .offset7 {\n    margin-left: 454px;\n  }\n  .offset6 {\n    margin-left: 392px;\n  }\n  .offset5 {\n    margin-left: 330px;\n  }\n  .offset4 {\n    margin-left: 268px;\n  }\n  .offset3 {\n    margin-left: 206px;\n  }\n  .offset2 {\n    margin-left: 144px;\n  }\n  .offset1 {\n    margin-left: 82px;\n  }\n  .row-fluid {\n    width: 100%;\n    *zoom: 1;\n  }\n  .row-fluid:before,\n  .row-fluid:after {\n    display: table;\n    line-height: 0;\n    content: \"\";\n  }\n  .row-fluid:after {\n    clear: both;\n  }\n  .row-fluid [class*=\"span\"] {\n    display: block;\n    float: left;\n    width: 100%;\n    min-height: 30px;\n    margin-left: 2.7624309392265194%;\n    *margin-left: 2.709239449864817%;\n    -webkit-box-sizing: border-box;\n       -moz-box-sizing: border-box;\n            box-sizing: border-box;\n  }\n  .row-fluid [class*=\"span\"]:first-child {\n    margin-left: 0;\n  }\n  .row-fluid .controls-row [class*=\"span\"] + [class*=\"span\"] {\n    margin-left: 2.7624309392265194%;\n  }\n  .row-fluid .span12 {\n    width: 100%;\n    *width: 99.94680851063829%;\n  }\n  .row-fluid .span11 {\n    width: 91.43646408839778%;\n    *width: 91.38327259903608%;\n  }\n  .row-fluid .span10 {\n    width: 82.87292817679558%;\n    *width: 82.81973668743387%;\n  }\n  .row-fluid .span9 {\n    width: 74.30939226519337%;\n    *width: 74.25620077583166%;\n  }\n  .row-fluid .span8 {\n    width: 65.74585635359117%;\n    *width: 65.69266486422946%;\n  }\n  .row-fluid .span7 {\n    width: 57.18232044198895%;\n    *width: 57.12912895262725%;\n  }\n  .row-fluid .span6 {\n    width: 48.61878453038674%;\n    *width: 48.56559304102504%;\n  }\n  .row-fluid .span5 {\n    width: 40.05524861878453%;\n    *width: 40.00205712942283%;\n  }\n  .row-fluid .span4 {\n    width: 31.491712707182323%;\n    *width: 31.43852121782062%;\n  }\n  .row-fluid .span3 {\n    width: 22.92817679558011%;\n    *width: 22.87498530621841%;\n  }\n  .row-fluid .span2 {\n    width: 14.3646408839779%;\n    *width: 14.311449394616199%;\n  }\n  .row-fluid .span1 {\n    width: 5.801104972375691%;\n    *width: 5.747913483013988%;\n  }\n  .row-fluid .offset12 {\n    margin-left: 105.52486187845304%;\n    *margin-left: 105.41847889972962%;\n  }\n  .row-fluid .offset12:first-child {\n    margin-left: 102.76243093922652%;\n    *margin-left: 102.6560479605031%;\n  }\n  .row-fluid .offset11 {\n    margin-left: 96.96132596685082%;\n    *margin-left: 96.8549429881274%;\n  }\n  .row-fluid .offset11:first-child {\n    margin-left: 94.1988950276243%;\n    *margin-left: 94.09251204890089%;\n  }\n  .row-fluid .offset10 {\n    margin-left: 88.39779005524862%;\n    *margin-left: 88.2914070765252%;\n  }\n  .row-fluid .offset10:first-child {\n    margin-left: 85.6353591160221%;\n    *margin-left: 85.52897613729868%;\n  }\n  .row-fluid .offset9 {\n    margin-left: 79.8342541436464%;\n    *margin-left: 79.72787116492299%;\n  }\n  .row-fluid .offset9:first-child {\n    margin-left: 77.07182320441989%;\n    *margin-left: 76.96544022569647%;\n  }\n  .row-fluid .offset8 {\n    margin-left: 71.2707182320442%;\n    *margin-left: 71.16433525332079%;\n  }\n  .row-fluid .offset8:first-child {\n    margin-left: 68.50828729281768%;\n    *margin-left: 68.40190431409427%;\n  }\n  .row-fluid .offset7 {\n    margin-left: 62.70718232044199%;\n    *margin-left: 62.600799341718584%;\n  }\n  .row-fluid .offset7:first-child {\n    margin-left: 59.94475138121547%;\n    *margin-left: 59.838368402492065%;\n  }\n  .row-fluid .offset6 {\n    margin-left: 54.14364640883978%;\n    *margin-left: 54.037263430116376%;\n  }\n  .row-fluid .offset6:first-child {\n    margin-left: 51.38121546961326%;\n    *margin-left: 51.27483249088986%;\n  }\n  .row-fluid .offset5 {\n    margin-left: 45.58011049723757%;\n    *margin-left: 45.47372751851417%;\n  }\n  .row-fluid .offset5:first-child {\n    margin-left: 42.81767955801105%;\n    *margin-left: 42.71129657928765%;\n  }\n  .row-fluid .offset4 {\n    margin-left: 37.01657458563536%;\n    *margin-left: 36.91019160691196%;\n  }\n  .row-fluid .offset4:first-child {\n    margin-left: 34.25414364640884%;\n    *margin-left: 34.14776066768544%;\n  }\n  .row-fluid .offset3 {\n    margin-left: 28.45303867403315%;\n    *margin-left: 28.346655695309746%;\n  }\n  .row-fluid .offset3:first-child {\n    margin-left: 25.69060773480663%;\n    *margin-left: 25.584224756083227%;\n  }\n  .row-fluid .offset2 {\n    margin-left: 19.88950276243094%;\n    *margin-left: 19.783119783707537%;\n  }\n  .row-fluid .offset2:first-child {\n    margin-left: 17.12707182320442%;\n    *margin-left: 17.02068884448102%;\n  }\n  .row-fluid .offset1 {\n    margin-left: 11.32596685082873%;\n    *margin-left: 11.219583872105325%;\n  }\n  .row-fluid .offset1:first-child {\n    margin-left: 8.56353591160221%;\n    *margin-left: 8.457152932878806%;\n  }\n  input,\n  textarea,\n  .uneditable-input {\n    margin-left: 0;\n  }\n  .controls-row [class*=\"span\"] + [class*=\"span\"] {\n    margin-left: 20px;\n  }\n  input.span12,\n  textarea.span12,\n  .uneditable-input.span12 {\n    width: 710px;\n  }\n  input.span11,\n  textarea.span11,\n  .uneditable-input.span11 {\n    width: 648px;\n  }\n  input.span10,\n  textarea.span10,\n  .uneditable-input.span10 {\n    width: 586px;\n  }\n  input.span9,\n  textarea.span9,\n  .uneditable-input.span9 {\n    width: 524px;\n  }\n  input.span8,\n  textarea.span8,\n  .uneditable-input.span8 {\n    width: 462px;\n  }\n  input.span7,\n  textarea.span7,\n  .uneditable-input.span7 {\n    width: 400px;\n  }\n  input.span6,\n  textarea.span6,\n  .uneditable-input.span6 {\n    width: 338px;\n  }\n  input.span5,\n  textarea.span5,\n  .uneditable-input.span5 {\n    width: 276px;\n  }\n  input.span4,\n  textarea.span4,\n  .uneditable-input.span4 {\n    width: 214px;\n  }\n  input.span3,\n  textarea.span3,\n  .uneditable-input.span3 {\n    width: 152px;\n  }\n  input.span2,\n  textarea.span2,\n  .uneditable-input.span2 {\n    width: 90px;\n  }\n  input.span1,\n  textarea.span1,\n  .uneditable-input.span1 {\n    width: 28px;\n  }\n}\n\n@media (max-width: 767px) {\n  body {\n    padding-right: 20px;\n    padding-left: 20px;\n  }\n  .navbar-fixed-top,\n  .navbar-fixed-bottom,\n  .navbar-static-top {\n    margin-right: -20px;\n    margin-left: -20px;\n  }\n  .container-fluid {\n    padding: 0;\n  }\n  .dl-horizontal dt {\n    float: none;\n    width: auto;\n    clear: none;\n    text-align: left;\n  }\n  .dl-horizontal dd {\n    margin-left: 0;\n  }\n  .container {\n    width: auto;\n  }\n  .row-fluid {\n    width: 100%;\n  }\n  .row,\n  .thumbnails {\n    margin-left: 0;\n  }\n  .thumbnails > li {\n    float: none;\n    margin-left: 0;\n  }\n  [class*=\"span\"],\n  .uneditable-input[class*=\"span\"],\n  .row-fluid [class*=\"span\"] {\n    display: block;\n    float: none;\n    width: 100%;\n    margin-left: 0;\n    -webkit-box-sizing: border-box;\n       -moz-box-sizing: border-box;\n            box-sizing: border-box;\n  }\n  .span12,\n  .row-fluid .span12 {\n    width: 100%;\n    -webkit-box-sizing: border-box;\n       -moz-box-sizing: border-box;\n            box-sizing: border-box;\n  }\n  .row-fluid [class*=\"offset\"]:first-child {\n    margin-left: 0;\n  }\n  .input-large,\n  .input-xlarge,\n  .input-xxlarge,\n  input[class*=\"span\"],\n  select[class*=\"span\"],\n  textarea[class*=\"span\"],\n  .uneditable-input {\n    display: block;\n    width: 100%;\n    min-height: 30px;\n    -webkit-box-sizing: border-box;\n       -moz-box-sizing: border-box;\n            box-sizing: border-box;\n  }\n  .input-prepend input,\n  .input-append input,\n  .input-prepend input[class*=\"span\"],\n  .input-append input[class*=\"span\"] {\n    display: inline-block;\n    width: auto;\n  }\n  .controls-row [class*=\"span\"] + [class*=\"span\"] {\n    margin-left: 0;\n  }\n  .modal {\n    position: fixed;\n    top: 20px;\n    right: 20px;\n    left: 20px;\n    width: auto;\n    margin: 0;\n  }\n  .modal.fade {\n    top: -100px;\n  }\n  .modal.fade.in {\n    top: 20px;\n  }\n}\n\n@media (max-width: 480px) {\n  .nav-collapse {\n    -webkit-transform: translate3d(0, 0, 0);\n  }\n  .page-header h1 small {\n    display: block;\n    line-height: 20px;\n  }\n  input[type=\"checkbox\"],\n  input[type=\"radio\"] {\n    border: 1px solid #ccc;\n  }\n  .form-horizontal .control-label {\n    float: none;\n    width: auto;\n    padding-top: 0;\n    text-align: left;\n  }\n  .form-horizontal .controls {\n    margin-left: 0;\n  }\n  .form-horizontal .control-list {\n    padding-top: 0;\n  }\n  .form-horizontal .form-actions {\n    padding-right: 10px;\n    padding-left: 10px;\n  }\n  .media .pull-left,\n  .media .pull-right {\n    display: block;\n    float: none;\n    margin-bottom: 10px;\n  }\n  .media-object {\n    margin-right: 0;\n    margin-left: 0;\n  }\n  .modal {\n    top: 10px;\n    right: 10px;\n    left: 10px;\n  }\n  .modal-header .close {\n    padding: 10px;\n    margin: -10px;\n  }\n  .carousel-caption {\n    position: static;\n  }\n}\n\n@media (max-width: 979px) {\n  body {\n    padding-top: 0;\n  }\n  .navbar-fixed-top,\n  .navbar-fixed-bottom {\n    position: static;\n  }\n  .navbar-fixed-top {\n    margin-bottom: 20px;\n  }\n  .navbar-fixed-bottom {\n    margin-top: 20px;\n  }\n  .navbar-fixed-top .navbar-inner,\n  .navbar-fixed-bottom .navbar-inner {\n    padding: 5px;\n  }\n  .navbar .container {\n    width: auto;\n    padding: 0;\n  }\n  .navbar .brand {\n    padding-right: 10px;\n    padding-left: 10px;\n    margin: 0 0 0 -5px;\n  }\n  .nav-collapse {\n    clear: both;\n  }\n  .nav-collapse .nav {\n    float: none;\n    margin: 0 0 10px;\n  }\n  .nav-collapse .nav > li {\n    float: none;\n  }\n  .nav-collapse .nav > li > a {\n    margin-bottom: 2px;\n  }\n  .nav-collapse .nav > .divider-vertical {\n    display: none;\n  }\n  .nav-collapse .nav .nav-header {\n    color: #777777;\n    text-shadow: none;\n  }\n  .nav-collapse .nav > li > a,\n  .nav-collapse .dropdown-menu a {\n    padding: 9px 15px;\n    font-weight: bold;\n    color: #777777;\n    -webkit-border-radius: 3px;\n       -moz-border-radius: 3px;\n            border-radius: 3px;\n  }\n  .nav-collapse .btn {\n    padding: 4px 10px 4px;\n    font-weight: normal;\n    -webkit-border-radius: 4px;\n       -moz-border-radius: 4px;\n            border-radius: 4px;\n  }\n  .nav-collapse .dropdown-menu li + li a {\n    margin-bottom: 2px;\n  }\n  .nav-collapse .nav > li > a:hover,\n  .nav-collapse .nav > li > a:focus,\n  .nav-collapse .dropdown-menu a:hover,\n  .nav-collapse .dropdown-menu a:focus {\n    background-color: #f2f2f2;\n  }\n  .navbar-inverse .nav-collapse .nav > li > a,\n  .navbar-inverse .nav-collapse .dropdown-menu a {\n    color: #999999;\n  }\n  .navbar-inverse .nav-collapse .nav > li > a:hover,\n  .navbar-inverse .nav-collapse .nav > li > a:focus,\n  .navbar-inverse .nav-collapse .dropdown-menu a:hover,\n  .navbar-inverse .nav-collapse .dropdown-menu a:focus {\n    background-color: #111111;\n  }\n  .nav-collapse.in .btn-group {\n    padding: 0;\n    margin-top: 5px;\n  }\n  .nav-collapse .dropdown-menu {\n    position: static;\n    top: auto;\n    left: auto;\n    display: none;\n    float: none;\n    max-width: none;\n    padding: 0;\n    margin: 0 15px;\n    background-color: transparent;\n    border: none;\n    -webkit-border-radius: 0;\n       -moz-border-radius: 0;\n            border-radius: 0;\n    -webkit-box-shadow: none;\n       -moz-box-shadow: none;\n            box-shadow: none;\n  }\n  .nav-collapse .open > .dropdown-menu {\n    display: block;\n  }\n  .nav-collapse .dropdown-menu:before,\n  .nav-collapse .dropdown-menu:after {\n    display: none;\n  }\n  .nav-collapse .dropdown-menu .divider {\n    display: none;\n  }\n  .nav-collapse .nav > li > .dropdown-menu:before,\n  .nav-collapse .nav > li > .dropdown-menu:after {\n    display: none;\n  }\n  .nav-collapse .navbar-form,\n  .nav-collapse .navbar-search {\n    float: none;\n    padding: 10px 15px;\n    margin: 10px 0;\n    border-top: 1px solid #f2f2f2;\n    border-bottom: 1px solid #f2f2f2;\n    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n       -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);\n  }\n  .navbar-inverse .nav-collapse .navbar-form,\n  .navbar-inverse .nav-collapse .navbar-search {\n    border-top-color: #111111;\n    border-bottom-color: #111111;\n  }\n  .navbar .nav-collapse .nav.pull-right {\n    float: none;\n    margin-left: 0;\n  }\n  .nav-collapse,\n  .nav-collapse.collapse {\n    height: 0;\n    overflow: hidden;\n  }\n  .navbar .btn-navbar {\n    display: block;\n  }\n  .navbar-static .navbar-inner {\n    padding-right: 10px;\n    padding-left: 10px;\n  }\n}\n\n@media (min-width: 980px) {\n  .nav-collapse.collapse {\n    height: auto !important;\n    overflow: visible !important;\n  }\n}\n"
  },
  {
    "path": "_attachments/vendor/bootstrap/css/bootstrap.css",
    "content": "/*!\n * Bootstrap v2.3.1\n *\n * Copyright 2012 Twitter, Inc\n * Licensed under the Apache License v2.0\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Designed and built with all the love in the world @twitter by @mdo and @fat.\n */\n\n.clearfix {\n  *zoom: 1;\n}\n\n.clearfix:before,\n.clearfix:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.clearfix:after {\n  clear: both;\n}\n\n.hide-text {\n  font: 0/0 a;\n  color: transparent;\n  text-shadow: none;\n  background-color: transparent;\n  border: 0;\n}\n\n.input-block-level {\n  display: block;\n  width: 100%;\n  min-height: 30px;\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nnav,\nsection {\n  display: block;\n}\n\naudio,\ncanvas,\nvideo {\n  display: inline-block;\n  *display: inline;\n  *zoom: 1;\n}\n\naudio:not([controls]) {\n  display: none;\n}\n\nhtml {\n  font-size: 100%;\n  -webkit-text-size-adjust: 100%;\n      -ms-text-size-adjust: 100%;\n}\n\na:focus {\n  outline: thin dotted #333;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\na:hover,\na:active {\n  outline: 0;\n}\n\nsub,\nsup {\n  position: relative;\n  font-size: 75%;\n  line-height: 0;\n  vertical-align: baseline;\n}\n\nsup {\n  top: -0.5em;\n}\n\nsub {\n  bottom: -0.25em;\n}\n\nimg {\n  width: auto\\9;\n  height: auto;\n  max-width: 100%;\n  vertical-align: middle;\n  border: 0;\n  -ms-interpolation-mode: bicubic;\n}\n\n#map_canvas img,\n.google-maps img {\n  max-width: none;\n}\n\nbutton,\ninput,\nselect,\ntextarea {\n  margin: 0;\n  font-size: 100%;\n  vertical-align: middle;\n}\n\nbutton,\ninput {\n  *overflow: visible;\n  line-height: normal;\n}\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n  padding: 0;\n  border: 0;\n}\n\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n  cursor: pointer;\n  -webkit-appearance: button;\n}\n\nlabel,\nselect,\nbutton,\ninput[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"],\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n  cursor: pointer;\n}\n\ninput[type=\"search\"] {\n  -webkit-box-sizing: content-box;\n     -moz-box-sizing: content-box;\n          box-sizing: content-box;\n  -webkit-appearance: textfield;\n}\n\ninput[type=\"search\"]::-webkit-search-decoration,\ninput[type=\"search\"]::-webkit-search-cancel-button {\n  -webkit-appearance: none;\n}\n\ntextarea {\n  overflow: auto;\n  vertical-align: top;\n}\n\n@media print {\n  * {\n    color: #000 !important;\n    text-shadow: none !important;\n    background: transparent !important;\n    box-shadow: none !important;\n  }\n  a,\n  a:visited {\n    text-decoration: underline;\n  }\n  a[href]:after {\n    content: \" (\" attr(href) \")\";\n  }\n  abbr[title]:after {\n    content: \" (\" attr(title) \")\";\n  }\n  .ir a:after,\n  a[href^=\"javascript:\"]:after,\n  a[href^=\"#\"]:after {\n    content: \"\";\n  }\n  pre,\n  blockquote {\n    border: 1px solid #999;\n    page-break-inside: avoid;\n  }\n  thead {\n    display: table-header-group;\n  }\n  tr,\n  img {\n    page-break-inside: avoid;\n  }\n  img {\n    max-width: 100% !important;\n  }\n  @page  {\n    margin: 0.5cm;\n  }\n  p,\n  h2,\n  h3 {\n    orphans: 3;\n    widows: 3;\n  }\n  h2,\n  h3 {\n    page-break-after: avoid;\n  }\n}\n\nbody {\n  margin: 0;\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n  font-size: 14px;\n  line-height: 20px;\n  color: #333333;\n  background-color: #ffffff;\n}\n\na {\n  color: #0088cc;\n  text-decoration: none;\n}\n\na:hover,\na:focus {\n  color: #005580;\n  text-decoration: underline;\n}\n\n.img-rounded {\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n}\n\n.img-polaroid {\n  padding: 4px;\n  background-color: #fff;\n  border: 1px solid #ccc;\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n.img-circle {\n  -webkit-border-radius: 500px;\n     -moz-border-radius: 500px;\n          border-radius: 500px;\n}\n\n.row {\n  margin-left: -20px;\n  *zoom: 1;\n}\n\n.row:before,\n.row:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.row:after {\n  clear: both;\n}\n\n[class*=\"span\"] {\n  float: left;\n  min-height: 1px;\n  margin-left: 20px;\n}\n\n.container,\n.navbar-static-top .container,\n.navbar-fixed-top .container,\n.navbar-fixed-bottom .container {\n  width: 940px;\n}\n\n.span12 {\n  width: 940px;\n}\n\n.span11 {\n  width: 860px;\n}\n\n.span10 {\n  width: 780px;\n}\n\n.span9 {\n  width: 700px;\n}\n\n.span8 {\n  width: 620px;\n}\n\n.span7 {\n  width: 540px;\n}\n\n.span6 {\n  width: 460px;\n}\n\n.span5 {\n  width: 380px;\n}\n\n.span4 {\n  width: 300px;\n}\n\n.span3 {\n  width: 220px;\n}\n\n.span2 {\n  width: 140px;\n}\n\n.span1 {\n  width: 60px;\n}\n\n.offset12 {\n  margin-left: 980px;\n}\n\n.offset11 {\n  margin-left: 900px;\n}\n\n.offset10 {\n  margin-left: 820px;\n}\n\n.offset9 {\n  margin-left: 740px;\n}\n\n.offset8 {\n  margin-left: 660px;\n}\n\n.offset7 {\n  margin-left: 580px;\n}\n\n.offset6 {\n  margin-left: 500px;\n}\n\n.offset5 {\n  margin-left: 420px;\n}\n\n.offset4 {\n  margin-left: 340px;\n}\n\n.offset3 {\n  margin-left: 260px;\n}\n\n.offset2 {\n  margin-left: 180px;\n}\n\n.offset1 {\n  margin-left: 100px;\n}\n\n.row-fluid {\n  width: 100%;\n  *zoom: 1;\n}\n\n.row-fluid:before,\n.row-fluid:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.row-fluid:after {\n  clear: both;\n}\n\n.row-fluid [class*=\"span\"] {\n  display: block;\n  float: left;\n  width: 100%;\n  min-height: 30px;\n  margin-left: 2.127659574468085%;\n  *margin-left: 2.074468085106383%;\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\n.row-fluid [class*=\"span\"]:first-child {\n  margin-left: 0;\n}\n\n.row-fluid .controls-row [class*=\"span\"] + [class*=\"span\"] {\n  margin-left: 2.127659574468085%;\n}\n\n.row-fluid .span12 {\n  width: 100%;\n  *width: 99.94680851063829%;\n}\n\n.row-fluid .span11 {\n  width: 91.48936170212765%;\n  *width: 91.43617021276594%;\n}\n\n.row-fluid .span10 {\n  width: 82.97872340425532%;\n  *width: 82.92553191489361%;\n}\n\n.row-fluid .span9 {\n  width: 74.46808510638297%;\n  *width: 74.41489361702126%;\n}\n\n.row-fluid .span8 {\n  width: 65.95744680851064%;\n  *width: 65.90425531914893%;\n}\n\n.row-fluid .span7 {\n  width: 57.44680851063829%;\n  *width: 57.39361702127659%;\n}\n\n.row-fluid .span6 {\n  width: 48.93617021276595%;\n  *width: 48.88297872340425%;\n}\n\n.row-fluid .span5 {\n  width: 40.42553191489362%;\n  *width: 40.37234042553192%;\n}\n\n.row-fluid .span4 {\n  width: 31.914893617021278%;\n  *width: 31.861702127659576%;\n}\n\n.row-fluid .span3 {\n  width: 23.404255319148934%;\n  *width: 23.351063829787233%;\n}\n\n.row-fluid .span2 {\n  width: 14.893617021276595%;\n  *width: 14.840425531914894%;\n}\n\n.row-fluid .span1 {\n  width: 6.382978723404255%;\n  *width: 6.329787234042553%;\n}\n\n.row-fluid .offset12 {\n  margin-left: 104.25531914893617%;\n  *margin-left: 104.14893617021275%;\n}\n\n.row-fluid .offset12:first-child {\n  margin-left: 102.12765957446808%;\n  *margin-left: 102.02127659574467%;\n}\n\n.row-fluid .offset11 {\n  margin-left: 95.74468085106382%;\n  *margin-left: 95.6382978723404%;\n}\n\n.row-fluid .offset11:first-child {\n  margin-left: 93.61702127659574%;\n  *margin-left: 93.51063829787232%;\n}\n\n.row-fluid .offset10 {\n  margin-left: 87.23404255319149%;\n  *margin-left: 87.12765957446807%;\n}\n\n.row-fluid .offset10:first-child {\n  margin-left: 85.1063829787234%;\n  *margin-left: 84.99999999999999%;\n}\n\n.row-fluid .offset9 {\n  margin-left: 78.72340425531914%;\n  *margin-left: 78.61702127659572%;\n}\n\n.row-fluid .offset9:first-child {\n  margin-left: 76.59574468085106%;\n  *margin-left: 76.48936170212764%;\n}\n\n.row-fluid .offset8 {\n  margin-left: 70.2127659574468%;\n  *margin-left: 70.10638297872339%;\n}\n\n.row-fluid .offset8:first-child {\n  margin-left: 68.08510638297872%;\n  *margin-left: 67.9787234042553%;\n}\n\n.row-fluid .offset7 {\n  margin-left: 61.70212765957446%;\n  *margin-left: 61.59574468085106%;\n}\n\n.row-fluid .offset7:first-child {\n  margin-left: 59.574468085106375%;\n  *margin-left: 59.46808510638297%;\n}\n\n.row-fluid .offset6 {\n  margin-left: 53.191489361702125%;\n  *margin-left: 53.085106382978715%;\n}\n\n.row-fluid .offset6:first-child {\n  margin-left: 51.063829787234035%;\n  *margin-left: 50.95744680851063%;\n}\n\n.row-fluid .offset5 {\n  margin-left: 44.68085106382979%;\n  *margin-left: 44.57446808510638%;\n}\n\n.row-fluid .offset5:first-child {\n  margin-left: 42.5531914893617%;\n  *margin-left: 42.4468085106383%;\n}\n\n.row-fluid .offset4 {\n  margin-left: 36.170212765957444%;\n  *margin-left: 36.06382978723405%;\n}\n\n.row-fluid .offset4:first-child {\n  margin-left: 34.04255319148936%;\n  *margin-left: 33.93617021276596%;\n}\n\n.row-fluid .offset3 {\n  margin-left: 27.659574468085104%;\n  *margin-left: 27.5531914893617%;\n}\n\n.row-fluid .offset3:first-child {\n  margin-left: 25.53191489361702%;\n  *margin-left: 25.425531914893618%;\n}\n\n.row-fluid .offset2 {\n  margin-left: 19.148936170212764%;\n  *margin-left: 19.04255319148936%;\n}\n\n.row-fluid .offset2:first-child {\n  margin-left: 17.02127659574468%;\n  *margin-left: 16.914893617021278%;\n}\n\n.row-fluid .offset1 {\n  margin-left: 10.638297872340425%;\n  *margin-left: 10.53191489361702%;\n}\n\n.row-fluid .offset1:first-child {\n  margin-left: 8.51063829787234%;\n  *margin-left: 8.404255319148938%;\n}\n\n[class*=\"span\"].hide,\n.row-fluid [class*=\"span\"].hide {\n  display: none;\n}\n\n[class*=\"span\"].pull-right,\n.row-fluid [class*=\"span\"].pull-right {\n  float: right;\n}\n\n.container {\n  margin-right: auto;\n  margin-left: auto;\n  *zoom: 1;\n}\n\n.container:before,\n.container:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.container:after {\n  clear: both;\n}\n\n.container-fluid {\n  padding-right: 20px;\n  padding-left: 20px;\n  *zoom: 1;\n}\n\n.container-fluid:before,\n.container-fluid:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.container-fluid:after {\n  clear: both;\n}\n\np {\n  margin: 0 0 10px;\n}\n\n.lead {\n  margin-bottom: 20px;\n  font-size: 21px;\n  font-weight: 200;\n  line-height: 30px;\n}\n\nsmall {\n  font-size: 85%;\n}\n\nstrong {\n  font-weight: bold;\n}\n\nem {\n  font-style: italic;\n}\n\ncite {\n  font-style: normal;\n}\n\n.muted {\n  color: #999999;\n}\n\na.muted:hover,\na.muted:focus {\n  color: #808080;\n}\n\n.text-warning {\n  color: #c09853;\n}\n\na.text-warning:hover,\na.text-warning:focus {\n  color: #a47e3c;\n}\n\n.text-error {\n  color: #b94a48;\n}\n\na.text-error:hover,\na.text-error:focus {\n  color: #953b39;\n}\n\n.text-info {\n  color: #3a87ad;\n}\n\na.text-info:hover,\na.text-info:focus {\n  color: #2d6987;\n}\n\n.text-success {\n  color: #468847;\n}\n\na.text-success:hover,\na.text-success:focus {\n  color: #356635;\n}\n\n.text-left {\n  text-align: left;\n}\n\n.text-right {\n  text-align: right;\n}\n\n.text-center {\n  text-align: center;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin: 10px 0;\n  font-family: inherit;\n  font-weight: bold;\n  line-height: 20px;\n  color: inherit;\n  text-rendering: optimizelegibility;\n}\n\nh1 small,\nh2 small,\nh3 small,\nh4 small,\nh5 small,\nh6 small {\n  font-weight: normal;\n  line-height: 1;\n  color: #999999;\n}\n\nh1,\nh2,\nh3 {\n  line-height: 40px;\n}\n\nh1 {\n  font-size: 38.5px;\n}\n\nh2 {\n  font-size: 31.5px;\n}\n\nh3 {\n  font-size: 24.5px;\n}\n\nh4 {\n  font-size: 17.5px;\n}\n\nh5 {\n  font-size: 14px;\n}\n\nh6 {\n  font-size: 11.9px;\n}\n\nh1 small {\n  font-size: 24.5px;\n}\n\nh2 small {\n  font-size: 17.5px;\n}\n\nh3 small {\n  font-size: 14px;\n}\n\nh4 small {\n  font-size: 14px;\n}\n\n.page-header {\n  padding-bottom: 9px;\n  margin: 20px 0 30px;\n  border-bottom: 1px solid #eeeeee;\n}\n\nul,\nol {\n  padding: 0;\n  margin: 0 0 10px 25px;\n}\n\nul ul,\nul ol,\nol ol,\nol ul {\n  margin-bottom: 0;\n}\n\nli {\n  line-height: 20px;\n}\n\nul.unstyled,\nol.unstyled {\n  margin-left: 0;\n  list-style: none;\n}\n\nul.inline,\nol.inline {\n  margin-left: 0;\n  list-style: none;\n}\n\nul.inline > li,\nol.inline > li {\n  display: inline-block;\n  *display: inline;\n  padding-right: 5px;\n  padding-left: 5px;\n  *zoom: 1;\n}\n\ndl {\n  margin-bottom: 20px;\n}\n\ndt,\ndd {\n  line-height: 20px;\n}\n\ndt {\n  font-weight: bold;\n}\n\ndd {\n  margin-left: 10px;\n}\n\n.dl-horizontal {\n  *zoom: 1;\n}\n\n.dl-horizontal:before,\n.dl-horizontal:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.dl-horizontal:after {\n  clear: both;\n}\n\n.dl-horizontal dt {\n  float: left;\n  width: 160px;\n  overflow: hidden;\n  clear: left;\n  text-align: right;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.dl-horizontal dd {\n  margin-left: 180px;\n}\n\nhr {\n  margin: 20px 0;\n  border: 0;\n  border-top: 1px solid #eeeeee;\n  border-bottom: 1px solid #ffffff;\n}\n\nabbr[title],\nabbr[data-original-title] {\n  cursor: help;\n  border-bottom: 1px dotted #999999;\n}\n\nabbr.initialism {\n  font-size: 90%;\n  text-transform: uppercase;\n}\n\nblockquote {\n  padding: 0 0 0 15px;\n  margin: 0 0 20px;\n  border-left: 5px solid #eeeeee;\n}\n\nblockquote p {\n  margin-bottom: 0;\n  font-size: 17.5px;\n  font-weight: 300;\n  line-height: 1.25;\n}\n\nblockquote small {\n  display: block;\n  line-height: 20px;\n  color: #999999;\n}\n\nblockquote small:before {\n  content: '\\2014 \\00A0';\n}\n\nblockquote.pull-right {\n  float: right;\n  padding-right: 15px;\n  padding-left: 0;\n  border-right: 5px solid #eeeeee;\n  border-left: 0;\n}\n\nblockquote.pull-right p,\nblockquote.pull-right small {\n  text-align: right;\n}\n\nblockquote.pull-right small:before {\n  content: '';\n}\n\nblockquote.pull-right small:after {\n  content: '\\00A0 \\2014';\n}\n\nq:before,\nq:after,\nblockquote:before,\nblockquote:after {\n  content: \"\";\n}\n\naddress {\n  display: block;\n  margin-bottom: 20px;\n  font-style: normal;\n  line-height: 20px;\n}\n\ncode,\npre {\n  padding: 0 3px 2px;\n  font-family: Monaco, Menlo, Consolas, \"Courier New\", monospace;\n  font-size: 12px;\n  color: #333333;\n  -webkit-border-radius: 3px;\n     -moz-border-radius: 3px;\n          border-radius: 3px;\n}\n\ncode {\n  padding: 2px 4px;\n  color: #d14;\n  white-space: nowrap;\n  background-color: #f7f7f9;\n  border: 1px solid #e1e1e8;\n}\n\npre {\n  display: block;\n  padding: 9.5px;\n  margin: 0 0 10px;\n  font-size: 13px;\n  line-height: 20px;\n  word-break: break-all;\n  word-wrap: break-word;\n  white-space: pre;\n  white-space: pre-wrap;\n  background-color: #f5f5f5;\n  border: 1px solid #ccc;\n  border: 1px solid rgba(0, 0, 0, 0.15);\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\npre.prettyprint {\n  margin-bottom: 20px;\n}\n\npre code {\n  padding: 0;\n  color: inherit;\n  white-space: pre;\n  white-space: pre-wrap;\n  background-color: transparent;\n  border: 0;\n}\n\n.pre-scrollable {\n  max-height: 340px;\n  overflow-y: scroll;\n}\n\nform {\n  margin: 0 0 20px;\n}\n\nfieldset {\n  padding: 0;\n  margin: 0;\n  border: 0;\n}\n\nlegend {\n  display: block;\n  width: 100%;\n  padding: 0;\n  margin-bottom: 20px;\n  font-size: 21px;\n  line-height: 40px;\n  color: #333333;\n  border: 0;\n  border-bottom: 1px solid #e5e5e5;\n}\n\nlegend small {\n  font-size: 15px;\n  color: #999999;\n}\n\nlabel,\ninput,\nbutton,\nselect,\ntextarea {\n  font-size: 14px;\n  font-weight: normal;\n  line-height: 20px;\n}\n\ninput,\nbutton,\nselect,\ntextarea {\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n}\n\nlabel {\n  display: block;\n  margin-bottom: 5px;\n}\n\nselect,\ntextarea,\ninput[type=\"text\"],\ninput[type=\"password\"],\ninput[type=\"datetime\"],\ninput[type=\"datetime-local\"],\ninput[type=\"date\"],\ninput[type=\"month\"],\ninput[type=\"time\"],\ninput[type=\"week\"],\ninput[type=\"number\"],\ninput[type=\"email\"],\ninput[type=\"url\"],\ninput[type=\"search\"],\ninput[type=\"tel\"],\ninput[type=\"color\"],\n.uneditable-input {\n  display: inline-block;\n  height: 20px;\n  padding: 4px 6px;\n  margin-bottom: 10px;\n  font-size: 14px;\n  line-height: 20px;\n  color: #555555;\n  vertical-align: middle;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\ninput,\ntextarea,\n.uneditable-input {\n  width: 206px;\n}\n\ntextarea {\n  height: auto;\n}\n\ntextarea,\ninput[type=\"text\"],\ninput[type=\"password\"],\ninput[type=\"datetime\"],\ninput[type=\"datetime-local\"],\ninput[type=\"date\"],\ninput[type=\"month\"],\ninput[type=\"time\"],\ninput[type=\"week\"],\ninput[type=\"number\"],\ninput[type=\"email\"],\ninput[type=\"url\"],\ninput[type=\"search\"],\ninput[type=\"tel\"],\ninput[type=\"color\"],\n.uneditable-input {\n  background-color: #ffffff;\n  border: 1px solid #cccccc;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;\n     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;\n       -o-transition: border linear 0.2s, box-shadow linear 0.2s;\n          transition: border linear 0.2s, box-shadow linear 0.2s;\n}\n\ntextarea:focus,\ninput[type=\"text\"]:focus,\ninput[type=\"password\"]:focus,\ninput[type=\"datetime\"]:focus,\ninput[type=\"datetime-local\"]:focus,\ninput[type=\"date\"]:focus,\ninput[type=\"month\"]:focus,\ninput[type=\"time\"]:focus,\ninput[type=\"week\"]:focus,\ninput[type=\"number\"]:focus,\ninput[type=\"email\"]:focus,\ninput[type=\"url\"]:focus,\ninput[type=\"search\"]:focus,\ninput[type=\"tel\"]:focus,\ninput[type=\"color\"]:focus,\n.uneditable-input:focus {\n  border-color: rgba(82, 168, 236, 0.8);\n  outline: 0;\n  outline: thin dotted \\9;\n  /* IE6-9 */\n\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);\n}\n\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n  margin: 4px 0 0;\n  margin-top: 1px \\9;\n  *margin-top: 0;\n  line-height: normal;\n}\n\ninput[type=\"file\"],\ninput[type=\"image\"],\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"button\"],\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n  width: auto;\n}\n\nselect,\ninput[type=\"file\"] {\n  height: 30px;\n  /* In IE7, the height of the select element cannot be changed by height, only font-size */\n\n  *margin-top: 4px;\n  /* For IE7, add top margin to align select with labels */\n\n  line-height: 30px;\n}\n\nselect {\n  width: 220px;\n  background-color: #ffffff;\n  border: 1px solid #cccccc;\n}\n\nselect[multiple],\nselect[size] {\n  height: auto;\n}\n\nselect:focus,\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n  outline: thin dotted #333;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\n.uneditable-input,\n.uneditable-textarea {\n  color: #999999;\n  cursor: not-allowed;\n  background-color: #fcfcfc;\n  border-color: #cccccc;\n  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);\n     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);\n          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);\n}\n\n.uneditable-input {\n  overflow: hidden;\n  white-space: nowrap;\n}\n\n.uneditable-textarea {\n  width: auto;\n  height: auto;\n}\n\ninput:-moz-placeholder,\ntextarea:-moz-placeholder {\n  color: #999999;\n}\n\ninput:-ms-input-placeholder,\ntextarea:-ms-input-placeholder {\n  color: #999999;\n}\n\ninput::-webkit-input-placeholder,\ntextarea::-webkit-input-placeholder {\n  color: #999999;\n}\n\n.radio,\n.checkbox {\n  min-height: 20px;\n  padding-left: 20px;\n}\n\n.radio input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"] {\n  float: left;\n  margin-left: -20px;\n}\n\n.controls > .radio:first-child,\n.controls > .checkbox:first-child {\n  padding-top: 5px;\n}\n\n.radio.inline,\n.checkbox.inline {\n  display: inline-block;\n  padding-top: 5px;\n  margin-bottom: 0;\n  vertical-align: middle;\n}\n\n.radio.inline + .radio.inline,\n.checkbox.inline + .checkbox.inline {\n  margin-left: 10px;\n}\n\n.input-mini {\n  width: 60px;\n}\n\n.input-small {\n  width: 90px;\n}\n\n.input-medium {\n  width: 150px;\n}\n\n.input-large {\n  width: 210px;\n}\n\n.input-xlarge {\n  width: 270px;\n}\n\n.input-xxlarge {\n  width: 530px;\n}\n\ninput[class*=\"span\"],\nselect[class*=\"span\"],\ntextarea[class*=\"span\"],\n.uneditable-input[class*=\"span\"],\n.row-fluid input[class*=\"span\"],\n.row-fluid select[class*=\"span\"],\n.row-fluid textarea[class*=\"span\"],\n.row-fluid .uneditable-input[class*=\"span\"] {\n  float: none;\n  margin-left: 0;\n}\n\n.input-append input[class*=\"span\"],\n.input-append .uneditable-input[class*=\"span\"],\n.input-prepend input[class*=\"span\"],\n.input-prepend .uneditable-input[class*=\"span\"],\n.row-fluid input[class*=\"span\"],\n.row-fluid select[class*=\"span\"],\n.row-fluid textarea[class*=\"span\"],\n.row-fluid .uneditable-input[class*=\"span\"],\n.row-fluid .input-prepend [class*=\"span\"],\n.row-fluid .input-append [class*=\"span\"] {\n  display: inline-block;\n}\n\ninput,\ntextarea,\n.uneditable-input {\n  margin-left: 0;\n}\n\n.controls-row [class*=\"span\"] + [class*=\"span\"] {\n  margin-left: 20px;\n}\n\ninput.span12,\ntextarea.span12,\n.uneditable-input.span12 {\n  width: 926px;\n}\n\ninput.span11,\ntextarea.span11,\n.uneditable-input.span11 {\n  width: 846px;\n}\n\ninput.span10,\ntextarea.span10,\n.uneditable-input.span10 {\n  width: 766px;\n}\n\ninput.span9,\ntextarea.span9,\n.uneditable-input.span9 {\n  width: 686px;\n}\n\ninput.span8,\ntextarea.span8,\n.uneditable-input.span8 {\n  width: 606px;\n}\n\ninput.span7,\ntextarea.span7,\n.uneditable-input.span7 {\n  width: 526px;\n}\n\ninput.span6,\ntextarea.span6,\n.uneditable-input.span6 {\n  width: 446px;\n}\n\ninput.span5,\ntextarea.span5,\n.uneditable-input.span5 {\n  width: 366px;\n}\n\ninput.span4,\ntextarea.span4,\n.uneditable-input.span4 {\n  width: 286px;\n}\n\ninput.span3,\ntextarea.span3,\n.uneditable-input.span3 {\n  width: 206px;\n}\n\ninput.span2,\ntextarea.span2,\n.uneditable-input.span2 {\n  width: 126px;\n}\n\ninput.span1,\ntextarea.span1,\n.uneditable-input.span1 {\n  width: 46px;\n}\n\n.controls-row {\n  *zoom: 1;\n}\n\n.controls-row:before,\n.controls-row:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.controls-row:after {\n  clear: both;\n}\n\n.controls-row [class*=\"span\"],\n.row-fluid .controls-row [class*=\"span\"] {\n  float: left;\n}\n\n.controls-row .checkbox[class*=\"span\"],\n.controls-row .radio[class*=\"span\"] {\n  padding-top: 5px;\n}\n\ninput[disabled],\nselect[disabled],\ntextarea[disabled],\ninput[readonly],\nselect[readonly],\ntextarea[readonly] {\n  cursor: not-allowed;\n  background-color: #eeeeee;\n}\n\ninput[type=\"radio\"][disabled],\ninput[type=\"checkbox\"][disabled],\ninput[type=\"radio\"][readonly],\ninput[type=\"checkbox\"][readonly] {\n  background-color: transparent;\n}\n\n.control-group.warning .control-label,\n.control-group.warning .help-block,\n.control-group.warning .help-inline {\n  color: #c09853;\n}\n\n.control-group.warning .checkbox,\n.control-group.warning .radio,\n.control-group.warning input,\n.control-group.warning select,\n.control-group.warning textarea {\n  color: #c09853;\n}\n\n.control-group.warning input,\n.control-group.warning select,\n.control-group.warning textarea {\n  border-color: #c09853;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.control-group.warning input:focus,\n.control-group.warning select:focus,\n.control-group.warning textarea:focus {\n  border-color: #a47e3c;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;\n}\n\n.control-group.warning .input-prepend .add-on,\n.control-group.warning .input-append .add-on {\n  color: #c09853;\n  background-color: #fcf8e3;\n  border-color: #c09853;\n}\n\n.control-group.error .control-label,\n.control-group.error .help-block,\n.control-group.error .help-inline {\n  color: #b94a48;\n}\n\n.control-group.error .checkbox,\n.control-group.error .radio,\n.control-group.error input,\n.control-group.error select,\n.control-group.error textarea {\n  color: #b94a48;\n}\n\n.control-group.error input,\n.control-group.error select,\n.control-group.error textarea {\n  border-color: #b94a48;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.control-group.error input:focus,\n.control-group.error select:focus,\n.control-group.error textarea:focus {\n  border-color: #953b39;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;\n}\n\n.control-group.error .input-prepend .add-on,\n.control-group.error .input-append .add-on {\n  color: #b94a48;\n  background-color: #f2dede;\n  border-color: #b94a48;\n}\n\n.control-group.success .control-label,\n.control-group.success .help-block,\n.control-group.success .help-inline {\n  color: #468847;\n}\n\n.control-group.success .checkbox,\n.control-group.success .radio,\n.control-group.success input,\n.control-group.success select,\n.control-group.success textarea {\n  color: #468847;\n}\n\n.control-group.success input,\n.control-group.success select,\n.control-group.success textarea {\n  border-color: #468847;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.control-group.success input:focus,\n.control-group.success select:focus,\n.control-group.success textarea:focus {\n  border-color: #356635;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;\n}\n\n.control-group.success .input-prepend .add-on,\n.control-group.success .input-append .add-on {\n  color: #468847;\n  background-color: #dff0d8;\n  border-color: #468847;\n}\n\n.control-group.info .control-label,\n.control-group.info .help-block,\n.control-group.info .help-inline {\n  color: #3a87ad;\n}\n\n.control-group.info .checkbox,\n.control-group.info .radio,\n.control-group.info input,\n.control-group.info select,\n.control-group.info textarea {\n  color: #3a87ad;\n}\n\n.control-group.info input,\n.control-group.info select,\n.control-group.info textarea {\n  border-color: #3a87ad;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\n}\n\n.control-group.info input:focus,\n.control-group.info select:focus,\n.control-group.info textarea:focus {\n  border-color: #2d6987;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;\n}\n\n.control-group.info .input-prepend .add-on,\n.control-group.info .input-append .add-on {\n  color: #3a87ad;\n  background-color: #d9edf7;\n  border-color: #3a87ad;\n}\n\ninput:focus:invalid,\ntextarea:focus:invalid,\nselect:focus:invalid {\n  color: #b94a48;\n  border-color: #ee5f5b;\n}\n\ninput:focus:invalid:focus,\ntextarea:focus:invalid:focus,\nselect:focus:invalid:focus {\n  border-color: #e9322d;\n  -webkit-box-shadow: 0 0 6px #f8b9b7;\n     -moz-box-shadow: 0 0 6px #f8b9b7;\n          box-shadow: 0 0 6px #f8b9b7;\n}\n\n.form-actions {\n  padding: 19px 20px 20px;\n  margin-top: 20px;\n  margin-bottom: 20px;\n  background-color: #f5f5f5;\n  border-top: 1px solid #e5e5e5;\n  *zoom: 1;\n}\n\n.form-actions:before,\n.form-actions:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.form-actions:after {\n  clear: both;\n}\n\n.help-block,\n.help-inline {\n  color: #595959;\n}\n\n.help-block {\n  display: block;\n  margin-bottom: 10px;\n}\n\n.help-inline {\n  display: inline-block;\n  *display: inline;\n  padding-left: 5px;\n  vertical-align: middle;\n  *zoom: 1;\n}\n\n.input-append,\n.input-prepend {\n  display: inline-block;\n  margin-bottom: 10px;\n  font-size: 0;\n  white-space: nowrap;\n  vertical-align: middle;\n}\n\n.input-append input,\n.input-prepend input,\n.input-append select,\n.input-prepend select,\n.input-append .uneditable-input,\n.input-prepend .uneditable-input,\n.input-append .dropdown-menu,\n.input-prepend .dropdown-menu,\n.input-append .popover,\n.input-prepend .popover {\n  font-size: 14px;\n}\n\n.input-append input,\n.input-prepend input,\n.input-append select,\n.input-prepend select,\n.input-append .uneditable-input,\n.input-prepend .uneditable-input {\n  position: relative;\n  margin-bottom: 0;\n  *margin-left: 0;\n  vertical-align: top;\n  -webkit-border-radius: 0 4px 4px 0;\n     -moz-border-radius: 0 4px 4px 0;\n          border-radius: 0 4px 4px 0;\n}\n\n.input-append input:focus,\n.input-prepend input:focus,\n.input-append select:focus,\n.input-prepend select:focus,\n.input-append .uneditable-input:focus,\n.input-prepend .uneditable-input:focus {\n  z-index: 2;\n}\n\n.input-append .add-on,\n.input-prepend .add-on {\n  display: inline-block;\n  width: auto;\n  height: 20px;\n  min-width: 16px;\n  padding: 4px 5px;\n  font-size: 14px;\n  font-weight: normal;\n  line-height: 20px;\n  text-align: center;\n  text-shadow: 0 1px 0 #ffffff;\n  background-color: #eeeeee;\n  border: 1px solid #ccc;\n}\n\n.input-append .add-on,\n.input-prepend .add-on,\n.input-append .btn,\n.input-prepend .btn,\n.input-append .btn-group > .dropdown-toggle,\n.input-prepend .btn-group > .dropdown-toggle {\n  vertical-align: top;\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.input-append .active,\n.input-prepend .active {\n  background-color: #a9dba9;\n  border-color: #46a546;\n}\n\n.input-prepend .add-on,\n.input-prepend .btn {\n  margin-right: -1px;\n}\n\n.input-prepend .add-on:first-child,\n.input-prepend .btn:first-child {\n  -webkit-border-radius: 4px 0 0 4px;\n     -moz-border-radius: 4px 0 0 4px;\n          border-radius: 4px 0 0 4px;\n}\n\n.input-append input,\n.input-append select,\n.input-append .uneditable-input {\n  -webkit-border-radius: 4px 0 0 4px;\n     -moz-border-radius: 4px 0 0 4px;\n          border-radius: 4px 0 0 4px;\n}\n\n.input-append input + .btn-group .btn:last-child,\n.input-append select + .btn-group .btn:last-child,\n.input-append .uneditable-input + .btn-group .btn:last-child {\n  -webkit-border-radius: 0 4px 4px 0;\n     -moz-border-radius: 0 4px 4px 0;\n          border-radius: 0 4px 4px 0;\n}\n\n.input-append .add-on,\n.input-append .btn,\n.input-append .btn-group {\n  margin-left: -1px;\n}\n\n.input-append .add-on:last-child,\n.input-append .btn:last-child,\n.input-append .btn-group:last-child > .dropdown-toggle {\n  -webkit-border-radius: 0 4px 4px 0;\n     -moz-border-radius: 0 4px 4px 0;\n          border-radius: 0 4px 4px 0;\n}\n\n.input-prepend.input-append input,\n.input-prepend.input-append select,\n.input-prepend.input-append .uneditable-input {\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.input-prepend.input-append input + .btn-group .btn,\n.input-prepend.input-append select + .btn-group .btn,\n.input-prepend.input-append .uneditable-input + .btn-group .btn {\n  -webkit-border-radius: 0 4px 4px 0;\n     -moz-border-radius: 0 4px 4px 0;\n          border-radius: 0 4px 4px 0;\n}\n\n.input-prepend.input-append .add-on:first-child,\n.input-prepend.input-append .btn:first-child {\n  margin-right: -1px;\n  -webkit-border-radius: 4px 0 0 4px;\n     -moz-border-radius: 4px 0 0 4px;\n          border-radius: 4px 0 0 4px;\n}\n\n.input-prepend.input-append .add-on:last-child,\n.input-prepend.input-append .btn:last-child {\n  margin-left: -1px;\n  -webkit-border-radius: 0 4px 4px 0;\n     -moz-border-radius: 0 4px 4px 0;\n          border-radius: 0 4px 4px 0;\n}\n\n.input-prepend.input-append .btn-group:first-child {\n  margin-left: 0;\n}\n\ninput.search-query {\n  padding-right: 14px;\n  padding-right: 4px \\9;\n  padding-left: 14px;\n  padding-left: 4px \\9;\n  /* IE7-8 doesn't have border-radius, so don't indent the padding */\n\n  margin-bottom: 0;\n  -webkit-border-radius: 15px;\n     -moz-border-radius: 15px;\n          border-radius: 15px;\n}\n\n/* Allow for input prepend/append in search forms */\n\n.form-search .input-append .search-query,\n.form-search .input-prepend .search-query {\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.form-search .input-append .search-query {\n  -webkit-border-radius: 14px 0 0 14px;\n     -moz-border-radius: 14px 0 0 14px;\n          border-radius: 14px 0 0 14px;\n}\n\n.form-search .input-append .btn {\n  -webkit-border-radius: 0 14px 14px 0;\n     -moz-border-radius: 0 14px 14px 0;\n          border-radius: 0 14px 14px 0;\n}\n\n.form-search .input-prepend .search-query {\n  -webkit-border-radius: 0 14px 14px 0;\n     -moz-border-radius: 0 14px 14px 0;\n          border-radius: 0 14px 14px 0;\n}\n\n.form-search .input-prepend .btn {\n  -webkit-border-radius: 14px 0 0 14px;\n     -moz-border-radius: 14px 0 0 14px;\n          border-radius: 14px 0 0 14px;\n}\n\n.form-search input,\n.form-inline input,\n.form-horizontal input,\n.form-search textarea,\n.form-inline textarea,\n.form-horizontal textarea,\n.form-search select,\n.form-inline select,\n.form-horizontal select,\n.form-search .help-inline,\n.form-inline .help-inline,\n.form-horizontal .help-inline,\n.form-search .uneditable-input,\n.form-inline .uneditable-input,\n.form-horizontal .uneditable-input,\n.form-search .input-prepend,\n.form-inline .input-prepend,\n.form-horizontal .input-prepend,\n.form-search .input-append,\n.form-inline .input-append,\n.form-horizontal .input-append {\n  display: inline-block;\n  *display: inline;\n  margin-bottom: 0;\n  vertical-align: middle;\n  *zoom: 1;\n}\n\n.form-search .hide,\n.form-inline .hide,\n.form-horizontal .hide {\n  display: none;\n}\n\n.form-search label,\n.form-inline label,\n.form-search .btn-group,\n.form-inline .btn-group {\n  display: inline-block;\n}\n\n.form-search .input-append,\n.form-inline .input-append,\n.form-search .input-prepend,\n.form-inline .input-prepend {\n  margin-bottom: 0;\n}\n\n.form-search .radio,\n.form-search .checkbox,\n.form-inline .radio,\n.form-inline .checkbox {\n  padding-left: 0;\n  margin-bottom: 0;\n  vertical-align: middle;\n}\n\n.form-search .radio input[type=\"radio\"],\n.form-search .checkbox input[type=\"checkbox\"],\n.form-inline .radio input[type=\"radio\"],\n.form-inline .checkbox input[type=\"checkbox\"] {\n  float: left;\n  margin-right: 3px;\n  margin-left: 0;\n}\n\n.control-group {\n  margin-bottom: 10px;\n}\n\nlegend + .control-group {\n  margin-top: 20px;\n  -webkit-margin-top-collapse: separate;\n}\n\n.form-horizontal .control-group {\n  margin-bottom: 20px;\n  *zoom: 1;\n}\n\n.form-horizontal .control-group:before,\n.form-horizontal .control-group:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.form-horizontal .control-group:after {\n  clear: both;\n}\n\n.form-horizontal .control-label {\n  float: left;\n  width: 160px;\n  padding-top: 5px;\n  text-align: right;\n}\n\n.form-horizontal .controls {\n  *display: inline-block;\n  *padding-left: 20px;\n  margin-left: 180px;\n  *margin-left: 0;\n}\n\n.form-horizontal .controls:first-child {\n  *padding-left: 180px;\n}\n\n.form-horizontal .help-block {\n  margin-bottom: 0;\n}\n\n.form-horizontal input + .help-block,\n.form-horizontal select + .help-block,\n.form-horizontal textarea + .help-block,\n.form-horizontal .uneditable-input + .help-block,\n.form-horizontal .input-prepend + .help-block,\n.form-horizontal .input-append + .help-block {\n  margin-top: 10px;\n}\n\n.form-horizontal .form-actions {\n  padding-left: 180px;\n}\n\ntable {\n  max-width: 100%;\n  background-color: transparent;\n  border-collapse: collapse;\n  border-spacing: 0;\n}\n\n.table {\n  width: 100%;\n  margin-bottom: 20px;\n}\n\n.table th,\n.table td {\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: top;\n  border-top: 1px solid #dddddd;\n}\n\n.table th {\n  font-weight: bold;\n}\n\n.table thead th {\n  vertical-align: bottom;\n}\n\n.table caption + thead tr:first-child th,\n.table caption + thead tr:first-child td,\n.table colgroup + thead tr:first-child th,\n.table colgroup + thead tr:first-child td,\n.table thead:first-child tr:first-child th,\n.table thead:first-child tr:first-child td {\n  border-top: 0;\n}\n\n.table tbody + tbody {\n  border-top: 2px solid #dddddd;\n}\n\n.table .table {\n  background-color: #ffffff;\n}\n\n.table-condensed th,\n.table-condensed td {\n  padding: 4px 5px;\n}\n\n.table-bordered {\n  border: 1px solid #dddddd;\n  border-collapse: separate;\n  *border-collapse: collapse;\n  border-left: 0;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\n.table-bordered th,\n.table-bordered td {\n  border-left: 1px solid #dddddd;\n}\n\n.table-bordered caption + thead tr:first-child th,\n.table-bordered caption + tbody tr:first-child th,\n.table-bordered caption + tbody tr:first-child td,\n.table-bordered colgroup + thead tr:first-child th,\n.table-bordered colgroup + tbody tr:first-child th,\n.table-bordered colgroup + tbody tr:first-child td,\n.table-bordered thead:first-child tr:first-child th,\n.table-bordered tbody:first-child tr:first-child th,\n.table-bordered tbody:first-child tr:first-child td {\n  border-top: 0;\n}\n\n.table-bordered thead:first-child tr:first-child > th:first-child,\n.table-bordered tbody:first-child tr:first-child > td:first-child,\n.table-bordered tbody:first-child tr:first-child > th:first-child {\n  -webkit-border-top-left-radius: 4px;\n          border-top-left-radius: 4px;\n  -moz-border-radius-topleft: 4px;\n}\n\n.table-bordered thead:first-child tr:first-child > th:last-child,\n.table-bordered tbody:first-child tr:first-child > td:last-child,\n.table-bordered tbody:first-child tr:first-child > th:last-child {\n  -webkit-border-top-right-radius: 4px;\n          border-top-right-radius: 4px;\n  -moz-border-radius-topright: 4px;\n}\n\n.table-bordered thead:last-child tr:last-child > th:first-child,\n.table-bordered tbody:last-child tr:last-child > td:first-child,\n.table-bordered tbody:last-child tr:last-child > th:first-child,\n.table-bordered tfoot:last-child tr:last-child > td:first-child,\n.table-bordered tfoot:last-child tr:last-child > th:first-child {\n  -webkit-border-bottom-left-radius: 4px;\n          border-bottom-left-radius: 4px;\n  -moz-border-radius-bottomleft: 4px;\n}\n\n.table-bordered thead:last-child tr:last-child > th:last-child,\n.table-bordered tbody:last-child tr:last-child > td:last-child,\n.table-bordered tbody:last-child tr:last-child > th:last-child,\n.table-bordered tfoot:last-child tr:last-child > td:last-child,\n.table-bordered tfoot:last-child tr:last-child > th:last-child {\n  -webkit-border-bottom-right-radius: 4px;\n          border-bottom-right-radius: 4px;\n  -moz-border-radius-bottomright: 4px;\n}\n\n.table-bordered tfoot + tbody:last-child tr:last-child td:first-child {\n  -webkit-border-bottom-left-radius: 0;\n          border-bottom-left-radius: 0;\n  -moz-border-radius-bottomleft: 0;\n}\n\n.table-bordered tfoot + tbody:last-child tr:last-child td:last-child {\n  -webkit-border-bottom-right-radius: 0;\n          border-bottom-right-radius: 0;\n  -moz-border-radius-bottomright: 0;\n}\n\n.table-bordered caption + thead tr:first-child th:first-child,\n.table-bordered caption + tbody tr:first-child td:first-child,\n.table-bordered colgroup + thead tr:first-child th:first-child,\n.table-bordered colgroup + tbody tr:first-child td:first-child {\n  -webkit-border-top-left-radius: 4px;\n          border-top-left-radius: 4px;\n  -moz-border-radius-topleft: 4px;\n}\n\n.table-bordered caption + thead tr:first-child th:last-child,\n.table-bordered caption + tbody tr:first-child td:last-child,\n.table-bordered colgroup + thead tr:first-child th:last-child,\n.table-bordered colgroup + tbody tr:first-child td:last-child {\n  -webkit-border-top-right-radius: 4px;\n          border-top-right-radius: 4px;\n  -moz-border-radius-topright: 4px;\n}\n\n.table-striped tbody > tr:nth-child(odd) > td,\n.table-striped tbody > tr:nth-child(odd) > th {\n  background-color: #f9f9f9;\n}\n\n.table-hover tbody tr:hover > td,\n.table-hover tbody tr:hover > th {\n  background-color: #f5f5f5;\n}\n\ntable td[class*=\"span\"],\ntable th[class*=\"span\"],\n.row-fluid table td[class*=\"span\"],\n.row-fluid table th[class*=\"span\"] {\n  display: table-cell;\n  float: none;\n  margin-left: 0;\n}\n\n.table td.span1,\n.table th.span1 {\n  float: none;\n  width: 44px;\n  margin-left: 0;\n}\n\n.table td.span2,\n.table th.span2 {\n  float: none;\n  width: 124px;\n  margin-left: 0;\n}\n\n.table td.span3,\n.table th.span3 {\n  float: none;\n  width: 204px;\n  margin-left: 0;\n}\n\n.table td.span4,\n.table th.span4 {\n  float: none;\n  width: 284px;\n  margin-left: 0;\n}\n\n.table td.span5,\n.table th.span5 {\n  float: none;\n  width: 364px;\n  margin-left: 0;\n}\n\n.table td.span6,\n.table th.span6 {\n  float: none;\n  width: 444px;\n  margin-left: 0;\n}\n\n.table td.span7,\n.table th.span7 {\n  float: none;\n  width: 524px;\n  margin-left: 0;\n}\n\n.table td.span8,\n.table th.span8 {\n  float: none;\n  width: 604px;\n  margin-left: 0;\n}\n\n.table td.span9,\n.table th.span9 {\n  float: none;\n  width: 684px;\n  margin-left: 0;\n}\n\n.table td.span10,\n.table th.span10 {\n  float: none;\n  width: 764px;\n  margin-left: 0;\n}\n\n.table td.span11,\n.table th.span11 {\n  float: none;\n  width: 844px;\n  margin-left: 0;\n}\n\n.table td.span12,\n.table th.span12 {\n  float: none;\n  width: 924px;\n  margin-left: 0;\n}\n\n.table tbody tr.success > td {\n  background-color: #dff0d8;\n}\n\n.table tbody tr.error > td {\n  background-color: #f2dede;\n}\n\n.table tbody tr.warning > td {\n  background-color: #fcf8e3;\n}\n\n.table tbody tr.info > td {\n  background-color: #d9edf7;\n}\n\n.table-hover tbody tr.success:hover > td {\n  background-color: #d0e9c6;\n}\n\n.table-hover tbody tr.error:hover > td {\n  background-color: #ebcccc;\n}\n\n.table-hover tbody tr.warning:hover > td {\n  background-color: #faf2cc;\n}\n\n.table-hover tbody tr.info:hover > td {\n  background-color: #c4e3f3;\n}\n\n[class^=\"icon-\"],\n[class*=\" icon-\"] {\n  display: inline-block;\n  width: 14px;\n  height: 14px;\n  margin-top: 1px;\n  *margin-right: .3em;\n  line-height: 14px;\n  vertical-align: text-top;\n  background-image: url(\"../img/glyphicons-halflings.png\");\n  background-position: 14px 14px;\n  background-repeat: no-repeat;\n}\n\n/* White icons with optional class, or on hover/focus/active states of certain elements */\n\n.icon-white,\n.nav-pills > .active > a > [class^=\"icon-\"],\n.nav-pills > .active > a > [class*=\" icon-\"],\n.nav-list > .active > a > [class^=\"icon-\"],\n.nav-list > .active > a > [class*=\" icon-\"],\n.navbar-inverse .nav > .active > a > [class^=\"icon-\"],\n.navbar-inverse .nav > .active > a > [class*=\" icon-\"],\n.dropdown-menu > li > a:hover > [class^=\"icon-\"],\n.dropdown-menu > li > a:focus > [class^=\"icon-\"],\n.dropdown-menu > li > a:hover > [class*=\" icon-\"],\n.dropdown-menu > li > a:focus > [class*=\" icon-\"],\n.dropdown-menu > .active > a > [class^=\"icon-\"],\n.dropdown-menu > .active > a > [class*=\" icon-\"],\n.dropdown-submenu:hover > a > [class^=\"icon-\"],\n.dropdown-submenu:focus > a > [class^=\"icon-\"],\n.dropdown-submenu:hover > a > [class*=\" icon-\"],\n.dropdown-submenu:focus > a > [class*=\" icon-\"] {\n  background-image: url(\"../img/glyphicons-halflings-white.png\");\n}\n\n.icon-glass {\n  background-position: 0      0;\n}\n\n.icon-music {\n  background-position: -24px 0;\n}\n\n.icon-search {\n  background-position: -48px 0;\n}\n\n.icon-envelope {\n  background-position: -72px 0;\n}\n\n.icon-heart {\n  background-position: -96px 0;\n}\n\n.icon-star {\n  background-position: -120px 0;\n}\n\n.icon-star-empty {\n  background-position: -144px 0;\n}\n\n.icon-user {\n  background-position: -168px 0;\n}\n\n.icon-film {\n  background-position: -192px 0;\n}\n\n.icon-th-large {\n  background-position: -216px 0;\n}\n\n.icon-th {\n  background-position: -240px 0;\n}\n\n.icon-th-list {\n  background-position: -264px 0;\n}\n\n.icon-ok {\n  background-position: -288px 0;\n}\n\n.icon-remove {\n  background-position: -312px 0;\n}\n\n.icon-zoom-in {\n  background-position: -336px 0;\n}\n\n.icon-zoom-out {\n  background-position: -360px 0;\n}\n\n.icon-off {\n  background-position: -384px 0;\n}\n\n.icon-signal {\n  background-position: -408px 0;\n}\n\n.icon-cog {\n  background-position: -432px 0;\n}\n\n.icon-trash {\n  background-position: -456px 0;\n}\n\n.icon-home {\n  background-position: 0 -24px;\n}\n\n.icon-file {\n  background-position: -24px -24px;\n}\n\n.icon-time {\n  background-position: -48px -24px;\n}\n\n.icon-road {\n  background-position: -72px -24px;\n}\n\n.icon-download-alt {\n  background-position: -96px -24px;\n}\n\n.icon-download {\n  background-position: -120px -24px;\n}\n\n.icon-upload {\n  background-position: -144px -24px;\n}\n\n.icon-inbox {\n  background-position: -168px -24px;\n}\n\n.icon-play-circle {\n  background-position: -192px -24px;\n}\n\n.icon-repeat {\n  background-position: -216px -24px;\n}\n\n.icon-refresh {\n  background-position: -240px -24px;\n}\n\n.icon-list-alt {\n  background-position: -264px -24px;\n}\n\n.icon-lock {\n  background-position: -287px -24px;\n}\n\n.icon-flag {\n  background-position: -312px -24px;\n}\n\n.icon-headphones {\n  background-position: -336px -24px;\n}\n\n.icon-volume-off {\n  background-position: -360px -24px;\n}\n\n.icon-volume-down {\n  background-position: -384px -24px;\n}\n\n.icon-volume-up {\n  background-position: -408px -24px;\n}\n\n.icon-qrcode {\n  background-position: -432px -24px;\n}\n\n.icon-barcode {\n  background-position: -456px -24px;\n}\n\n.icon-tag {\n  background-position: 0 -48px;\n}\n\n.icon-tags {\n  background-position: -25px -48px;\n}\n\n.icon-book {\n  background-position: -48px -48px;\n}\n\n.icon-bookmark {\n  background-position: -72px -48px;\n}\n\n.icon-print {\n  background-position: -96px -48px;\n}\n\n.icon-camera {\n  background-position: -120px -48px;\n}\n\n.icon-font {\n  background-position: -144px -48px;\n}\n\n.icon-bold {\n  background-position: -167px -48px;\n}\n\n.icon-italic {\n  background-position: -192px -48px;\n}\n\n.icon-text-height {\n  background-position: -216px -48px;\n}\n\n.icon-text-width {\n  background-position: -240px -48px;\n}\n\n.icon-align-left {\n  background-position: -264px -48px;\n}\n\n.icon-align-center {\n  background-position: -288px -48px;\n}\n\n.icon-align-right {\n  background-position: -312px -48px;\n}\n\n.icon-align-justify {\n  background-position: -336px -48px;\n}\n\n.icon-list {\n  background-position: -360px -48px;\n}\n\n.icon-indent-left {\n  background-position: -384px -48px;\n}\n\n.icon-indent-right {\n  background-position: -408px -48px;\n}\n\n.icon-facetime-video {\n  background-position: -432px -48px;\n}\n\n.icon-picture {\n  background-position: -456px -48px;\n}\n\n.icon-pencil {\n  background-position: 0 -72px;\n}\n\n.icon-map-marker {\n  background-position: -24px -72px;\n}\n\n.icon-adjust {\n  background-position: -48px -72px;\n}\n\n.icon-tint {\n  background-position: -72px -72px;\n}\n\n.icon-edit {\n  background-position: -96px -72px;\n}\n\n.icon-share {\n  background-position: -120px -72px;\n}\n\n.icon-check {\n  background-position: -144px -72px;\n}\n\n.icon-move {\n  background-position: -168px -72px;\n}\n\n.icon-step-backward {\n  background-position: -192px -72px;\n}\n\n.icon-fast-backward {\n  background-position: -216px -72px;\n}\n\n.icon-backward {\n  background-position: -240px -72px;\n}\n\n.icon-play {\n  background-position: -264px -72px;\n}\n\n.icon-pause {\n  background-position: -288px -72px;\n}\n\n.icon-stop {\n  background-position: -312px -72px;\n}\n\n.icon-forward {\n  background-position: -336px -72px;\n}\n\n.icon-fast-forward {\n  background-position: -360px -72px;\n}\n\n.icon-step-forward {\n  background-position: -384px -72px;\n}\n\n.icon-eject {\n  background-position: -408px -72px;\n}\n\n.icon-chevron-left {\n  background-position: -432px -72px;\n}\n\n.icon-chevron-right {\n  background-position: -456px -72px;\n}\n\n.icon-plus-sign {\n  background-position: 0 -96px;\n}\n\n.icon-minus-sign {\n  background-position: -24px -96px;\n}\n\n.icon-remove-sign {\n  background-position: -48px -96px;\n}\n\n.icon-ok-sign {\n  background-position: -72px -96px;\n}\n\n.icon-question-sign {\n  background-position: -96px -96px;\n}\n\n.icon-info-sign {\n  background-position: -120px -96px;\n}\n\n.icon-screenshot {\n  background-position: -144px -96px;\n}\n\n.icon-remove-circle {\n  background-position: -168px -96px;\n}\n\n.icon-ok-circle {\n  background-position: -192px -96px;\n}\n\n.icon-ban-circle {\n  background-position: -216px -96px;\n}\n\n.icon-arrow-left {\n  background-position: -240px -96px;\n}\n\n.icon-arrow-right {\n  background-position: -264px -96px;\n}\n\n.icon-arrow-up {\n  background-position: -289px -96px;\n}\n\n.icon-arrow-down {\n  background-position: -312px -96px;\n}\n\n.icon-share-alt {\n  background-position: -336px -96px;\n}\n\n.icon-resize-full {\n  background-position: -360px -96px;\n}\n\n.icon-resize-small {\n  background-position: -384px -96px;\n}\n\n.icon-plus {\n  background-position: -408px -96px;\n}\n\n.icon-minus {\n  background-position: -433px -96px;\n}\n\n.icon-asterisk {\n  background-position: -456px -96px;\n}\n\n.icon-exclamation-sign {\n  background-position: 0 -120px;\n}\n\n.icon-gift {\n  background-position: -24px -120px;\n}\n\n.icon-leaf {\n  background-position: -48px -120px;\n}\n\n.icon-fire {\n  background-position: -72px -120px;\n}\n\n.icon-eye-open {\n  background-position: -96px -120px;\n}\n\n.icon-eye-close {\n  background-position: -120px -120px;\n}\n\n.icon-warning-sign {\n  background-position: -144px -120px;\n}\n\n.icon-plane {\n  background-position: -168px -120px;\n}\n\n.icon-calendar {\n  background-position: -192px -120px;\n}\n\n.icon-random {\n  width: 16px;\n  background-position: -216px -120px;\n}\n\n.icon-comment {\n  background-position: -240px -120px;\n}\n\n.icon-magnet {\n  background-position: -264px -120px;\n}\n\n.icon-chevron-up {\n  background-position: -288px -120px;\n}\n\n.icon-chevron-down {\n  background-position: -313px -119px;\n}\n\n.icon-retweet {\n  background-position: -336px -120px;\n}\n\n.icon-shopping-cart {\n  background-position: -360px -120px;\n}\n\n.icon-folder-close {\n  width: 16px;\n  background-position: -384px -120px;\n}\n\n.icon-folder-open {\n  width: 16px;\n  background-position: -408px -120px;\n}\n\n.icon-resize-vertical {\n  background-position: -432px -119px;\n}\n\n.icon-resize-horizontal {\n  background-position: -456px -118px;\n}\n\n.icon-hdd {\n  background-position: 0 -144px;\n}\n\n.icon-bullhorn {\n  background-position: -24px -144px;\n}\n\n.icon-bell {\n  background-position: -48px -144px;\n}\n\n.icon-certificate {\n  background-position: -72px -144px;\n}\n\n.icon-thumbs-up {\n  background-position: -96px -144px;\n}\n\n.icon-thumbs-down {\n  background-position: -120px -144px;\n}\n\n.icon-hand-right {\n  background-position: -144px -144px;\n}\n\n.icon-hand-left {\n  background-position: -168px -144px;\n}\n\n.icon-hand-up {\n  background-position: -192px -144px;\n}\n\n.icon-hand-down {\n  background-position: -216px -144px;\n}\n\n.icon-circle-arrow-right {\n  background-position: -240px -144px;\n}\n\n.icon-circle-arrow-left {\n  background-position: -264px -144px;\n}\n\n.icon-circle-arrow-up {\n  background-position: -288px -144px;\n}\n\n.icon-circle-arrow-down {\n  background-position: -312px -144px;\n}\n\n.icon-globe {\n  background-position: -336px -144px;\n}\n\n.icon-wrench {\n  background-position: -360px -144px;\n}\n\n.icon-tasks {\n  background-position: -384px -144px;\n}\n\n.icon-filter {\n  background-position: -408px -144px;\n}\n\n.icon-briefcase {\n  background-position: -432px -144px;\n}\n\n.icon-fullscreen {\n  background-position: -456px -144px;\n}\n\n.dropup,\n.dropdown {\n  position: relative;\n}\n\n.dropdown-toggle {\n  *margin-bottom: -3px;\n}\n\n.dropdown-toggle:active,\n.open .dropdown-toggle {\n  outline: 0;\n}\n\n.caret {\n  display: inline-block;\n  width: 0;\n  height: 0;\n  vertical-align: top;\n  border-top: 4px solid #000000;\n  border-right: 4px solid transparent;\n  border-left: 4px solid transparent;\n  content: \"\";\n}\n\n.dropdown .caret {\n  margin-top: 8px;\n  margin-left: 2px;\n}\n\n.dropdown-menu {\n  position: absolute;\n  top: 100%;\n  left: 0;\n  z-index: 1000;\n  display: none;\n  float: left;\n  min-width: 160px;\n  padding: 5px 0;\n  margin: 2px 0 0;\n  list-style: none;\n  background-color: #ffffff;\n  border: 1px solid #ccc;\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  *border-right-width: 2px;\n  *border-bottom-width: 2px;\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n  -webkit-background-clip: padding-box;\n     -moz-background-clip: padding;\n          background-clip: padding-box;\n}\n\n.dropdown-menu.pull-right {\n  right: 0;\n  left: auto;\n}\n\n.dropdown-menu .divider {\n  *width: 100%;\n  height: 1px;\n  margin: 9px 1px;\n  *margin: -5px 0 5px;\n  overflow: hidden;\n  background-color: #e5e5e5;\n  border-bottom: 1px solid #ffffff;\n}\n\n.dropdown-menu > li > a {\n  display: block;\n  padding: 3px 20px;\n  clear: both;\n  font-weight: normal;\n  line-height: 20px;\n  color: #333333;\n  white-space: nowrap;\n}\n\n.dropdown-menu > li > a:hover,\n.dropdown-menu > li > a:focus,\n.dropdown-submenu:hover > a,\n.dropdown-submenu:focus > a {\n  color: #ffffff;\n  text-decoration: none;\n  background-color: #0081c2;\n  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));\n  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);\n  background-image: -o-linear-gradient(top, #0088cc, #0077b3);\n  background-image: linear-gradient(to bottom, #0088cc, #0077b3);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);\n}\n\n.dropdown-menu > .active > a,\n.dropdown-menu > .active > a:hover,\n.dropdown-menu > .active > a:focus {\n  color: #ffffff;\n  text-decoration: none;\n  background-color: #0081c2;\n  background-image: -moz-linear-gradient(top, #0088cc, #0077b3);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));\n  background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);\n  background-image: -o-linear-gradient(top, #0088cc, #0077b3);\n  background-image: linear-gradient(to bottom, #0088cc, #0077b3);\n  background-repeat: repeat-x;\n  outline: 0;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);\n}\n\n.dropdown-menu > .disabled > a,\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n  color: #999999;\n}\n\n.dropdown-menu > .disabled > a:hover,\n.dropdown-menu > .disabled > a:focus {\n  text-decoration: none;\n  cursor: default;\n  background-color: transparent;\n  background-image: none;\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.open {\n  *z-index: 1000;\n}\n\n.open > .dropdown-menu {\n  display: block;\n}\n\n.pull-right > .dropdown-menu {\n  right: 0;\n  left: auto;\n}\n\n.dropup .caret,\n.navbar-fixed-bottom .dropdown .caret {\n  border-top: 0;\n  border-bottom: 4px solid #000000;\n  content: \"\";\n}\n\n.dropup .dropdown-menu,\n.navbar-fixed-bottom .dropdown .dropdown-menu {\n  top: auto;\n  bottom: 100%;\n  margin-bottom: 1px;\n}\n\n.dropdown-submenu {\n  position: relative;\n}\n\n.dropdown-submenu > .dropdown-menu {\n  top: 0;\n  left: 100%;\n  margin-top: -6px;\n  margin-left: -1px;\n  -webkit-border-radius: 0 6px 6px 6px;\n     -moz-border-radius: 0 6px 6px 6px;\n          border-radius: 0 6px 6px 6px;\n}\n\n.dropdown-submenu:hover > .dropdown-menu {\n  display: block;\n}\n\n.dropup .dropdown-submenu > .dropdown-menu {\n  top: auto;\n  bottom: 0;\n  margin-top: 0;\n  margin-bottom: -2px;\n  -webkit-border-radius: 5px 5px 5px 0;\n     -moz-border-radius: 5px 5px 5px 0;\n          border-radius: 5px 5px 5px 0;\n}\n\n.dropdown-submenu > a:after {\n  display: block;\n  float: right;\n  width: 0;\n  height: 0;\n  margin-top: 5px;\n  margin-right: -10px;\n  border-color: transparent;\n  border-left-color: #cccccc;\n  border-style: solid;\n  border-width: 5px 0 5px 5px;\n  content: \" \";\n}\n\n.dropdown-submenu:hover > a:after {\n  border-left-color: #ffffff;\n}\n\n.dropdown-submenu.pull-left {\n  float: none;\n}\n\n.dropdown-submenu.pull-left > .dropdown-menu {\n  left: -100%;\n  margin-left: 10px;\n  -webkit-border-radius: 6px 0 6px 6px;\n     -moz-border-radius: 6px 0 6px 6px;\n          border-radius: 6px 0 6px 6px;\n}\n\n.dropdown .dropdown-menu .nav-header {\n  padding-right: 20px;\n  padding-left: 20px;\n}\n\n.typeahead {\n  z-index: 1051;\n  margin-top: 2px;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\n.well {\n  min-height: 20px;\n  padding: 19px;\n  margin-bottom: 20px;\n  background-color: #f5f5f5;\n  border: 1px solid #e3e3e3;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);\n}\n\n.well blockquote {\n  border-color: #ddd;\n  border-color: rgba(0, 0, 0, 0.15);\n}\n\n.well-large {\n  padding: 24px;\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n}\n\n.well-small {\n  padding: 9px;\n  -webkit-border-radius: 3px;\n     -moz-border-radius: 3px;\n          border-radius: 3px;\n}\n\n.fade {\n  opacity: 0;\n  -webkit-transition: opacity 0.15s linear;\n     -moz-transition: opacity 0.15s linear;\n       -o-transition: opacity 0.15s linear;\n          transition: opacity 0.15s linear;\n}\n\n.fade.in {\n  opacity: 1;\n}\n\n.collapse {\n  position: relative;\n  height: 0;\n  overflow: hidden;\n  -webkit-transition: height 0.35s ease;\n     -moz-transition: height 0.35s ease;\n       -o-transition: height 0.35s ease;\n          transition: height 0.35s ease;\n}\n\n.collapse.in {\n  height: auto;\n}\n\n.close {\n  float: right;\n  font-size: 20px;\n  font-weight: bold;\n  line-height: 20px;\n  color: #000000;\n  text-shadow: 0 1px 0 #ffffff;\n  opacity: 0.2;\n  filter: alpha(opacity=20);\n}\n\n.close:hover,\n.close:focus {\n  color: #000000;\n  text-decoration: none;\n  cursor: pointer;\n  opacity: 0.4;\n  filter: alpha(opacity=40);\n}\n\nbutton.close {\n  padding: 0;\n  cursor: pointer;\n  background: transparent;\n  border: 0;\n  -webkit-appearance: none;\n}\n\n.btn {\n  display: inline-block;\n  *display: inline;\n  padding: 4px 12px;\n  margin-bottom: 0;\n  *margin-left: .3em;\n  font-size: 14px;\n  line-height: 20px;\n  color: #333333;\n  text-align: center;\n  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);\n  vertical-align: middle;\n  cursor: pointer;\n  background-color: #f5f5f5;\n  *background-color: #e6e6e6;\n  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));\n  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);\n  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);\n  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);\n  background-repeat: repeat-x;\n  border: 1px solid #cccccc;\n  *border: 0;\n  border-color: #e6e6e6 #e6e6e6 #bfbfbf;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  border-bottom-color: #b3b3b3;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n  *zoom: 1;\n  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);\n     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.btn:hover,\n.btn:focus,\n.btn:active,\n.btn.active,\n.btn.disabled,\n.btn[disabled] {\n  color: #333333;\n  background-color: #e6e6e6;\n  *background-color: #d9d9d9;\n}\n\n.btn:active,\n.btn.active {\n  background-color: #cccccc \\9;\n}\n\n.btn:first-child {\n  *margin-left: 0;\n}\n\n.btn:hover,\n.btn:focus {\n  color: #333333;\n  text-decoration: none;\n  background-position: 0 -15px;\n  -webkit-transition: background-position 0.1s linear;\n     -moz-transition: background-position 0.1s linear;\n       -o-transition: background-position 0.1s linear;\n          transition: background-position 0.1s linear;\n}\n\n.btn:focus {\n  outline: thin dotted #333;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n\n.btn.active,\n.btn:active {\n  background-image: none;\n  outline: 0;\n  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);\n     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.btn.disabled,\n.btn[disabled] {\n  cursor: default;\n  background-image: none;\n  opacity: 0.65;\n  filter: alpha(opacity=65);\n  -webkit-box-shadow: none;\n     -moz-box-shadow: none;\n          box-shadow: none;\n}\n\n.btn-large {\n  padding: 11px 19px;\n  font-size: 17.5px;\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n}\n\n.btn-large [class^=\"icon-\"],\n.btn-large [class*=\" icon-\"] {\n  margin-top: 4px;\n}\n\n.btn-small {\n  padding: 2px 10px;\n  font-size: 11.9px;\n  -webkit-border-radius: 3px;\n     -moz-border-radius: 3px;\n          border-radius: 3px;\n}\n\n.btn-small [class^=\"icon-\"],\n.btn-small [class*=\" icon-\"] {\n  margin-top: 0;\n}\n\n.btn-mini [class^=\"icon-\"],\n.btn-mini [class*=\" icon-\"] {\n  margin-top: -1px;\n}\n\n.btn-mini {\n  padding: 0 6px;\n  font-size: 10.5px;\n  -webkit-border-radius: 3px;\n     -moz-border-radius: 3px;\n          border-radius: 3px;\n}\n\n.btn-block {\n  display: block;\n  width: 100%;\n  padding-right: 0;\n  padding-left: 0;\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\n.btn-block + .btn-block {\n  margin-top: 5px;\n}\n\ninput[type=\"submit\"].btn-block,\ninput[type=\"reset\"].btn-block,\ninput[type=\"button\"].btn-block {\n  width: 100%;\n}\n\n.btn-primary.active,\n.btn-warning.active,\n.btn-danger.active,\n.btn-success.active,\n.btn-info.active,\n.btn-inverse.active {\n  color: rgba(255, 255, 255, 0.75);\n}\n\n.btn-primary {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #006dcc;\n  *background-color: #0044cc;\n  background-image: -moz-linear-gradient(top, #0088cc, #0044cc);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));\n  background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);\n  background-image: -o-linear-gradient(top, #0088cc, #0044cc);\n  background-image: linear-gradient(to bottom, #0088cc, #0044cc);\n  background-repeat: repeat-x;\n  border-color: #0044cc #0044cc #002a80;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-primary:hover,\n.btn-primary:focus,\n.btn-primary:active,\n.btn-primary.active,\n.btn-primary.disabled,\n.btn-primary[disabled] {\n  color: #ffffff;\n  background-color: #0044cc;\n  *background-color: #003bb3;\n}\n\n.btn-primary:active,\n.btn-primary.active {\n  background-color: #003399 \\9;\n}\n\n.btn-warning {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #faa732;\n  *background-color: #f89406;\n  background-image: -moz-linear-gradient(top, #fbb450, #f89406);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));\n  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);\n  background-image: -o-linear-gradient(top, #fbb450, #f89406);\n  background-image: linear-gradient(to bottom, #fbb450, #f89406);\n  background-repeat: repeat-x;\n  border-color: #f89406 #f89406 #ad6704;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-warning:hover,\n.btn-warning:focus,\n.btn-warning:active,\n.btn-warning.active,\n.btn-warning.disabled,\n.btn-warning[disabled] {\n  color: #ffffff;\n  background-color: #f89406;\n  *background-color: #df8505;\n}\n\n.btn-warning:active,\n.btn-warning.active {\n  background-color: #c67605 \\9;\n}\n\n.btn-danger {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #da4f49;\n  *background-color: #bd362f;\n  background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));\n  background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);\n  background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);\n  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);\n  background-repeat: repeat-x;\n  border-color: #bd362f #bd362f #802420;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-danger:hover,\n.btn-danger:focus,\n.btn-danger:active,\n.btn-danger.active,\n.btn-danger.disabled,\n.btn-danger[disabled] {\n  color: #ffffff;\n  background-color: #bd362f;\n  *background-color: #a9302a;\n}\n\n.btn-danger:active,\n.btn-danger.active {\n  background-color: #942a25 \\9;\n}\n\n.btn-success {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #5bb75b;\n  *background-color: #51a351;\n  background-image: -moz-linear-gradient(top, #62c462, #51a351);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));\n  background-image: -webkit-linear-gradient(top, #62c462, #51a351);\n  background-image: -o-linear-gradient(top, #62c462, #51a351);\n  background-image: linear-gradient(to bottom, #62c462, #51a351);\n  background-repeat: repeat-x;\n  border-color: #51a351 #51a351 #387038;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-success:hover,\n.btn-success:focus,\n.btn-success:active,\n.btn-success.active,\n.btn-success.disabled,\n.btn-success[disabled] {\n  color: #ffffff;\n  background-color: #51a351;\n  *background-color: #499249;\n}\n\n.btn-success:active,\n.btn-success.active {\n  background-color: #408140 \\9;\n}\n\n.btn-info {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #49afcd;\n  *background-color: #2f96b4;\n  background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));\n  background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);\n  background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);\n  background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);\n  background-repeat: repeat-x;\n  border-color: #2f96b4 #2f96b4 #1f6377;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-info:hover,\n.btn-info:focus,\n.btn-info:active,\n.btn-info.active,\n.btn-info.disabled,\n.btn-info[disabled] {\n  color: #ffffff;\n  background-color: #2f96b4;\n  *background-color: #2a85a0;\n}\n\n.btn-info:active,\n.btn-info.active {\n  background-color: #24748c \\9;\n}\n\n.btn-inverse {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #363636;\n  *background-color: #222222;\n  background-image: -moz-linear-gradient(top, #444444, #222222);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));\n  background-image: -webkit-linear-gradient(top, #444444, #222222);\n  background-image: -o-linear-gradient(top, #444444, #222222);\n  background-image: linear-gradient(to bottom, #444444, #222222);\n  background-repeat: repeat-x;\n  border-color: #222222 #222222 #000000;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.btn-inverse:hover,\n.btn-inverse:focus,\n.btn-inverse:active,\n.btn-inverse.active,\n.btn-inverse.disabled,\n.btn-inverse[disabled] {\n  color: #ffffff;\n  background-color: #222222;\n  *background-color: #151515;\n}\n\n.btn-inverse:active,\n.btn-inverse.active {\n  background-color: #080808 \\9;\n}\n\nbutton.btn,\ninput[type=\"submit\"].btn {\n  *padding-top: 3px;\n  *padding-bottom: 3px;\n}\n\nbutton.btn::-moz-focus-inner,\ninput[type=\"submit\"].btn::-moz-focus-inner {\n  padding: 0;\n  border: 0;\n}\n\nbutton.btn.btn-large,\ninput[type=\"submit\"].btn.btn-large {\n  *padding-top: 7px;\n  *padding-bottom: 7px;\n}\n\nbutton.btn.btn-small,\ninput[type=\"submit\"].btn.btn-small {\n  *padding-top: 3px;\n  *padding-bottom: 3px;\n}\n\nbutton.btn.btn-mini,\ninput[type=\"submit\"].btn.btn-mini {\n  *padding-top: 1px;\n  *padding-bottom: 1px;\n}\n\n.btn-link,\n.btn-link:active,\n.btn-link[disabled] {\n  background-color: transparent;\n  background-image: none;\n  -webkit-box-shadow: none;\n     -moz-box-shadow: none;\n          box-shadow: none;\n}\n\n.btn-link {\n  color: #0088cc;\n  cursor: pointer;\n  border-color: transparent;\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.btn-link:hover,\n.btn-link:focus {\n  color: #005580;\n  text-decoration: underline;\n  background-color: transparent;\n}\n\n.btn-link[disabled]:hover,\n.btn-link[disabled]:focus {\n  color: #333333;\n  text-decoration: none;\n}\n\n.btn-group {\n  position: relative;\n  display: inline-block;\n  *display: inline;\n  *margin-left: .3em;\n  font-size: 0;\n  white-space: nowrap;\n  vertical-align: middle;\n  *zoom: 1;\n}\n\n.btn-group:first-child {\n  *margin-left: 0;\n}\n\n.btn-group + .btn-group {\n  margin-left: 5px;\n}\n\n.btn-toolbar {\n  margin-top: 10px;\n  margin-bottom: 10px;\n  font-size: 0;\n}\n\n.btn-toolbar > .btn + .btn,\n.btn-toolbar > .btn-group + .btn,\n.btn-toolbar > .btn + .btn-group {\n  margin-left: 5px;\n}\n\n.btn-group > .btn {\n  position: relative;\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.btn-group > .btn + .btn {\n  margin-left: -1px;\n}\n\n.btn-group > .btn,\n.btn-group > .dropdown-menu,\n.btn-group > .popover {\n  font-size: 14px;\n}\n\n.btn-group > .btn-mini {\n  font-size: 10.5px;\n}\n\n.btn-group > .btn-small {\n  font-size: 11.9px;\n}\n\n.btn-group > .btn-large {\n  font-size: 17.5px;\n}\n\n.btn-group > .btn:first-child {\n  margin-left: 0;\n  -webkit-border-bottom-left-radius: 4px;\n          border-bottom-left-radius: 4px;\n  -webkit-border-top-left-radius: 4px;\n          border-top-left-radius: 4px;\n  -moz-border-radius-bottomleft: 4px;\n  -moz-border-radius-topleft: 4px;\n}\n\n.btn-group > .btn:last-child,\n.btn-group > .dropdown-toggle {\n  -webkit-border-top-right-radius: 4px;\n          border-top-right-radius: 4px;\n  -webkit-border-bottom-right-radius: 4px;\n          border-bottom-right-radius: 4px;\n  -moz-border-radius-topright: 4px;\n  -moz-border-radius-bottomright: 4px;\n}\n\n.btn-group > .btn.large:first-child {\n  margin-left: 0;\n  -webkit-border-bottom-left-radius: 6px;\n          border-bottom-left-radius: 6px;\n  -webkit-border-top-left-radius: 6px;\n          border-top-left-radius: 6px;\n  -moz-border-radius-bottomleft: 6px;\n  -moz-border-radius-topleft: 6px;\n}\n\n.btn-group > .btn.large:last-child,\n.btn-group > .large.dropdown-toggle {\n  -webkit-border-top-right-radius: 6px;\n          border-top-right-radius: 6px;\n  -webkit-border-bottom-right-radius: 6px;\n          border-bottom-right-radius: 6px;\n  -moz-border-radius-topright: 6px;\n  -moz-border-radius-bottomright: 6px;\n}\n\n.btn-group > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group > .btn:active,\n.btn-group > .btn.active {\n  z-index: 2;\n}\n\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n  outline: 0;\n}\n\n.btn-group > .btn + .dropdown-toggle {\n  *padding-top: 5px;\n  padding-right: 8px;\n  *padding-bottom: 5px;\n  padding-left: 8px;\n  -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);\n     -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.btn-group > .btn-mini + .dropdown-toggle {\n  *padding-top: 2px;\n  padding-right: 5px;\n  *padding-bottom: 2px;\n  padding-left: 5px;\n}\n\n.btn-group > .btn-small + .dropdown-toggle {\n  *padding-top: 5px;\n  *padding-bottom: 4px;\n}\n\n.btn-group > .btn-large + .dropdown-toggle {\n  *padding-top: 7px;\n  padding-right: 12px;\n  *padding-bottom: 7px;\n  padding-left: 12px;\n}\n\n.btn-group.open .dropdown-toggle {\n  background-image: none;\n  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);\n     -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.btn-group.open .btn.dropdown-toggle {\n  background-color: #e6e6e6;\n}\n\n.btn-group.open .btn-primary.dropdown-toggle {\n  background-color: #0044cc;\n}\n\n.btn-group.open .btn-warning.dropdown-toggle {\n  background-color: #f89406;\n}\n\n.btn-group.open .btn-danger.dropdown-toggle {\n  background-color: #bd362f;\n}\n\n.btn-group.open .btn-success.dropdown-toggle {\n  background-color: #51a351;\n}\n\n.btn-group.open .btn-info.dropdown-toggle {\n  background-color: #2f96b4;\n}\n\n.btn-group.open .btn-inverse.dropdown-toggle {\n  background-color: #222222;\n}\n\n.btn .caret {\n  margin-top: 8px;\n  margin-left: 0;\n}\n\n.btn-large .caret {\n  margin-top: 6px;\n}\n\n.btn-large .caret {\n  border-top-width: 5px;\n  border-right-width: 5px;\n  border-left-width: 5px;\n}\n\n.btn-mini .caret,\n.btn-small .caret {\n  margin-top: 8px;\n}\n\n.dropup .btn-large .caret {\n  border-bottom-width: 5px;\n}\n\n.btn-primary .caret,\n.btn-warning .caret,\n.btn-danger .caret,\n.btn-info .caret,\n.btn-success .caret,\n.btn-inverse .caret {\n  border-top-color: #ffffff;\n  border-bottom-color: #ffffff;\n}\n\n.btn-group-vertical {\n  display: inline-block;\n  *display: inline;\n  /* IE7 inline-block hack */\n\n  *zoom: 1;\n}\n\n.btn-group-vertical > .btn {\n  display: block;\n  float: none;\n  max-width: 100%;\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.btn-group-vertical > .btn + .btn {\n  margin-top: -1px;\n  margin-left: 0;\n}\n\n.btn-group-vertical > .btn:first-child {\n  -webkit-border-radius: 4px 4px 0 0;\n     -moz-border-radius: 4px 4px 0 0;\n          border-radius: 4px 4px 0 0;\n}\n\n.btn-group-vertical > .btn:last-child {\n  -webkit-border-radius: 0 0 4px 4px;\n     -moz-border-radius: 0 0 4px 4px;\n          border-radius: 0 0 4px 4px;\n}\n\n.btn-group-vertical > .btn-large:first-child {\n  -webkit-border-radius: 6px 6px 0 0;\n     -moz-border-radius: 6px 6px 0 0;\n          border-radius: 6px 6px 0 0;\n}\n\n.btn-group-vertical > .btn-large:last-child {\n  -webkit-border-radius: 0 0 6px 6px;\n     -moz-border-radius: 0 0 6px 6px;\n          border-radius: 0 0 6px 6px;\n}\n\n.alert {\n  padding: 8px 35px 8px 14px;\n  margin-bottom: 20px;\n  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);\n  background-color: #fcf8e3;\n  border: 1px solid #fbeed5;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\n.alert,\n.alert h4 {\n  color: #c09853;\n}\n\n.alert h4 {\n  margin: 0;\n}\n\n.alert .close {\n  position: relative;\n  top: -2px;\n  right: -21px;\n  line-height: 20px;\n}\n\n.alert-success {\n  color: #468847;\n  background-color: #dff0d8;\n  border-color: #d6e9c6;\n}\n\n.alert-success h4 {\n  color: #468847;\n}\n\n.alert-danger,\n.alert-error {\n  color: #b94a48;\n  background-color: #f2dede;\n  border-color: #eed3d7;\n}\n\n.alert-danger h4,\n.alert-error h4 {\n  color: #b94a48;\n}\n\n.alert-info {\n  color: #3a87ad;\n  background-color: #d9edf7;\n  border-color: #bce8f1;\n}\n\n.alert-info h4 {\n  color: #3a87ad;\n}\n\n.alert-block {\n  padding-top: 14px;\n  padding-bottom: 14px;\n}\n\n.alert-block > p,\n.alert-block > ul {\n  margin-bottom: 0;\n}\n\n.alert-block p + p {\n  margin-top: 5px;\n}\n\n.nav {\n  margin-bottom: 20px;\n  margin-left: 0;\n  list-style: none;\n}\n\n.nav > li > a {\n  display: block;\n}\n\n.nav > li > a:hover,\n.nav > li > a:focus {\n  text-decoration: none;\n  background-color: #eeeeee;\n}\n\n.nav > li > a > img {\n  max-width: none;\n}\n\n.nav > .pull-right {\n  float: right;\n}\n\n.nav-header {\n  display: block;\n  padding: 3px 15px;\n  font-size: 11px;\n  font-weight: bold;\n  line-height: 20px;\n  color: #999999;\n  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);\n  text-transform: uppercase;\n}\n\n.nav li + .nav-header {\n  margin-top: 9px;\n}\n\n.nav-list {\n  padding-right: 15px;\n  padding-left: 15px;\n  margin-bottom: 0;\n}\n\n.nav-list > li > a,\n.nav-list .nav-header {\n  margin-right: -15px;\n  margin-left: -15px;\n  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);\n}\n\n.nav-list > li > a {\n  padding: 3px 15px;\n}\n\n.nav-list > .active > a,\n.nav-list > .active > a:hover,\n.nav-list > .active > a:focus {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);\n  background-color: #0088cc;\n}\n\n.nav-list [class^=\"icon-\"],\n.nav-list [class*=\" icon-\"] {\n  margin-right: 2px;\n}\n\n.nav-list .divider {\n  *width: 100%;\n  height: 1px;\n  margin: 9px 1px;\n  *margin: -5px 0 5px;\n  overflow: hidden;\n  background-color: #e5e5e5;\n  border-bottom: 1px solid #ffffff;\n}\n\n.nav-tabs,\n.nav-pills {\n  *zoom: 1;\n}\n\n.nav-tabs:before,\n.nav-pills:before,\n.nav-tabs:after,\n.nav-pills:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.nav-tabs:after,\n.nav-pills:after {\n  clear: both;\n}\n\n.nav-tabs > li,\n.nav-pills > li {\n  float: left;\n}\n\n.nav-tabs > li > a,\n.nav-pills > li > a {\n  padding-right: 12px;\n  padding-left: 12px;\n  margin-right: 2px;\n  line-height: 14px;\n}\n\n.nav-tabs {\n  border-bottom: 1px solid #ddd;\n}\n\n.nav-tabs > li {\n  margin-bottom: -1px;\n}\n\n.nav-tabs > li > a {\n  padding-top: 8px;\n  padding-bottom: 8px;\n  line-height: 20px;\n  border: 1px solid transparent;\n  -webkit-border-radius: 4px 4px 0 0;\n     -moz-border-radius: 4px 4px 0 0;\n          border-radius: 4px 4px 0 0;\n}\n\n.nav-tabs > li > a:hover,\n.nav-tabs > li > a:focus {\n  border-color: #eeeeee #eeeeee #dddddd;\n}\n\n.nav-tabs > .active > a,\n.nav-tabs > .active > a:hover,\n.nav-tabs > .active > a:focus {\n  color: #555555;\n  cursor: default;\n  background-color: #ffffff;\n  border: 1px solid #ddd;\n  border-bottom-color: transparent;\n}\n\n.nav-pills > li > a {\n  padding-top: 8px;\n  padding-bottom: 8px;\n  margin-top: 2px;\n  margin-bottom: 2px;\n  -webkit-border-radius: 5px;\n     -moz-border-radius: 5px;\n          border-radius: 5px;\n}\n\n.nav-pills > .active > a,\n.nav-pills > .active > a:hover,\n.nav-pills > .active > a:focus {\n  color: #ffffff;\n  background-color: #0088cc;\n}\n\n.nav-stacked > li {\n  float: none;\n}\n\n.nav-stacked > li > a {\n  margin-right: 0;\n}\n\n.nav-tabs.nav-stacked {\n  border-bottom: 0;\n}\n\n.nav-tabs.nav-stacked > li > a {\n  border: 1px solid #ddd;\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.nav-tabs.nav-stacked > li:first-child > a {\n  -webkit-border-top-right-radius: 4px;\n          border-top-right-radius: 4px;\n  -webkit-border-top-left-radius: 4px;\n          border-top-left-radius: 4px;\n  -moz-border-radius-topright: 4px;\n  -moz-border-radius-topleft: 4px;\n}\n\n.nav-tabs.nav-stacked > li:last-child > a {\n  -webkit-border-bottom-right-radius: 4px;\n          border-bottom-right-radius: 4px;\n  -webkit-border-bottom-left-radius: 4px;\n          border-bottom-left-radius: 4px;\n  -moz-border-radius-bottomright: 4px;\n  -moz-border-radius-bottomleft: 4px;\n}\n\n.nav-tabs.nav-stacked > li > a:hover,\n.nav-tabs.nav-stacked > li > a:focus {\n  z-index: 2;\n  border-color: #ddd;\n}\n\n.nav-pills.nav-stacked > li > a {\n  margin-bottom: 3px;\n}\n\n.nav-pills.nav-stacked > li:last-child > a {\n  margin-bottom: 1px;\n}\n\n.nav-tabs .dropdown-menu {\n  -webkit-border-radius: 0 0 6px 6px;\n     -moz-border-radius: 0 0 6px 6px;\n          border-radius: 0 0 6px 6px;\n}\n\n.nav-pills .dropdown-menu {\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n}\n\n.nav .dropdown-toggle .caret {\n  margin-top: 6px;\n  border-top-color: #0088cc;\n  border-bottom-color: #0088cc;\n}\n\n.nav .dropdown-toggle:hover .caret,\n.nav .dropdown-toggle:focus .caret {\n  border-top-color: #005580;\n  border-bottom-color: #005580;\n}\n\n/* move down carets for tabs */\n\n.nav-tabs .dropdown-toggle .caret {\n  margin-top: 8px;\n}\n\n.nav .active .dropdown-toggle .caret {\n  border-top-color: #fff;\n  border-bottom-color: #fff;\n}\n\n.nav-tabs .active .dropdown-toggle .caret {\n  border-top-color: #555555;\n  border-bottom-color: #555555;\n}\n\n.nav > .dropdown.active > a:hover,\n.nav > .dropdown.active > a:focus {\n  cursor: pointer;\n}\n\n.nav-tabs .open .dropdown-toggle,\n.nav-pills .open .dropdown-toggle,\n.nav > li.dropdown.open.active > a:hover,\n.nav > li.dropdown.open.active > a:focus {\n  color: #ffffff;\n  background-color: #999999;\n  border-color: #999999;\n}\n\n.nav li.dropdown.open .caret,\n.nav li.dropdown.open.active .caret,\n.nav li.dropdown.open a:hover .caret,\n.nav li.dropdown.open a:focus .caret {\n  border-top-color: #ffffff;\n  border-bottom-color: #ffffff;\n  opacity: 1;\n  filter: alpha(opacity=100);\n}\n\n.tabs-stacked .open > a:hover,\n.tabs-stacked .open > a:focus {\n  border-color: #999999;\n}\n\n.tabbable {\n  *zoom: 1;\n}\n\n.tabbable:before,\n.tabbable:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.tabbable:after {\n  clear: both;\n}\n\n.tab-content {\n  overflow: auto;\n}\n\n.tabs-below > .nav-tabs,\n.tabs-right > .nav-tabs,\n.tabs-left > .nav-tabs {\n  border-bottom: 0;\n}\n\n.tab-content > .tab-pane,\n.pill-content > .pill-pane {\n  display: none;\n}\n\n.tab-content > .active,\n.pill-content > .active {\n  display: block;\n}\n\n.tabs-below > .nav-tabs {\n  border-top: 1px solid #ddd;\n}\n\n.tabs-below > .nav-tabs > li {\n  margin-top: -1px;\n  margin-bottom: 0;\n}\n\n.tabs-below > .nav-tabs > li > a {\n  -webkit-border-radius: 0 0 4px 4px;\n     -moz-border-radius: 0 0 4px 4px;\n          border-radius: 0 0 4px 4px;\n}\n\n.tabs-below > .nav-tabs > li > a:hover,\n.tabs-below > .nav-tabs > li > a:focus {\n  border-top-color: #ddd;\n  border-bottom-color: transparent;\n}\n\n.tabs-below > .nav-tabs > .active > a,\n.tabs-below > .nav-tabs > .active > a:hover,\n.tabs-below > .nav-tabs > .active > a:focus {\n  border-color: transparent #ddd #ddd #ddd;\n}\n\n.tabs-left > .nav-tabs > li,\n.tabs-right > .nav-tabs > li {\n  float: none;\n}\n\n.tabs-left > .nav-tabs > li > a,\n.tabs-right > .nav-tabs > li > a {\n  min-width: 74px;\n  margin-right: 0;\n  margin-bottom: 3px;\n}\n\n.tabs-left > .nav-tabs {\n  float: left;\n  margin-right: 19px;\n  border-right: 1px solid #ddd;\n}\n\n.tabs-left > .nav-tabs > li > a {\n  margin-right: -1px;\n  -webkit-border-radius: 4px 0 0 4px;\n     -moz-border-radius: 4px 0 0 4px;\n          border-radius: 4px 0 0 4px;\n}\n\n.tabs-left > .nav-tabs > li > a:hover,\n.tabs-left > .nav-tabs > li > a:focus {\n  border-color: #eeeeee #dddddd #eeeeee #eeeeee;\n}\n\n.tabs-left > .nav-tabs .active > a,\n.tabs-left > .nav-tabs .active > a:hover,\n.tabs-left > .nav-tabs .active > a:focus {\n  border-color: #ddd transparent #ddd #ddd;\n  *border-right-color: #ffffff;\n}\n\n.tabs-right > .nav-tabs {\n  float: right;\n  margin-left: 19px;\n  border-left: 1px solid #ddd;\n}\n\n.tabs-right > .nav-tabs > li > a {\n  margin-left: -1px;\n  -webkit-border-radius: 0 4px 4px 0;\n     -moz-border-radius: 0 4px 4px 0;\n          border-radius: 0 4px 4px 0;\n}\n\n.tabs-right > .nav-tabs > li > a:hover,\n.tabs-right > .nav-tabs > li > a:focus {\n  border-color: #eeeeee #eeeeee #eeeeee #dddddd;\n}\n\n.tabs-right > .nav-tabs .active > a,\n.tabs-right > .nav-tabs .active > a:hover,\n.tabs-right > .nav-tabs .active > a:focus {\n  border-color: #ddd #ddd #ddd transparent;\n  *border-left-color: #ffffff;\n}\n\n.nav > .disabled > a {\n  color: #999999;\n}\n\n.nav > .disabled > a:hover,\n.nav > .disabled > a:focus {\n  text-decoration: none;\n  cursor: default;\n  background-color: transparent;\n}\n\n.navbar {\n  *position: relative;\n  *z-index: 2;\n  margin-bottom: 20px;\n  overflow: visible;\n}\n\n.navbar-inner {\n  min-height: 40px;\n  padding-right: 20px;\n  padding-left: 20px;\n  background-color: #fafafa;\n  background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));\n  background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);\n  background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);\n  background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);\n  background-repeat: repeat-x;\n  border: 1px solid #d4d4d4;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);\n  *zoom: 1;\n  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);\n     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);\n          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);\n}\n\n.navbar-inner:before,\n.navbar-inner:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.navbar-inner:after {\n  clear: both;\n}\n\n.navbar .container {\n  width: auto;\n}\n\n.nav-collapse.collapse {\n  height: auto;\n  overflow: visible;\n}\n\n.navbar .brand {\n  display: block;\n  float: left;\n  padding: 10px 20px 10px;\n  margin-left: -20px;\n  font-size: 20px;\n  font-weight: 200;\n  color: #777777;\n  text-shadow: 0 1px 0 #ffffff;\n}\n\n.navbar .brand:hover,\n.navbar .brand:focus {\n  text-decoration: none;\n}\n\n.navbar-text {\n  margin-bottom: 0;\n  line-height: 40px;\n  color: #777777;\n}\n\n.navbar-link {\n  color: #777777;\n}\n\n.navbar-link:hover,\n.navbar-link:focus {\n  color: #333333;\n}\n\n.navbar .divider-vertical {\n  height: 40px;\n  margin: 0 9px;\n  border-right: 1px solid #ffffff;\n  border-left: 1px solid #f2f2f2;\n}\n\n.navbar .btn,\n.navbar .btn-group {\n  margin-top: 5px;\n}\n\n.navbar .btn-group .btn,\n.navbar .input-prepend .btn,\n.navbar .input-append .btn,\n.navbar .input-prepend .btn-group,\n.navbar .input-append .btn-group {\n  margin-top: 0;\n}\n\n.navbar-form {\n  margin-bottom: 0;\n  *zoom: 1;\n}\n\n.navbar-form:before,\n.navbar-form:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.navbar-form:after {\n  clear: both;\n}\n\n.navbar-form input,\n.navbar-form select,\n.navbar-form .radio,\n.navbar-form .checkbox {\n  margin-top: 5px;\n}\n\n.navbar-form input,\n.navbar-form select,\n.navbar-form .btn {\n  display: inline-block;\n  margin-bottom: 0;\n}\n\n.navbar-form input[type=\"image\"],\n.navbar-form input[type=\"checkbox\"],\n.navbar-form input[type=\"radio\"] {\n  margin-top: 3px;\n}\n\n.navbar-form .input-append,\n.navbar-form .input-prepend {\n  margin-top: 5px;\n  white-space: nowrap;\n}\n\n.navbar-form .input-append input,\n.navbar-form .input-prepend input {\n  margin-top: 0;\n}\n\n.navbar-search {\n  position: relative;\n  float: left;\n  margin-top: 5px;\n  margin-bottom: 0;\n}\n\n.navbar-search .search-query {\n  padding: 4px 14px;\n  margin-bottom: 0;\n  font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n  font-size: 13px;\n  font-weight: normal;\n  line-height: 1;\n  -webkit-border-radius: 15px;\n     -moz-border-radius: 15px;\n          border-radius: 15px;\n}\n\n.navbar-static-top {\n  position: static;\n  margin-bottom: 0;\n}\n\n.navbar-static-top .navbar-inner {\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n  position: fixed;\n  right: 0;\n  left: 0;\n  z-index: 1030;\n  margin-bottom: 0;\n}\n\n.navbar-fixed-top .navbar-inner,\n.navbar-static-top .navbar-inner {\n  border-width: 0 0 1px;\n}\n\n.navbar-fixed-bottom .navbar-inner {\n  border-width: 1px 0 0;\n}\n\n.navbar-fixed-top .navbar-inner,\n.navbar-fixed-bottom .navbar-inner {\n  padding-right: 0;\n  padding-left: 0;\n  -webkit-border-radius: 0;\n     -moz-border-radius: 0;\n          border-radius: 0;\n}\n\n.navbar-static-top .container,\n.navbar-fixed-top .container,\n.navbar-fixed-bottom .container {\n  width: 940px;\n}\n\n.navbar-fixed-top {\n  top: 0;\n}\n\n.navbar-fixed-top .navbar-inner,\n.navbar-static-top .navbar-inner {\n  -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);\n     -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);\n          box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);\n}\n\n.navbar-fixed-bottom {\n  bottom: 0;\n}\n\n.navbar-fixed-bottom .navbar-inner {\n  -webkit-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);\n     -moz-box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);\n          box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);\n}\n\n.navbar .nav {\n  position: relative;\n  left: 0;\n  display: block;\n  float: left;\n  margin: 0 10px 0 0;\n}\n\n.navbar .nav.pull-right {\n  float: right;\n  margin-right: 0;\n}\n\n.navbar .nav > li {\n  float: left;\n}\n\n.navbar .nav > li > a {\n  float: none;\n  padding: 10px 15px 10px;\n  color: #777777;\n  text-decoration: none;\n  text-shadow: 0 1px 0 #ffffff;\n}\n\n.navbar .nav .dropdown-toggle .caret {\n  margin-top: 8px;\n}\n\n.navbar .nav > li > a:focus,\n.navbar .nav > li > a:hover {\n  color: #333333;\n  text-decoration: none;\n  background-color: transparent;\n}\n\n.navbar .nav > .active > a,\n.navbar .nav > .active > a:hover,\n.navbar .nav > .active > a:focus {\n  color: #555555;\n  text-decoration: none;\n  background-color: #e5e5e5;\n  -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);\n     -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);\n          box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);\n}\n\n.navbar .btn-navbar {\n  display: none;\n  float: right;\n  padding: 7px 10px;\n  margin-right: 5px;\n  margin-left: 5px;\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #ededed;\n  *background-color: #e5e5e5;\n  background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));\n  background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5);\n  background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5);\n  background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);\n  background-repeat: repeat-x;\n  border-color: #e5e5e5 #e5e5e5 #bfbfbf;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);\n     -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);\n          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);\n}\n\n.navbar .btn-navbar:hover,\n.navbar .btn-navbar:focus,\n.navbar .btn-navbar:active,\n.navbar .btn-navbar.active,\n.navbar .btn-navbar.disabled,\n.navbar .btn-navbar[disabled] {\n  color: #ffffff;\n  background-color: #e5e5e5;\n  *background-color: #d9d9d9;\n}\n\n.navbar .btn-navbar:active,\n.navbar .btn-navbar.active {\n  background-color: #cccccc \\9;\n}\n\n.navbar .btn-navbar .icon-bar {\n  display: block;\n  width: 18px;\n  height: 2px;\n  background-color: #f5f5f5;\n  -webkit-border-radius: 1px;\n     -moz-border-radius: 1px;\n          border-radius: 1px;\n  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);\n     -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);\n          box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);\n}\n\n.btn-navbar .icon-bar + .icon-bar {\n  margin-top: 3px;\n}\n\n.navbar .nav > li > .dropdown-menu:before {\n  position: absolute;\n  top: -7px;\n  left: 9px;\n  display: inline-block;\n  border-right: 7px solid transparent;\n  border-bottom: 7px solid #ccc;\n  border-left: 7px solid transparent;\n  border-bottom-color: rgba(0, 0, 0, 0.2);\n  content: '';\n}\n\n.navbar .nav > li > .dropdown-menu:after {\n  position: absolute;\n  top: -6px;\n  left: 10px;\n  display: inline-block;\n  border-right: 6px solid transparent;\n  border-bottom: 6px solid #ffffff;\n  border-left: 6px solid transparent;\n  content: '';\n}\n\n.navbar-fixed-bottom .nav > li > .dropdown-menu:before {\n  top: auto;\n  bottom: -7px;\n  border-top: 7px solid #ccc;\n  border-bottom: 0;\n  border-top-color: rgba(0, 0, 0, 0.2);\n}\n\n.navbar-fixed-bottom .nav > li > .dropdown-menu:after {\n  top: auto;\n  bottom: -6px;\n  border-top: 6px solid #ffffff;\n  border-bottom: 0;\n}\n\n.navbar .nav li.dropdown > a:hover .caret,\n.navbar .nav li.dropdown > a:focus .caret {\n  border-top-color: #333333;\n  border-bottom-color: #333333;\n}\n\n.navbar .nav li.dropdown.open > .dropdown-toggle,\n.navbar .nav li.dropdown.active > .dropdown-toggle,\n.navbar .nav li.dropdown.open.active > .dropdown-toggle {\n  color: #555555;\n  background-color: #e5e5e5;\n}\n\n.navbar .nav li.dropdown > .dropdown-toggle .caret {\n  border-top-color: #777777;\n  border-bottom-color: #777777;\n}\n\n.navbar .nav li.dropdown.open > .dropdown-toggle .caret,\n.navbar .nav li.dropdown.active > .dropdown-toggle .caret,\n.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret {\n  border-top-color: #555555;\n  border-bottom-color: #555555;\n}\n\n.navbar .pull-right > li > .dropdown-menu,\n.navbar .nav > li > .dropdown-menu.pull-right {\n  right: 0;\n  left: auto;\n}\n\n.navbar .pull-right > li > .dropdown-menu:before,\n.navbar .nav > li > .dropdown-menu.pull-right:before {\n  right: 12px;\n  left: auto;\n}\n\n.navbar .pull-right > li > .dropdown-menu:after,\n.navbar .nav > li > .dropdown-menu.pull-right:after {\n  right: 13px;\n  left: auto;\n}\n\n.navbar .pull-right > li > .dropdown-menu .dropdown-menu,\n.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu {\n  right: 100%;\n  left: auto;\n  margin-right: -1px;\n  margin-left: 0;\n  -webkit-border-radius: 6px 0 6px 6px;\n     -moz-border-radius: 6px 0 6px 6px;\n          border-radius: 6px 0 6px 6px;\n}\n\n.navbar-inverse .navbar-inner {\n  background-color: #1b1b1b;\n  background-image: -moz-linear-gradient(top, #222222, #111111);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));\n  background-image: -webkit-linear-gradient(top, #222222, #111111);\n  background-image: -o-linear-gradient(top, #222222, #111111);\n  background-image: linear-gradient(to bottom, #222222, #111111);\n  background-repeat: repeat-x;\n  border-color: #252525;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);\n}\n\n.navbar-inverse .brand,\n.navbar-inverse .nav > li > a {\n  color: #999999;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n\n.navbar-inverse .brand:hover,\n.navbar-inverse .nav > li > a:hover,\n.navbar-inverse .brand:focus,\n.navbar-inverse .nav > li > a:focus {\n  color: #ffffff;\n}\n\n.navbar-inverse .brand {\n  color: #999999;\n}\n\n.navbar-inverse .navbar-text {\n  color: #999999;\n}\n\n.navbar-inverse .nav > li > a:focus,\n.navbar-inverse .nav > li > a:hover {\n  color: #ffffff;\n  background-color: transparent;\n}\n\n.navbar-inverse .nav .active > a,\n.navbar-inverse .nav .active > a:hover,\n.navbar-inverse .nav .active > a:focus {\n  color: #ffffff;\n  background-color: #111111;\n}\n\n.navbar-inverse .navbar-link {\n  color: #999999;\n}\n\n.navbar-inverse .navbar-link:hover,\n.navbar-inverse .navbar-link:focus {\n  color: #ffffff;\n}\n\n.navbar-inverse .divider-vertical {\n  border-right-color: #222222;\n  border-left-color: #111111;\n}\n\n.navbar-inverse .nav li.dropdown.open > .dropdown-toggle,\n.navbar-inverse .nav li.dropdown.active > .dropdown-toggle,\n.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {\n  color: #ffffff;\n  background-color: #111111;\n}\n\n.navbar-inverse .nav li.dropdown > a:hover .caret,\n.navbar-inverse .nav li.dropdown > a:focus .caret {\n  border-top-color: #ffffff;\n  border-bottom-color: #ffffff;\n}\n\n.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret {\n  border-top-color: #999999;\n  border-bottom-color: #999999;\n}\n\n.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret,\n.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret,\n.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret {\n  border-top-color: #ffffff;\n  border-bottom-color: #ffffff;\n}\n\n.navbar-inverse .navbar-search .search-query {\n  color: #ffffff;\n  background-color: #515151;\n  border-color: #111111;\n  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);\n     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);\n          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15);\n  -webkit-transition: none;\n     -moz-transition: none;\n       -o-transition: none;\n          transition: none;\n}\n\n.navbar-inverse .navbar-search .search-query:-moz-placeholder {\n  color: #cccccc;\n}\n\n.navbar-inverse .navbar-search .search-query:-ms-input-placeholder {\n  color: #cccccc;\n}\n\n.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder {\n  color: #cccccc;\n}\n\n.navbar-inverse .navbar-search .search-query:focus,\n.navbar-inverse .navbar-search .search-query.focused {\n  padding: 5px 15px;\n  color: #333333;\n  text-shadow: 0 1px 0 #ffffff;\n  background-color: #ffffff;\n  border: 0;\n  outline: 0;\n  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);\n     -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);\n          box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);\n}\n\n.navbar-inverse .btn-navbar {\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #0e0e0e;\n  *background-color: #040404;\n  background-image: -moz-linear-gradient(top, #151515, #040404);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404));\n  background-image: -webkit-linear-gradient(top, #151515, #040404);\n  background-image: -o-linear-gradient(top, #151515, #040404);\n  background-image: linear-gradient(to bottom, #151515, #040404);\n  background-repeat: repeat-x;\n  border-color: #040404 #040404 #000000;\n  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0);\n  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\n}\n\n.navbar-inverse .btn-navbar:hover,\n.navbar-inverse .btn-navbar:focus,\n.navbar-inverse .btn-navbar:active,\n.navbar-inverse .btn-navbar.active,\n.navbar-inverse .btn-navbar.disabled,\n.navbar-inverse .btn-navbar[disabled] {\n  color: #ffffff;\n  background-color: #040404;\n  *background-color: #000000;\n}\n\n.navbar-inverse .btn-navbar:active,\n.navbar-inverse .btn-navbar.active {\n  background-color: #000000 \\9;\n}\n\n.breadcrumb {\n  padding: 8px 15px;\n  margin: 0 0 20px;\n  list-style: none;\n  background-color: #f5f5f5;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\n.breadcrumb > li {\n  display: inline-block;\n  *display: inline;\n  text-shadow: 0 1px 0 #ffffff;\n  *zoom: 1;\n}\n\n.breadcrumb > li > .divider {\n  padding: 0 5px;\n  color: #ccc;\n}\n\n.breadcrumb > .active {\n  color: #999999;\n}\n\n.pagination {\n  margin: 20px 0;\n}\n\n.pagination ul {\n  display: inline-block;\n  *display: inline;\n  margin-bottom: 0;\n  margin-left: 0;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n  *zoom: 1;\n  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n     -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);\n}\n\n.pagination ul > li {\n  display: inline;\n}\n\n.pagination ul > li > a,\n.pagination ul > li > span {\n  float: left;\n  padding: 4px 12px;\n  line-height: 20px;\n  text-decoration: none;\n  background-color: #ffffff;\n  border: 1px solid #dddddd;\n  border-left-width: 0;\n}\n\n.pagination ul > li > a:hover,\n.pagination ul > li > a:focus,\n.pagination ul > .active > a,\n.pagination ul > .active > span {\n  background-color: #f5f5f5;\n}\n\n.pagination ul > .active > a,\n.pagination ul > .active > span {\n  color: #999999;\n  cursor: default;\n}\n\n.pagination ul > .disabled > span,\n.pagination ul > .disabled > a,\n.pagination ul > .disabled > a:hover,\n.pagination ul > .disabled > a:focus {\n  color: #999999;\n  cursor: default;\n  background-color: transparent;\n}\n\n.pagination ul > li:first-child > a,\n.pagination ul > li:first-child > span {\n  border-left-width: 1px;\n  -webkit-border-bottom-left-radius: 4px;\n          border-bottom-left-radius: 4px;\n  -webkit-border-top-left-radius: 4px;\n          border-top-left-radius: 4px;\n  -moz-border-radius-bottomleft: 4px;\n  -moz-border-radius-topleft: 4px;\n}\n\n.pagination ul > li:last-child > a,\n.pagination ul > li:last-child > span {\n  -webkit-border-top-right-radius: 4px;\n          border-top-right-radius: 4px;\n  -webkit-border-bottom-right-radius: 4px;\n          border-bottom-right-radius: 4px;\n  -moz-border-radius-topright: 4px;\n  -moz-border-radius-bottomright: 4px;\n}\n\n.pagination-centered {\n  text-align: center;\n}\n\n.pagination-right {\n  text-align: right;\n}\n\n.pagination-large ul > li > a,\n.pagination-large ul > li > span {\n  padding: 11px 19px;\n  font-size: 17.5px;\n}\n\n.pagination-large ul > li:first-child > a,\n.pagination-large ul > li:first-child > span {\n  -webkit-border-bottom-left-radius: 6px;\n          border-bottom-left-radius: 6px;\n  -webkit-border-top-left-radius: 6px;\n          border-top-left-radius: 6px;\n  -moz-border-radius-bottomleft: 6px;\n  -moz-border-radius-topleft: 6px;\n}\n\n.pagination-large ul > li:last-child > a,\n.pagination-large ul > li:last-child > span {\n  -webkit-border-top-right-radius: 6px;\n          border-top-right-radius: 6px;\n  -webkit-border-bottom-right-radius: 6px;\n          border-bottom-right-radius: 6px;\n  -moz-border-radius-topright: 6px;\n  -moz-border-radius-bottomright: 6px;\n}\n\n.pagination-mini ul > li:first-child > a,\n.pagination-small ul > li:first-child > a,\n.pagination-mini ul > li:first-child > span,\n.pagination-small ul > li:first-child > span {\n  -webkit-border-bottom-left-radius: 3px;\n          border-bottom-left-radius: 3px;\n  -webkit-border-top-left-radius: 3px;\n          border-top-left-radius: 3px;\n  -moz-border-radius-bottomleft: 3px;\n  -moz-border-radius-topleft: 3px;\n}\n\n.pagination-mini ul > li:last-child > a,\n.pagination-small ul > li:last-child > a,\n.pagination-mini ul > li:last-child > span,\n.pagination-small ul > li:last-child > span {\n  -webkit-border-top-right-radius: 3px;\n          border-top-right-radius: 3px;\n  -webkit-border-bottom-right-radius: 3px;\n          border-bottom-right-radius: 3px;\n  -moz-border-radius-topright: 3px;\n  -moz-border-radius-bottomright: 3px;\n}\n\n.pagination-small ul > li > a,\n.pagination-small ul > li > span {\n  padding: 2px 10px;\n  font-size: 11.9px;\n}\n\n.pagination-mini ul > li > a,\n.pagination-mini ul > li > span {\n  padding: 0 6px;\n  font-size: 10.5px;\n}\n\n.pager {\n  margin: 20px 0;\n  text-align: center;\n  list-style: none;\n  *zoom: 1;\n}\n\n.pager:before,\n.pager:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.pager:after {\n  clear: both;\n}\n\n.pager li {\n  display: inline;\n}\n\n.pager li > a,\n.pager li > span {\n  display: inline-block;\n  padding: 5px 14px;\n  background-color: #fff;\n  border: 1px solid #ddd;\n  -webkit-border-radius: 15px;\n     -moz-border-radius: 15px;\n          border-radius: 15px;\n}\n\n.pager li > a:hover,\n.pager li > a:focus {\n  text-decoration: none;\n  background-color: #f5f5f5;\n}\n\n.pager .next > a,\n.pager .next > span {\n  float: right;\n}\n\n.pager .previous > a,\n.pager .previous > span {\n  float: left;\n}\n\n.pager .disabled > a,\n.pager .disabled > a:hover,\n.pager .disabled > a:focus,\n.pager .disabled > span {\n  color: #999999;\n  cursor: default;\n  background-color: #fff;\n}\n\n.modal-backdrop {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1040;\n  background-color: #000000;\n}\n\n.modal-backdrop.fade {\n  opacity: 0;\n}\n\n.modal-backdrop,\n.modal-backdrop.fade.in {\n  opacity: 0.8;\n  filter: alpha(opacity=80);\n}\n\n.modal {\n  position: fixed;\n  top: 10%;\n  left: 50%;\n  z-index: 1050;\n  width: 560px;\n  margin-left: -280px;\n  background-color: #ffffff;\n  border: 1px solid #999;\n  border: 1px solid rgba(0, 0, 0, 0.3);\n  *border: 1px solid #999;\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n  outline: none;\n  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);\n     -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);\n          box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);\n  -webkit-background-clip: padding-box;\n     -moz-background-clip: padding-box;\n          background-clip: padding-box;\n}\n\n.modal.fade {\n  top: -25%;\n  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;\n     -moz-transition: opacity 0.3s linear, top 0.3s ease-out;\n       -o-transition: opacity 0.3s linear, top 0.3s ease-out;\n          transition: opacity 0.3s linear, top 0.3s ease-out;\n}\n\n.modal.fade.in {\n  top: 10%;\n}\n\n.modal-header {\n  padding: 9px 15px;\n  border-bottom: 1px solid #eee;\n}\n\n.modal-header .close {\n  margin-top: 2px;\n}\n\n.modal-header h3 {\n  margin: 0;\n  line-height: 30px;\n}\n\n.modal-body {\n  position: relative;\n  max-height: 400px;\n  padding: 15px;\n  overflow-y: auto;\n}\n\n.modal-form {\n  margin-bottom: 0;\n}\n\n.modal-footer {\n  padding: 14px 15px 15px;\n  margin-bottom: 0;\n  text-align: right;\n  background-color: #f5f5f5;\n  border-top: 1px solid #ddd;\n  -webkit-border-radius: 0 0 6px 6px;\n     -moz-border-radius: 0 0 6px 6px;\n          border-radius: 0 0 6px 6px;\n  *zoom: 1;\n  -webkit-box-shadow: inset 0 1px 0 #ffffff;\n     -moz-box-shadow: inset 0 1px 0 #ffffff;\n          box-shadow: inset 0 1px 0 #ffffff;\n}\n\n.modal-footer:before,\n.modal-footer:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.modal-footer:after {\n  clear: both;\n}\n\n.modal-footer .btn + .btn {\n  margin-bottom: 0;\n  margin-left: 5px;\n}\n\n.modal-footer .btn-group .btn + .btn {\n  margin-left: -1px;\n}\n\n.modal-footer .btn-block + .btn-block {\n  margin-left: 0;\n}\n\n.tooltip {\n  position: absolute;\n  z-index: 1030;\n  display: block;\n  font-size: 11px;\n  line-height: 1.4;\n  opacity: 0;\n  filter: alpha(opacity=0);\n  visibility: visible;\n}\n\n.tooltip.in {\n  opacity: 0.8;\n  filter: alpha(opacity=80);\n}\n\n.tooltip.top {\n  padding: 5px 0;\n  margin-top: -3px;\n}\n\n.tooltip.right {\n  padding: 0 5px;\n  margin-left: 3px;\n}\n\n.tooltip.bottom {\n  padding: 5px 0;\n  margin-top: 3px;\n}\n\n.tooltip.left {\n  padding: 0 5px;\n  margin-left: -3px;\n}\n\n.tooltip-inner {\n  max-width: 200px;\n  padding: 8px;\n  color: #ffffff;\n  text-align: center;\n  text-decoration: none;\n  background-color: #000000;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\n.tooltip-arrow {\n  position: absolute;\n  width: 0;\n  height: 0;\n  border-color: transparent;\n  border-style: solid;\n}\n\n.tooltip.top .tooltip-arrow {\n  bottom: 0;\n  left: 50%;\n  margin-left: -5px;\n  border-top-color: #000000;\n  border-width: 5px 5px 0;\n}\n\n.tooltip.right .tooltip-arrow {\n  top: 50%;\n  left: 0;\n  margin-top: -5px;\n  border-right-color: #000000;\n  border-width: 5px 5px 5px 0;\n}\n\n.tooltip.left .tooltip-arrow {\n  top: 50%;\n  right: 0;\n  margin-top: -5px;\n  border-left-color: #000000;\n  border-width: 5px 0 5px 5px;\n}\n\n.tooltip.bottom .tooltip-arrow {\n  top: 0;\n  left: 50%;\n  margin-left: -5px;\n  border-bottom-color: #000000;\n  border-width: 0 5px 5px;\n}\n\n.popover {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 1010;\n  display: none;\n  max-width: 276px;\n  padding: 1px;\n  text-align: left;\n  white-space: normal;\n  background-color: #ffffff;\n  border: 1px solid #ccc;\n  border: 1px solid rgba(0, 0, 0, 0.2);\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n     -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n  -webkit-background-clip: padding-box;\n     -moz-background-clip: padding;\n          background-clip: padding-box;\n}\n\n.popover.top {\n  margin-top: -10px;\n}\n\n.popover.right {\n  margin-left: 10px;\n}\n\n.popover.bottom {\n  margin-top: 10px;\n}\n\n.popover.left {\n  margin-left: -10px;\n}\n\n.popover-title {\n  padding: 8px 14px;\n  margin: 0;\n  font-size: 14px;\n  font-weight: normal;\n  line-height: 18px;\n  background-color: #f7f7f7;\n  border-bottom: 1px solid #ebebeb;\n  -webkit-border-radius: 5px 5px 0 0;\n     -moz-border-radius: 5px 5px 0 0;\n          border-radius: 5px 5px 0 0;\n}\n\n.popover-title:empty {\n  display: none;\n}\n\n.popover-content {\n  padding: 9px 14px;\n}\n\n.popover .arrow,\n.popover .arrow:after {\n  position: absolute;\n  display: block;\n  width: 0;\n  height: 0;\n  border-color: transparent;\n  border-style: solid;\n}\n\n.popover .arrow {\n  border-width: 11px;\n}\n\n.popover .arrow:after {\n  border-width: 10px;\n  content: \"\";\n}\n\n.popover.top .arrow {\n  bottom: -11px;\n  left: 50%;\n  margin-left: -11px;\n  border-top-color: #999;\n  border-top-color: rgba(0, 0, 0, 0.25);\n  border-bottom-width: 0;\n}\n\n.popover.top .arrow:after {\n  bottom: 1px;\n  margin-left: -10px;\n  border-top-color: #ffffff;\n  border-bottom-width: 0;\n}\n\n.popover.right .arrow {\n  top: 50%;\n  left: -11px;\n  margin-top: -11px;\n  border-right-color: #999;\n  border-right-color: rgba(0, 0, 0, 0.25);\n  border-left-width: 0;\n}\n\n.popover.right .arrow:after {\n  bottom: -10px;\n  left: 1px;\n  border-right-color: #ffffff;\n  border-left-width: 0;\n}\n\n.popover.bottom .arrow {\n  top: -11px;\n  left: 50%;\n  margin-left: -11px;\n  border-bottom-color: #999;\n  border-bottom-color: rgba(0, 0, 0, 0.25);\n  border-top-width: 0;\n}\n\n.popover.bottom .arrow:after {\n  top: 1px;\n  margin-left: -10px;\n  border-bottom-color: #ffffff;\n  border-top-width: 0;\n}\n\n.popover.left .arrow {\n  top: 50%;\n  right: -11px;\n  margin-top: -11px;\n  border-left-color: #999;\n  border-left-color: rgba(0, 0, 0, 0.25);\n  border-right-width: 0;\n}\n\n.popover.left .arrow:after {\n  right: 1px;\n  bottom: -10px;\n  border-left-color: #ffffff;\n  border-right-width: 0;\n}\n\n.thumbnails {\n  margin-left: -20px;\n  list-style: none;\n  *zoom: 1;\n}\n\n.thumbnails:before,\n.thumbnails:after {\n  display: table;\n  line-height: 0;\n  content: \"\";\n}\n\n.thumbnails:after {\n  clear: both;\n}\n\n.row-fluid .thumbnails {\n  margin-left: 0;\n}\n\n.thumbnails > li {\n  float: left;\n  margin-bottom: 20px;\n  margin-left: 20px;\n}\n\n.thumbnail {\n  display: block;\n  padding: 4px;\n  line-height: 20px;\n  border: 1px solid #ddd;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);\n     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);\n          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);\n  -webkit-transition: all 0.2s ease-in-out;\n     -moz-transition: all 0.2s ease-in-out;\n       -o-transition: all 0.2s ease-in-out;\n          transition: all 0.2s ease-in-out;\n}\n\na.thumbnail:hover,\na.thumbnail:focus {\n  border-color: #0088cc;\n  -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);\n     -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);\n          box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);\n}\n\n.thumbnail > img {\n  display: block;\n  max-width: 100%;\n  margin-right: auto;\n  margin-left: auto;\n}\n\n.thumbnail .caption {\n  padding: 9px;\n  color: #555555;\n}\n\n.media,\n.media-body {\n  overflow: hidden;\n  *overflow: visible;\n  zoom: 1;\n}\n\n.media,\n.media .media {\n  margin-top: 15px;\n}\n\n.media:first-child {\n  margin-top: 0;\n}\n\n.media-object {\n  display: block;\n}\n\n.media-heading {\n  margin: 0 0 5px;\n}\n\n.media > .pull-left {\n  margin-right: 10px;\n}\n\n.media > .pull-right {\n  margin-left: 10px;\n}\n\n.media-list {\n  margin-left: 0;\n  list-style: none;\n}\n\n.label,\n.badge {\n  display: inline-block;\n  padding: 2px 4px;\n  font-size: 11.844px;\n  font-weight: bold;\n  line-height: 14px;\n  color: #ffffff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  white-space: nowrap;\n  vertical-align: baseline;\n  background-color: #999999;\n}\n\n.label {\n  -webkit-border-radius: 3px;\n     -moz-border-radius: 3px;\n          border-radius: 3px;\n}\n\n.badge {\n  padding-right: 9px;\n  padding-left: 9px;\n  -webkit-border-radius: 9px;\n     -moz-border-radius: 9px;\n          border-radius: 9px;\n}\n\n.label:empty,\n.badge:empty {\n  display: none;\n}\n\na.label:hover,\na.label:focus,\na.badge:hover,\na.badge:focus {\n  color: #ffffff;\n  text-decoration: none;\n  cursor: pointer;\n}\n\n.label-important,\n.badge-important {\n  background-color: #b94a48;\n}\n\n.label-important[href],\n.badge-important[href] {\n  background-color: #953b39;\n}\n\n.label-warning,\n.badge-warning {\n  background-color: #f89406;\n}\n\n.label-warning[href],\n.badge-warning[href] {\n  background-color: #c67605;\n}\n\n.label-success,\n.badge-success {\n  background-color: #468847;\n}\n\n.label-success[href],\n.badge-success[href] {\n  background-color: #356635;\n}\n\n.label-info,\n.badge-info {\n  background-color: #3a87ad;\n}\n\n.label-info[href],\n.badge-info[href] {\n  background-color: #2d6987;\n}\n\n.label-inverse,\n.badge-inverse {\n  background-color: #333333;\n}\n\n.label-inverse[href],\n.badge-inverse[href] {\n  background-color: #1a1a1a;\n}\n\n.btn .label,\n.btn .badge {\n  position: relative;\n  top: -1px;\n}\n\n.btn-mini .label,\n.btn-mini .badge {\n  top: 0;\n}\n\n@-webkit-keyframes progress-bar-stripes {\n  from {\n    background-position: 40px 0;\n  }\n  to {\n    background-position: 0 0;\n  }\n}\n\n@-moz-keyframes progress-bar-stripes {\n  from {\n    background-position: 40px 0;\n  }\n  to {\n    background-position: 0 0;\n  }\n}\n\n@-ms-keyframes progress-bar-stripes {\n  from {\n    background-position: 40px 0;\n  }\n  to {\n    background-position: 0 0;\n  }\n}\n\n@-o-keyframes progress-bar-stripes {\n  from {\n    background-position: 0 0;\n  }\n  to {\n    background-position: 40px 0;\n  }\n}\n\n@keyframes progress-bar-stripes {\n  from {\n    background-position: 40px 0;\n  }\n  to {\n    background-position: 0 0;\n  }\n}\n\n.progress {\n  height: 20px;\n  margin-bottom: 20px;\n  overflow: hidden;\n  background-color: #f7f7f7;\n  background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));\n  background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);\n  background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);\n  background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);\n  background-repeat: repeat-x;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);\n  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n     -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);\n}\n\n.progress .bar {\n  float: left;\n  width: 0;\n  height: 100%;\n  font-size: 12px;\n  color: #ffffff;\n  text-align: center;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n  background-color: #0e90d2;\n  background-image: -moz-linear-gradient(top, #149bdf, #0480be);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));\n  background-image: -webkit-linear-gradient(top, #149bdf, #0480be);\n  background-image: -o-linear-gradient(top, #149bdf, #0480be);\n  background-image: linear-gradient(to bottom, #149bdf, #0480be);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);\n  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n     -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n          box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n  -webkit-box-sizing: border-box;\n     -moz-box-sizing: border-box;\n          box-sizing: border-box;\n  -webkit-transition: width 0.6s ease;\n     -moz-transition: width 0.6s ease;\n       -o-transition: width 0.6s ease;\n          transition: width 0.6s ease;\n}\n\n.progress .bar + .bar {\n  -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n     -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n          box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15);\n}\n\n.progress-striped .bar {\n  background-color: #149bdf;\n  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  -webkit-background-size: 40px 40px;\n     -moz-background-size: 40px 40px;\n       -o-background-size: 40px 40px;\n          background-size: 40px 40px;\n}\n\n.progress.active .bar {\n  -webkit-animation: progress-bar-stripes 2s linear infinite;\n     -moz-animation: progress-bar-stripes 2s linear infinite;\n      -ms-animation: progress-bar-stripes 2s linear infinite;\n       -o-animation: progress-bar-stripes 2s linear infinite;\n          animation: progress-bar-stripes 2s linear infinite;\n}\n\n.progress-danger .bar,\n.progress .bar-danger {\n  background-color: #dd514c;\n  background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));\n  background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);\n  background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);\n  background-image: linear-gradient(to bottom, #ee5f5b, #c43c35);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0);\n}\n\n.progress-danger.progress-striped .bar,\n.progress-striped .bar-danger {\n  background-color: #ee5f5b;\n  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.progress-success .bar,\n.progress .bar-success {\n  background-color: #5eb95e;\n  background-image: -moz-linear-gradient(top, #62c462, #57a957);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));\n  background-image: -webkit-linear-gradient(top, #62c462, #57a957);\n  background-image: -o-linear-gradient(top, #62c462, #57a957);\n  background-image: linear-gradient(to bottom, #62c462, #57a957);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0);\n}\n\n.progress-success.progress-striped .bar,\n.progress-striped .bar-success {\n  background-color: #62c462;\n  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.progress-info .bar,\n.progress .bar-info {\n  background-color: #4bb1cf;\n  background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));\n  background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);\n  background-image: -o-linear-gradient(top, #5bc0de, #339bb9);\n  background-image: linear-gradient(to bottom, #5bc0de, #339bb9);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0);\n}\n\n.progress-info.progress-striped .bar,\n.progress-striped .bar-info {\n  background-color: #5bc0de;\n  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.progress-warning .bar,\n.progress .bar-warning {\n  background-color: #faa732;\n  background-image: -moz-linear-gradient(top, #fbb450, #f89406);\n  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));\n  background-image: -webkit-linear-gradient(top, #fbb450, #f89406);\n  background-image: -o-linear-gradient(top, #fbb450, #f89406);\n  background-image: linear-gradient(to bottom, #fbb450, #f89406);\n  background-repeat: repeat-x;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);\n}\n\n.progress-warning.progress-striped .bar,\n.progress-striped .bar-warning {\n  background-color: #fbb450;\n  background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));\n  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n}\n\n.accordion {\n  margin-bottom: 20px;\n}\n\n.accordion-group {\n  margin-bottom: 2px;\n  border: 1px solid #e5e5e5;\n  -webkit-border-radius: 4px;\n     -moz-border-radius: 4px;\n          border-radius: 4px;\n}\n\n.accordion-heading {\n  border-bottom: 0;\n}\n\n.accordion-heading .accordion-toggle {\n  display: block;\n  padding: 8px 15px;\n}\n\n.accordion-toggle {\n  cursor: pointer;\n}\n\n.accordion-inner {\n  padding: 9px 15px;\n  border-top: 1px solid #e5e5e5;\n}\n\n.carousel {\n  position: relative;\n  margin-bottom: 20px;\n  line-height: 1;\n}\n\n.carousel-inner {\n  position: relative;\n  width: 100%;\n  overflow: hidden;\n}\n\n.carousel-inner > .item {\n  position: relative;\n  display: none;\n  -webkit-transition: 0.6s ease-in-out left;\n     -moz-transition: 0.6s ease-in-out left;\n       -o-transition: 0.6s ease-in-out left;\n          transition: 0.6s ease-in-out left;\n}\n\n.carousel-inner > .item > img,\n.carousel-inner > .item > a > img {\n  display: block;\n  line-height: 1;\n}\n\n.carousel-inner > .active,\n.carousel-inner > .next,\n.carousel-inner > .prev {\n  display: block;\n}\n\n.carousel-inner > .active {\n  left: 0;\n}\n\n.carousel-inner > .next,\n.carousel-inner > .prev {\n  position: absolute;\n  top: 0;\n  width: 100%;\n}\n\n.carousel-inner > .next {\n  left: 100%;\n}\n\n.carousel-inner > .prev {\n  left: -100%;\n}\n\n.carousel-inner > .next.left,\n.carousel-inner > .prev.right {\n  left: 0;\n}\n\n.carousel-inner > .active.left {\n  left: -100%;\n}\n\n.carousel-inner > .active.right {\n  left: 100%;\n}\n\n.carousel-control {\n  position: absolute;\n  top: 40%;\n  left: 15px;\n  width: 40px;\n  height: 40px;\n  margin-top: -20px;\n  font-size: 60px;\n  font-weight: 100;\n  line-height: 30px;\n  color: #ffffff;\n  text-align: center;\n  background: #222222;\n  border: 3px solid #ffffff;\n  -webkit-border-radius: 23px;\n     -moz-border-radius: 23px;\n          border-radius: 23px;\n  opacity: 0.5;\n  filter: alpha(opacity=50);\n}\n\n.carousel-control.right {\n  right: 15px;\n  left: auto;\n}\n\n.carousel-control:hover,\n.carousel-control:focus {\n  color: #ffffff;\n  text-decoration: none;\n  opacity: 0.9;\n  filter: alpha(opacity=90);\n}\n\n.carousel-indicators {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  z-index: 5;\n  margin: 0;\n  list-style: none;\n}\n\n.carousel-indicators li {\n  display: block;\n  float: left;\n  width: 10px;\n  height: 10px;\n  margin-left: 5px;\n  text-indent: -999px;\n  background-color: #ccc;\n  background-color: rgba(255, 255, 255, 0.25);\n  border-radius: 5px;\n}\n\n.carousel-indicators .active {\n  background-color: #fff;\n}\n\n.carousel-caption {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  padding: 15px;\n  background: #333333;\n  background: rgba(0, 0, 0, 0.75);\n}\n\n.carousel-caption h4,\n.carousel-caption p {\n  line-height: 20px;\n  color: #ffffff;\n}\n\n.carousel-caption h4 {\n  margin: 0 0 5px;\n}\n\n.carousel-caption p {\n  margin-bottom: 0;\n}\n\n.hero-unit {\n  padding: 60px;\n  margin-bottom: 30px;\n  font-size: 18px;\n  font-weight: 200;\n  line-height: 30px;\n  color: inherit;\n  background-color: #eeeeee;\n  -webkit-border-radius: 6px;\n     -moz-border-radius: 6px;\n          border-radius: 6px;\n}\n\n.hero-unit h1 {\n  margin-bottom: 0;\n  font-size: 60px;\n  line-height: 1;\n  letter-spacing: -1px;\n  color: inherit;\n}\n\n.hero-unit li {\n  line-height: 30px;\n}\n\n.pull-right {\n  float: right;\n}\n\n.pull-left {\n  float: left;\n}\n\n.hide {\n  display: none;\n}\n\n.show {\n  display: block;\n}\n\n.invisible {\n  visibility: hidden;\n}\n\n.affix {\n  position: fixed;\n}\n"
  },
  {
    "path": "_attachments/vendor/bootstrap/js/bootstrap.js",
    "content": "/* ===================================================\n * bootstrap-transition.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#transitions\n * ===================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n  /* CSS TRANSITION SUPPORT (http://www.modernizr.com/)\n   * ======================================================= */\n\n  $(function () {\n\n    $.support.transition = (function () {\n\n      var transitionEnd = (function () {\n\n        var el = document.createElement('bootstrap')\n          , transEndEventNames = {\n               'WebkitTransition' : 'webkitTransitionEnd'\n            ,  'MozTransition'    : 'transitionend'\n            ,  'OTransition'      : 'oTransitionEnd otransitionend'\n            ,  'transition'       : 'transitionend'\n            }\n          , name\n\n        for (name in transEndEventNames){\n          if (el.style[name] !== undefined) {\n            return transEndEventNames[name]\n          }\n        }\n\n      }())\n\n      return transitionEnd && {\n        end: transitionEnd\n      }\n\n    })()\n\n  })\n\n}(window.jQuery);/* ==========================================================\n * bootstrap-alert.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#alerts\n * ==========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* ALERT CLASS DEFINITION\n  * ====================== */\n\n  var dismiss = '[data-dismiss=\"alert\"]'\n    , Alert = function (el) {\n        $(el).on('click', dismiss, this.close)\n      }\n\n  Alert.prototype.close = function (e) {\n    var $this = $(this)\n      , selector = $this.attr('data-target')\n      , $parent\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n    }\n\n    $parent = $(selector)\n\n    e && e.preventDefault()\n\n    $parent.length || ($parent = $this.hasClass('alert') ? $this : $this.parent())\n\n    $parent.trigger(e = $.Event('close'))\n\n    if (e.isDefaultPrevented()) return\n\n    $parent.removeClass('in')\n\n    function removeElement() {\n      $parent\n        .trigger('closed')\n        .remove()\n    }\n\n    $.support.transition && $parent.hasClass('fade') ?\n      $parent.on($.support.transition.end, removeElement) :\n      removeElement()\n  }\n\n\n /* ALERT PLUGIN DEFINITION\n  * ======================= */\n\n  var old = $.fn.alert\n\n  $.fn.alert = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('alert')\n      if (!data) $this.data('alert', (data = new Alert(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  $.fn.alert.Constructor = Alert\n\n\n /* ALERT NO CONFLICT\n  * ================= */\n\n  $.fn.alert.noConflict = function () {\n    $.fn.alert = old\n    return this\n  }\n\n\n /* ALERT DATA-API\n  * ============== */\n\n  $(document).on('click.alert.data-api', dismiss, Alert.prototype.close)\n\n}(window.jQuery);/* ============================================================\n * bootstrap-button.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#buttons\n * ============================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ============================================================ */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* BUTTON PUBLIC CLASS DEFINITION\n  * ============================== */\n\n  var Button = function (element, options) {\n    this.$element = $(element)\n    this.options = $.extend({}, $.fn.button.defaults, options)\n  }\n\n  Button.prototype.setState = function (state) {\n    var d = 'disabled'\n      , $el = this.$element\n      , data = $el.data()\n      , val = $el.is('input') ? 'val' : 'html'\n\n    state = state + 'Text'\n    data.resetText || $el.data('resetText', $el[val]())\n\n    $el[val](data[state] || this.options[state])\n\n    // push to event loop to allow forms to submit\n    setTimeout(function () {\n      state == 'loadingText' ?\n        $el.addClass(d).attr(d, d) :\n        $el.removeClass(d).removeAttr(d)\n    }, 0)\n  }\n\n  Button.prototype.toggle = function () {\n    var $parent = this.$element.closest('[data-toggle=\"buttons-radio\"]')\n\n    $parent && $parent\n      .find('.active')\n      .removeClass('active')\n\n    this.$element.toggleClass('active')\n  }\n\n\n /* BUTTON PLUGIN DEFINITION\n  * ======================== */\n\n  var old = $.fn.button\n\n  $.fn.button = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('button')\n        , options = typeof option == 'object' && option\n      if (!data) $this.data('button', (data = new Button(this, options)))\n      if (option == 'toggle') data.toggle()\n      else if (option) data.setState(option)\n    })\n  }\n\n  $.fn.button.defaults = {\n    loadingText: 'loading...'\n  }\n\n  $.fn.button.Constructor = Button\n\n\n /* BUTTON NO CONFLICT\n  * ================== */\n\n  $.fn.button.noConflict = function () {\n    $.fn.button = old\n    return this\n  }\n\n\n /* BUTTON DATA-API\n  * =============== */\n\n  $(document).on('click.button.data-api', '[data-toggle^=button]', function (e) {\n    var $btn = $(e.target)\n    if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')\n    $btn.button('toggle')\n  })\n\n}(window.jQuery);/* ==========================================================\n * bootstrap-carousel.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#carousel\n * ==========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* CAROUSEL CLASS DEFINITION\n  * ========================= */\n\n  var Carousel = function (element, options) {\n    this.$element = $(element)\n    this.$indicators = this.$element.find('.carousel-indicators')\n    this.options = options\n    this.options.pause == 'hover' && this.$element\n      .on('mouseenter', $.proxy(this.pause, this))\n      .on('mouseleave', $.proxy(this.cycle, this))\n  }\n\n  Carousel.prototype = {\n\n    cycle: function (e) {\n      if (!e) this.paused = false\n      if (this.interval) clearInterval(this.interval);\n      this.options.interval\n        && !this.paused\n        && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n      return this\n    }\n\n  , getActiveIndex: function () {\n      this.$active = this.$element.find('.item.active')\n      this.$items = this.$active.parent().children()\n      return this.$items.index(this.$active)\n    }\n\n  , to: function (pos) {\n      var activeIndex = this.getActiveIndex()\n        , that = this\n\n      if (pos > (this.$items.length - 1) || pos < 0) return\n\n      if (this.sliding) {\n        return this.$element.one('slid', function () {\n          that.to(pos)\n        })\n      }\n\n      if (activeIndex == pos) {\n        return this.pause().cycle()\n      }\n\n      return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))\n    }\n\n  , pause: function (e) {\n      if (!e) this.paused = true\n      if (this.$element.find('.next, .prev').length && $.support.transition.end) {\n        this.$element.trigger($.support.transition.end)\n        this.cycle(true)\n      }\n      clearInterval(this.interval)\n      this.interval = null\n      return this\n    }\n\n  , next: function () {\n      if (this.sliding) return\n      return this.slide('next')\n    }\n\n  , prev: function () {\n      if (this.sliding) return\n      return this.slide('prev')\n    }\n\n  , slide: function (type, next) {\n      var $active = this.$element.find('.item.active')\n        , $next = next || $active[type]()\n        , isCycling = this.interval\n        , direction = type == 'next' ? 'left' : 'right'\n        , fallback  = type == 'next' ? 'first' : 'last'\n        , that = this\n        , e\n\n      this.sliding = true\n\n      isCycling && this.pause()\n\n      $next = $next.length ? $next : this.$element.find('.item')[fallback]()\n\n      e = $.Event('slide', {\n        relatedTarget: $next[0]\n      , direction: direction\n      })\n\n      if ($next.hasClass('active')) return\n\n      if (this.$indicators.length) {\n        this.$indicators.find('.active').removeClass('active')\n        this.$element.one('slid', function () {\n          var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])\n          $nextIndicator && $nextIndicator.addClass('active')\n        })\n      }\n\n      if ($.support.transition && this.$element.hasClass('slide')) {\n        this.$element.trigger(e)\n        if (e.isDefaultPrevented()) return\n        $next.addClass(type)\n        $next[0].offsetWidth // force reflow\n        $active.addClass(direction)\n        $next.addClass(direction)\n        this.$element.one($.support.transition.end, function () {\n          $next.removeClass([type, direction].join(' ')).addClass('active')\n          $active.removeClass(['active', direction].join(' '))\n          that.sliding = false\n          setTimeout(function () { that.$element.trigger('slid') }, 0)\n        })\n      } else {\n        this.$element.trigger(e)\n        if (e.isDefaultPrevented()) return\n        $active.removeClass('active')\n        $next.addClass('active')\n        this.sliding = false\n        this.$element.trigger('slid')\n      }\n\n      isCycling && this.cycle()\n\n      return this\n    }\n\n  }\n\n\n /* CAROUSEL PLUGIN DEFINITION\n  * ========================== */\n\n  var old = $.fn.carousel\n\n  $.fn.carousel = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('carousel')\n        , options = $.extend({}, $.fn.carousel.defaults, typeof option == 'object' && option)\n        , action = typeof option == 'string' ? option : options.slide\n      if (!data) $this.data('carousel', (data = new Carousel(this, options)))\n      if (typeof option == 'number') data.to(option)\n      else if (action) data[action]()\n      else if (options.interval) data.pause().cycle()\n    })\n  }\n\n  $.fn.carousel.defaults = {\n    interval: 5000\n  , pause: 'hover'\n  }\n\n  $.fn.carousel.Constructor = Carousel\n\n\n /* CAROUSEL NO CONFLICT\n  * ==================== */\n\n  $.fn.carousel.noConflict = function () {\n    $.fn.carousel = old\n    return this\n  }\n\n /* CAROUSEL DATA-API\n  * ================= */\n\n  $(document).on('click.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {\n    var $this = $(this), href\n      , $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) //strip for ie7\n      , options = $.extend({}, $target.data(), $this.data())\n      , slideIndex\n\n    $target.carousel(options)\n\n    if (slideIndex = $this.attr('data-slide-to')) {\n      $target.data('carousel').pause().to(slideIndex).cycle()\n    }\n\n    e.preventDefault()\n  })\n\n}(window.jQuery);/* =============================================================\n * bootstrap-collapse.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#collapse\n * =============================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ============================================================ */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* COLLAPSE PUBLIC CLASS DEFINITION\n  * ================================ */\n\n  var Collapse = function (element, options) {\n    this.$element = $(element)\n    this.options = $.extend({}, $.fn.collapse.defaults, options)\n\n    if (this.options.parent) {\n      this.$parent = $(this.options.parent)\n    }\n\n    this.options.toggle && this.toggle()\n  }\n\n  Collapse.prototype = {\n\n    constructor: Collapse\n\n  , dimension: function () {\n      var hasWidth = this.$element.hasClass('width')\n      return hasWidth ? 'width' : 'height'\n    }\n\n  , show: function () {\n      var dimension\n        , scroll\n        , actives\n        , hasData\n\n      if (this.transitioning || this.$element.hasClass('in')) return\n\n      dimension = this.dimension()\n      scroll = $.camelCase(['scroll', dimension].join('-'))\n      actives = this.$parent && this.$parent.find('> .accordion-group > .in')\n\n      if (actives && actives.length) {\n        hasData = actives.data('collapse')\n        if (hasData && hasData.transitioning) return\n        actives.collapse('hide')\n        hasData || actives.data('collapse', null)\n      }\n\n      this.$element[dimension](0)\n      this.transition('addClass', $.Event('show'), 'shown')\n      $.support.transition && this.$element[dimension](this.$element[0][scroll])\n    }\n\n  , hide: function () {\n      var dimension\n      if (this.transitioning || !this.$element.hasClass('in')) return\n      dimension = this.dimension()\n      this.reset(this.$element[dimension]())\n      this.transition('removeClass', $.Event('hide'), 'hidden')\n      this.$element[dimension](0)\n    }\n\n  , reset: function (size) {\n      var dimension = this.dimension()\n\n      this.$element\n        .removeClass('collapse')\n        [dimension](size || 'auto')\n        [0].offsetWidth\n\n      this.$element[size !== null ? 'addClass' : 'removeClass']('collapse')\n\n      return this\n    }\n\n  , transition: function (method, startEvent, completeEvent) {\n      var that = this\n        , complete = function () {\n            if (startEvent.type == 'show') that.reset()\n            that.transitioning = 0\n            that.$element.trigger(completeEvent)\n          }\n\n      this.$element.trigger(startEvent)\n\n      if (startEvent.isDefaultPrevented()) return\n\n      this.transitioning = 1\n\n      this.$element[method]('in')\n\n      $.support.transition && this.$element.hasClass('collapse') ?\n        this.$element.one($.support.transition.end, complete) :\n        complete()\n    }\n\n  , toggle: function () {\n      this[this.$element.hasClass('in') ? 'hide' : 'show']()\n    }\n\n  }\n\n\n /* COLLAPSE PLUGIN DEFINITION\n  * ========================== */\n\n  var old = $.fn.collapse\n\n  $.fn.collapse = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('collapse')\n        , options = $.extend({}, $.fn.collapse.defaults, $this.data(), typeof option == 'object' && option)\n      if (!data) $this.data('collapse', (data = new Collapse(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.collapse.defaults = {\n    toggle: true\n  }\n\n  $.fn.collapse.Constructor = Collapse\n\n\n /* COLLAPSE NO CONFLICT\n  * ==================== */\n\n  $.fn.collapse.noConflict = function () {\n    $.fn.collapse = old\n    return this\n  }\n\n\n /* COLLAPSE DATA-API\n  * ================= */\n\n  $(document).on('click.collapse.data-api', '[data-toggle=collapse]', function (e) {\n    var $this = $(this), href\n      , target = $this.attr('data-target')\n        || e.preventDefault()\n        || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') //strip for ie7\n      , option = $(target).data('collapse') ? 'toggle' : $this.data()\n    $this[$(target).hasClass('in') ? 'addClass' : 'removeClass']('collapsed')\n    $(target).collapse(option)\n  })\n\n}(window.jQuery);/* ============================================================\n * bootstrap-dropdown.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#dropdowns\n * ============================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ============================================================ */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* DROPDOWN CLASS DEFINITION\n  * ========================= */\n\n  var toggle = '[data-toggle=dropdown]'\n    , Dropdown = function (element) {\n        var $el = $(element).on('click.dropdown.data-api', this.toggle)\n        $('html').on('click.dropdown.data-api', function () {\n          $el.parent().removeClass('open')\n        })\n      }\n\n  Dropdown.prototype = {\n\n    constructor: Dropdown\n\n  , toggle: function (e) {\n      var $this = $(this)\n        , $parent\n        , isActive\n\n      if ($this.is('.disabled, :disabled')) return\n\n      $parent = getParent($this)\n\n      isActive = $parent.hasClass('open')\n\n      clearMenus()\n\n      if (!isActive) {\n        $parent.toggleClass('open')\n      }\n\n      $this.focus()\n\n      return false\n    }\n\n  , keydown: function (e) {\n      var $this\n        , $items\n        , $active\n        , $parent\n        , isActive\n        , index\n\n      if (!/(38|40|27)/.test(e.keyCode)) return\n\n      $this = $(this)\n\n      e.preventDefault()\n      e.stopPropagation()\n\n      if ($this.is('.disabled, :disabled')) return\n\n      $parent = getParent($this)\n\n      isActive = $parent.hasClass('open')\n\n      if (!isActive || (isActive && e.keyCode == 27)) {\n        if (e.which == 27) $parent.find(toggle).focus()\n        return $this.click()\n      }\n\n      $items = $('[role=menu] li:not(.divider):visible a', $parent)\n\n      if (!$items.length) return\n\n      index = $items.index($items.filter(':focus'))\n\n      if (e.keyCode == 38 && index > 0) index--                                        // up\n      if (e.keyCode == 40 && index < $items.length - 1) index++                        // down\n      if (!~index) index = 0\n\n      $items\n        .eq(index)\n        .focus()\n    }\n\n  }\n\n  function clearMenus() {\n    $(toggle).each(function () {\n      getParent($(this)).removeClass('open')\n    })\n  }\n\n  function getParent($this) {\n    var selector = $this.attr('data-target')\n      , $parent\n\n    if (!selector) {\n      selector = $this.attr('href')\n      selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n    }\n\n    $parent = selector && $(selector)\n\n    if (!$parent || !$parent.length) $parent = $this.parent()\n\n    return $parent\n  }\n\n\n  /* DROPDOWN PLUGIN DEFINITION\n   * ========================== */\n\n  var old = $.fn.dropdown\n\n  $.fn.dropdown = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('dropdown')\n      if (!data) $this.data('dropdown', (data = new Dropdown(this)))\n      if (typeof option == 'string') data[option].call($this)\n    })\n  }\n\n  $.fn.dropdown.Constructor = Dropdown\n\n\n /* DROPDOWN NO CONFLICT\n  * ==================== */\n\n  $.fn.dropdown.noConflict = function () {\n    $.fn.dropdown = old\n    return this\n  }\n\n\n  /* APPLY TO STANDARD DROPDOWN ELEMENTS\n   * =================================== */\n\n  $(document)\n    .on('click.dropdown.data-api', clearMenus)\n    .on('click.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n    .on('click.dropdown-menu', function (e) { e.stopPropagation() })\n    .on('click.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)\n    .on('keydown.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)\n\n}(window.jQuery);\n/* =========================================================\n * bootstrap-modal.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#modals\n * =========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================= */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* MODAL CLASS DEFINITION\n  * ====================== */\n\n  var Modal = function (element, options) {\n    this.options = options\n    this.$element = $(element)\n      .delegate('[data-dismiss=\"modal\"]', 'click.dismiss.modal', $.proxy(this.hide, this))\n    this.options.remote && this.$element.find('.modal-body').load(this.options.remote)\n  }\n\n  Modal.prototype = {\n\n      constructor: Modal\n\n    , toggle: function () {\n        return this[!this.isShown ? 'show' : 'hide']()\n      }\n\n    , show: function () {\n        var that = this\n          , e = $.Event('show')\n\n        this.$element.trigger(e)\n\n        if (this.isShown || e.isDefaultPrevented()) return\n\n        this.isShown = true\n\n        this.escape()\n\n        this.backdrop(function () {\n          var transition = $.support.transition && that.$element.hasClass('fade')\n\n          if (!that.$element.parent().length) {\n            that.$element.appendTo(document.body) //don't move modals dom position\n          }\n\n          that.$element.show()\n\n          if (transition) {\n            that.$element[0].offsetWidth // force reflow\n          }\n\n          that.$element\n            .addClass('in')\n            .attr('aria-hidden', false)\n\n          that.enforceFocus()\n\n          transition ?\n            that.$element.one($.support.transition.end, function () { that.$element.focus().trigger('shown') }) :\n            that.$element.focus().trigger('shown')\n\n        })\n      }\n\n    , hide: function (e) {\n        e && e.preventDefault()\n\n        var that = this\n\n        e = $.Event('hide')\n\n        this.$element.trigger(e)\n\n        if (!this.isShown || e.isDefaultPrevented()) return\n\n        this.isShown = false\n\n        this.escape()\n\n        $(document).off('focusin.modal')\n\n        this.$element\n          .removeClass('in')\n          .attr('aria-hidden', true)\n\n        $.support.transition && this.$element.hasClass('fade') ?\n          this.hideWithTransition() :\n          this.hideModal()\n      }\n\n    , enforceFocus: function () {\n        var that = this\n        $(document).on('focusin.modal', function (e) {\n          if (that.$element[0] !== e.target && !that.$element.has(e.target).length) {\n            that.$element.focus()\n          }\n        })\n      }\n\n    , escape: function () {\n        var that = this\n        if (this.isShown && this.options.keyboard) {\n          this.$element.on('keyup.dismiss.modal', function ( e ) {\n            e.which == 27 && that.hide()\n          })\n        } else if (!this.isShown) {\n          this.$element.off('keyup.dismiss.modal')\n        }\n      }\n\n    , hideWithTransition: function () {\n        var that = this\n          , timeout = setTimeout(function () {\n              that.$element.off($.support.transition.end)\n              that.hideModal()\n            }, 500)\n\n        this.$element.one($.support.transition.end, function () {\n          clearTimeout(timeout)\n          that.hideModal()\n        })\n      }\n\n    , hideModal: function () {\n        var that = this\n        this.$element.hide()\n        this.backdrop(function () {\n          that.removeBackdrop()\n          that.$element.trigger('hidden')\n        })\n      }\n\n    , removeBackdrop: function () {\n        this.$backdrop && this.$backdrop.remove()\n        this.$backdrop = null\n      }\n\n    , backdrop: function (callback) {\n        var that = this\n          , animate = this.$element.hasClass('fade') ? 'fade' : ''\n\n        if (this.isShown && this.options.backdrop) {\n          var doAnimate = $.support.transition && animate\n\n          this.$backdrop = $('<div class=\"modal-backdrop ' + animate + '\" />')\n            .appendTo(document.body)\n\n          this.$backdrop.click(\n            this.options.backdrop == 'static' ?\n              $.proxy(this.$element[0].focus, this.$element[0])\n            : $.proxy(this.hide, this)\n          )\n\n          if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n\n          this.$backdrop.addClass('in')\n\n          if (!callback) return\n\n          doAnimate ?\n            this.$backdrop.one($.support.transition.end, callback) :\n            callback()\n\n        } else if (!this.isShown && this.$backdrop) {\n          this.$backdrop.removeClass('in')\n\n          $.support.transition && this.$element.hasClass('fade')?\n            this.$backdrop.one($.support.transition.end, callback) :\n            callback()\n\n        } else if (callback) {\n          callback()\n        }\n      }\n  }\n\n\n /* MODAL PLUGIN DEFINITION\n  * ======================= */\n\n  var old = $.fn.modal\n\n  $.fn.modal = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('modal')\n        , options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option)\n      if (!data) $this.data('modal', (data = new Modal(this, options)))\n      if (typeof option == 'string') data[option]()\n      else if (options.show) data.show()\n    })\n  }\n\n  $.fn.modal.defaults = {\n      backdrop: true\n    , keyboard: true\n    , show: true\n  }\n\n  $.fn.modal.Constructor = Modal\n\n\n /* MODAL NO CONFLICT\n  * ================= */\n\n  $.fn.modal.noConflict = function () {\n    $.fn.modal = old\n    return this\n  }\n\n\n /* MODAL DATA-API\n  * ============== */\n\n  $(document).on('click.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n    var $this = $(this)\n      , href = $this.attr('href')\n      , $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) //strip for ie7\n      , option = $target.data('modal') ? 'toggle' : $.extend({ remote:!/#/.test(href) && href }, $target.data(), $this.data())\n\n    e.preventDefault()\n\n    $target\n      .modal(option)\n      .one('hide', function () {\n        $this.focus()\n      })\n  })\n\n}(window.jQuery);\n/* ===========================================================\n * bootstrap-tooltip.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#tooltips\n * Inspired by the original jQuery.tipsy by Jason Frame\n * ===========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* TOOLTIP PUBLIC CLASS DEFINITION\n  * =============================== */\n\n  var Tooltip = function (element, options) {\n    this.init('tooltip', element, options)\n  }\n\n  Tooltip.prototype = {\n\n    constructor: Tooltip\n\n  , init: function (type, element, options) {\n      var eventIn\n        , eventOut\n        , triggers\n        , trigger\n        , i\n\n      this.type = type\n      this.$element = $(element)\n      this.options = this.getOptions(options)\n      this.enabled = true\n\n      triggers = this.options.trigger.split(' ')\n\n      for (i = triggers.length; i--;) {\n        trigger = triggers[i]\n        if (trigger == 'click') {\n          this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n        } else if (trigger != 'manual') {\n          eventIn = trigger == 'hover' ? 'mouseenter' : 'focus'\n          eventOut = trigger == 'hover' ? 'mouseleave' : 'blur'\n          this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n          this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n        }\n      }\n\n      this.options.selector ?\n        (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n        this.fixTitle()\n    }\n\n  , getOptions: function (options) {\n      options = $.extend({}, $.fn[this.type].defaults, this.$element.data(), options)\n\n      if (options.delay && typeof options.delay == 'number') {\n        options.delay = {\n          show: options.delay\n        , hide: options.delay\n        }\n      }\n\n      return options\n    }\n\n  , enter: function (e) {\n      var defaults = $.fn[this.type].defaults\n        , options = {}\n        , self\n\n      this._options && $.each(this._options, function (key, value) {\n        if (defaults[key] != value) options[key] = value\n      }, this)\n\n      self = $(e.currentTarget)[this.type](options).data(this.type)\n\n      if (!self.options.delay || !self.options.delay.show) return self.show()\n\n      clearTimeout(this.timeout)\n      self.hoverState = 'in'\n      this.timeout = setTimeout(function() {\n        if (self.hoverState == 'in') self.show()\n      }, self.options.delay.show)\n    }\n\n  , leave: function (e) {\n      var self = $(e.currentTarget)[this.type](this._options).data(this.type)\n\n      if (this.timeout) clearTimeout(this.timeout)\n      if (!self.options.delay || !self.options.delay.hide) return self.hide()\n\n      self.hoverState = 'out'\n      this.timeout = setTimeout(function() {\n        if (self.hoverState == 'out') self.hide()\n      }, self.options.delay.hide)\n    }\n\n  , show: function () {\n      var $tip\n        , pos\n        , actualWidth\n        , actualHeight\n        , placement\n        , tp\n        , e = $.Event('show')\n\n      if (this.hasContent() && this.enabled) {\n        this.$element.trigger(e)\n        if (e.isDefaultPrevented()) return\n        $tip = this.tip()\n        this.setContent()\n\n        if (this.options.animation) {\n          $tip.addClass('fade')\n        }\n\n        placement = typeof this.options.placement == 'function' ?\n          this.options.placement.call(this, $tip[0], this.$element[0]) :\n          this.options.placement\n\n        $tip\n          .detach()\n          .css({ top: 0, left: 0, display: 'block' })\n\n        this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n\n        pos = this.getPosition()\n\n        actualWidth = $tip[0].offsetWidth\n        actualHeight = $tip[0].offsetHeight\n\n        switch (placement) {\n          case 'bottom':\n            tp = {top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2}\n            break\n          case 'top':\n            tp = {top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2}\n            break\n          case 'left':\n            tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth}\n            break\n          case 'right':\n            tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width}\n            break\n        }\n\n        this.applyPlacement(tp, placement)\n        this.$element.trigger('shown')\n      }\n    }\n\n  , applyPlacement: function(offset, placement){\n      var $tip = this.tip()\n        , width = $tip[0].offsetWidth\n        , height = $tip[0].offsetHeight\n        , actualWidth\n        , actualHeight\n        , delta\n        , replace\n\n      $tip\n        .offset(offset)\n        .addClass(placement)\n        .addClass('in')\n\n      actualWidth = $tip[0].offsetWidth\n      actualHeight = $tip[0].offsetHeight\n\n      if (placement == 'top' && actualHeight != height) {\n        offset.top = offset.top + height - actualHeight\n        replace = true\n      }\n\n      if (placement == 'bottom' || placement == 'top') {\n        delta = 0\n\n        if (offset.left < 0){\n          delta = offset.left * -2\n          offset.left = 0\n          $tip.offset(offset)\n          actualWidth = $tip[0].offsetWidth\n          actualHeight = $tip[0].offsetHeight\n        }\n\n        this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')\n      } else {\n        this.replaceArrow(actualHeight - height, actualHeight, 'top')\n      }\n\n      if (replace) $tip.offset(offset)\n    }\n\n  , replaceArrow: function(delta, dimension, position){\n      this\n        .arrow()\n        .css(position, delta ? (50 * (1 - delta / dimension) + \"%\") : '')\n    }\n\n  , setContent: function () {\n      var $tip = this.tip()\n        , title = this.getTitle()\n\n      $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n      $tip.removeClass('fade in top bottom left right')\n    }\n\n  , hide: function () {\n      var that = this\n        , $tip = this.tip()\n        , e = $.Event('hide')\n\n      this.$element.trigger(e)\n      if (e.isDefaultPrevented()) return\n\n      $tip.removeClass('in')\n\n      function removeWithAnimation() {\n        var timeout = setTimeout(function () {\n          $tip.off($.support.transition.end).detach()\n        }, 500)\n\n        $tip.one($.support.transition.end, function () {\n          clearTimeout(timeout)\n          $tip.detach()\n        })\n      }\n\n      $.support.transition && this.$tip.hasClass('fade') ?\n        removeWithAnimation() :\n        $tip.detach()\n\n      this.$element.trigger('hidden')\n\n      return this\n    }\n\n  , fixTitle: function () {\n      var $e = this.$element\n      if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {\n        $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\n      }\n    }\n\n  , hasContent: function () {\n      return this.getTitle()\n    }\n\n  , getPosition: function () {\n      var el = this.$element[0]\n      return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {\n        width: el.offsetWidth\n      , height: el.offsetHeight\n      }, this.$element.offset())\n    }\n\n  , getTitle: function () {\n      var title\n        , $e = this.$element\n        , o = this.options\n\n      title = $e.attr('data-original-title')\n        || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)\n\n      return title\n    }\n\n  , tip: function () {\n      return this.$tip = this.$tip || $(this.options.template)\n    }\n\n  , arrow: function(){\n      return this.$arrow = this.$arrow || this.tip().find(\".tooltip-arrow\")\n    }\n\n  , validate: function () {\n      if (!this.$element[0].parentNode) {\n        this.hide()\n        this.$element = null\n        this.options = null\n      }\n    }\n\n  , enable: function () {\n      this.enabled = true\n    }\n\n  , disable: function () {\n      this.enabled = false\n    }\n\n  , toggleEnabled: function () {\n      this.enabled = !this.enabled\n    }\n\n  , toggle: function (e) {\n      var self = e ? $(e.currentTarget)[this.type](this._options).data(this.type) : this\n      self.tip().hasClass('in') ? self.hide() : self.show()\n    }\n\n  , destroy: function () {\n      this.hide().$element.off('.' + this.type).removeData(this.type)\n    }\n\n  }\n\n\n /* TOOLTIP PLUGIN DEFINITION\n  * ========================= */\n\n  var old = $.fn.tooltip\n\n  $.fn.tooltip = function ( option ) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('tooltip')\n        , options = typeof option == 'object' && option\n      if (!data) $this.data('tooltip', (data = new Tooltip(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.tooltip.Constructor = Tooltip\n\n  $.fn.tooltip.defaults = {\n    animation: true\n  , placement: 'top'\n  , selector: false\n  , template: '<div class=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>'\n  , trigger: 'hover focus'\n  , title: ''\n  , delay: 0\n  , html: false\n  , container: false\n  }\n\n\n /* TOOLTIP NO CONFLICT\n  * =================== */\n\n  $.fn.tooltip.noConflict = function () {\n    $.fn.tooltip = old\n    return this\n  }\n\n}(window.jQuery);\n/* ===========================================================\n * bootstrap-popover.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#popovers\n * ===========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * =========================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* POPOVER PUBLIC CLASS DEFINITION\n  * =============================== */\n\n  var Popover = function (element, options) {\n    this.init('popover', element, options)\n  }\n\n\n  /* NOTE: POPOVER EXTENDS BOOTSTRAP-TOOLTIP.js\n     ========================================== */\n\n  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype, {\n\n    constructor: Popover\n\n  , setContent: function () {\n      var $tip = this.tip()\n        , title = this.getTitle()\n        , content = this.getContent()\n\n      $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\n      $tip.find('.popover-content')[this.options.html ? 'html' : 'text'](content)\n\n      $tip.removeClass('fade top bottom left right in')\n    }\n\n  , hasContent: function () {\n      return this.getTitle() || this.getContent()\n    }\n\n  , getContent: function () {\n      var content\n        , $e = this.$element\n        , o = this.options\n\n      content = (typeof o.content == 'function' ? o.content.call($e[0]) :  o.content)\n        || $e.attr('data-content')\n\n      return content\n    }\n\n  , tip: function () {\n      if (!this.$tip) {\n        this.$tip = $(this.options.template)\n      }\n      return this.$tip\n    }\n\n  , destroy: function () {\n      this.hide().$element.off('.' + this.type).removeData(this.type)\n    }\n\n  })\n\n\n /* POPOVER PLUGIN DEFINITION\n  * ======================= */\n\n  var old = $.fn.popover\n\n  $.fn.popover = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('popover')\n        , options = typeof option == 'object' && option\n      if (!data) $this.data('popover', (data = new Popover(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.popover.Constructor = Popover\n\n  $.fn.popover.defaults = $.extend({} , $.fn.tooltip.defaults, {\n    placement: 'right'\n  , trigger: 'click'\n  , content: ''\n  , template: '<div class=\"popover\"><div class=\"arrow\"></div><h3 class=\"popover-title\"></h3><div class=\"popover-content\"></div></div>'\n  })\n\n\n /* POPOVER NO CONFLICT\n  * =================== */\n\n  $.fn.popover.noConflict = function () {\n    $.fn.popover = old\n    return this\n  }\n\n}(window.jQuery);\n/* =============================================================\n * bootstrap-scrollspy.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#scrollspy\n * =============================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ============================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* SCROLLSPY CLASS DEFINITION\n  * ========================== */\n\n  function ScrollSpy(element, options) {\n    var process = $.proxy(this.process, this)\n      , $element = $(element).is('body') ? $(window) : $(element)\n      , href\n    this.options = $.extend({}, $.fn.scrollspy.defaults, options)\n    this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process)\n    this.selector = (this.options.target\n      || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) //strip for ie7\n      || '') + ' .nav li > a'\n    this.$body = $('body')\n    this.refresh()\n    this.process()\n  }\n\n  ScrollSpy.prototype = {\n\n      constructor: ScrollSpy\n\n    , refresh: function () {\n        var self = this\n          , $targets\n\n        this.offsets = $([])\n        this.targets = $([])\n\n        $targets = this.$body\n          .find(this.selector)\n          .map(function () {\n            var $el = $(this)\n              , href = $el.data('target') || $el.attr('href')\n              , $href = /^#\\w/.test(href) && $(href)\n            return ( $href\n              && $href.length\n              && [[ $href.position().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]] ) || null\n          })\n          .sort(function (a, b) { return a[0] - b[0] })\n          .each(function () {\n            self.offsets.push(this[0])\n            self.targets.push(this[1])\n          })\n      }\n\n    , process: function () {\n        var scrollTop = this.$scrollElement.scrollTop() + this.options.offset\n          , scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight\n          , maxScroll = scrollHeight - this.$scrollElement.height()\n          , offsets = this.offsets\n          , targets = this.targets\n          , activeTarget = this.activeTarget\n          , i\n\n        if (scrollTop >= maxScroll) {\n          return activeTarget != (i = targets.last()[0])\n            && this.activate ( i )\n        }\n\n        for (i = offsets.length; i--;) {\n          activeTarget != targets[i]\n            && scrollTop >= offsets[i]\n            && (!offsets[i + 1] || scrollTop <= offsets[i + 1])\n            && this.activate( targets[i] )\n        }\n      }\n\n    , activate: function (target) {\n        var active\n          , selector\n\n        this.activeTarget = target\n\n        $(this.selector)\n          .parent('.active')\n          .removeClass('active')\n\n        selector = this.selector\n          + '[data-target=\"' + target + '\"],'\n          + this.selector + '[href=\"' + target + '\"]'\n\n        active = $(selector)\n          .parent('li')\n          .addClass('active')\n\n        if (active.parent('.dropdown-menu').length)  {\n          active = active.closest('li.dropdown').addClass('active')\n        }\n\n        active.trigger('activate')\n      }\n\n  }\n\n\n /* SCROLLSPY PLUGIN DEFINITION\n  * =========================== */\n\n  var old = $.fn.scrollspy\n\n  $.fn.scrollspy = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('scrollspy')\n        , options = typeof option == 'object' && option\n      if (!data) $this.data('scrollspy', (data = new ScrollSpy(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.scrollspy.Constructor = ScrollSpy\n\n  $.fn.scrollspy.defaults = {\n    offset: 10\n  }\n\n\n /* SCROLLSPY NO CONFLICT\n  * ===================== */\n\n  $.fn.scrollspy.noConflict = function () {\n    $.fn.scrollspy = old\n    return this\n  }\n\n\n /* SCROLLSPY DATA-API\n  * ================== */\n\n  $(window).on('load', function () {\n    $('[data-spy=\"scroll\"]').each(function () {\n      var $spy = $(this)\n      $spy.scrollspy($spy.data())\n    })\n  })\n\n}(window.jQuery);/* ========================================================\n * bootstrap-tab.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#tabs\n * ========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ======================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* TAB CLASS DEFINITION\n  * ==================== */\n\n  var Tab = function (element) {\n    this.element = $(element)\n  }\n\n  Tab.prototype = {\n\n    constructor: Tab\n\n  , show: function () {\n      var $this = this.element\n        , $ul = $this.closest('ul:not(.dropdown-menu)')\n        , selector = $this.attr('data-target')\n        , previous\n        , $target\n        , e\n\n      if (!selector) {\n        selector = $this.attr('href')\n        selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') //strip for ie7\n      }\n\n      if ( $this.parent('li').hasClass('active') ) return\n\n      previous = $ul.find('.active:last a')[0]\n\n      e = $.Event('show', {\n        relatedTarget: previous\n      })\n\n      $this.trigger(e)\n\n      if (e.isDefaultPrevented()) return\n\n      $target = $(selector)\n\n      this.activate($this.parent('li'), $ul)\n      this.activate($target, $target.parent(), function () {\n        $this.trigger({\n          type: 'shown'\n        , relatedTarget: previous\n        })\n      })\n    }\n\n  , activate: function ( element, container, callback) {\n      var $active = container.find('> .active')\n        , transition = callback\n            && $.support.transition\n            && $active.hasClass('fade')\n\n      function next() {\n        $active\n          .removeClass('active')\n          .find('> .dropdown-menu > .active')\n          .removeClass('active')\n\n        element.addClass('active')\n\n        if (transition) {\n          element[0].offsetWidth // reflow for transition\n          element.addClass('in')\n        } else {\n          element.removeClass('fade')\n        }\n\n        if ( element.parent('.dropdown-menu') ) {\n          element.closest('li.dropdown').addClass('active')\n        }\n\n        callback && callback()\n      }\n\n      transition ?\n        $active.one($.support.transition.end, next) :\n        next()\n\n      $active.removeClass('in')\n    }\n  }\n\n\n /* TAB PLUGIN DEFINITION\n  * ===================== */\n\n  var old = $.fn.tab\n\n  $.fn.tab = function ( option ) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('tab')\n      if (!data) $this.data('tab', (data = new Tab(this)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.tab.Constructor = Tab\n\n\n /* TAB NO CONFLICT\n  * =============== */\n\n  $.fn.tab.noConflict = function () {\n    $.fn.tab = old\n    return this\n  }\n\n\n /* TAB DATA-API\n  * ============ */\n\n  $(document).on('click.tab.data-api', '[data-toggle=\"tab\"], [data-toggle=\"pill\"]', function (e) {\n    e.preventDefault()\n    $(this).tab('show')\n  })\n\n}(window.jQuery);/* =============================================================\n * bootstrap-typeahead.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#typeahead\n * =============================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ============================================================ */\n\n\n!function($){\n\n  \"use strict\"; // jshint ;_;\n\n\n /* TYPEAHEAD PUBLIC CLASS DEFINITION\n  * ================================= */\n\n  var Typeahead = function (element, options) {\n    this.$element = $(element)\n    this.options = $.extend({}, $.fn.typeahead.defaults, options)\n    this.matcher = this.options.matcher || this.matcher\n    this.sorter = this.options.sorter || this.sorter\n    this.highlighter = this.options.highlighter || this.highlighter\n    this.updater = this.options.updater || this.updater\n    this.source = this.options.source\n    this.$menu = $(this.options.menu)\n    this.shown = false\n    this.listen()\n  }\n\n  Typeahead.prototype = {\n\n    constructor: Typeahead\n\n  , select: function () {\n      var val = this.$menu.find('.active').attr('data-value')\n      this.$element\n        .val(this.updater(val))\n        .change()\n      return this.hide()\n    }\n\n  , updater: function (item) {\n      return item\n    }\n\n  , show: function () {\n      var pos = $.extend({}, this.$element.position(), {\n        height: this.$element[0].offsetHeight\n      })\n\n      this.$menu\n        .insertAfter(this.$element)\n        .css({\n          top: pos.top + pos.height\n        , left: pos.left\n        })\n        .show()\n\n      this.shown = true\n      return this\n    }\n\n  , hide: function () {\n      this.$menu.hide()\n      this.shown = false\n      return this\n    }\n\n  , lookup: function (event) {\n      var items\n\n      this.query = this.$element.val()\n\n      if (!this.query || this.query.length < this.options.minLength) {\n        return this.shown ? this.hide() : this\n      }\n\n      items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.source\n\n      return items ? this.process(items) : this\n    }\n\n  , process: function (items) {\n      var that = this\n\n      items = $.grep(items, function (item) {\n        return that.matcher(item)\n      })\n\n      items = this.sorter(items)\n\n      if (!items.length) {\n        return this.shown ? this.hide() : this\n      }\n\n      return this.render(items.slice(0, this.options.items)).show()\n    }\n\n  , matcher: function (item) {\n      return ~item.toLowerCase().indexOf(this.query.toLowerCase())\n    }\n\n  , sorter: function (items) {\n      var beginswith = []\n        , caseSensitive = []\n        , caseInsensitive = []\n        , item\n\n      while (item = items.shift()) {\n        if (!item.toLowerCase().indexOf(this.query.toLowerCase())) beginswith.push(item)\n        else if (~item.indexOf(this.query)) caseSensitive.push(item)\n        else caseInsensitive.push(item)\n      }\n\n      return beginswith.concat(caseSensitive, caseInsensitive)\n    }\n\n  , highlighter: function (item) {\n      var query = this.query.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, '\\\\$&')\n      return item.replace(new RegExp('(' + query + ')', 'ig'), function ($1, match) {\n        return '<strong>' + match + '</strong>'\n      })\n    }\n\n  , render: function (items) {\n      var that = this\n\n      items = $(items).map(function (i, item) {\n        i = $(that.options.item).attr('data-value', item)\n        i.find('a').html(that.highlighter(item))\n        return i[0]\n      })\n\n      items.first().addClass('active')\n      this.$menu.html(items)\n      return this\n    }\n\n  , next: function (event) {\n      var active = this.$menu.find('.active').removeClass('active')\n        , next = active.next()\n\n      if (!next.length) {\n        next = $(this.$menu.find('li')[0])\n      }\n\n      next.addClass('active')\n    }\n\n  , prev: function (event) {\n      var active = this.$menu.find('.active').removeClass('active')\n        , prev = active.prev()\n\n      if (!prev.length) {\n        prev = this.$menu.find('li').last()\n      }\n\n      prev.addClass('active')\n    }\n\n  , listen: function () {\n      this.$element\n        .on('focus',    $.proxy(this.focus, this))\n        .on('blur',     $.proxy(this.blur, this))\n        .on('keypress', $.proxy(this.keypress, this))\n        .on('keyup',    $.proxy(this.keyup, this))\n\n      if (this.eventSupported('keydown')) {\n        this.$element.on('keydown', $.proxy(this.keydown, this))\n      }\n\n      this.$menu\n        .on('click', $.proxy(this.click, this))\n        .on('mouseenter', 'li', $.proxy(this.mouseenter, this))\n        .on('mouseleave', 'li', $.proxy(this.mouseleave, this))\n    }\n\n  , eventSupported: function(eventName) {\n      var isSupported = eventName in this.$element\n      if (!isSupported) {\n        this.$element.setAttribute(eventName, 'return;')\n        isSupported = typeof this.$element[eventName] === 'function'\n      }\n      return isSupported\n    }\n\n  , move: function (e) {\n      if (!this.shown) return\n\n      switch(e.keyCode) {\n        case 9: // tab\n        case 13: // enter\n        case 27: // escape\n          e.preventDefault()\n          break\n\n        case 38: // up arrow\n          e.preventDefault()\n          this.prev()\n          break\n\n        case 40: // down arrow\n          e.preventDefault()\n          this.next()\n          break\n      }\n\n      e.stopPropagation()\n    }\n\n  , keydown: function (e) {\n      this.suppressKeyPressRepeat = ~$.inArray(e.keyCode, [40,38,9,13,27])\n      this.move(e)\n    }\n\n  , keypress: function (e) {\n      if (this.suppressKeyPressRepeat) return\n      this.move(e)\n    }\n\n  , keyup: function (e) {\n      switch(e.keyCode) {\n        case 40: // down arrow\n        case 38: // up arrow\n        case 16: // shift\n        case 17: // ctrl\n        case 18: // alt\n          break\n\n        case 9: // tab\n        case 13: // enter\n          if (!this.shown) return\n          this.select()\n          break\n\n        case 27: // escape\n          if (!this.shown) return\n          this.hide()\n          break\n\n        default:\n          this.lookup()\n      }\n\n      e.stopPropagation()\n      e.preventDefault()\n  }\n\n  , focus: function (e) {\n      this.focused = true\n    }\n\n  , blur: function (e) {\n      this.focused = false\n      if (!this.mousedover && this.shown) this.hide()\n    }\n\n  , click: function (e) {\n      e.stopPropagation()\n      e.preventDefault()\n      this.select()\n      this.$element.focus()\n    }\n\n  , mouseenter: function (e) {\n      this.mousedover = true\n      this.$menu.find('.active').removeClass('active')\n      $(e.currentTarget).addClass('active')\n    }\n\n  , mouseleave: function (e) {\n      this.mousedover = false\n      if (!this.focused && this.shown) this.hide()\n    }\n\n  }\n\n\n  /* TYPEAHEAD PLUGIN DEFINITION\n   * =========================== */\n\n  var old = $.fn.typeahead\n\n  $.fn.typeahead = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('typeahead')\n        , options = typeof option == 'object' && option\n      if (!data) $this.data('typeahead', (data = new Typeahead(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.typeahead.defaults = {\n    source: []\n  , items: 8\n  , menu: '<ul class=\"typeahead dropdown-menu\"></ul>'\n  , item: '<li><a href=\"#\"></a></li>'\n  , minLength: 1\n  }\n\n  $.fn.typeahead.Constructor = Typeahead\n\n\n /* TYPEAHEAD NO CONFLICT\n  * =================== */\n\n  $.fn.typeahead.noConflict = function () {\n    $.fn.typeahead = old\n    return this\n  }\n\n\n /* TYPEAHEAD DATA-API\n  * ================== */\n\n  $(document).on('focus.typeahead.data-api', '[data-provide=\"typeahead\"]', function (e) {\n    var $this = $(this)\n    if ($this.data('typeahead')) return\n    $this.typeahead($this.data())\n  })\n\n}(window.jQuery);\n/* ==========================================================\n * bootstrap-affix.js v2.3.1\n * http://twitter.github.com/bootstrap/javascript.html#affix\n * ==========================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ========================================================== */\n\n\n!function ($) {\n\n  \"use strict\"; // jshint ;_;\n\n\n /* AFFIX CLASS DEFINITION\n  * ====================== */\n\n  var Affix = function (element, options) {\n    this.options = $.extend({}, $.fn.affix.defaults, options)\n    this.$window = $(window)\n      .on('scroll.affix.data-api', $.proxy(this.checkPosition, this))\n      .on('click.affix.data-api',  $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))\n    this.$element = $(element)\n    this.checkPosition()\n  }\n\n  Affix.prototype.checkPosition = function () {\n    if (!this.$element.is(':visible')) return\n\n    var scrollHeight = $(document).height()\n      , scrollTop = this.$window.scrollTop()\n      , position = this.$element.offset()\n      , offset = this.options.offset\n      , offsetBottom = offset.bottom\n      , offsetTop = offset.top\n      , reset = 'affix affix-top affix-bottom'\n      , affix\n\n    if (typeof offset != 'object') offsetBottom = offsetTop = offset\n    if (typeof offsetTop == 'function') offsetTop = offset.top()\n    if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()\n\n    affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ?\n      false    : offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ?\n      'bottom' : offsetTop != null && scrollTop <= offsetTop ?\n      'top'    : false\n\n    if (this.affixed === affix) return\n\n    this.affixed = affix\n    this.unpin = affix == 'bottom' ? position.top - scrollTop : null\n\n    this.$element.removeClass(reset).addClass('affix' + (affix ? '-' + affix : ''))\n  }\n\n\n /* AFFIX PLUGIN DEFINITION\n  * ======================= */\n\n  var old = $.fn.affix\n\n  $.fn.affix = function (option) {\n    return this.each(function () {\n      var $this = $(this)\n        , data = $this.data('affix')\n        , options = typeof option == 'object' && option\n      if (!data) $this.data('affix', (data = new Affix(this, options)))\n      if (typeof option == 'string') data[option]()\n    })\n  }\n\n  $.fn.affix.Constructor = Affix\n\n  $.fn.affix.defaults = {\n    offset: 0\n  }\n\n\n /* AFFIX NO CONFLICT\n  * ================= */\n\n  $.fn.affix.noConflict = function () {\n    $.fn.affix = old\n    return this\n  }\n\n\n /* AFFIX DATA-API\n  * ============== */\n\n  $(window).on('load', function () {\n    $('[data-spy=\"affix\"]').each(function () {\n      var $spy = $(this)\n        , data = $spy.data()\n\n      data.offset = data.offset || {}\n\n      data.offsetBottom && (data.offset.bottom = data.offsetBottom)\n      data.offsetTop && (data.offset.top = data.offsetTop)\n\n      $spy.affix(data)\n    })\n  })\n\n\n}(window.jQuery);"
  },
  {
    "path": "_attachments/vendor/jshash/md5-min.js",
    "content": "/*\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\nvar hexcase=0;function hex_md5(a){return rstr2hex(rstr_md5(str2rstr_utf8(a)))}function hex_hmac_md5(a,b){return rstr2hex(rstr_hmac_md5(str2rstr_utf8(a),str2rstr_utf8(b)))}function md5_vm_test(){return hex_md5(\"abc\").toLowerCase()==\"900150983cd24fb0d6963f7d28e17f72\"}function rstr_md5(a){return binl2rstr(binl_md5(rstr2binl(a),a.length*8))}function rstr_hmac_md5(c,f){var e=rstr2binl(c);if(e.length>16){e=binl_md5(e,c.length*8)}var a=Array(16),d=Array(16);for(var b=0;b<16;b++){a[b]=e[b]^909522486;d[b]=e[b]^1549556828}var g=binl_md5(a.concat(rstr2binl(f)),512+f.length*8);return binl2rstr(binl_md5(d.concat(g),512+128))}function rstr2hex(c){try{hexcase}catch(g){hexcase=0}var f=hexcase?\"0123456789ABCDEF\":\"0123456789abcdef\";var b=\"\";var a;for(var d=0;d<c.length;d++){a=c.charCodeAt(d);b+=f.charAt((a>>>4)&15)+f.charAt(a&15)}return b}function str2rstr_utf8(c){var b=\"\";var d=-1;var a,e;while(++d<c.length){a=c.charCodeAt(d);e=d+1<c.length?c.charCodeAt(d+1):0;if(55296<=a&&a<=56319&&56320<=e&&e<=57343){a=65536+((a&1023)<<10)+(e&1023);d++}if(a<=127){b+=String.fromCharCode(a)}else{if(a<=2047){b+=String.fromCharCode(192|((a>>>6)&31),128|(a&63))}else{if(a<=65535){b+=String.fromCharCode(224|((a>>>12)&15),128|((a>>>6)&63),128|(a&63))}else{if(a<=2097151){b+=String.fromCharCode(240|((a>>>18)&7),128|((a>>>12)&63),128|((a>>>6)&63),128|(a&63))}}}}}return b}function rstr2binl(b){var a=Array(b.length>>2);for(var c=0;c<a.length;c++){a[c]=0}for(var c=0;c<b.length*8;c+=8){a[c>>5]|=(b.charCodeAt(c/8)&255)<<(c%32)}return a}function binl2rstr(b){var a=\"\";for(var c=0;c<b.length*32;c+=8){a+=String.fromCharCode((b[c>>5]>>>(c%32))&255)}return a}function binl_md5(p,k){p[k>>5]|=128<<((k)%32);p[(((k+64)>>>9)<<4)+14]=k;var o=1732584193;var n=-271733879;var m=-1732584194;var l=271733878;for(var g=0;g<p.length;g+=16){var j=o;var h=n;var f=m;var e=l;o=md5_ff(o,n,m,l,p[g+0],7,-680876936);l=md5_ff(l,o,n,m,p[g+1],12,-389564586);m=md5_ff(m,l,o,n,p[g+2],17,606105819);n=md5_ff(n,m,l,o,p[g+3],22,-1044525330);o=md5_ff(o,n,m,l,p[g+4],7,-176418897);l=md5_ff(l,o,n,m,p[g+5],12,1200080426);m=md5_ff(m,l,o,n,p[g+6],17,-1473231341);n=md5_ff(n,m,l,o,p[g+7],22,-45705983);o=md5_ff(o,n,m,l,p[g+8],7,1770035416);l=md5_ff(l,o,n,m,p[g+9],12,-1958414417);m=md5_ff(m,l,o,n,p[g+10],17,-42063);n=md5_ff(n,m,l,o,p[g+11],22,-1990404162);o=md5_ff(o,n,m,l,p[g+12],7,1804603682);l=md5_ff(l,o,n,m,p[g+13],12,-40341101);m=md5_ff(m,l,o,n,p[g+14],17,-1502002290);n=md5_ff(n,m,l,o,p[g+15],22,1236535329);o=md5_gg(o,n,m,l,p[g+1],5,-165796510);l=md5_gg(l,o,n,m,p[g+6],9,-1069501632);m=md5_gg(m,l,o,n,p[g+11],14,643717713);n=md5_gg(n,m,l,o,p[g+0],20,-373897302);o=md5_gg(o,n,m,l,p[g+5],5,-701558691);l=md5_gg(l,o,n,m,p[g+10],9,38016083);m=md5_gg(m,l,o,n,p[g+15],14,-660478335);n=md5_gg(n,m,l,o,p[g+4],20,-405537848);o=md5_gg(o,n,m,l,p[g+9],5,568446438);l=md5_gg(l,o,n,m,p[g+14],9,-1019803690);m=md5_gg(m,l,o,n,p[g+3],14,-187363961);n=md5_gg(n,m,l,o,p[g+8],20,1163531501);o=md5_gg(o,n,m,l,p[g+13],5,-1444681467);l=md5_gg(l,o,n,m,p[g+2],9,-51403784);m=md5_gg(m,l,o,n,p[g+7],14,1735328473);n=md5_gg(n,m,l,o,p[g+12],20,-1926607734);o=md5_hh(o,n,m,l,p[g+5],4,-378558);l=md5_hh(l,o,n,m,p[g+8],11,-2022574463);m=md5_hh(m,l,o,n,p[g+11],16,1839030562);n=md5_hh(n,m,l,o,p[g+14],23,-35309556);o=md5_hh(o,n,m,l,p[g+1],4,-1530992060);l=md5_hh(l,o,n,m,p[g+4],11,1272893353);m=md5_hh(m,l,o,n,p[g+7],16,-155497632);n=md5_hh(n,m,l,o,p[g+10],23,-1094730640);o=md5_hh(o,n,m,l,p[g+13],4,681279174);l=md5_hh(l,o,n,m,p[g+0],11,-358537222);m=md5_hh(m,l,o,n,p[g+3],16,-722521979);n=md5_hh(n,m,l,o,p[g+6],23,76029189);o=md5_hh(o,n,m,l,p[g+9],4,-640364487);l=md5_hh(l,o,n,m,p[g+12],11,-421815835);m=md5_hh(m,l,o,n,p[g+15],16,530742520);n=md5_hh(n,m,l,o,p[g+2],23,-995338651);o=md5_ii(o,n,m,l,p[g+0],6,-198630844);l=md5_ii(l,o,n,m,p[g+7],10,1126891415);m=md5_ii(m,l,o,n,p[g+14],15,-1416354905);n=md5_ii(n,m,l,o,p[g+5],21,-57434055);o=md5_ii(o,n,m,l,p[g+12],6,1700485571);l=md5_ii(l,o,n,m,p[g+3],10,-1894986606);m=md5_ii(m,l,o,n,p[g+10],15,-1051523);n=md5_ii(n,m,l,o,p[g+1],21,-2054922799);o=md5_ii(o,n,m,l,p[g+8],6,1873313359);l=md5_ii(l,o,n,m,p[g+15],10,-30611744);m=md5_ii(m,l,o,n,p[g+6],15,-1560198380);n=md5_ii(n,m,l,o,p[g+13],21,1309151649);o=md5_ii(o,n,m,l,p[g+4],6,-145523070);l=md5_ii(l,o,n,m,p[g+11],10,-1120210379);m=md5_ii(m,l,o,n,p[g+2],15,718787259);n=md5_ii(n,m,l,o,p[g+9],21,-343485551);o=safe_add(o,j);n=safe_add(n,h);m=safe_add(m,f);l=safe_add(l,e)}return Array(o,n,m,l)}function md5_cmn(h,e,d,c,g,f){return safe_add(bit_rol(safe_add(safe_add(e,h),safe_add(c,f)),g),d)}function md5_ff(g,f,k,j,e,i,h){return md5_cmn((f&k)|((~f)&j),g,f,e,i,h)}function md5_gg(g,f,k,j,e,i,h){return md5_cmn((f&j)|(k&(~j)),g,f,e,i,h)}function md5_hh(g,f,k,j,e,i,h){return md5_cmn(f^k^j,g,f,e,i,h)}function md5_ii(g,f,k,j,e,i,h){return md5_cmn(k^(f|(~j)),g,f,e,i,h)}function safe_add(a,d){var c=(a&65535)+(d&65535);var b=(a>>16)+(d>>16)+(c>>16);return(b<<16)|(c&65535)}function bit_rol(a,b){return(a<<b)|(a>>>(32-b))};"
  },
  {
    "path": "_attachments/vendor/jshash/sha1.js",
    "content": "/*\n * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined\n * in FIPS 180-1\n * Version 2.2 Copyright Paul Johnston 2000 - 2009.\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for details.\n */\n\n/*\n * Configurable variables. You may need to tweak these to be compatible with\n * the server-side, but the defaults work in most cases.\n */\nvar hexcase = 0;  /* hex output format. 0 - lowercase; 1 - uppercase        */\nvar b64pad  = \"\"; /* base-64 pad character. \"=\" for strict RFC compliance   */\n\n/*\n * These are the functions you'll usually want to call\n * They take string arguments and return either hex or base-64 encoded strings\n */\nfunction hex_sha1(s)    { return rstr2hex(rstr_sha1(str2rstr_utf8(s))); }\nfunction b64_sha1(s)    { return rstr2b64(rstr_sha1(str2rstr_utf8(s))); }\nfunction any_sha1(s, e) { return rstr2any(rstr_sha1(str2rstr_utf8(s)), e); }\nfunction hex_hmac_sha1(k, d)\n{ return rstr2hex(rstr_hmac_sha1(str2rstr_utf8(k), str2rstr_utf8(d))); }\nfunction b64_hmac_sha1(k, d)\n{ return rstr2b64(rstr_hmac_sha1(str2rstr_utf8(k), str2rstr_utf8(d))); }\nfunction any_hmac_sha1(k, d, e)\n{ return rstr2any(rstr_hmac_sha1(str2rstr_utf8(k), str2rstr_utf8(d)), e); }\n\n/*\n * Perform a simple self-test to see if the VM is working\n */\nfunction sha1_vm_test()\n{\n    return hex_sha1(\"abc\").toLowerCase() == \"a9993e364706816aba3e25717850c26c9cd0d89d\";\n}\n\n/*\n * Calculate the SHA1 of a raw string\n */\nfunction rstr_sha1(s)\n{\n    return binb2rstr(binb_sha1(rstr2binb(s), s.length * 8));\n}\n\n/*\n * Calculate the HMAC-SHA1 of a key and some data (raw strings)\n */\nfunction rstr_hmac_sha1(key, data)\n{\n    var bkey = rstr2binb(key);\n    if(bkey.length > 16) bkey = binb_sha1(bkey, key.length * 8);\n\n    var ipad = Array(16), opad = Array(16);\n    for(var i = 0; i < 16; i++)\n    {\n        ipad[i] = bkey[i] ^ 0x36363636;\n        opad[i] = bkey[i] ^ 0x5C5C5C5C;\n    }\n\n    var hash = binb_sha1(ipad.concat(rstr2binb(data)), 512 + data.length * 8);\n    return binb2rstr(binb_sha1(opad.concat(hash), 512 + 160));\n}\n\n/*\n * Convert a raw string to a hex string\n */\nfunction rstr2hex(input)\n{\n    try { hexcase } catch(e) { hexcase=0; }\n    var hex_tab = hexcase ? \"0123456789ABCDEF\" : \"0123456789abcdef\";\n    var output = \"\";\n    var x;\n    for(var i = 0; i < input.length; i++)\n    {\n        x = input.charCodeAt(i);\n        output += hex_tab.charAt((x >>> 4) & 0x0F)\n            +  hex_tab.charAt( x        & 0x0F);\n    }\n    return output;\n}\n\n/*\n * Convert a raw string to a base-64 string\n */\nfunction rstr2b64(input)\n{\n    try { b64pad } catch(e) { b64pad=''; }\n    var tab = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n    var output = \"\";\n    var len = input.length;\n    for(var i = 0; i < len; i += 3)\n    {\n        var triplet = (input.charCodeAt(i) << 16)\n            | (i + 1 < len ? input.charCodeAt(i+1) << 8 : 0)\n            | (i + 2 < len ? input.charCodeAt(i+2)      : 0);\n        for(var j = 0; j < 4; j++)\n        {\n            if(i * 8 + j * 6 > input.length * 8) output += b64pad;\n            else output += tab.charAt((triplet >>> 6*(3-j)) & 0x3F);\n        }\n    }\n    return output;\n}\n\n/*\n * Convert a raw string to an arbitrary string encoding\n */\nfunction rstr2any(input, encoding)\n{\n    var divisor = encoding.length;\n    var remainders = Array();\n    var i, q, x, quotient;\n\n    /* Convert to an array of 16-bit big-endian values, forming the dividend */\n    var dividend = Array(Math.ceil(input.length / 2));\n    for(i = 0; i < dividend.length; i++)\n    {\n        dividend[i] = (input.charCodeAt(i * 2) << 8) | input.charCodeAt(i * 2 + 1);\n    }\n\n    /*\n     * Repeatedly perform a long division. The binary array forms the dividend,\n     * the length of the encoding is the divisor. Once computed, the quotient\n     * forms the dividend for the next step. We stop when the dividend is zero.\n     * All remainders are stored for later use.\n     */\n    while(dividend.length > 0)\n    {\n        quotient = Array();\n        x = 0;\n        for(i = 0; i < dividend.length; i++)\n        {\n            x = (x << 16) + dividend[i];\n            q = Math.floor(x / divisor);\n            x -= q * divisor;\n            if(quotient.length > 0 || q > 0)\n                quotient[quotient.length] = q;\n        }\n        remainders[remainders.length] = x;\n        dividend = quotient;\n    }\n\n    /* Convert the remainders to the output string */\n    var output = \"\";\n    for(i = remainders.length - 1; i >= 0; i--)\n        output += encoding.charAt(remainders[i]);\n\n    /* Append leading zero equivalents */\n    var full_length = Math.ceil(input.length * 8 /\n        (Math.log(encoding.length) / Math.log(2)))\n    for(i = output.length; i < full_length; i++)\n        output = encoding[0] + output;\n\n    return output;\n}\n\n/*\n * Encode a string as utf-8.\n * For efficiency, this assumes the input is valid utf-16.\n */\nfunction str2rstr_utf8(input)\n{\n    var output = \"\";\n    var i = -1;\n    var x, y;\n\n    while(++i < input.length)\n    {\n        /* Decode utf-16 surrogate pairs */\n        x = input.charCodeAt(i);\n        y = i + 1 < input.length ? input.charCodeAt(i + 1) : 0;\n        if(0xD800 <= x && x <= 0xDBFF && 0xDC00 <= y && y <= 0xDFFF)\n        {\n            x = 0x10000 + ((x & 0x03FF) << 10) + (y & 0x03FF);\n            i++;\n        }\n\n        /* Encode output as utf-8 */\n        if(x <= 0x7F)\n            output += String.fromCharCode(x);\n        else if(x <= 0x7FF)\n            output += String.fromCharCode(0xC0 | ((x >>> 6 ) & 0x1F),\n                0x80 | ( x         & 0x3F));\n        else if(x <= 0xFFFF)\n            output += String.fromCharCode(0xE0 | ((x >>> 12) & 0x0F),\n                0x80 | ((x >>> 6 ) & 0x3F),\n                0x80 | ( x         & 0x3F));\n        else if(x <= 0x1FFFFF)\n            output += String.fromCharCode(0xF0 | ((x >>> 18) & 0x07),\n                0x80 | ((x >>> 12) & 0x3F),\n                0x80 | ((x >>> 6 ) & 0x3F),\n                0x80 | ( x         & 0x3F));\n    }\n    return output;\n}\n\n/*\n * Encode a string as utf-16\n */\nfunction str2rstr_utf16le(input)\n{\n    var output = \"\";\n    for(var i = 0; i < input.length; i++)\n        output += String.fromCharCode( input.charCodeAt(i)        & 0xFF,\n            (input.charCodeAt(i) >>> 8) & 0xFF);\n    return output;\n}\n\nfunction str2rstr_utf16be(input)\n{\n    var output = \"\";\n    for(var i = 0; i < input.length; i++)\n        output += String.fromCharCode((input.charCodeAt(i) >>> 8) & 0xFF,\n            input.charCodeAt(i)        & 0xFF);\n    return output;\n}\n\n/*\n * Convert a raw string to an array of big-endian words\n * Characters >255 have their high-byte silently ignored.\n */\nfunction rstr2binb(input)\n{\n    var output = Array(input.length >> 2);\n    for(var i = 0; i < output.length; i++)\n        output[i] = 0;\n    for(var i = 0; i < input.length * 8; i += 8)\n        output[i>>5] |= (input.charCodeAt(i / 8) & 0xFF) << (24 - i % 32);\n    return output;\n}\n\n/*\n * Convert an array of big-endian words to a string\n */\nfunction binb2rstr(input)\n{\n    var output = \"\";\n    for(var i = 0; i < input.length * 32; i += 8)\n        output += String.fromCharCode((input[i>>5] >>> (24 - i % 32)) & 0xFF);\n    return output;\n}\n\n/*\n * Calculate the SHA-1 of an array of big-endian words, and a bit length\n */\nfunction binb_sha1(x, len)\n{\n    /* append padding */\n    x[len >> 5] |= 0x80 << (24 - len % 32);\n    x[((len + 64 >> 9) << 4) + 15] = len;\n\n    var w = Array(80);\n    var a =  1732584193;\n    var b = -271733879;\n    var c = -1732584194;\n    var d =  271733878;\n    var e = -1009589776;\n\n    for(var i = 0; i < x.length; i += 16)\n    {\n        var olda = a;\n        var oldb = b;\n        var oldc = c;\n        var oldd = d;\n        var olde = e;\n\n        for(var j = 0; j < 80; j++)\n        {\n            if(j < 16) w[j] = x[i + j];\n            else w[j] = bit_rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1);\n            var t = safe_add(safe_add(bit_rol(a, 5), sha1_ft(j, b, c, d)),\n                safe_add(safe_add(e, w[j]), sha1_kt(j)));\n            e = d;\n            d = c;\n            c = bit_rol(b, 30);\n            b = a;\n            a = t;\n        }\n\n        a = safe_add(a, olda);\n        b = safe_add(b, oldb);\n        c = safe_add(c, oldc);\n        d = safe_add(d, oldd);\n        e = safe_add(e, olde);\n    }\n    return Array(a, b, c, d, e);\n\n}\n\n/*\n * Perform the appropriate triplet combination function for the current\n * iteration\n */\nfunction sha1_ft(t, b, c, d)\n{\n    if(t < 20) return (b & c) | ((~b) & d);\n    if(t < 40) return b ^ c ^ d;\n    if(t < 60) return (b & c) | (b & d) | (c & d);\n    return b ^ c ^ d;\n}\n\n/*\n * Determine the appropriate additive constant for the current iteration\n */\nfunction sha1_kt(t)\n{\n    return (t < 20) ?  1518500249 : (t < 40) ?  1859775393 :\n        (t < 60) ? -1894007588 : -899497514;\n}\n\n/*\n * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n * to work around bugs in some JS interpreters.\n */\nfunction safe_add(x, y)\n{\n    var lsw = (x & 0xFFFF) + (y & 0xFFFF);\n    var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n    return (msw << 16) | (lsw & 0xFFFF);\n}\n\n/*\n * Bitwise rotate a 32-bit number to the left.\n */\nfunction bit_rol(num, cnt)\n{\n    return (num << cnt) | (num >>> (32 - cnt));\n}"
  },
  {
    "path": "_attachments/vendor/padolsey/prettyprint.js",
    "content": "/*\nCopyright (c) 2009 James Padolsey.  All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n   1. Redistributions of source code must retain the above copyright\n\t  notice, this list of conditions and the following disclaimer.\n\n   2. Redistributions in binary form must reproduce the above copyright\n\t  notice, this list of conditions and the following disclaimer in the\n\t  documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY James Padolsey ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL James Padolsey OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n\nThe views and conclusions contained in the software and documentation are\nthose of the authors and should not be interpreted as representing official\npolicies, either expressed or implied, of James Padolsey.\n\n AUTHOR James Padolsey (http://james.padolsey.com)\n VERSION 1.03.0\n UPDATED 29-10-2011\n CONTRIBUTORS\n\tDavid Waller\n    Benjamin Drucker\n\n*/\n\nvar prettyPrint = (function(){\n\t\n\t/* These \"util\" functions are not part of the core\n\t   functionality but are  all necessary - mostly DOM helpers */\n\t\n\tvar util = {\n\t\t\n\t\tel: function(type, attrs) {\n\t\t\t\n\t\t\t/* Create new element */\n\t\t\tvar el = document.createElement(type), attr;\n\t\t\t\n\t\t\t/*Copy to single object */\n\t\t\tattrs = util.merge({}, attrs);\n\t\t\t\n\n            /* Add classes if provided */\n            if (attrs && attrs.classes) {\n                var classNames = attrs.classes;\n                for(classNameId in classNames) {\n                    el.className = el.className + \" \"  + classNames[classNameId];\n                }\n\n                delete attrs.classes;\n            } else if (attrs && attrs.style) {\n                /* Else apply inline style */\n                var styles = attrs.style;\n                util.applyCSS( el, attrs.style );\n                delete attrs.style;\n            }\n\n\n            for (attr in attrs) {\n                if (attrs.hasOwnProperty(attr)) {\n                    el[attr] = attrs[attr];\n                }\n            }\n\n\n\n\t\t\treturn el;\n\t\t\n\t\t},\n\t\t\n\t\tapplyCSS: function(el, styles) {\n\t\t\t/* Applies CSS to a single element */\n\t\t\tfor (var prop in styles) {\n\t\t\t\tif (styles.hasOwnProperty(prop)) {\n\t\t\t\t\ttry{\n\t\t\t\t\t\t/* Yes, IE6 SUCKS! */\n\t\t\t\t\t\tel.style[prop] = styles[prop];\n\t\t\t\t\t}catch(e){}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\n\t\ttxt: function(t) {\n\t\t\t/* Create text node */\n\t\t\treturn document.createTextNode(t);\n\t\t},\n\t\t\n\t\trow: function(cells, type, cellType) {\n\t\t\t\n\t\t\t/* Creates new <tr> */\n\t\t\tcellType = cellType || 'td';\n\t\t\t\n\t\t\t/* colSpan is calculated by length of null items in array */\n\t\t\tvar colSpan = util.count(cells, null) + 1,\n\t\t\t\ttr = util.el('tr'), td,\n\t\t\t\tattrs = {\n\t\t\t\t\tstyle: util.getStyles(cellType, type),\n                    colSpan: colSpan,\n\t\t\t\t\tonmouseover: function() {\n\t\t\t\t\t\tvar tds = this.parentNode.childNodes;\n\t\t\t\t\t\tutil.forEach(tds, function(cell){\n\t\t\t\t\t\t\tif (cell.nodeName.toLowerCase() !== 'td') { return; }\n\t\t\t\t\t\t\tutil.applyCSS(cell, util.getStyles('td_hover', type));\n\t\t\t\t\t\t});\n\t\t\t\t\t},\n\t\t\t\t\tonmouseout: function() {\n\t\t\t\t\t\tvar tds = this.parentNode.childNodes;\n\t\t\t\t\t\tutil.forEach(tds, function(cell){\n\t\t\t\t\t\t\tif (cell.nodeName.toLowerCase() !== 'td') { return; }\n\t\t\t\t\t\t\tutil.applyCSS(cell, util.getStyles('td', type));\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t};\n            var elClasses = util.getClasses(cellType, type);\n            if(elClasses) {\n                attrs.classes = elClasses;\n            }\n\n\t\t\tutil.forEach(cells, function(cell){\n\t\t\t\t\n\t\t\t\tif (cell === null) { return; }\n\t\t\t\t/* Default cell type is <td> */\n\t\t\t\ttd = util.el(cellType, attrs);\n\t\t\t\t\n\t\t\t\tif (cell.nodeType) {\n\t\t\t\t\t/* IsDomElement */\n\t\t\t\t\ttd.appendChild(cell);\n\t\t\t\t} else {\n\t\t\t\t\t/* IsString */\n\t\t\t\t\ttd.innerHTML = cell.toString();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttr.appendChild(td);\n\t\t\t});\n\t\t\t\n\t\t\treturn tr;\n\t\t},\n\t\t\n\t\thRow: function(cells, type){\n\t\t\t/* Return new <th> */\n\t\t\treturn util.row(cells, type, 'th');\n\t\t},\n\t\t\n\t\ttable: function(headings, type){\n\t\t\t\n\t\t\theadings = headings || [];\n\t\t\t\n\t\t\t/* Creates new table: */\n\t\t\tvar attrs = {\n\t\t\t\t\tthead: {\n\t\t\t\t\t\tstyle:util.getStyles('thead',type),\n                        classes: util.getClasses('thead',type)\n\t\t\t\t\t},\n\t\t\t\t\ttbody: {\n\t\t\t\t\t\tstyle:util.getStyles('tbody',type),\n                        classes: util.getClasses('tbody',type)\n\t\t\t\t\t},\n\t\t\t\t\ttable: {\n\t\t\t\t\t\tstyle:util.getStyles('table',type),\n                        classes: util.getClasses('table',type)\n\t\t\t\t\t}\n\t\t\t\t};\n            tbl = util.el('table', attrs.table),\n            thead = util.el('thead', attrs.thead),\n            tbody = util.el('tbody', attrs.tbody);\n\t\t\t\t\n\t\t\tif (headings.length) {\n\t\t\t\ttbl.appendChild(thead);\n\t\t\t\tthead.appendChild( util.hRow(headings, type) );\n\t\t\t}\n\t\t\ttbl.appendChild(tbody);\n\t\t\t\n\t\t\treturn {\n\t\t\t\t/* Facade for dealing with table/tbody\n\t\t\t\t   Actual table node is this.node: */\n\t\t\t\tnode: tbl,\n\t\t\t\ttbody: tbody,\n\t\t\t\tthead: thead,\n\t\t\t\tappendChild: function(node) {\n\t\t\t\t\tthis.tbody.appendChild(node);\n\t\t\t\t},\n\t\t\t\taddRow: function(cells, _type, cellType){\n\t\t\t\t\tthis.appendChild(util.row.call(util, cells, (_type || type), cellType));\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t\n\t\tshorten: function(str) {\n\t\t\tvar max = 100;\n\t\t\tstr = str.replace(/^\\s\\s*|\\s\\s*$|\\n/g,'');\n\t\t\treturn str.length > max ? (str.substring(0, max-1) + '...') : str;\n\t\t},\n\t\t\n\t\thtmlentities: function(str) {\n\t\t\treturn str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');\n\t\t},\n\t\t\n\t\tmerge: function(target, source) {\n\t\t\t\n\t\t\t/* Merges two (or more) objects,\n\t\t\t   giving the last one precedence */\n\t\t\t\n\t\t\tif ( typeof target !== 'object' ) {\n\t\t\t\ttarget = {};\n\t\t\t}\n\t\t\t\n\t\t\tfor (var property in source) {\n\t\t\t\t\n\t\t\t\tif ( source.hasOwnProperty(property) ) {\n\t\t\t\t\t\n\t\t\t\t\tvar sourceProperty = source[ property ];\n\t\t\t\t\t\n\t\t\t\t\tif ( typeof sourceProperty === 'object' ) {\n\t\t\t\t\t\ttarget[ property ] = util.merge( target[ property ], sourceProperty );\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\ttarget[ property ] = sourceProperty;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tfor (var a = 2, l = arguments.length; a < l; a++) {\n\t\t\t\tutil.merge(target, arguments[a]);\n\t\t\t}\n\t\t\t\n\t\t\treturn target;\n\t\t},\n\t\t\n\t\tcount: function(arr, item) {\n\t\t\tvar count = 0;\n\t\t\tfor (var i = 0, l = arr.length; i< l; i++) {\n\t\t\t\tif (arr[i] === item) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn count;\n\t\t},\n\t\t\n\t\tthead: function(tbl) {\n\t\t\treturn tbl.getElementsByTagName('thead')[0];\n\t\t},\n\t\t\n\t\tforEach: function(arr, max, fn) {\n\t\t\t\n\t\t\tif (!fn) {\n\t\t\t\tfn = max;\n\t\t\t}\n\n\t\t\t/* Helper: iteration */\n\t\t\tvar len = arr.length,\n\t\t\t\tindex = -1;\n\t\t\t\n\t\t\twhile (++index < len) {\n\t\t\t\tif(fn( arr[index], index, arr ) === false) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn true;\n\t\t},\n\t\t\n\t\ttype: function(v){\n\t\t\ttry {\n\t\t\t\t/* Returns type, e.g. \"string\", \"number\", \"array\" etc.\n\t\t\t\t   Note, this is only used for precise typing. */\n\t\t\t\tif (v === null) { return 'null'; }\n\t\t\t\tif (v === undefined) { return 'undefined'; }\n\t\t\t\tvar oType = Object.prototype.toString.call(v).match(/\\s(.+?)\\]/)[1].toLowerCase();\n\t\t\t\tif (v.nodeType) {\n\t\t\t\t\tif (v.nodeType === 1) {\n\t\t\t\t\t\treturn 'domelement';\n\t\t\t\t\t}\n\t\t\t\t\treturn 'domnode';\n\t\t\t\t}\n\t\t\t\tif (/^(string|number|array|regexp|function|date|boolean)$/.test(oType)) {\n\t\t\t\t\treturn oType;\n\t\t\t\t}\n\t\t\t\tif (typeof v === 'object') {\n\t\t\t\t\treturn v.jquery && typeof v.jquery === 'string' ? 'jquery' : 'object';\n\t\t\t\t}\n\t\t\t\tif (v === window || v === document) {\n\t\t\t\t\treturn 'object';\n\t\t\t\t}\n\t\t\t\treturn 'default';\n\t\t\t} catch(e) {\n\t\t\t\treturn 'default';\n\t\t\t}\n\t\t},\n\t\t\n\t\twithin: function(ref) {\n\t\t\t/* Check existence of a val within an object\n\t\t\t   RETURNS KEY */\n\t\t\treturn {\n\t\t\t\tis: function(o) {\n\t\t\t\t\tfor (var i in ref) {\n\t\t\t\t\t\tif (ref[i] === o) {\n\t\t\t\t\t\t\treturn i;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn '';\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t\n\t\tcommon: {\n\t\t\tcircRef: function(obj, key, settings) {\n\t\t\t\treturn util.expander(\n\t\t\t\t\t'[POINTS BACK TO <strong>' + (key) + '</strong>]',\n\t\t\t\t\t'Click to show this item anyway',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild( prettyPrintThis(obj,{maxDepth:1}) );\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t},\n\t\t\tdepthReached: function(obj, settings) {\n\t\t\t\treturn util.expander(\n\t\t\t\t\t'[DEPTH REACHED]',\n\t\t\t\t\t'Click to show this item anyway',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tthis.parentNode.appendChild( prettyPrintThis(obj,{maxDepth:1}) );\n\t\t\t\t\t\t} catch(e) {\n\t\t\t\t\t\t\tthis.parentNode.appendChild(\n\t\t\t\t\t\t\t\tutil.table(['ERROR OCCURED DURING OBJECT RETRIEVAL'],'error').addRow([e.message]).node   \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\t\t\t}\n\t\t},\n\t\t\n\t\tgetStyles: function(el, type) {\n\t\t\ttype = prettyPrintThis.settings.styles[type] || {};\n\t\t\treturn util.merge(\n\t\t\t\t{}, prettyPrintThis.settings.styles['default'][el], type[el]\n\t\t\t);\n\t\t},\n\n        getClasses: function(el, type) {\n            var result = Array();\n            if(prettyPrintThis.settings.classes[type]) {\n                result.push(prettyPrintThis.settings.classes[type]);\n            }\n            if(prettyPrintThis.settings.classes['default'][el]) {\n                result.push(prettyPrintThis.settings.classes['default'][el]);\n            }\n            if(result.length > 0) {\n                return result;\n            }\n        },\n\n\t\texpander: function(text, title, clickFn) {\n\t\t\treturn util.el('a', {\n\t\t\t\tinnerHTML:  util.shorten(text) + ' <b style=\"visibility:hidden;\">[+]</b>',\n\t\t\t\ttitle: title,\n\t\t\t\tonmouseover: function() {\n\t\t\t\t\tthis.getElementsByTagName('b')[0].style.visibility = 'visible';\n\t\t\t\t},\n\t\t\t\tonmouseout: function() {\n\t\t\t\t\tthis.getElementsByTagName('b')[0].style.visibility = 'hidden';\n\t\t\t\t},\n\t\t\t\tonclick: function() {\n\t\t\t\t\tthis.style.display = 'none';\n\t\t\t\t\tclickFn.call(this);\n\t\t\t\t\treturn false;\n\t\t\t\t},\n\t\t\t\tstyle: {\n\t\t\t\t\tcursor: 'pointer'\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\t\n\t\tstringify: function(obj) {\n\t\t\t\n\t\t\t/* Bit of an ugly duckling!\n\t\t\t   - This fn returns an ATTEMPT at converting an object/array/anyType\n\t\t\t\t into a string, kinda like a JSON-deParser\n\t\t\t   - This is used for when |settings.expanded === false| */\n\t\t\t\n\t\t\tvar type = util.type(obj),\n\t\t\t\tstr, first = true;\n\t\t\tif ( type === 'array' ) {\n\t\t\t\tstr = '[';\n\t\t\t\tutil.forEach(obj, function(item,i){\n\t\t\t\t\tstr += (i===0?'':', ') + util.stringify(item);\n\t\t\t\t});\n\t\t\t\treturn str + ']';\n\t\t\t}\n\t\t\tif (typeof obj === 'object') {\n\t\t\t\tstr = '{';\n\t\t\t\tfor (var i in obj){\n\t\t\t\t\tif (obj.hasOwnProperty(i)) {\n\t\t\t\t\t\tstr += (first?'':', ') + i + ':' + util.stringify(obj[i]);\n\t\t\t\t\t\tfirst = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn str + '}';\n\t\t\t}\n\t\t\tif (type === 'regexp') {\n\t\t\t\treturn '/' + obj.source + '/';\n\t\t\t}\n\t\t\tif (prettyPrintThis.settings.stringsWithDoubleQuotes && type === 'string') {\n\t\t\t\treturn '\"' + obj.replace(/\"/g,'\\\\\"') + '\"';\n\t\t\t}\n\t\t\treturn obj.toString();\n\t\t},\n\t\t\n\t\theaderGradient: (function(){\n\t\t\t\n\t\t\tvar canvas = document.createElement('canvas');\n\t\t\tif (!canvas.getContext) { return ''; }\n\t\t\tvar cx = canvas.getContext('2d');\n\t\t\tcanvas.height = 30;\n\t\t\tcanvas.width = 1;\n\t\t\t\n\t\t\tvar linearGrad = cx.createLinearGradient(0,0,0,30);\n\t\t\tlinearGrad.addColorStop(0,'rgba(0,0,0,0)');\n\t\t\tlinearGrad.addColorStop(1,'rgba(0,0,0,0.25)');\n\t\t\t\n\t\t\tcx.fillStyle = linearGrad;\n\t\t\tcx.fillRect(0,0,1,30);\n\t\t\t\n\t\t\tvar dataURL = canvas.toDataURL && canvas.toDataURL();\n\t\t\treturn 'url(' + (dataURL || '') + ')';\n\t\t\n\t\t})()\n\t\t\n\t};\n\t\n\t// Main..\n\tvar prettyPrintThis = function(obj, options) {\n\t\t\n\t\t /*\n\t\t *\t  obj :: Object to be printed\t\t\t\t\t\n\t\t *  options :: Options (merged with config)\n\t\t */\n\t\t\n\t\toptions = options || {};\n\t\t\n\t\tvar settings = util.merge( {}, prettyPrintThis.config, options ),\n\t\t\tcontainer = util.el('div'),\n\t\t\tconfig = prettyPrintThis.config,\n\t\t\tcurrentDepth = 0,\n\t\t\tstack = {},\n\t\t\thasRunOnce = false;\n\t\t\n\t\t/* Expose per-call settings.\n\t\t   Note: \"config\" is overwritten (where necessary) by options/\"settings\"\n\t\t   So, if you need to access/change *DEFAULT* settings then go via \".config\" */\n\t\tprettyPrintThis.settings = settings;\n\t\t\n\t\tvar typeDealer = {\n\t\t\tstring : function(item){\n                if(prettyPrintThis.settings.stringsWithDoubleQuotes) {\n\t\t\t\t    return util.txt('\"' + util.shorten(item.replace(/\"/g,'\\\\\"')) + '\"');\n                } else {\n                    return util.txt(item.replace(/\"/g,'\\\\\"'));\n                    //return util.txt(util.shorten(item.replace(/\"/g,'\\\\\"')));\n                }\n\t\t\t},\n\t\t\tnumber : function(item) {\n\t\t\t\treturn util.txt(item);\n\t\t\t},\n\t\t\tregexp : function(item) {\n\t\t\t\t\n\t\t\t\tvar miniTable = util.table(['RegExp',null], 'regexp');\n\t\t\t\tvar flags = util.table();\n\t\t\t\tvar span = util.expander(\n\t\t\t\t\t'/' + item.source + '/',\n\t\t\t\t\t'Click to show more',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild(miniTable.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\t\n\t\t\t\tflags\n\t\t\t\t\t.addRow(['g', item.global])\n\t\t\t\t\t.addRow(['i', item.ignoreCase])\n\t\t\t\t\t.addRow(['m', item.multiline]);\n\t\t\t\t\n\t\t\t\tminiTable\n\t\t\t\t\t.addRow(['source', '/' + item.source + '/'])\n\t\t\t\t\t.addRow(['flags', flags.node])\n\t\t\t\t\t.addRow(['lastIndex', item.lastIndex]);\n\t\t\t\t\t\n\t\t\t\treturn settings.expanded ? miniTable.node : span;\n\t\t\t},\n\t\t\tdomelement : function(element, depth) {\n\t\t\t\t\n\t\t\t\tvar miniTable = util.table(['DOMElement',null], 'domelement'),\n\t\t\t\t\tprops = ['id', 'className', 'innerHTML', 'src', 'href'], elname = element.nodeName || '';\n\t\t\t\t\n\t\t\t\tminiTable.addRow(['tag', '&lt;' + elname.toLowerCase() + '&gt;']);\n\t\t\t\t\t\n\t\t\t\tutil.forEach(props, function(prop){\n\t\t\t\t\tif ( element[prop] ) {\n\t\t\t\t\t\tminiTable.addRow([ prop, util.htmlentities(element[prop]) ]);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\treturn settings.expanded ? miniTable.node : util.expander(\n\t\t\t\t\t'DOMElement (' + elname.toLowerCase() + ')',\n\t\t\t\t\t'Click to show more',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild(miniTable.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t},\n\t\t\tdomnode : function(node){\n\t\t\t\t\n\t\t\t\t/* Deals with all DOMNodes that aren't elements (nodeType !== 1) */\n\t\t\t\tvar miniTable = util.table(['DOMNode',null], 'domelement'),\n\t\t\t\t\tdata =  util.htmlentities( (node.data || 'UNDEFINED').replace(/\\n/g,'\\\\n') );\n\t\t\t\tminiTable\n\t\t\t\t\t.addRow(['nodeType', node.nodeType + ' (' + node.nodeName + ')'])\n\t\t\t\t\t.addRow(['data', data]);\n\t\t\t\t\n\t\t\t\treturn settings.expanded ? miniTable.node : util.expander(\n\t\t\t\t\t'DOMNode',\n\t\t\t\t\t'Click to show more',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild(miniTable.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t},\n\t\t\tjquery : function(obj, depth, key) {\n\t\t\t\treturn typeDealer['array'](obj, depth, key, true);\n\t\t\t},\n\t\t\tobject : function(obj, depth, key) {\n\t\t\t\t\n\t\t\t\t/* Checking depth + circular refs */\n\t\t\t\t/* Note, check for circular refs before depth; just makes more sense */\n\t\t\t\tvar stackKey = util.within(stack).is(obj);\n\t\t\t\tif ( stackKey ) {\n\t\t\t\t\treturn util.common.circRef(obj, stackKey, settings);\n\t\t\t\t}\n\t\t\t\tstack[key||'TOP'] = obj;\n\t\t\t\tif (depth === settings.maxDepth) {\n\t\t\t\t\treturn util.common.depthReached(obj, settings);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tvar table = util.table(['Object', null],'object'),\n\t\t\t\t\tisEmpty = true;\n\n                var keys = [];\n                for (var i in obj) {\n                    if (obj.hasOwnProperty(i)) {\n                        keys.push(i);\n                    }\n                }\n                if (settings.sortKeys) {\n                    keys.sort();\n                }\n\n                var len = keys.length;\n\n                for (var j = 0; j < len; j++) {\n                    i = keys[j];\n                    if (!obj.hasOwnProperty || obj.hasOwnProperty(i)) {\n\t\t\t\t\t\tvar item = obj[i],\n\t\t\t\t\t\t\ttype = util.type(item);\n\t\t\t\t\t\tisEmpty = false;\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\ttable.addRow([i, typeDealer[ type ](item, depth+1, i)], type);\n\t\t\t\t\t\t} catch(e) {\n\t\t\t\t\t\t\t/* Security errors are thrown on certain Window/DOM properties */\n\t\t\t\t\t\t\tif (window.console && window.console.log) {\n\t\t\t\t\t\t\t\tconsole.log(e.message);\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\t\t\t\t\n\t\t\t\tif (isEmpty) {\n\t\t\t\t\ttable.addRow(['<small>[empty]</small>']);\n\t\t\t\t} else {\n\t\t\t\t\ttable.thead.appendChild(\n\t\t\t\t\t\tutil.hRow(['key','value'], 'colHeader')\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tvar ret = (settings.expanded || hasRunOnce) ? table.node : util.expander(\n\t\t\t\t\tutil.stringify(obj),\n\t\t\t\t\t'Click to show more',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild(table.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\t\n\t\t\t\thasRunOnce = true;\n\t\t\t\t\n\t\t\t\treturn ret;\n\t\t\t\t\n\t\t\t},\n\t\t\tarray : function(arr, depth, key, jquery) {\n\t\t\t\t\n\t\t\t\t/* Checking depth + circular refs */\n\t\t\t\t/* Note, check for circular refs before depth; just makes more sense */\n\t\t\t\tvar stackKey = util.within(stack).is(arr);\n\t\t\t\tif ( stackKey ) {\n\t\t\t\t\treturn util.common.circRef(arr, stackKey);\n\t\t\t\t}\n\t\t\t\tstack[key||'TOP'] = arr;\n\t\t\t\tif (depth === settings.maxDepth) {\n\t\t\t\t\treturn util.common.depthReached(arr);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t/* Accepts a table and modifies it */\n\t\t\t\tvar me = jquery ? 'jQuery' : 'Array', table = util.table([me + '(' + arr.length + ')', null], jquery ? 'jquery' : me.toLowerCase()),\n\t\t\t\t\tisEmpty = true,\n                    count = 0;\n\t\t\t\t\n\t\t\t\tif (jquery){\n\t\t\t\t\ttable.addRow(['selector',arr.selector]);\n\t\t\t\t}\n\n\t\t\t\tutil.forEach(arr, function(item,i){\n                    if (settings.maxArray >= 0 && ++count > settings.maxArray) {\n                        table.addRow([\n                            i + '..' + (arr.length-1),\n                            typeDealer[ util.type(item) ]('...', depth+1, i)\n                        ]);\n                        return false;\n                    }\n\t\t\t\t\tisEmpty = false;\n\t\t\t\t\ttable.addRow([i, typeDealer[ util.type(item) ](item, depth+1, i)]);\n\t\t\t\t});\n\n\t\t\t\tif (!jquery){\n\t\t\t\t\tif (isEmpty) {\n\t\t\t\t\t\ttable.addRow(['<small>[empty]</small>']);\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttable.thead.appendChild( util.hRow(['index','value'], 'colHeader') );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn settings.expanded ? table.node : util.expander(\n\t\t\t\t\tutil.stringify(arr),\n\t\t\t\t\t'Click to show more',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild(table.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\t\n\t\t\t},\n\t\t\t'function' : function(fn, depth, key) {\n\t\t\t\t\n\t\t\t\t/* Checking JUST circular refs */\n\t\t\t\tvar stackKey = util.within(stack).is(fn);\n\t\t\t\tif ( stackKey ) { return util.common.circRef(fn, stackKey); }\n\t\t\t\tstack[key||'TOP'] = fn;\n\t\t\t\t\n\t\t\t\tvar miniTable = util.table(['Function',null], 'function'),\n\t\t\t\t\targsTable = util.table(['Arguments']),\n\t\t\t\t\targs = fn.toString().match(/\\((.+?)\\)/),\n\t\t\t\t\tbody = fn.toString().match(/\\(.*?\\)\\s+?\\{?([\\S\\s]+)/)[1].replace(/\\}?$/,'');\n\t\t\t\t\t\n\t\t\t\tminiTable\n\t\t\t\t\t.addRow(['arguments', args ? args[1].replace(/[^\\w_,\\s]/g,'') : '<small>[none/native]</small>'])\n\t\t\t\t\t.addRow(['body', body]);\n\t\t\t\t\t\n\t\t\t\treturn settings.expanded ? miniTable.node : util.expander(\n\t\t\t\t\t'function(){...}',\n\t\t\t\t\t'Click to see more about this function.',\n\t\t\t\t\tfunction(){\n\t\t\t\t\t\tthis.parentNode.appendChild(miniTable.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t},\n\t\t\t'date' : function(date) {\n\t\t\t\t\n\t\t\t\tvar miniTable = util.table(['Date',null], 'date'),\n\t\t\t\t\tsDate = date.toString().split(/\\s/);\n\t\t\t\t\n\t\t\t\t/* TODO: Make this work well in IE! */\n\t\t\t\tminiTable\n\t\t\t\t\t.addRow(['Time', sDate[4]])\n\t\t\t\t\t.addRow(['Date', sDate.slice(0,4).join('-')]);\n\t\t\t\t\t\n\t\t\t\treturn settings.expanded ? miniTable.node : util.expander(\n\t\t\t\t\t'Date (timestamp): ' + (+date),\n\t\t\t\t\t'Click to see a little more info about this date',\n\t\t\t\t\tfunction() {\n\t\t\t\t\t\tthis.parentNode.appendChild(miniTable.node);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\t\n\t\t\t},\n\t\t\t'boolean' : function(bool) {\n\t\t\t\treturn util.txt( bool.toString().toUpperCase() );\n\t\t\t},\n\t\t\t'undefined' : function() {\n\t\t\t\treturn util.txt('UNDEFINED');\n\t\t\t},\n\t\t\t'null' : function() {\n\t\t\t\treturn util.txt('NULL');\n\t\t\t},\n\t\t\t'default' : function() {\n\t\t\t\t/* When a type cannot be found */\n\t\t\t\treturn util.txt('prettyPrint: TypeNotFound Error');\n\t\t\t}\n\t\t};\n\t\t\n\t\tcontainer.appendChild( typeDealer[ (settings.forceObject) ? 'object' : util.type(obj) ](obj, currentDepth) );\n\t\t\n\t\treturn container;\n\t\t\n\t};\n\t\n\t/* Configuration */\n\t\n\t/* All items can be overwridden by passing an\n\t   \"options\" object when calling prettyPrint */\n\tprettyPrintThis.config = {\n\t\t\n\t\t/* Try setting this to false to save space */\n\t\texpanded: true,\n        sortKeys: false,  // if true, will sort object keys\n        forceObject: false,\n\t\tmaxDepth: 3,\n\t\tmaxArray: -1,  // default is unlimited\n        stringsWithDoubleQuotes: true,\n        classes: {\n            'default': {\n                /* table: \"table table-condensed span10\" */ // Example for all tables\n            }\n        },\n\t\tstyles: {\n\t\t\tarray: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#6DBD2A',\n\t\t\t\t\tcolor: 'white'\n\t\t\t\t}\n\t\t\t},\n\t\t\t'function': {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#D82525'\n\t\t\t\t}\n\t\t\t},\n\t\t\tregexp: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#E2F3FB',\n\t\t\t\t\tcolor: '#000'\n\t\t\t\t}\n\t\t\t},\n\t\t\tobject: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#1F96CF'\n\t\t\t\t}\n\t\t\t},\n\t\t\tjquery : {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#FBF315'\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: 'red',\n\t\t\t\t\tcolor: 'yellow'\n\t\t\t\t}\n\t\t\t},\n\t\t\tdomelement: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#F3801E'\n\t\t\t\t}\n\t\t\t},\n\t\t\tdate: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#A725D8'\n\t\t\t\t}\n\t\t\t},\n\t\t\tcolHeader: {\n\t\t\t\tth: {\n\t\t\t\t\tbackgroundColor: '#EEE',\n\t\t\t\t\tcolor: '#000',\n\t\t\t\t\ttextTransform: 'uppercase'\n\t\t\t\t}\n\t\t\t},\n\t\t\t'default': {\n\t\t\t\ttable: {\n//\t\t\t\t\tborderCollapse: 'collapse',\n//\t\t\t\t\twidth: '100%'\n\t\t\t\t},\n\t\t\t\ttd: {\n//\t\t\t\t\tpadding: '5px',\n\t\t\t\t\tfontSize: '12px',\n//\t\t\t\t\tbackgroundColor: '#FFF',\n//\t\t\t\t\tcolor: '#222',\n//\t\t\t\t\tborder: '1px solid #000',\n//\t\t\t\t\tverticalAlign: 'top',\n//\t\t\t\t\tfontFamily: '\"Consolas\",\"Lucida Console\",Courier,mono',\n\t\t\t\t\twhiteSpace: 'nowrap'\n\t\t\t\t},\n\t\t\t\ttd_hover: {\n\t\t\t\t\t/* Styles defined here will apply to all tr:hover > td,\n\t\t\t\t\t\t- Be aware that \"inheritable\" properties (e.g. fontWeight) WILL BE INHERITED */\n\t\t\t\t},\n\t\t\t\tth: {\n\t\t\t\t\tpadding: '5px',\n\t\t\t\t\tfontSize: '12px',\n\t\t\t\t\tbackgroundColor: '#222',\n\t\t\t\t\tcolor: '#EEE',\n\t\t\t\t\ttextAlign: 'left',\n\t\t\t\t\tborder: '1px solid #000',\n\t\t\t\t\tverticalAlign: 'top',\n\t\t\t\t\tfontFamily: '\"Consolas\",\"Lucida Console\",Courier,mono',\n\t\t\t\t\tbackgroundImage: util.headerGradient,\n\t\t\t\t\tbackgroundRepeat: 'repeat-x'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\t\n\treturn prettyPrintThis;\n\t\n})();\n"
  },
  {
    "path": "_attachments/vendor/showdown/extensions/github.js",
    "content": "//\n//  Github Extension (WIP)\n//  ~~strike-through~~   ->  <del>strike-through</del>\n//\n(function(){var a=function(a){return[{type:\"lang\",regex:\"(~T){2}([^~]+)(~T){2}\",replace:function(a,b,c,d){return\"<del>\"+c+\"</del>\"}}]};typeof window!=\"undefined\"&&window.Showdown&&window.Showdown.extensions&&(window.Showdown.extensions.github=a),typeof module!=\"undefined\"&&(module.exports=a)})();"
  },
  {
    "path": "_attachments/vendor/showdown/extensions/prettify.js",
    "content": "//\n//  Google Prettify\n//  A showdown extension to add Google Prettify (http://code.google.com/p/google-code-prettify/)\n//  hints to showdown's HTML output.\n//\n(function(){var a=function(a){return[{type:\"output\",filter:function(a){return a.replace(/(<pre>)?<code>/gi,function(a,b){return b?'<pre class=\"prettyprint linenums\" tabIndex=\"0\"><code data-inner=\"1\">':'<code class=\"prettyprint\">'})}}]};typeof window!=\"undefined\"&&window.Showdown&&window.Showdown.extensions&&(window.Showdown.extensions.prettify=a),typeof module!=\"undefined\"&&(module.exports=a)})();"
  },
  {
    "path": "_attachments/vendor/showdown/extensions/table.js",
    "content": "/*global module:true*//*\n * Basic table support with re-entrant parsing, where cell content\n * can also specify markdown.\n *\n * Tables\n * ======\n *\n * | Col 1   | Col 2                                              |\n * |======== |====================================================|\n * |**bold** | ![Valid XHTML] (http://w3.org/Icons/valid-xhtml10) |\n * | Plain   | Value                                              |\n *\n */(function(){var a=function(a){var b={},c=\"text-align:left;\",d;return b.th=function(a){if(a.trim()===\"\")return\"\";var b=a.trim().replace(/ /g,\"_\").toLowerCase();return'<th id=\"'+b+'\" style=\"'+c+'\">'+a+\"</th>\"},b.td=function(b){return'<td style=\"'+c+'\">'+a.makeHtml(b)+\"</td>\"},b.ths=function(){var a=\"\",c=0,d=[].slice.apply(arguments);for(c;c<d.length;c+=1)a+=b.th(d[c])+\"\\n\";return a},b.tds=function(){var a=\"\",c=0,d=[].slice.apply(arguments);for(c;c<d.length;c+=1)a+=b.td(d[c])+\"\\n\";return a},b.thead=function(){var a,c=0,d=[].slice.apply(arguments);return a=\"<thead>\\n\",a+=\"<tr>\\n\",a+=b.ths.apply(this,d),a+=\"</tr>\\n\",a+=\"</thead>\\n\",a},b.tr=function(){var a,c=0,d=[].slice.apply(arguments);return a=\"<tr>\\n\",a+=b.tds.apply(this,d),a+=\"</tr>\\n\",a},d=function(a){var c=0,d=a.split(\"\\n\"),e=[],f,g,h,i=[];for(c;c<d.length;c+=1){f=d[c];if(f.trim().match(/^[|]{1}.*[|]{1}$/)){f=f.trim(),e.push(\"<table>\"),g=f.substring(1,f.length-1).split(\"|\"),e.push(b.thead.apply(this,g)),f=d[++c];if(!!f.trim().match(/^[|]{1}[-=| ]+[|]{1}$/)){f=d[++c],e.push(\"<tbody>\");while(f.trim().match(/^[|]{1}.*[|]{1}$/))f=f.trim(),e.push(b.tr.apply(this,f.substring(1,f.length-1).split(\"|\"))),f=d[++c];e.push(\"</tbody>\"),e.push(\"</table>\"),i.push(e.join(\"\\n\"));continue}f=d[--c]}i.push(f)}return i.join(\"\\n\")},[{type:\"lang\",filter:d}]};typeof window!=\"undefined\"&&window.Showdown&&window.Showdown.extensions&&(window.Showdown.extensions.table=a),typeof module!=\"undefined\"&&(module.exports=a)})();"
  },
  {
    "path": "_attachments/vendor/showdown/extensions/twitter.js",
    "content": "//\n//  Twitter Extension\n//  @username   ->  <a href=\"http://twitter.com/username\">@username</a>\n//  #hashtag    ->  <a href=\"http://twitter.com/search/%23hashtag\">#hashtag</a>\n//\n(function(){var a=function(a){return[{type:\"lang\",regex:\"\\\\B(\\\\\\\\)?@([\\\\S]+)\\\\b\",replace:function(a,b,c){return b===\"\\\\\"?a:'<a href=\"http://twitter.com/'+c+'\">@'+c+\"</a>\"}},{type:\"lang\",regex:\"\\\\B(\\\\\\\\)?#([\\\\S]+)\\\\b\",replace:function(a,b,c){return b===\"\\\\\"?a:'<a href=\"http://twitter.com/search/%23'+c+'\">#'+c+\"</a>\"}},{type:\"lang\",regex:\"\\\\\\\\@\",replace:\"@\"}]};typeof window!=\"undefined\"&&window.Showdown&&window.Showdown.extensions&&(window.Showdown.extensions.twitter=a),typeof module!=\"undefined\"&&(module.exports=a)})();"
  },
  {
    "path": "_attachments/vendor/showdown/showdown.js",
    "content": "//\n// showdown.js -- A javascript port of Markdown.\n//\n// Copyright (c) 2007 John Fraser.\n//\n// Original Markdown Copyright (c) 2004-2005 John Gruber\n//   <http://daringfireball.net/projects/markdown/>\n//\n// Redistributable under a BSD-style open source license.\n// See license.txt for more information.\n//\n// The full source distribution is at:\n//\n//\t\t\t\tA A L\n//\t\t\t\tT C A\n//\t\t\t\tT K B\n//\n//   <http://www.attacklab.net/>\n//\n//\n// Wherever possible, Showdown is a straight, line-by-line port\n// of the Perl version of Markdown.\n//\n// This is not a normal parser design; it's basically just a\n// series of string substitutions.  It's hard to read and\n// maintain this way,  but keeping Showdown close to the original\n// design makes it easier to port new features.\n//\n// More importantly, Showdown behaves like markdown.pl in most\n// edge cases.  So web applications can do client-side preview\n// in Javascript, and then build identical HTML on the server.\n//\n// This port needs the new RegExp functionality of ECMA 262,\n// 3rd Edition (i.e. Javascript 1.5).  Most modern web browsers\n// should do fine.  Even with the new regular expression features,\n// We do a lot of work to emulate Perl's regex functionality.\n// The tricky changes in this file mostly have the \"attacklab:\"\n// label.  Major or self-explanatory changes don't.\n//\n// Smart diff tools like Araxis Merge will be able to match up\n// this file with markdown.pl in a useful way.  A little tweaking\n// helps: in a copy of markdown.pl, replace \"#\" with \"//\" and\n// replace \"$text\" with \"text\".  Be sure to ignore whitespace\n// and line endings.\n//\n//\n// Showdown usage:\n//\n//   var text = \"Markdown *rocks*.\";\n//\n//   var converter = new Showdown.converter();\n//   var html = converter.makeHtml(text);\n//\n//   alert(html);\n//\n// Note: move the sample code to the bottom of this\n// file before uncommenting it.\n//\n//\n// Showdown namespace\n//\nvar Showdown={extensions:{}},forEach=Showdown.forEach=function(a,b){if(typeof a.forEach==\"function\")a.forEach(b);else{var c,d=a.length;for(c=0;c<d;c++)b(a[c],c,a)}},stdExtName=function(a){return a.replace(/[_-]||\\s/g,\"\").toLowerCase()};Showdown.converter=function(a){var b,c,d,e=0,f=[],g=[];if(typeof module!=\"undefind\"&&typeof exports!=\"undefined\"&&typeof require!=\"undefind\"){var h=require(\"fs\");if(h){var i=h.readdirSync((__dirname||\".\")+\"/extensions\").filter(function(a){return~a.indexOf(\".js\")}).map(function(a){return a.replace(/\\.js$/,\"\")});Showdown.forEach(i,function(a){var b=stdExtName(a);Showdown.extensions[b]=require(\"./extensions/\"+a)})}}this.makeHtml=function(a){return b={},c={},d=[],a=a.replace(/~/g,\"~T\"),a=a.replace(/\\$/g,\"~D\"),a=a.replace(/\\r\\n/g,\"\\n\"),a=a.replace(/\\r/g,\"\\n\"),a=\"\\n\\n\"+a+\"\\n\\n\",a=M(a),a=a.replace(/^[ \\t]+$/mg,\"\"),Showdown.forEach(f,function(b){a=k(b,a)}),a=z(a),a=m(a),a=l(a),a=o(a),a=K(a),a=a.replace(/~D/g,\"$$\"),a=a.replace(/~T/g,\"~\"),Showdown.forEach(g,function(b){a=k(b,a)}),a};if(a&&a.extensions){var j=this;Showdown.forEach(a.extensions,function(a){typeof a==\"string\"&&(a=Showdown.extensions[stdExtName(a)]);if(typeof a!=\"function\")throw\"Extension '\"+a+\"' could not be loaded.  It was either not found or is not a valid extension.\";Showdown.forEach(a(j),function(a){a.type?a.type===\"language\"||a.type===\"lang\"?f.push(a):(a.type===\"output\"||a.type===\"html\")&&g.push(a):g.push(a)})})}var k=function(a,b){if(a.regex){var c=new RegExp(a.regex,\"g\");return b.replace(c,a.replace)}if(a.filter)return a.filter(b)},l=function(a){return a+=\"~0\",a=a.replace(/^[ ]{0,3}\\[(.+)\\]:[ \\t]*\\n?[ \\t]*<?(\\S+?)>?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"(](.+?)[\")][ \\t]*)?(?:\\n+|(?=~0))/gm,function(a,d,e,f,g){return d=d.toLowerCase(),b[d]=G(e),f?f+g:(g&&(c[d]=g.replace(/\"/g,\"&quot;\")),\"\")}),a=a.replace(/~0/,\"\"),a},m=function(a){a=a.replace(/\\n/g,\"\\n\\n\");var b=\"p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del|style|section|header|footer|nav|article|aside\",c=\"p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|style|section|header|footer|nav|article|aside\";return a=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\\b[^\\r]*?\\n<\\/\\2>[ \\t]*(?=\\n+))/gm,n),a=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|style|section|header|footer|nav|article|aside)\\b[^\\r]*?<\\/\\2>[ \\t]*(?=\\n+)\\n)/gm,n),a=a.replace(/(\\n[ ]{0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,n),a=a.replace(/(\\n\\n[ ]{0,3}<!(--[^\\r]*?--\\s*)+>[ \\t]*(?=\\n{2,}))/g,n),a=a.replace(/(?:\\n\\n)([ ]{0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,n),a=a.replace(/\\n\\n/g,\"\\n\"),a},n=function(a,b){var c=b;return c=c.replace(/\\n\\n/g,\"\\n\"),c=c.replace(/^\\n/,\"\"),c=c.replace(/\\n+$/g,\"\"),c=\"\\n\\n~K\"+(d.push(c)-1)+\"K\\n\\n\",c},o=function(a){a=v(a);var b=A(\"<hr />\");return a=a.replace(/^[ ]{0,2}([ ]?\\*[ ]?){3,}[ \\t]*$/gm,b),a=a.replace(/^[ ]{0,2}([ ]?\\-[ ]?){3,}[ \\t]*$/gm,b),a=a.replace(/^[ ]{0,2}([ ]?\\_[ ]?){3,}[ \\t]*$/gm,b),a=x(a),a=y(a),a=E(a),a=m(a),a=F(a),a},p=function(a){return a=B(a),a=q(a),a=H(a),a=t(a),a=r(a),a=I(a),a=G(a),a=D(a),a=a.replace(/  +\\n/g,\" <br />\\n\"),a},q=function(a){var b=/(<[a-z\\/!$](\"[^\"]*\"|'[^']*'|[^'\">])*>|<!(--.*?--\\s*)+>)/gi;return a=a.replace(b,function(a){var b=a.replace(/(.)<\\/?code>(?=.)/g,\"$1`\");return b=N(b,\"\\\\`*_\"),b}),a},r=function(a){return a=a.replace(/(\\[((?:\\[[^\\]]*\\]|[^\\[\\]])*)\\][ ]?(?:\\n[ ]*)?\\[(.*?)\\])()()()()/g,s),a=a.replace(/(\\[((?:\\[[^\\]]*\\]|[^\\[\\]])*)\\]\\([ \\t]*()<?(.*?(?:\\(.*?\\).*?)?)>?[ \\t]*((['\"])(.*?)\\6[ \\t]*)?\\))/g,s),a=a.replace(/(\\[([^\\[\\]]+)\\])()()()()()/g,s),a},s=function(a,d,e,f,g,h,i,j){j==undefined&&(j=\"\");var k=d,l=e,m=f.toLowerCase(),n=g,o=j;if(n==\"\"){m==\"\"&&(m=l.toLowerCase().replace(/ ?\\n/g,\" \")),n=\"#\"+m;if(b[m]!=undefined)n=b[m],c[m]!=undefined&&(o=c[m]);else{if(!(k.search(/\\(\\s*\\)$/m)>-1))return k;n=\"\"}}n=N(n,\"*_\");var p='<a href=\"'+n+'\"';return o!=\"\"&&(o=o.replace(/\"/g,\"&quot;\"),o=N(o,\"*_\"),p+=' title=\"'+o+'\"'),p+=\">\"+l+\"</a>\",p},t=function(a){return a=a.replace(/(!\\[(.*?)\\][ ]?(?:\\n[ ]*)?\\[(.*?)\\])()()()()/g,u),a=a.replace(/(!\\[(.*?)\\]\\s?\\([ \\t]*()<?(\\S+?)>?[ \\t]*((['\"])(.*?)\\6[ \\t]*)?\\))/g,u),a},u=function(a,d,e,f,g,h,i,j){var k=d,l=e,m=f.toLowerCase(),n=g,o=j;o||(o=\"\");if(n==\"\"){m==\"\"&&(m=l.toLowerCase().replace(/ ?\\n/g,\" \")),n=\"#\"+m;if(b[m]==undefined)return k;n=b[m],c[m]!=undefined&&(o=c[m])}l=l.replace(/\"/g,\"&quot;\"),n=N(n,\"*_\");var p='<img src=\"'+n+'\" alt=\"'+l+'\"';return o=o.replace(/\"/g,\"&quot;\"),o=N(o,\"*_\"),p+=' title=\"'+o+'\"',p+=\" />\",p},v=function(a){function b(a){return a.replace(/[^\\w]/g,\"\").toLowerCase()}return a=a.replace(/^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,function(a,c){return A('<h1 id=\"'+b(c)+'\">'+p(c)+\"</h1>\")}),a=a.replace(/^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm,function(a,c){return A('<h2 id=\"'+b(c)+'\">'+p(c)+\"</h2>\")}),a=a.replace(/^(\\#{1,6})[ \\t]*(.+?)[ \\t]*\\#*\\n+/gm,function(a,c,d){var e=c.length;return A(\"<h\"+e+' id=\"'+b(d)+'\">'+p(d)+\"</h\"+e+\">\")}),a},w,x=function(a){a+=\"~0\";var b=/^(([ ]{0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(~0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm;return e?a=a.replace(b,function(a,b,c){var d=b,e=c.search(/[*+-]/g)>-1?\"ul\":\"ol\";d=d.replace(/\\n{2,}/g,\"\\n\\n\\n\");var f=w(d);return f=f.replace(/\\s+$/,\"\"),f=\"<\"+e+\">\"+f+\"</\"+e+\">\\n\",f}):(b=/(\\n\\n|^\\n?)(([ ]{0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(~0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/g,a=a.replace(b,function(a,b,c,d){var e=b,f=c,g=d.search(/[*+-]/g)>-1?\"ul\":\"ol\",f=f.replace(/\\n{2,}/g,\"\\n\\n\\n\"),h=w(f);return h=e+\"<\"+g+\">\\n\"+h+\"</\"+g+\">\\n\",h})),a=a.replace(/~0/,\"\"),a};w=function(a){return e++,a=a.replace(/\\n{2,}$/,\"\\n\"),a+=\"~0\",a=a.replace(/(\\n)?(^[ \\t]*)([*+-]|\\d+[.])[ \\t]+([^\\r]+?(\\n{1,2}))(?=\\n*(~0|\\2([*+-]|\\d+[.])[ \\t]+))/gm,function(a,b,c,d,e){var f=e,g=b,h=c;return g||f.search(/\\n{2,}/)>-1?f=o(L(f)):(f=x(L(f)),f=f.replace(/\\n$/,\"\"),f=p(f)),\"<li>\"+f+\"</li>\\n\"}),a=a.replace(/~0/g,\"\"),e--,a};var y=function(a){return a+=\"~0\",a=a.replace(/(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=~0))/g,function(a,b,c){var d=b,e=c;return d=C(L(d)),d=M(d),d=d.replace(/^\\n+/g,\"\"),d=d.replace(/\\n+$/g,\"\"),d=\"<pre><code>\"+d+\"\\n</code></pre>\",A(d)+e}),a=a.replace(/~0/,\"\"),a},z=function(a){return a+=\"~0\",a=a.replace(/(?:^|\\n)```(.*)\\n([\\s\\S]*?)\\n```/g,function(a,b,c){var d=b,e=c;return e=C(e),e=M(e),e=e.replace(/^\\n+/g,\"\"),e=e.replace(/\\n+$/g,\"\"),e=\"<pre><code\"+(d?' class=\"'+d+'\"':\"\")+\">\"+e+\"\\n</code></pre>\",A(e)}),a=a.replace(/~0/,\"\"),a},A=function(a){return a=a.replace(/(^\\n+|\\n+$)/g,\"\"),\"\\n\\n~K\"+(d.push(a)-1)+\"K\\n\\n\"},B=function(a){return a=a.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,function(a,b,c,d,e){var f=d;return f=f.replace(/^([ \\t]*)/g,\"\"),f=f.replace(/[ \\t]*$/g,\"\"),f=C(f),b+\"<code>\"+f+\"</code>\"}),a},C=function(a){return a=a.replace(/&/g,\"&amp;\"),a=a.replace(/</g,\"&lt;\"),a=a.replace(/>/g,\"&gt;\"),a=N(a,\"*_{}[]\\\\\",!1),a},D=function(a){return a=a.replace(/(\\*\\*|__)(?=\\S)([^\\r]*?\\S[*_]*)\\1/g,\"<strong>$2</strong>\"),a=a.replace(/(\\*|_)(?=\\S)([^\\r]*?\\S)\\1/g,\"<em>$2</em>\"),a},E=function(a){return a=a.replace(/((^[ \\t]*>[ \\t]?.+\\n(.+\\n)*\\n*)+)/gm,function(a,b){var c=b;return c=c.replace(/^[ \\t]*>[ \\t]?/gm,\"~0\"),c=c.replace(/~0/g,\"\"),c=c.replace(/^[ \\t]+$/gm,\"\"),c=o(c),c=c.replace(/(^|\\n)/g,\"$1  \"),c=c.replace(/(\\s*<pre>[^\\r]+?<\\/pre>)/gm,function(a,b){var c=b;return c=c.replace(/^  /mg,\"~0\"),c=c.replace(/~0/g,\"\"),c}),A(\"<blockquote>\\n\"+c+\"\\n</blockquote>\")}),a},F=function(a){a=a.replace(/^\\n+/g,\"\"),a=a.replace(/\\n+$/g,\"\");var b=a.split(/\\n{2,}/g),c=[],e=b.length;for(var f=0;f<e;f++){var g=b[f];g.search(/~K(\\d+)K/g)>=0?c.push(g):g.search(/\\S/)>=0&&(g=p(g),g=g.replace(/^([ \\t]*)/g,\"<p>\"),g+=\"</p>\",c.push(g))}e=c.length;for(var f=0;f<e;f++)while(c[f].search(/~K(\\d+)K/)>=0){var h=d[RegExp.$1];h=h.replace(/\\$/g,\"$$$$\"),c[f]=c[f].replace(/~K\\d+K/,h)}return c.join(\"\\n\\n\")},G=function(a){return a=a.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g,\"&amp;\"),a=a.replace(/<(?![a-z\\/?\\$!])/gi,\"&lt;\"),a},H=function(a){return a=a.replace(/\\\\(\\\\)/g,O),a=a.replace(/\\\\([`*_{}\\[\\]()>#+-.!])/g,O),a},I=function(a){return a=a.replace(/<((https?|ftp|dict):[^'\">\\s]+)>/gi,'<a href=\"$1\">$1</a>'),a=a.replace(/<(?:mailto:)?([-.\\w]+\\@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,function(a,b){return J(K(b))}),a},J=function(a){var b=[function(a){return\"&#\"+a.charCodeAt(0)+\";\"},function(a){return\"&#x\"+a.charCodeAt(0).toString(16)+\";\"},function(a){return a}];return a=\"mailto:\"+a,a=a.replace(/./g,function(a){if(a==\"@\")a=b[Math.floor(Math.random()*2)](a);else if(a!=\":\"){var c=Math.random();a=c>.9?b[2](a):c>.45?b[1](a):b[0](a)}return a}),a='<a href=\"'+a+'\">'+a+\"</a>\",a=a.replace(/\">.+:/g,'\">'),a},K=function(a){return a=a.replace(/~E(\\d+)E/g,function(a,b){var c=parseInt(b);return String.fromCharCode(c)}),a},L=function(a){return a=a.replace(/^(\\t|[ ]{1,4})/gm,\"~0\"),a=a.replace(/~0/g,\"\"),a},M=function(a){return a=a.replace(/\\t(?=\\t)/g,\"    \"),a=a.replace(/\\t/g,\"~A~B\"),a=a.replace(/~B(.+?)~A/g,function(a,b,c){var d=b,e=4-d.length%4;for(var f=0;f<e;f++)d+=\" \";return d}),a=a.replace(/~A/g,\"    \"),a=a.replace(/~B/g,\"\"),a},N=function(a,b,c){var d=\"([\"+b.replace(/([\\[\\]\\\\])/g,\"\\\\$1\")+\"])\";c&&(d=\"\\\\\\\\\"+d);var e=new RegExp(d,\"g\");return a=a.replace(e,O),a},O=function(a,b){var c=b.charCodeAt(0);return\"~E\"+c+\"E\"}},typeof module!=\"undefined\"&&(module.exports=Showdown),typeof define==\"function\"&&define.amd&&define(\"showdown\",function(){return Showdown});"
  },
  {
    "path": "_id",
    "content": "_design/acralyzer"
  },
  {
    "path": "component.json",
    "content": "{\n  \"name\": \"a2\",\n  \"version\": \"0.0.0\",\n  \"dependencies\": {\n    \"modernizr\": \"~2.6.2\",\n    \"jquery\": \"~1.9.1\",\n    \"bootstrap\": \"~2.3.0\",\n    \"bootstrap-notify\": \"~0.1.0\",\n    \"moment\": \"~2.0.0\",\n    \"angular-bootstrap\": \"~0.1.0\",\n    \"prettyPrint.js\": \"git://github.com/halkeye/prettyPrint.js.git\"\n  },\n  \"devDependencies\": {}\n}"
  },
  {
    "path": "couchapp.json",
    "content": "{\n    \"name\": \"Acralyzer\",\n    \"description\": \"CouchDB backend for ACRA crash reports.\"\n}"
  },
  {
    "path": "language",
    "content": "javascript"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"acralyzer\",\n  \"version\": \"0.0.0\",\n  \"description\": \"Open source backend for ACRA reports.\",\n  \"main\": \"Gruntfile.js\",\n  \"devDependencies\": {\n    \"grunt\": \"~0.4.0\",\n    \"grunt-contrib-copy\": \"~0.4.0\",\n    \"grunt-contrib-concat\": \"~0.1.2\",\n    \"grunt-contrib-coffee\": \"~0.4.0\",\n    \"grunt-contrib-uglify\": \"~0.1.1\",\n    \"grunt-contrib-compass\": \"~0.1.2\",\n    \"grunt-contrib-jshint\": \"~0.2.0\",\n    \"grunt-contrib-cssmin\": \"~0.4.1\",\n    \"grunt-contrib-clean\": \"0.4.0\",\n    \"grunt-contrib-imagemin\": \"0.1.2\",\n    \"grunt-usemin\": \"~0.1.9\",\n    \"grunt-regarde\": \"~0.1.1\",\n    \"grunt-open\": \"~0.2.0\",\n    \"matchdep\": \"~0.1.1\",\n    \"grunt-contrib-compress\": \"~0.4.1\"\n  },\n  \"scripts\": {\n    \"test\": \"grunt test\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/ACRA/acralyzer.git\"\n  },\n  \"bugs\": {\n    \"url\": \"https://github.com/ACRA/acralyzer/issues\"\n  },\n  \"author\": {\n    \"name\": \"Kevin Gaudin\",\n    \"email\": \"kevin.gaudin@gmail.com\",\n    \"url\": \"http://acra.ch\"\n  },\n  \"contributors\": [\n    {\n      \"name\": \"Gavin Mogan\",\n      \"email\": \"gavin@kodekoan.com\",\n      \"url\": \"http://www.kodekoan.com\"\n    }\n  ],\n  \"licenses\": [\n    {\n      \"type\": \"GPL\",\n      \"url\": \"https://github.com/ACRA/acralyzer/blob/master/LICENSE\"\n    }\n  ],\n  \"readmeFilename\": \"README.md\",\n  \"gitHead\": \"23be1fa9c6c5b390884b7df186386db164f33580\"\n}\n"
  },
  {
    "path": "usertemplates/reader.json",
    "content": "{\n    \"_id\": \"org.couchdb.user:readeruser\",\n    \"name\": \"readeruser\",\n    \"roles\": [\"reader\"],\n    \"type\": \"user\",\n    \"password\": \"readerpassword\"\n}"
  },
  {
    "path": "usertemplates/reporter.json",
    "content": "{\n    \"_id\": \"org.couchdb.user:reporteruser\",\n    \"name\": \"reporteruser\",\n    \"roles\": [\"reporter\"],\n    \"type\": \"user\",\n    \"password\": \"reporterpassword\"\n}"
  }
]