diff --git a/.README_images/intro-image.png b/.README_images/intro-image.png new file mode 100644 index 0000000..ef768b4 Binary files /dev/null and b/.README_images/intro-image.png differ diff --git a/README.md b/README.md index 9efb6a2..e186918 100644 --- a/README.md +++ b/README.md @@ -1,117 +1,59 @@ -# DMMapp Open Source +
-## Overview +# Digitized Medieval Manuscripts app (DMMapp) -**DMMapp Open Source is a simple-to-implement interactive map & web-application.** + +Uptime Robot status + -![DMMapp_GitHub](https://user-images.githubusercontent.com/6100093/74037375-68422280-49be-11ea-851e-0e8593957950.gif) +GitHub commit activity -It does three things: + +Static Badge + -- Allows admins to create and fill databases that can interact with Google Maps, creating interactive pins for every entry. -- Gives the final users a clear and fun way to interact with data. -- Guides developers in adapting the code for your own needs with a detailed Wiki and comments in the code. +
-To see it in action, please check out the [DMMapp website](https://digitizedmedievalmanuscripts.org/), and don't forget to check out the [DMMapp Open Source Wiki](https://digitizedmedievalmanuscripts.org/) to know more. +--- -## Table of Contents +Welcome to the Digitized Medieval Manuscripts app (DMMapp) repository! This project is designed to simplify access to +digitized medieval manuscripts: it provides a user-friendly interface for browsing and searching through a vast +collection of digitized repositories and providing links to the collections. -- [DMMapp Open Source](#dmmapp-open-source) - - [Overview](#overview) - - [Table of Contents](#table-of-contents) - - [Requirements](#requirements) - - [Quickstart](#quickstart) - - [Contributing](#contributing) - - [Questions and help](#questions-and-help) - - [Acknowledgements](#acknowledgements) - - [Copyright and license](#copyright-and-license) + -### Requirements +![DMMapp Landing Page](.README_images/intro-image.png) -The DMMapp Open Source is based on Laravel 6.x. As a consequence, your server must meet the following requirements: + -- PHP >= 7.2.0 -- BCMath PHP Extension -- Ctype PHP Extension -- JSON PHP Extension -- Mbstring PHP Extension -- OpenSSL PHP Extension -- PDO PHP Extension -- Tokenizer PHP Extension -- XML PHP Extension +Whether you're a developer looking to contribute to the app or simply want to submit data, or you're simply curious +about how it all works, you can learn all there is to know about how to use and contribute to the DMMapp by visiting +[our documentation](https://sexycodicology.github.io/DMMapp-Digitized-Medieval-Manuscripts-app/). -To use Google Maps: +
-- A valid Google Maps API key + +Static Badge + -### Quickstart +and -> **IMPORTANT:** this quickstart guide is meant for local development only. It will create a generic admin user that uses `admin@example.com` and `password`. **Do not use in production environments.** -Assuming you have [Composer](https://getcomposer.org/) installed on your machine: + +Static Badge + -```shell -git clone DMMappOpenSource https://github.com/SexyCodicology/DMMapp-Open-Source.git -cd DMMappOpenSource -composer install -``` +
-- copy the contents of ".env.example" into ".env". If no ".env" is present, simply rename ".env.example" to ".env" +--- +
-- (optional) Review the contents of the .env file and enter your Google API where requested. +## Questions and help - - Note: The application will still work if you do not enter the Google API key at this stage, but you will not be able to see the map and the pins. +
-```shell -php artisan key:generate -``` - -- create file "database.sqlite" in "DMMappOpenSource\database" - -```php -php artisan migrate --seed -php artisan serve -``` - -A more detailed guide for setting up the app for both local and production environments is present in the [DMMapp Open Source Wiki](https://digitizedmedievalmanuscripts.org/). - -### Contributing - -The DMMapp Open Source is for everyone to modify and improve. We welcome contributions and tips! Please check our Contributing page on the wiki. (coming soon) - -### Questions and help - -Check out the Talk to us page on our wiki, or head to the Sexy Codicology website to find all the channels where you can reach us. - -### Acknowledgements - -The DMMapp Open Source is based on, or makes use of: - -- [Laravel 6.x](https://laravel.com/docs/6.x) -- [Bootstrap](https://getbootstrap.com/) -- [jQuery](https://jquery.com/) -- [FontAwesome](https://fontawesome.com/) - -### Copyright and license - -DMMapp Open Source is licensed under the MIT License: - -> Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: -> -> The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Have fun! +Check out +the [Discussions page here on GitHub](https://github.com/SexyCodicology/DMMapp-Digitized-Medieval-Manuscripts-app/discussions) +if you have technical questions, or head to +the [Digitized Medieval Manuscripts app website](https://digitizedmedievalmanuscripts.org/) to find all the channels +where you can reach us. diff --git a/composer.lock b/composer.lock index a445dbb..75160cb 100644 --- a/composer.lock +++ b/composer.lock @@ -215,16 +215,16 @@ }, { "name": "dflydev/dot-access-data", - "version": "v3.0.2", + "version": "v3.0.3", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "f41715465d65213d644d3141a6a93081be5d3549" + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", - "reference": "f41715465d65213d644d3141a6a93081be5d3549", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", "shasum": "" }, "require": { @@ -284,9 +284,9 @@ ], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", - "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" }, - "time": "2022-10-27T11:44:00+00:00" + "time": "2024-07-08T12:26:09+00:00" }, { "name": "doctrine/inflector", @@ -719,22 +719,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.8.1", + "version": "7.9.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" + "reference": "84ac2b2afc44e40d3e8e658a45d68d6d20437612" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", - "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/84ac2b2afc44e40d3e8e658a45d68d6d20437612", + "reference": "84ac2b2afc44e40d3e8e658a45d68d6d20437612", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -745,9 +745,9 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "guzzle/client-integration-tests": "3.0.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -825,7 +825,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.1" + "source": "https://github.com/guzzle/guzzle/tree/7.9.0" }, "funding": [ { @@ -841,20 +841,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:35:24+00:00" + "time": "2024-07-18T11:52:56+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", - "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", + "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", + "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", "shasum": "" }, "require": { @@ -862,7 +862,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { @@ -908,7 +908,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.2" + "source": "https://github.com/guzzle/promises/tree/2.0.3" }, "funding": [ { @@ -924,20 +924,20 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:19:20+00:00" + "time": "2024-07-18T10:29:17+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.6.2", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { @@ -952,8 +952,8 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -1024,7 +1024,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.2" + "source": "https://github.com/guzzle/psr7/tree/2.7.0" }, "funding": [ { @@ -1040,7 +1040,7 @@ "type": "tidelift" } ], - "time": "2023-12-03T20:05:35+00:00" + "time": "2024-07-18T11:15:46+00:00" }, { "name": "guzzlehttp/uri-template", @@ -1281,16 +1281,16 @@ }, { "name": "laravel/framework", - "version": "v10.48.15", + "version": "v10.48.16", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "1723e038c9ec99b434e5bed9c27f044bd50a4ffb" + "reference": "f9a3a50fae399d75e125b0eea637dda90c99eae7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/1723e038c9ec99b434e5bed9c27f044bd50a4ffb", - "reference": "1723e038c9ec99b434e5bed9c27f044bd50a4ffb", + "url": "https://api.github.com/repos/laravel/framework/zipball/f9a3a50fae399d75e125b0eea637dda90c99eae7", + "reference": "f9a3a50fae399d75e125b0eea637dda90c99eae7", "shasum": "" }, "require": { @@ -1484,7 +1484,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-07-02T18:01:24+00:00" + "time": "2024-07-09T15:25:22+00:00" }, { "name": "laravel/prompts", @@ -2179,16 +2179,16 @@ }, { "name": "livewire/livewire", - "version": "v2.12.7", + "version": "v2.12.8", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "cd168c6212ea13d13b82b3132485741f82d9fad9" + "reference": "7d657d0dd8761a981f7ac3cd8d71c3b724f3e0b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/cd168c6212ea13d13b82b3132485741f82d9fad9", - "reference": "cd168c6212ea13d13b82b3132485741f82d9fad9", + "url": "https://api.github.com/repos/livewire/livewire/zipball/7d657d0dd8761a981f7ac3cd8d71c3b724f3e0b8", + "reference": "7d657d0dd8761a981f7ac3cd8d71c3b724f3e0b8", "shasum": "" }, "require": { @@ -2240,7 +2240,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v2.12.7" + "source": "https://github.com/livewire/livewire/tree/v2.12.8" }, "funding": [ { @@ -2248,7 +2248,7 @@ "type": "github" } ], - "time": "2024-07-03T15:52:04+00:00" + "time": "2024-07-13T19:58:46+00:00" }, { "name": "masterminds/html5", @@ -7969,16 +7969,16 @@ }, { "name": "laravel/pint", - "version": "v1.16.1", + "version": "v1.16.2", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "9266a47f1b9231b83e0cfd849009547329d871b1" + "reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/9266a47f1b9231b83e0cfd849009547329d871b1", - "reference": "9266a47f1b9231b83e0cfd849009547329d871b1", + "url": "https://api.github.com/repos/laravel/pint/zipball/51f1ba679a6afe0315621ad143d788bd7ded0eca", + "reference": "51f1ba679a6afe0315621ad143d788bd7ded0eca", "shasum": "" }, "require": { @@ -8031,20 +8031,20 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-06-18T16:50:05+00:00" + "time": "2024-07-09T15:58:08+00:00" }, { "name": "laravel/sail", - "version": "v1.30.1", + "version": "v1.30.2", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "8ba049b6c06e0330b6aa1fb7af2746fb4da445e4" + "reference": "f5a9699a1001e15de1aa5e7cb5c9f50a3f63f887" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/8ba049b6c06e0330b6aa1fb7af2746fb4da445e4", - "reference": "8ba049b6c06e0330b6aa1fb7af2746fb4da445e4", + "url": "https://api.github.com/repos/laravel/sail/zipball/f5a9699a1001e15de1aa5e7cb5c9f50a3f63f887", + "reference": "f5a9699a1001e15de1aa5e7cb5c9f50a3f63f887", "shasum": "" }, "require": { @@ -8094,7 +8094,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2024-07-01T20:55:03+00:00" + "time": "2024-07-05T16:01:51+00:00" }, { "name": "laravel/ui", @@ -9065,16 +9065,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.25", + "version": "10.5.28", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "831bf82312be6037e811833ddbea0b8de60ea314" + "reference": "ff7fb85cdf88131b83e721fb2a327b664dbed275" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/831bf82312be6037e811833ddbea0b8de60ea314", - "reference": "831bf82312be6037e811833ddbea0b8de60ea314", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ff7fb85cdf88131b83e721fb2a327b664dbed275", + "reference": "ff7fb85cdf88131b83e721fb2a327b664dbed275", "shasum": "" }, "require": { @@ -9084,26 +9084,26 @@ "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", + "myclabs/deep-copy": "^1.12.0", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", "php": ">=8.1", - "phpunit/php-code-coverage": "^10.1.5", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-invoker": "^4.0", - "phpunit/php-text-template": "^3.0", - "phpunit/php-timer": "^6.0", - "sebastian/cli-parser": "^2.0", - "sebastian/code-unit": "^2.0", - "sebastian/comparator": "^5.0", - "sebastian/diff": "^5.0", - "sebastian/environment": "^6.0", - "sebastian/exporter": "^5.1", - "sebastian/global-state": "^6.0.1", - "sebastian/object-enumerator": "^5.0", - "sebastian/recursion-context": "^5.0", - "sebastian/type": "^4.0", - "sebastian/version": "^4.0" + "phpunit/php-code-coverage": "^10.1.15", + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-invoker": "^4.0.0", + "phpunit/php-text-template": "^3.0.1", + "phpunit/php-timer": "^6.0.0", + "sebastian/cli-parser": "^2.0.1", + "sebastian/code-unit": "^2.0.0", + "sebastian/comparator": "^5.0.1", + "sebastian/diff": "^5.1.1", + "sebastian/environment": "^6.1.0", + "sebastian/exporter": "^5.1.2", + "sebastian/global-state": "^6.0.2", + "sebastian/object-enumerator": "^5.0.0", + "sebastian/recursion-context": "^5.0.0", + "sebastian/type": "^4.0.0", + "sebastian/version": "^4.0.1" }, "suggest": { "ext-soap": "To be able to generate mocks based on WSDL files" @@ -9146,7 +9146,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.25" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.28" }, "funding": [ { @@ -9162,7 +9162,7 @@ "type": "tidelift" } ], - "time": "2024-07-03T05:49:17+00:00" + "time": "2024-07-18T14:54:16+00:00" }, { "name": "psr/cache", @@ -10194,16 +10194,16 @@ }, { "name": "spatie/error-solutions", - "version": "1.0.4", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/spatie/error-solutions.git", - "reference": "264a7eef892aceb2fd65e206127ad3af4f3a2d6b" + "reference": "4bb6c734dc992b2db3e26df1ef021c75d2218b13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/error-solutions/zipball/264a7eef892aceb2fd65e206127ad3af4f3a2d6b", - "reference": "264a7eef892aceb2fd65e206127ad3af4f3a2d6b", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/4bb6c734dc992b2db3e26df1ef021c75d2218b13", + "reference": "4bb6c734dc992b2db3e26df1ef021c75d2218b13", "shasum": "" }, "require": { @@ -10256,7 +10256,7 @@ ], "support": { "issues": "https://github.com/spatie/error-solutions/issues", - "source": "https://github.com/spatie/error-solutions/tree/1.0.4" + "source": "https://github.com/spatie/error-solutions/tree/1.0.5" }, "funding": [ { @@ -10264,7 +10264,7 @@ "type": "github" } ], - "time": "2024-06-28T13:33:04+00:00" + "time": "2024-07-09T12:13:32+00:00" }, { "name": "spatie/flare-client-php", @@ -10641,5 +10641,5 @@ "php": "^8.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/docs/getting-started.md b/docs/getting-started.md index 9e43c2a..d8cc82d 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -69,6 +69,13 @@ The DMMapp documentation is written in Markdown and compiled to HTML using [MkDo This documentation is hosted on GitHub Pages and can be found [here](https://dmmapp.github.io/docs/). We use the official Material for MkDocs Docker image as it comes with all the required dependencies pre-installed and is the easiest way to get started. +### Local documentation + +1. Clone the repository to your local machine. +2. Run `docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material` to start the MkDocs server. +3. Open `http://localhost:8000` in your browser. +4. Edit the Markdown files in the `docs` folder and see the changes live in your browser. +5. Press `Ctrl + C` to stop the server. [^1]: You can also upload `composer.phar` to the server and run it from there. See [here](https://getcomposer.org/doc/00-intro.md#downloading-the-composer-executable) for more information. diff --git a/docs/index.md b/docs/index.md index e69de29..146f463 100644 --- a/docs/index.md +++ b/docs/index.md @@ -0,0 +1,50 @@ +Welcome to the [Digitized Medieval Manuscripts App (DMMapp)](https://digitizedmedievalmanuscripts.org/) Documentation! + +This documentation provides a comprehensive guide to the DMMapp. It is intended for both developers and users. + +In this guide, you will find information on how to fully utilize the DMMapp, including how to find institutions and +manuscripts, export data, and much more. You will also find instructions on how to install the app, should you wish to create your own project, as well as how +to contribute to the [DMMapp codebase](https://github.com/SexyCodicology/DMMapp-Digitized-Medieval-Manuscripts-app). + +## About the DMMapp documentation + +The DMMapp documentation is written in Markdown and compiled to HTML +using [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/). +This documentation is hosted on GitHub Pages and can be +found [here](https://sexycodicology.github.io/DMMapp-Digitized-Medieval-Manuscripts-app/). +We use the official Material for MkDocs Docker image as it comes with all the required dependencies pre-installed and is +the easiest way to get started. + +### Documentation guidelines + +The DMMapp documentation follows the [Microsoft Manual of Style](https://docs.microsoft.com/en-us/style-guide/welcome/). +This style guide is used to ensure consistency across the documentation and to make it easier for users to find the +information they need. +Submitted pull requests could be edited to follow this style guide. + +### Contributing to this documentation + +Spotted a typo or want to add something to the documentation? Feel free to open a pull request or an issue on +the [DMMapp GitHub repository](https://github.com/SexyCodicology/DMMapp-Digitized-Medieval-Manuscripts-app). +We are always looking for ways to improve the documentation and welcome any contributions. Hereunder you can find +instructions on how to run the documentation locally, make changes, and see them live in your browser[^1]. + +!!! NOTE + You do not need to install Docker, Material for MkDocs, or any dependencies on your local machine to contribute to this + documentation. You can simply edit the Markdown files in the `docs` folder using your favorite text editor. + +### Running the documentation locally + +Assuming you have Docker installed on your local machine, follow these steps to run the documentation locally: + +1. Clone the DMMapp repository to your local machine. +2. Run `docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material` to start the MkDocs server. +3. Open `http://localhost:8000` in your browser. +4. Edit the Markdown files in the `docs` folder and see the changes live in your browser. +5. Press `Ctrl + C` to stop the server. + +Should you have any issue running the documentation locally, please refer to +the [official Material for MkDocs documentation](https://squidfunk.github.io/mkdocs-material/). + +[^1]: Refer to the [official Material for MkDocs documentation](https://squidfunk.github.io/mkdocs-material/) for more +detailed information on how to use MkDocs. diff --git a/docs/pages/developer-guide/monitoring.md b/docs/pages/developer-guide/monitoring.md new file mode 100644 index 0000000..e6dd153 --- /dev/null +++ b/docs/pages/developer-guide/monitoring.md @@ -0,0 +1,51 @@ +# DMMapp Monitoring System + +The DMMapp uses two systems to check the status of the application and report it to the users: + +1. [Statuspage by Atlassian](https://www.atlassian.com/software/statuspage) +2. [UptimeRobot](https://uptimerobot.com/) + +## Overview + +The DMMapp monitoring system is designed to provide users with up-to-date information about the application's status. +This system comprises a frontend component and a backend component, working together to ensure accurate status +reporting. + +### Statuspage by Atlassian + +Statuspage is the frontend of the monitoring system. It is the page that users will see when they want to check the +status of the application. + +- **Functionality**: Displays the current status and historical uptime data of the application. +- **User Interface**: Provides a user-friendly interface for users to view status updates and subscribe to + notifications. +- **Limitations**: Does not automatically check the status of the added applications. + +### UptimeRobot + +UptimeRobot is the backend of the monitoring system. It checks the status of the application and reports it to the +Statuspage. + +- **Functionality**: Monitors the application at regular intervals and detects any downtime or issues. +- **Integration**: Reports the status data to Statuspage, which then displays the information to the users. +- **Monitoring**: Can be configured to monitor various endpoints and services associated with the application. + +## Workflow + +1. **Monitoring by UptimeRobot**: UptimeRobot continuously monitors the DMMapp and the Blog. + - Checks are performed at predefined intervals. + - Any downtime or issues are detected and recorded. + +2. **Reporting to Statuspage**: UptimeRobot reports the status to Statuspage. + - Status updates are sent to Statuspage. + - Statuspage displays the current status and any incidents. + +3. **User Notification**: Users access Statuspage to view the application's status. + - Users can subscribe to updates and notifications. + - Statuspage provides a historical view of the application's uptime and incidents. + +## Summary + +The combination of Statuspage and UptimeRobot ensures that the DMMapp monitoring system is both robust and +user-friendly. Statuspage serves as the visible interface for users, while UptimeRobot performs the essential task of +monitoring the application's health and reporting it accurately. \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 9352ca1..eb29b69 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -89,7 +89,7 @@ markdown_extensions: ## Plugins plugins: - search - - social + # - social ## Extras extra: @@ -150,6 +150,7 @@ nav: - Contributing: pages/developer-guide/contributing.md - Customizing: pages/developer-guide/customization.md - API: pages/developer-guide/api.md + - Status monitoring: pages/developer-guide/monitoring.md - More info: - About us: pages/about.md - Data privacy: pages/data-privacy.md diff --git a/package-lock.json b/package-lock.json index 897696f..c727805 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "DMMapp-Development-Repo", + "name": "DMMapp-Digitized-Medieval-Manuscripts-app", "lockfileVersion": 3, "requires": true, "packages": { @@ -2575,9 +2575,9 @@ } }, "node_modules/acorn": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.0.tgz", - "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "bin": { "acorn": "bin/acorn" }, @@ -3556,9 +3556,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001638", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz", - "integrity": "sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==", + "version": "1.0.30001640", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001640.tgz", + "integrity": "sha512-lA4VMpW0PSUrFnkmVuEKBUovSWKhj7puyCg8StBChgu298N1AtuF1sKWEvfDuimSEDbhlb/KqPKC3fs1HbuQUA==", "funding": [ { "type": "opencollective", @@ -4306,9 +4306,9 @@ } }, "node_modules/cypress": { - "version": "13.12.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.12.0.tgz", - "integrity": "sha512-udzS2JilmI9ApO/UuqurEwOvThclin5ntz7K0BtnHBs+tg2Bl9QShLISXpSEMDv/u8b6mqdoAdyKeZiSqKWL8g==", + "version": "13.13.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.13.0.tgz", + "integrity": "sha512-ou/MQUDq4tcDJI2FsPaod2FZpex4kpIK43JJlcBgWrX8WX7R/05ZxGTuxedOuZBfxjZxja+fbijZGyxiLP6CFA==", "dev": true, "hasInstallScript": true, "dependencies": { @@ -4351,7 +4351,7 @@ "request-progress": "^3.0.0", "semver": "^7.5.3", "supports-color": "^8.1.1", - "tmp": "~0.2.1", + "tmp": "~0.2.3", "untildify": "^4.0.0", "yauzl": "^2.10.0" }, @@ -4914,9 +4914,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.815", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.815.tgz", - "integrity": "sha512-OvpTT2ItpOXJL7IGcYakRjHCt8L5GrrN/wHCQsRB4PQa1X9fe+X9oen245mIId7s14xvArCGSTIq644yPUKKLg==" + "version": "1.4.817", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.817.tgz", + "integrity": "sha512-3znu+lZMIbTe8ZOs360OMJvVroVF2NpNI8T5jfLnDetVvj0uNmIucZzQVYMSJfsu9f47Ssox1Gt46PR+R+1JUg==" }, "node_modules/elliptic": { "version": "6.5.5", @@ -10576,9 +10576,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", - "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "funding": [ { "type": "opencollective", @@ -10640,9 +10640,9 @@ } }, "node_modules/url/node_modules/qs": { - "version": "6.12.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.1.tgz", - "integrity": "sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==", + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.2.tgz", + "integrity": "sha512-x+NLUpx9SYrcwXtX7ob1gnkSems4i/mGZX5SlYxwIau6RrUSODO89TR/XDGGpn5RPWSYIB+aSfuSlV5+CmbTBg==", "dependencies": { "side-channel": "^1.0.6" }, diff --git a/pint.json b/pint.json new file mode 100644 index 0000000..93061b6 --- /dev/null +++ b/pint.json @@ -0,0 +1,3 @@ +{ + "preset": "laravel" +} diff --git a/public/js/app.js b/public/js/app.js index 8c44e6d..ef6dc21 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[847],{455:(t,e,n)=>{"use strict";n.d(e,{n4:()=>x,UD:()=>w});var r=n(354),o=n(222),i=n(979),a=n(581);var s=n(604),l=n(793),u=n(760),c=n(134),f=n(906);function d(t,e,n){void 0===n&&(n=!1);var d,p,h=(0,a.sb)(e),v=(0,a.sb)(e)&&function(t){var e=t.getBoundingClientRect(),n=(0,f.LI)(e.width)/t.offsetWidth||1,r=(0,f.LI)(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),m=(0,u.A)(e),g=(0,r.A)(t,v,n),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(h||!h&&!n)&&(("body"!==(0,s.A)(e)||(0,c.A)(m))&&(y=(d=e)!==(0,i.A)(d)&&(0,a.sb)(d)?{scrollLeft:(p=d).scrollLeft,scrollTop:p.scrollTop}:(0,o.A)(d)),(0,a.sb)(e)?((b=(0,r.A)(e,!0)).x+=e.clientLeft,b.y+=e.clientTop):m&&(b.x=(0,l.A)(m))),{x:g.left+y.scrollLeft-b.x,y:g.top+y.scrollTop-b.y,width:g.width,height:g.height}}var p=n(360),h=n(579),v=n(275),m=n(278);function g(t){var e=new Map,n=new Set,r=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),r}var y={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var t=arguments.length,e=new Array(t),n=0;n{"use strict";n.d(e,{A:()=>o});var r=n(581);function o(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&(0,r.Ng)(n)){var o=e;do{if(o&&t.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}},354:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(581),o=n(906),i=n(979),a=n(283);function s(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var s=t.getBoundingClientRect(),l=1,u=1;e&&(0,r.sb)(t)&&(l=t.offsetWidth>0&&(0,o.LI)(s.width)/t.offsetWidth||1,u=t.offsetHeight>0&&(0,o.LI)(s.height)/t.offsetHeight||1);var c=((0,r.vq)(t)?(0,i.A)(t):window).visualViewport,f=!(0,a.A)()&&n,d=(s.left+(f&&c?c.offsetLeft:0))/l,p=(s.top+(f&&c?c.offsetTop:0))/u,h=s.width/l,v=s.height/u;return{width:h,height:v,top:p,right:d+h,bottom:p+v,left:d,x:d,y:p}}},271:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(979);function o(t){return(0,r.A)(t).getComputedStyle(t)}},760:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(581);function o(t){return(((0,r.vq)(t)?t.ownerDocument:t.document)||window.document).documentElement}},360:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(354);function o(t){var e=(0,r.A)(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o}}},604:(t,e,n)=>{"use strict";function r(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,{A:()=>r})},275:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(979),o=n(604),i=n(271),a=n(581);function s(t){return["table","td","th"].indexOf((0,o.A)(t))>=0}var l=n(83),u=n(398);function c(t){return(0,a.sb)(t)&&"fixed"!==(0,i.A)(t).position?t.offsetParent:null}function f(t){for(var e=(0,r.A)(t),n=c(t);n&&s(n)&&"static"===(0,i.A)(n).position;)n=c(n);return n&&("html"===(0,o.A)(n)||"body"===(0,o.A)(n)&&"static"===(0,i.A)(n).position)?e:n||function(t){var e=/firefox/i.test((0,u.A)());if(/Trident/i.test((0,u.A)())&&(0,a.sb)(t)&&"fixed"===(0,i.A)(t).position)return null;var n=(0,l.A)(t);for((0,a.Ng)(n)&&(n=n.host);(0,a.sb)(n)&&["html","body"].indexOf((0,o.A)(n))<0;){var r=(0,i.A)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}},83:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(604),o=n(760),i=n(581);function a(t){return"html"===(0,r.A)(t)?t:t.assignedSlot||t.parentNode||((0,i.Ng)(t)?t.host:null)||(0,o.A)(t)}},979:(t,e,n)=>{"use strict";function r(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,{A:()=>r})},222:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(979);function o(t){var e=(0,r.A)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},793:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(354),o=n(760),i=n(222);function a(t){return(0,r.A)((0,o.A)(t)).left+(0,i.A)(t).scrollLeft}},581:(t,e,n)=>{"use strict";n.d(e,{Ng:()=>a,sb:()=>i,vq:()=>o});var r=n(979);function o(t){return t instanceof(0,r.A)(t).Element||t instanceof Element}function i(t){return t instanceof(0,r.A)(t).HTMLElement||t instanceof HTMLElement}function a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof(0,r.A)(t).ShadowRoot||t instanceof ShadowRoot)}},283:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(398);function o(){return!/^((?!chrome|android).)*safari/i.test((0,r.A)())}},134:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(271);function o(t){var e=(0,r.A)(t),n=e.overflow,o=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}},579:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var r=n(83),o=n(134),i=n(604),a=n(581);function s(t){return["html","body","#document"].indexOf((0,i.A)(t))>=0?t.ownerDocument.body:(0,a.sb)(t)&&(0,o.A)(t)?t:s((0,r.A)(t))}var l=n(979);function u(t,e){var n;void 0===e&&(e=[]);var i=s(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),c=(0,l.A)(i),f=a?[c].concat(c.visualViewport||[],(0,o.A)(i)?i:[]):i,d=e.concat(f);return a?d:d.concat(u((0,r.A)(f)))}},278:(t,e,n)=>{"use strict";n.d(e,{DD:()=>m,EP:()=>_,GM:()=>C,LF:()=>y,LG:()=>w,M9:()=>A,Mn:()=>r,OM:()=>l,Ol:()=>v,R9:()=>d,SE:()=>T,WY:()=>f,_N:()=>c,ci:()=>g,iW:()=>x,ir:()=>h,kb:()=>a,ni:()=>u,pA:()=>S,pG:()=>i,qZ:()=>s,sQ:()=>o,v5:()=>b,xf:()=>p});var r="top",o="bottom",i="right",a="left",s="auto",l=[r,o,i,a],u="start",c="end",f="clippingParents",d="viewport",p="popper",h="reference",v=l.reduce((function(t,e){return t.concat([e+"-"+u,e+"-"+c])}),[]),m=[].concat(l,[s]).reduce((function(t,e){return t.concat([e,e+"-"+u,e+"-"+c])}),[]),g="beforeRead",y="read",b="afterRead",w="beforeMain",x="main",_="afterMain",S="beforeWrite",A="write",T="afterWrite",C=[g,y,b,w,x,_,S,A,T]},769:(t,e,n)=>{"use strict";n.r(e),n.d(e,{afterMain:()=>r.EP,afterRead:()=>r.v5,afterWrite:()=>r.SE,applyStyles:()=>o.A,arrow:()=>i.A,auto:()=>r.qZ,basePlacements:()=>r.OM,beforeMain:()=>r.LG,beforeRead:()=>r.ci,beforeWrite:()=>r.pA,bottom:()=>r.sQ,clippingParents:()=>r.WY,computeStyles:()=>a.A,createPopper:()=>v.n4,createPopperBase:()=>p.n4,createPopperLite:()=>g,detectOverflow:()=>h.A,end:()=>r._N,eventListeners:()=>s.A,flip:()=>l.A,hide:()=>u.A,left:()=>r.kb,main:()=>r.iW,modifierPhases:()=>r.GM,offset:()=>c.A,placements:()=>r.DD,popper:()=>r.xf,popperGenerator:()=>p.UD,popperOffsets:()=>f.A,preventOverflow:()=>d.A,read:()=>r.LF,reference:()=>r.ir,right:()=>r.pG,start:()=>r.ni,top:()=>r.Mn,variationPlacements:()=>r.Ol,viewport:()=>r.R9,write:()=>r.M9});var r=n(278),o=n(607),i=n(256),a=n(262),s=n(68),l=n(489),u=n(81),c=n(490),f=n(59),d=n(575),p=n(455),h=n(249),v=n(576),m=[s.A,f.A,a.A,o.A],g=(0,p.UD)({defaultModifiers:m})},607:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(604),o=n(581);const i={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];(0,o.sb)(a)&&(0,r.A)(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});(0,o.sb)(i)&&(0,r.A)(i)&&(Object.assign(i.style,s),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]}},256:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(632),o=n(360),i=n(446),a=n(275),s=n(703),l=n(523),u=n(318),c=n(7),f=n(278);const d={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,d=t.options,p=n.elements.arrow,h=n.modifiersData.popperOffsets,v=(0,r.A)(n.placement),m=(0,s.A)(v),g=[f.kb,f.pG].indexOf(v)>=0?"height":"width";if(p&&h){var y=function(t,e){return t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,(0,u.A)("number"!=typeof t?t:(0,c.A)(t,f.OM))}(d.padding,n),b=(0,o.A)(p),w="y"===m?f.Mn:f.kb,x="y"===m?f.sQ:f.pG,_=n.rects.reference[g]+n.rects.reference[m]-h[m]-n.rects.popper[g],S=h[m]-n.rects.reference[m],A=(0,a.A)(p),T=A?"y"===m?A.clientHeight||0:A.clientWidth||0:0,C=_/2-S/2,D=y[w],I=T-b[g]-y[x],k=T/2-b[g]/2+C,E=(0,l.u)(D,k,I),F=m;n.modifiersData[i]=((e={})[F]=E,e.centerOffset=E-k,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&(0,i.A)(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},262:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var r=n(278),o=n(275),i=n(979),a=n(760),s=n(271),l=n(632),u=n(101),c=n(906),f={top:"auto",right:"auto",bottom:"auto",left:"auto"};function d(t){var e,n=t.popper,l=t.popperRect,u=t.placement,d=t.variation,p=t.offsets,h=t.position,v=t.gpuAcceleration,m=t.adaptive,g=t.roundOffsets,y=t.isFixed,b=p.x,w=void 0===b?0:b,x=p.y,_=void 0===x?0:x,S="function"==typeof g?g({x:w,y:_}):{x:w,y:_};w=S.x,_=S.y;var A=p.hasOwnProperty("x"),T=p.hasOwnProperty("y"),C=r.kb,D=r.Mn,I=window;if(m){var k=(0,o.A)(n),E="clientHeight",F="clientWidth";if(k===(0,i.A)(n)&&(k=(0,a.A)(n),"static"!==(0,s.A)(k).position&&"absolute"===h&&(E="scrollHeight",F="scrollWidth")),u===r.Mn||(u===r.kb||u===r.pG)&&d===r._N)D=r.sQ,_-=(y&&k===I&&I.visualViewport?I.visualViewport.height:k[E])-l.height,_*=v?1:-1;if(u===r.kb||(u===r.Mn||u===r.sQ)&&d===r._N)C=r.pG,w-=(y&&k===I&&I.visualViewport?I.visualViewport.width:k[F])-l.width,w*=v?1:-1}var O,j=Object.assign({position:h},m&&f),N=!0===g?function(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:(0,c.LI)(n*o)/o||0,y:(0,c.LI)(r*o)/o||0}}({x:w,y:_},(0,i.A)(n)):{x:w,y:_};return w=N.x,_=N.y,v?Object.assign({},j,((O={})[D]=T?"0":"",O[C]=A?"0":"",O.transform=(I.devicePixelRatio||1)<=1?"translate("+w+"px, "+_+"px)":"translate3d("+w+"px, "+_+"px, 0)",O)):Object.assign({},j,((e={})[D]=T?_+"px":"",e[C]=A?w+"px":"",e.transform="",e))}const p={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,f={placement:(0,l.A)(e.placement),variation:(0,u.A)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,d(Object.assign({},f,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,d(Object.assign({},f,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},68:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(979),o={passive:!0};const i={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,l=i.resize,u=void 0===l||l,c=(0,r.A)(e.elements.popper),f=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&f.forEach((function(t){t.addEventListener("scroll",n.update,o)})),u&&c.addEventListener("resize",n.update,o),function(){s&&f.forEach((function(t){t.removeEventListener("scroll",n.update,o)})),u&&c.removeEventListener("resize",n.update,o)}},data:{}}},489:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function o(t){return t.replace(/left|right|bottom|top/g,(function(t){return r[t]}))}var i=n(632),a={start:"end",end:"start"};function s(t){return t.replace(/start|end/g,(function(t){return a[t]}))}var l=n(249),u=n(101),c=n(278);const f={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var a=n.mainAxis,f=void 0===a||a,d=n.altAxis,p=void 0===d||d,h=n.fallbackPlacements,v=n.padding,m=n.boundary,g=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,w=void 0===b||b,x=n.allowedAutoPlacements,_=e.options.placement,S=(0,i.A)(_),A=h||(S===_||!w?[o(_)]:function(t){if((0,i.A)(t)===c.qZ)return[];var e=o(t);return[s(t),e,s(e)]}(_)),T=[_].concat(A).reduce((function(t,n){return t.concat((0,i.A)(n)===c.qZ?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,a=n.rootBoundary,s=n.padding,f=n.flipVariations,d=n.allowedAutoPlacements,p=void 0===d?c.DD:d,h=(0,u.A)(r),v=h?f?c.Ol:c.Ol.filter((function(t){return(0,u.A)(t)===h})):c.OM,m=v.filter((function(t){return p.indexOf(t)>=0}));0===m.length&&(m=v);var g=m.reduce((function(e,n){return e[n]=(0,l.A)(t,{placement:n,boundary:o,rootBoundary:a,padding:s})[(0,i.A)(n)],e}),{});return Object.keys(g).sort((function(t,e){return g[t]-g[e]}))}(e,{placement:n,boundary:m,rootBoundary:g,padding:v,flipVariations:w,allowedAutoPlacements:x}):n)}),[]),C=e.rects.reference,D=e.rects.popper,I=new Map,k=!0,E=T[0],F=0;F=0,L=R?"width":"height",B=(0,l.A)(e,{placement:O,boundary:m,rootBoundary:g,altBoundary:y,padding:v}),P=R?N?c.pG:c.kb:N?c.sQ:c.Mn;C[L]>D[L]&&(P=o(P));var M=o(P),H=[];if(f&&H.push(B[j]<=0),p&&H.push(B[P]<=0,B[M]<=0),H.every((function(t){return t}))){E=O,k=!1;break}I.set(O,H)}if(k)for(var U=function(t){var e=T.find((function(e){var n=I.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return E=e,"break"},W=w?3:1;W>0;W--){if("break"===U(W))break}e.placement!==E&&(e.modifiersData[r]._skip=!0,e.placement=E,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},81:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(278),o=n(249);function i(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function a(t){return[r.Mn,r.pG,r.sQ,r.kb].some((function(e){return t[e]>=0}))}const s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,s=e.rects.popper,l=e.modifiersData.preventOverflow,u=(0,o.A)(e,{elementContext:"reference"}),c=(0,o.A)(e,{altBoundary:!0}),f=i(u,r),d=i(c,s,l),p=a(f),h=a(d);e.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}}},490:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(632),o=n(278);const i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,l=o.DD.reduce((function(t,n){return t[n]=function(t,e,n){var i=(0,r.A)(t),a=[o.kb,o.Mn].indexOf(i)>=0?-1:1,s="function"==typeof n?n(Object.assign({},e,{placement:t})):n,l=s[0],u=s[1];return l=l||0,u=(u||0)*a,[o.kb,o.pG].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}}(n,e.rects,s),t}),{}),u=l[e.placement],c=u.x,f=u.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=f),e.modifiersData[i]=l}}},59:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(815);const o={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=(0,r.A)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},575:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var r=n(278),o=n(632),i=n(703);var a=n(523),s=n(360),l=n(275),u=n(249),c=n(101),f=n(364),d=n(906);const p={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,p=t.name,h=n.mainAxis,v=void 0===h||h,m=n.altAxis,g=void 0!==m&&m,y=n.boundary,b=n.rootBoundary,w=n.altBoundary,x=n.padding,_=n.tether,S=void 0===_||_,A=n.tetherOffset,T=void 0===A?0:A,C=(0,u.A)(e,{boundary:y,rootBoundary:b,padding:x,altBoundary:w}),D=(0,o.A)(e.placement),I=(0,c.A)(e.placement),k=!I,E=(0,i.A)(D),F="x"===E?"y":"x",O=e.modifiersData.popperOffsets,j=e.rects.reference,N=e.rects.popper,R="function"==typeof T?T(Object.assign({},e.rects,{placement:e.placement})):T,L="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(O){if(v){var M,H="y"===E?r.Mn:r.kb,U="y"===E?r.sQ:r.pG,W="y"===E?"height":"width",q=O[E],z=q+C[H],$=q-C[U],V=S?-N[W]/2:0,X=I===r.ni?j[W]:N[W],J=I===r.ni?-N[W]:-j[W],G=e.elements.arrow,K=S&&G?(0,s.A)(G):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:(0,f.A)(),Z=Y[H],Q=Y[U],tt=(0,a.u)(0,j[W],K[W]),et=k?j[W]/2-V-tt-Z-L.mainAxis:X-tt-Z-L.mainAxis,nt=k?-j[W]/2+V+tt+Q+L.mainAxis:J+tt+Q+L.mainAxis,rt=e.elements.arrow&&(0,l.A)(e.elements.arrow),ot=rt?"y"===E?rt.clientTop||0:rt.clientLeft||0:0,it=null!=(M=null==B?void 0:B[E])?M:0,at=q+et-it-ot,st=q+nt-it,lt=(0,a.u)(S?(0,d.jk)(z,at):z,q,S?(0,d.T9)($,st):$);O[E]=lt,P[E]=lt-q}if(g){var ut,ct="x"===E?r.Mn:r.kb,ft="x"===E?r.sQ:r.pG,dt=O[F],pt="y"===F?"height":"width",ht=dt+C[ct],vt=dt-C[ft],mt=-1!==[r.Mn,r.kb].indexOf(D),gt=null!=(ut=null==B?void 0:B[F])?ut:0,yt=mt?ht:dt-j[pt]-N[pt]-gt+L.altAxis,bt=mt?dt+j[pt]+N[pt]-gt-L.altAxis:vt,wt=S&&mt?(0,a.P)(yt,dt,bt):(0,a.u)(S?yt:ht,dt,S?bt:vt);O[F]=wt,P[F]=wt-dt}e.modifiersData[p]=P}},requiresIfExists:["offset"]}},576:(t,e,n)=>{"use strict";n.d(e,{n4:()=>h});var r=n(455),o=n(68),i=n(59),a=n(262),s=n(607),l=n(490),u=n(489),c=n(575),f=n(256),d=n(81),p=[o.A,i.A,a.A,s.A,l.A,u.A,c.A,f.A,d.A],h=(0,r.UD)({defaultModifiers:p})},815:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(632),o=n(101),i=n(703),a=n(278);function s(t){var e,n=t.reference,s=t.element,l=t.placement,u=l?(0,r.A)(l):null,c=l?(0,o.A)(l):null,f=n.x+n.width/2-s.width/2,d=n.y+n.height/2-s.height/2;switch(u){case a.Mn:e={x:f,y:n.y-s.height};break;case a.sQ:e={x:f,y:n.y+n.height};break;case a.pG:e={x:n.x+n.width,y:d};break;case a.kb:e={x:n.x-s.width,y:d};break;default:e={x:n.x,y:n.y}}var p=u?(0,i.A)(u):null;if(null!=p){var h="y"===p?"height":"width";switch(c){case a.ni:e[p]=e[p]-(n[h]/2-s[h]/2);break;case a._N:e[p]=e[p]+(n[h]/2-s[h]/2)}}return e}},249:(t,e,n)=>{"use strict";n.d(e,{A:()=>A});var r=n(278),o=n(979),i=n(760),a=n(793),s=n(283);var l=n(271),u=n(222),c=n(906);var f=n(579),d=n(275),p=n(581),h=n(354),v=n(83),m=n(446),g=n(604);function y(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function b(t,e,n){return e===r.R9?y(function(t,e){var n=(0,o.A)(t),r=(0,i.A)(t),l=n.visualViewport,u=r.clientWidth,c=r.clientHeight,f=0,d=0;if(l){u=l.width,c=l.height;var p=(0,s.A)();(p||!p&&"fixed"===e)&&(f=l.offsetLeft,d=l.offsetTop)}return{width:u,height:c,x:f+(0,a.A)(t),y:d}}(t,n)):(0,p.vq)(e)?function(t,e){var n=(0,h.A)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):y(function(t){var e,n=(0,i.A)(t),r=(0,u.A)(t),o=null==(e=t.ownerDocument)?void 0:e.body,s=(0,c.T9)(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),f=(0,c.T9)(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-r.scrollLeft+(0,a.A)(t),p=-r.scrollTop;return"rtl"===(0,l.A)(o||n).direction&&(d+=(0,c.T9)(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:f,x:d,y:p}}((0,i.A)(t)))}function w(t,e,n,r){var o="clippingParents"===e?function(t){var e=(0,f.A)((0,v.A)(t)),n=["absolute","fixed"].indexOf((0,l.A)(t).position)>=0&&(0,p.sb)(t)?(0,d.A)(t):t;return(0,p.vq)(n)?e.filter((function(t){return(0,p.vq)(t)&&(0,m.A)(t,n)&&"body"!==(0,g.A)(t)})):[]}(t):[].concat(e),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(e,n){var o=b(t,n,r);return e.top=(0,c.T9)(o.top,e.top),e.right=(0,c.jk)(o.right,e.right),e.bottom=(0,c.jk)(o.bottom,e.bottom),e.left=(0,c.T9)(o.left,e.left),e}),b(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var x=n(815),_=n(318),S=n(7);function A(t,e){void 0===e&&(e={});var n=e,o=n.placement,a=void 0===o?t.placement:o,s=n.strategy,l=void 0===s?t.strategy:s,u=n.boundary,c=void 0===u?r.WY:u,f=n.rootBoundary,d=void 0===f?r.R9:f,v=n.elementContext,m=void 0===v?r.xf:v,g=n.altBoundary,b=void 0!==g&&g,A=n.padding,T=void 0===A?0:A,C=(0,_.A)("number"!=typeof T?T:(0,S.A)(T,r.OM)),D=m===r.xf?r.ir:r.xf,I=t.rects.popper,k=t.elements[b?D:m],E=w((0,p.vq)(k)?k:k.contextElement||(0,i.A)(t.elements.popper),c,d,l),F=(0,h.A)(t.elements.reference),O=(0,x.A)({reference:F,element:I,strategy:"absolute",placement:a}),j=y(Object.assign({},I,O)),N=m===r.xf?j:F,R={top:E.top-N.top+C.top,bottom:N.bottom-E.bottom+C.bottom,left:E.left-N.left+C.left,right:N.right-E.right+C.right},L=t.modifiersData.offset;if(m===r.xf&&L){var B=L[a];Object.keys(R).forEach((function(t){var e=[r.pG,r.sQ].indexOf(t)>=0?1:-1,n=[r.Mn,r.sQ].indexOf(t)>=0?"y":"x";R[t]+=B[n]*e}))}return R}},7:(t,e,n)=>{"use strict";function r(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,{A:()=>r})},632:(t,e,n)=>{"use strict";function r(t){return t.split("-")[0]}n.d(e,{A:()=>r})},364:(t,e,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(e,{A:()=>r})},703:(t,e,n)=>{"use strict";function r(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,{A:()=>r})},101:(t,e,n)=>{"use strict";function r(t){return t.split("-")[1]}n.d(e,{A:()=>r})},906:(t,e,n)=>{"use strict";n.d(e,{LI:()=>i,T9:()=>r,jk:()=>o});var r=Math.max,o=Math.min,i=Math.round},318:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(364);function o(t){return Object.assign({},(0,r.A)(),t)}},398:(t,e,n)=>{"use strict";function r(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,{A:()=>r})},523:(t,e,n)=>{"use strict";n.d(e,{P:()=>i,u:()=>o});var r=n(906);function o(t,e,n){return(0,r.T9)(t,(0,r.jk)(e,n))}function i(t,e,n){var r=o(t,e,n);return r>n?n:r}},42:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="dist/",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]&&arguments[0]&&(h=!0),h)return p=(0,f.default)(p,v),(0,c.default)(p,v.once),p},g=function(){p=(0,d.default)(),m()},y=function(){p.forEach((function(t,e){t.node.removeAttribute("data-aos"),t.node.removeAttribute("data-aos-easing"),t.node.removeAttribute("data-aos-duration"),t.node.removeAttribute("data-aos-delay")}))},b=function(t){return!0===t||"mobile"===t&&u.default.mobile()||"phone"===t&&u.default.phone()||"tablet"===t&&u.default.tablet()||"function"==typeof t&&!0===t()},w=function(t){v=o(v,t),p=(0,d.default)();var e=document.all&&!window.atob;return b(v.disable)||e?y():(v.disableMutationObserver||l.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),v.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",v.easing),document.querySelector("body").setAttribute("data-aos-duration",v.duration),document.querySelector("body").setAttribute("data-aos-delay",v.delay),"DOMContentLoaded"===v.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?m(!0):"load"===v.startEvent?window.addEventListener(v.startEvent,(function(){m(!0)})):document.addEventListener(v.startEvent,(function(){m(!0)})),window.addEventListener("resize",(0,s.default)(m,v.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(m,v.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,c.default)(p,v.once)}),v.throttleDelay)),v.disableMutationObserver||l.default.ready("[data-aos]",g),p)};t.exports={init:w,refresh:m,refreshHard:g}},function(t,e){},,,,,function(t,e){(function(e){"use strict";function n(t,e,n){function r(e){var n=v,r=m;return v=m=void 0,A=e,y=t.apply(r,n)}function i(t){return A=t,b=setTimeout(c,e),T?r(t):y}function a(t){var n=e-(t-w);return C?_(n,g-(t-A)):n}function l(t){var n=t-w;return void 0===w||n>=e||n<0||C&&t-A>=g}function c(){var t=S();return l(t)?f(t):void(b=setTimeout(c,a(t)))}function f(t){return b=void 0,D&&v?r(t):(v=m=void 0,y)}function d(){void 0!==b&&clearTimeout(b),A=0,v=w=m=b=void 0}function p(){return void 0===b?y:f(S())}function h(){var t=S(),n=l(t);if(v=arguments,m=this,w=t,n){if(void 0===b)return i(w);if(C)return b=setTimeout(c,e),r(w)}return void 0===b&&(b=setTimeout(c,e)),y}var v,m,g,y,b,w,A=0,T=!1,C=!1,D=!0;if("function"!=typeof t)throw new TypeError(u);return e=s(e)||0,o(n)&&(T=!!n.leading,g=(C="maxWait"in n)?x(s(n.maxWait)||0,e):g,D="trailing"in n?!!n.trailing:D),h.cancel=d,h.flush=p,h}function r(t,e,r){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError(u);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:i,maxWait:e,trailing:a})}function o(t){var e=void 0===t?"undefined":l(t);return!!t&&("object"==e||"function"==e)}function i(t){return!!t&&"object"==(void 0===t?"undefined":l(t))}function a(t){return"symbol"==(void 0===t?"undefined":l(t))||i(t)&&w.call(t)==f}function s(t){if("number"==typeof t)return t;if(a(t))return c;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(d,"");var n=h.test(t);return n||v.test(t)?m(t.slice(2),n?2:8):p.test(t)?c:+t}var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u="Expected a function",c=NaN,f="[object Symbol]",d=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,v=/^0o[0-7]+$/i,m=parseInt,g="object"==(void 0===e?"undefined":l(e))&&e&&e.Object===Object&&e,y="object"==("undefined"==typeof self?"undefined":l(self))&&self&&self.Object===Object&&self,b=g||y||Function("return this")(),w=Object.prototype.toString,x=Math.max,_=Math.min,S=function(){return b.Date.now()};t.exports=r}).call(e,function(){return this}())},function(t,e){(function(e){"use strict";function n(t,e,n){function o(e){var n=v,r=m;return v=m=void 0,A=e,y=t.apply(r,n)}function i(t){return A=t,b=setTimeout(c,e),T?o(t):y}function s(t){var n=e-(t-S);return C?x(n,g-(t-A)):n}function u(t){var n=t-S;return void 0===S||n>=e||n<0||C&&t-A>=g}function c(){var t=_();return u(t)?f(t):void(b=setTimeout(c,s(t)))}function f(t){return b=void 0,D&&v?o(t):(v=m=void 0,y)}function d(){void 0!==b&&clearTimeout(b),A=0,v=S=m=b=void 0}function p(){return void 0===b?y:f(_())}function h(){var t=_(),n=u(t);if(v=arguments,m=this,S=t,n){if(void 0===b)return i(S);if(C)return b=setTimeout(c,e),o(S)}return void 0===b&&(b=setTimeout(c,e)),y}var v,m,g,y,b,S,A=0,T=!1,C=!1,D=!0;if("function"!=typeof t)throw new TypeError(l);return e=a(e)||0,r(n)&&(T=!!n.leading,g=(C="maxWait"in n)?w(a(n.maxWait)||0,e):g,D="trailing"in n?!!n.trailing:D),h.cancel=d,h.flush=p,h}function r(t){var e=void 0===t?"undefined":s(t);return!!t&&("object"==e||"function"==e)}function o(t){return!!t&&"object"==(void 0===t?"undefined":s(t))}function i(t){return"symbol"==(void 0===t?"undefined":s(t))||o(t)&&b.call(t)==c}function a(t){if("number"==typeof t)return t;if(i(t))return u;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(f,"");var n=p.test(t);return n||h.test(t)?v(t.slice(2),n?2:8):d.test(t)?u:+t}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,v=parseInt,m="object"==(void 0===e?"undefined":s(e))&&e&&e.Object===Object&&e,g="object"==("undefined"==typeof self?"undefined":s(self))&&self&&self.Object===Object&&self,y=m||g||Function("return this")(),b=Object.prototype.toString,w=Math.max,x=Math.min,_=function(){return y.Date.now()};t.exports=n}).call(e,function(){return this}())},function(t,e){"use strict";function n(t){var e=void 0,r=void 0;for(e=0;et.position?t.node.classList.add("aos-animate"):void 0!==r&&("false"===r||!n&&"true"!==r)&&t.node.classList.remove("aos-animate")},r=function(t,e){var r=window.pageYOffset,o=window.innerHeight;t.forEach((function(t,i){n(t,o+r,e)}))};e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(12)),i=function(t,e){return t.forEach((function(t,n){t.node.classList.add("aos-init"),t.position=(0,o.default)(t.node,e.offset)})),t};e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(13)),i=function(t,e){var n=0,r=0,i=window.innerHeight,a={offset:t.getAttribute("data-aos-offset"),anchor:t.getAttribute("data-aos-anchor"),anchorPlacement:t.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(r=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(t=document.querySelectorAll(a.anchor)[0]),n=(0,o.default)(t).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=t.offsetHeight/2;break;case"bottom-bottom":n+=t.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+t.offsetHeight;break;case"center-center":n+=i/2+t.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=t.offsetHeight+i;break;case"center-top":n+=t.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(e)||(r=e),n+r};e.default=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){for(var e=0,n=0;t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e+=t.offsetLeft-("BODY"!=t.tagName?t.scrollLeft:0),n+=t.offsetTop-("BODY"!=t.tagName?t.scrollTop:0),t=t.offsetParent;return{top:n,left:e}};e.default=n},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t=t||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(t,(function(t){return{node:t}}))};e.default=n}])},419:(t,e,n)=>{"use strict";var r={};function o(t,e){return function(){return t.apply(e,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>ot,hasStandardBrowserEnv:()=>it,hasStandardBrowserWebWorkerEnv:()=>st});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),t=>{const e=i.call(t);return l[e]||(l[e]=e.slice(8,-1).toLowerCase())});var l;const u=t=>(t=t.toLowerCase(),e=>s(e)===t),c=t=>e=>typeof e===t,{isArray:f}=Array,d=c("undefined");const p=u("ArrayBuffer");const h=c("string"),v=c("function"),m=c("number"),g=t=>null!==t&&"object"==typeof t,y=t=>{if("object"!==s(t))return!1;const e=a(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},b=u("Date"),w=u("File"),x=u("Blob"),_=u("FileList"),S=u("URLSearchParams");function A(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,o;if("object"!=typeof t&&(t=[t]),f(t))for(r=0,o=t.length;r0;)if(r=n[o],e===r.toLowerCase())return r;return null}const C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,D=t=>!d(t)&&t!==C;const I=(k="undefined"!=typeof Uint8Array&&a(Uint8Array),t=>k&&t instanceof k);var k;const E=u("HTMLFormElement"),F=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),O=u("RegExp"),j=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};A(n,((n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)})),Object.defineProperties(t,r)},N="abcdefghijklmnopqrstuvwxyz",R="0123456789",L={DIGIT:R,ALPHA:N,ALPHA_DIGIT:N+N.toUpperCase()+R};const B=u("AsyncFunction"),P={isArray:f,isArrayBuffer:p,isBuffer:function(t){return null!==t&&!d(t)&&null!==t.constructor&&!d(t.constructor)&&v(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||v(t.append)&&("formdata"===(e=s(t))||"object"===e&&v(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer),e},isString:h,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:g,isPlainObject:y,isUndefined:d,isDate:b,isFile:w,isBlob:x,isRegExp:O,isFunction:v,isStream:t=>g(t)&&v(t.pipe),isURLSearchParams:S,isTypedArray:I,isFileList:_,forEach:A,merge:function t(){const{caseless:e}=D(this)&&this||{},n={},r=(r,o)=>{const i=e&&T(n,o)||o;y(n[i])&&y(r)?n[i]=t(n[i],r):y(r)?n[i]=t({},r):f(r)?n[i]=r.slice():n[i]=r};for(let t=0,e=arguments.length;t(A(e,((e,r)=>{n&&v(e)?t[r]=o(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let o,i,s;const l={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],r&&!r(s,t,e)||l[s]||(e[s]=t[s],l[s]=!0);t=!1!==n&&a(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:u,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(f(t))return t;let e=t.length;if(!m(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:E,hasOwnProperty:F,hasOwnProp:F,reduceDescriptors:j,freezeMethods:t=>{j(t,((e,n)=>{if(v(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];v(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return f(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:T,global:C,isContextDefined:D,ALPHABET:L,generateString:(t=16,e=L.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&v(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(g(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const o=f(t)?[]:{};return A(t,((t,e)=>{const i=n(t,r+1);!d(i)&&(o[e]=i)})),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn:B,isThenable:t=>t&&(g(t)||v(t))&&v(t.then)&&v(t.catch)};function M(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}P.inherits(M,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const H=M.prototype,U={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{U[t]={value:t}})),Object.defineProperties(M,U),Object.defineProperty(H,"isAxiosError",{value:!0}),M.from=(t,e,n,r,o,i)=>{const a=Object.create(H);return P.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),M.call(a,t.message,e,n,r,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const W=M;var q=n(287).hp;function z(t){return P.isPlainObject(t)||P.isArray(t)}function $(t){return P.endsWith(t,"[]")?t.slice(0,-2):t}function V(t,e,n){return t?t.concat(e).map((function(t,e){return t=$(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const X=P.toFlatObject(P,{},null,(function(t){return/^is[A-Z]/.test(t)}));const J=function(t,e,n){if(!P.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!P.isUndefined(e[t])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&P.isSpecCompliantForm(e);if(!P.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(P.isDate(t))return t.toISOString();if(!s&&P.isBlob(t))throw new W("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(t)||P.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):q.from(t):t}function u(t,n,o){let s=t;if(t&&!o&&"object"==typeof t)if(P.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(P.isArray(t)&&function(t){return P.isArray(t)&&!t.some(z)}(t)||(P.isFileList(t)||P.endsWith(n,"[]"))&&(s=P.toArray(t)))return n=$(n),s.forEach((function(t,r){!P.isUndefined(t)&&null!==t&&e.append(!0===a?V([n],r,i):null===a?n:n+"[]",l(t))})),!1;return!!z(t)||(e.append(V(o,n,i),l(t)),!1)}const c=[],f=Object.assign(X,{defaultVisitor:u,convertValue:l,isVisitable:z});if(!P.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!P.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),P.forEach(n,(function(n,i){!0===(!(P.isUndefined(n)||null===n)&&o.call(e,n,P.isString(i)?i.trim():i,r,f))&&t(n,r?r.concat(i):[i])})),c.pop()}}(t),e};function G(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function K(t,e){this._pairs=[],t&&J(t,this,e)}const Y=K.prototype;Y.append=function(t,e){this._pairs.push([t,e])},Y.toString=function(t){const e=t?function(e){return t.call(this,e,G)}:G;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Z=K;function Q(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function tt(t,e,n){if(!e)return t;const r=n&&n.encode||Q,o=n&&n.serialize;let i;if(i=o?o(e,n):P.isURLSearchParams(e)?e.toString():new Z(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const et=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},nt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},rt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Z,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ot="undefined"!=typeof window&&"undefined"!=typeof document,it=(at="undefined"!=typeof navigator&&navigator.product,ot&&["ReactNative","NativeScript","NS"].indexOf(at)<0);var at;const st="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,lt={...r,...rt};const ut=function(t){function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&P.isArray(r)?r.length:i,s)return P.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&P.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&P.isArray(r[i])&&(r[i]=function(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r{e(function(t){return P.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const ct={transitional:nt,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=P.isObject(t);o&&P.isHTMLForm(t)&&(t=new FormData(t));if(P.isFormData(t))return r?JSON.stringify(ut(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return J(t,new lt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return lt.isNode&&P.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=P.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return J(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(P.isString(t))try{return(e||JSON.parse)(t),P.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||ct.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&P.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw W.from(t,W.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lt.classes.FormData,Blob:lt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],(t=>{ct.headers[t]={}}));const ft=ct,dt=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),pt=Symbol("internals");function ht(t){return t&&String(t).trim().toLowerCase()}function vt(t){return!1===t||null==t?t:P.isArray(t)?t.map(vt):String(t)}function mt(t,e,n,r,o){return P.isFunction(r)?r.call(this,e,n):(o&&(e=n),P.isString(e)?P.isString(r)?-1!==e.indexOf(r):P.isRegExp(r)?r.test(e):void 0:void 0)}class gt{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=ht(e);if(!o)throw new Error("header name must be a non-empty string");const i=P.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=vt(t))}const i=(t,e)=>P.forEach(t,((t,n)=>o(t,n,e)));return P.isPlainObject(t)||t instanceof this.constructor?i(t,e):P.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?i((t=>{const e={};let n,r,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&dt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e):null!=t&&o(e,t,n),this}get(t,e){if(t=ht(t)){const n=P.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(P.isFunction(e))return e.call(this,t,n);if(P.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=ht(t)){const n=P.findKey(this,t);return!(!n||void 0===this[n]||e&&!mt(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=ht(t)){const o=P.findKey(n,t);!o||e&&!mt(0,n[o],o,e)||(delete n[o],r=!0)}}return P.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!mt(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return P.forEach(this,((r,o)=>{const i=P.findKey(n,o);if(i)return e[i]=vt(r),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete e[o],e[a]=vt(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return P.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&P.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[pt]=this[pt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=ht(t);e[r]||(!function(t,e){const n=P.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})}))}(n,t),e[r]=!0)}return P.isArray(t)?t.forEach(r):r(t),this}}gt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(gt.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),P.freezeMethods(gt);const yt=gt;function bt(t,e){const n=this||ft,r=e||n,o=yt.from(r.headers);let i=r.data;return P.forEach(t,(function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function wt(t){return!(!t||!t.__CANCEL__)}function xt(t,e,n){W.call(this,null==t?"canceled":t,W.ERR_CANCELED,e,n),this.name="CanceledError"}P.inherits(xt,W,{__CANCEL__:!0});const _t=xt;const St=lt.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const a=[t+"="+encodeURIComponent(e)];P.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),P.isString(r)&&a.push("path="+r),P.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function At(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Tt=lt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=P.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};const Ct=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),u=r[a];o||(o=l),n[i]=s,r[i]=l;let c=a,f=0;for(;c!==i;)f+=n[c++],c%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),l-o{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s);n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const It={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){let r=t.data;const o=yt.from(t.headers).normalize();let i,a,{responseType:s,withXSRFToken:l}=t;function u(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}if(P.isFormData(r))if(lt.hasStandardBrowserEnv||lt.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[t,...e]=a?a.split(";").map((t=>t.trim())).filter(Boolean):[];o.setContentType([t||"multipart/form-data",...e].join("; "))}let c=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(e+":"+n))}const f=At(t.baseURL,t.url);function d(){if(!c)return;const r=yt.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),u()}),(function(t){n(t),u()}),{data:s&&"text"!==s&&"json"!==s?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:t,request:c}),c=null}if(c.open(t.method.toUpperCase(),tt(f,t.params,t.paramsSerializer),!0),c.timeout=t.timeout,"onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(d)},c.onabort=function(){c&&(n(new W("Request aborted",W.ECONNABORTED,t,c)),c=null)},c.onerror=function(){n(new W("Network Error",W.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||nt;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new W(e,r.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,t,c)),c=null},lt.hasStandardBrowserEnv&&(l&&P.isFunction(l)&&(l=l(t)),l||!1!==l&&Tt(f))){const e=t.xsrfHeaderName&&t.xsrfCookieName&&St.read(t.xsrfCookieName);e&&o.set(t.xsrfHeaderName,e)}void 0===r&&o.setContentType(null),"setRequestHeader"in c&&P.forEach(o.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),P.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),s&&"json"!==s&&(c.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&c.addEventListener("progress",Dt(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",Dt(t.onUploadProgress)),(t.cancelToken||t.signal)&&(i=e=>{c&&(n(!e||e.type?new _t(null,t,c):e),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i)));const p=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(f);p&&-1===lt.protocols.indexOf(p)?n(new W("Unsupported protocol "+p+":",W.ERR_BAD_REQUEST,t)):c.send(r||null)}))}};P.forEach(It,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const kt=t=>`- ${t}`,Et=t=>P.isFunction(t)||null===t||!1===t,Ft=t=>{t=P.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(kt).join("\n"):" "+kt(t[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Ot(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new _t(null,t)}function jt(t){Ot(t),t.headers=yt.from(t.headers),t.data=bt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Ft(t.adapter||ft.adapter)(t).then((function(e){return Ot(t),e.data=bt.call(t,t.transformResponse,e),e.headers=yt.from(e.headers),e}),(function(e){return wt(e)||(Ot(t),e&&e.response&&(e.response.data=bt.call(t,t.transformResponse,e.response),e.response.headers=yt.from(e.response.headers))),Promise.reject(e)}))}const Nt=t=>t instanceof yt?{...t}:t;function Rt(t,e){e=e||{};const n={};function r(t,e,n){return P.isPlainObject(t)&&P.isPlainObject(e)?P.merge.call({caseless:n},t,e):P.isPlainObject(e)?P.merge({},e):P.isArray(e)?e.slice():e}function o(t,e,n){return P.isUndefined(e)?P.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function i(t,e){if(!P.isUndefined(e))return r(void 0,e)}function a(t,e){return P.isUndefined(e)?P.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(Nt(t),Nt(e),!0)};return P.forEach(Object.keys(Object.assign({},t,e)),(function(r){const i=l[r]||o,a=i(t[r],e[r],r);P.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Lt="1.6.8",Bt={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Bt[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const Pt={};Bt.transitional=function(t,e,n){function r(t,e){return"[Axios v1.6.8] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new W(r(o," has been removed"+(e?" in "+e:"")),W.ERR_DEPRECATED);return e&&!Pt[o]&&(Pt[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}};const Mt={assertOptions:function(t,e,n){if("object"!=typeof t)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const e=t[i],n=void 0===e||a(e,i,t);if(!0!==n)throw new W("option "+i+" must be "+n,W.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}},validators:Bt},Ht=Mt.validators;class Ut{constructor(t){this.defaults=t,this.interceptors={request:new et,response:new et}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Rt(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&Mt.assertOptions(n,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),null!=r&&(P.isFunction(r)?e.paramsSerializer={serialize:r}:Mt.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&P.merge(o.common,o[e.method]);o&&P.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=yt.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let c,f=0;if(!s){const t=[jt.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),c=t.length,u=Promise.resolve(e);f{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,o){n.reason||(n.reason=new _t(t,r,o),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new qt((function(e){t=e})),cancel:t}}}const zt=qt;const $t={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($t).forEach((([t,e])=>{$t[e]=t}));const Vt=$t;const Xt=function t(e){const n=new Wt(e),r=o(Wt.prototype.request,n);return P.extend(r,Wt.prototype,n,{allOwnKeys:!0}),P.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(Rt(e,n))},r}(ft);Xt.Axios=Wt,Xt.CanceledError=_t,Xt.CancelToken=zt,Xt.isCancel=wt,Xt.VERSION=Lt,Xt.toFormData=J,Xt.AxiosError=W,Xt.Cancel=Xt.CanceledError,Xt.all=function(t){return Promise.all(t)},Xt.spread=function(t){return function(e){return t.apply(null,e)}},Xt.isAxiosError=function(t){return P.isObject(t)&&!0===t.isAxiosError},Xt.mergeConfig=Rt,Xt.AxiosHeaders=yt,Xt.formToJSON=t=>ut(P.isHTMLForm(t)?new FormData(t):t),Xt.getAdapter=Ft,Xt.HttpStatusCode=Vt,Xt.default=Xt;const Jt=Xt;window._=n(543);try{window.$=window.jQuery=n(692),window.Popper=n(769),window.bootstrap=n(747)}catch(t){}window.axios=Jt,window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var Gt,Kt,Yt,Zt,Qt=n(692),te=Qt,ee=function(t,e){if(ee.factory(t,e))return ee;if(this instanceof ee)return te(t).DataTable(e);e=t,this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new Kt(t?nr(this[Gt.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),r=Array.isArray(t)&&(Array.isArray(t[0])||te.isPlainObject(t[0]))?n.rows.add(t):n.row.add(t);return(void 0===e||e)&&n.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],r=n.oScroll;void 0===t||t?e.draw(!1):""===r.sX&&""===r.sY||Bn(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(void 0===t||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var r=this.api(!0),o=r.rows(t),i=o.settings()[0],a=i.aoData[o[0][0]];return o.remove(),e&&e.call(this,i,a),(void 0===n||n)&&r.draw(),a},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,r,o,i){var a=this.api(!0);null==e?a.search(t,n,r,i):a.column(e).search(t,n,r,i),a.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(void 0!==t){var r=t.nodeName?t.nodeName.toLowerCase():"";return void 0!==e||"td"==r||"th"==r?n.cell(t,e).data():n.row(t).data()||null}return n.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return void 0!==t?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();if("TR"==n)return e.row(t).index();if("TD"==n||"TH"==n){var r=e.cell(t).index();return[r.row,r.columnVisible,r.column]}return null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(void 0===e||e)&&n.draw(!1)},this.fnSetColumnVis=function(t,e,n){var r=this.api(!0).column(t).visible(e);(void 0===n||n)&&r.columns.adjust().draw()},this.fnSettings=function(){return nr(this[Gt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,r,o){var i=this.api(!0);return null==n?i.row(e).data(t):i.cell(e,n).data(t),(void 0===o||o)&&i.columns.adjust(),(void 0===r||r)&&i.draw(),0},this.fnVersionCheck=Gt.fnVersionCheck;var n=this,r=void 0===e,o=this.length;for(var i in r&&(e={}),this.oApi=this.internal=Gt.internal,ee.ext.internal)i&&(this[i]=Ur(i));return this.each((function(){var t,i=o>1?ir({},e,!0):e,a=0,s=this.getAttribute("id"),l=!1,u=ee.defaults,c=te(this);if("table"==this.nodeName.toLowerCase()){Te(u),Ce(u.column),_e(u,u,!0),_e(u.column,u.column,!0),_e(u,te.extend(i,c.data()),!0);var f=ee.settings;for(a=0,t=f.length;a").appendTo(c)),v.nTHead=r[0];var o=c.children("tbody");0===o.length&&(o=te("").insertAfter(r)),v.nTBody=o[0];var s=c.children("tfoot");if(0===s.length&&n.length>0&&(""!==v.oScroll.sX||""!==v.oScroll.sY)&&(s=te("").appendTo(c)),0===s.length||0===s.children().length?c.addClass(m.sNoFooter):s.length>0&&(v.nTFoot=s[0],an(v.aoFooter,v.nTFoot)),i.aaData)for(a=0;a/g,ie=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,ae=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),se=/['\u00A0,$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,le=function(t){return!t||!0===t||"-"===t},ue=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},ce=function(t,e){return ne[e]||(ne[e]=new RegExp(bn(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(ne[e],"."):t},fe=function(t,e,n){var r=typeof t,o="string"===r;return"number"===r||"bigint"===r||(!!le(t)||(e&&o&&(t=ce(t,e)),n&&o&&(t=t.replace(se,"")),!isNaN(parseFloat(t))&&isFinite(t)))},de=function(t,e,n){if(le(t))return!0;var r=function(t){return le(t)||"string"==typeof t}(t);return r&&!!fe(ge(t),e,n)||null},pe=function(t,e,n){var r=[],o=0,i=t.length;if(void 0!==n)for(;o").css({position:"fixed",top:0,left:-1*te(window).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(te("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(te("
").css({width:"100%",height:10}))).appendTo("body"),r=n.children(),o=r.children();e.barWidth=r[0].offsetWidth-r[0].clientWidth,e.bScrollOversize=100===o[0].offsetWidth&&100!==r[0].clientWidth,e.bScrollbarLeft=1!==Math.round(o.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}te.extend(t.oBrowser,ee.__browser),t.oScroll.iBarWidth=ee.__browser.barWidth}function Ie(t,e,n,r,o,i){var a,s=r,l=!1;for(void 0!==n&&(a=n,l=!0);s!==o;)t.hasOwnProperty(s)&&(a=l?e(a,t[s],s,t):t[s],l=!0,s+=i);return a}function ke(t,e){var n=ee.defaults.column,r=t.aoColumns.length,o=te.extend({},ee.models.oColumn,n,{nTh:e||document.createElement("th"),sTitle:n.sTitle?n.sTitle:e?e.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[r],mData:n.mData?n.mData:r,idx:r});t.aoColumns.push(o);var i=t.aoPreSearchCols;i[r]=te.extend({},ee.models.oSearch,i[r]),Ee(t,r,te(e).data())}function Ee(t,e,n){var r=t.aoColumns[e],o=t.oClasses,i=te(r.nTh);if(!r.sWidthOrig){r.sWidthOrig=i.attr("width")||null;var a=(i.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);a&&(r.sWidthOrig=a[1])}if(null!=n){Ce(n),_e(ee.defaults.column,n,!0),void 0===n.mDataProp||n.mData||(n.mData=n.mDataProp),n.sType&&(r._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&i.addClass(n.sClass);var s=r.sClass;te.extend(r,n),or(r,n,"sWidth","sWidthOrig"),s!==r.sClass&&(r.sClass=s+" "+r.sClass),void 0!==n.iDataSort&&(r.aDataSort=[n.iDataSort]),or(r,n,"aDataSort"),r.ariaTitle||(r.ariaTitle=i.attr("aria-label"))}var l=r.mData,u=$e(l),c=r.mRender?$e(r.mRender):null,f=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};r._bAttrSrc=te.isPlainObject(l)&&(f(l.sort)||f(l.type)||f(l.filter)),r._setter=null,r.fnGetData=function(t,e,n){var r=u(t,e,void 0,n);return c&&e?c(r,e,t,n):r},r.fnSetData=function(t,e,n){return Ve(l)(t,e,n)},"number"==typeof l||r._isArrayHost||(t._rowReadObject=!0),t.oFeatures.bSort||(r.bSortable=!1,i.addClass(o.sSortableNone));var d=-1!==te.inArray("asc",r.asSorting),p=-1!==te.inArray("desc",r.asSorting);r.bSortable&&(d||p)?d&&!p?(r.sSortingClass=o.sSortableAsc,r.sSortingClassJUI=o.sSortJUIAscAllowed):!d&&p?(r.sSortingClass=o.sSortableDesc,r.sSortingClassJUI=o.sSortJUIDescAllowed):(r.sSortingClass=o.sSortable,r.sSortingClassJUI=o.sSortJUI):(r.sSortingClass=o.sSortableNone,r.sSortingClassJUI="")}function Fe(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;Hn(t);for(var n=0,r=e.length;n=0;o--){var d=void 0!==(c=e[o]).target?c.target:void 0!==c.targets?c.targets:c.aTargets;for(Array.isArray(d)||(d=[d]),a=0,s=d.length;a=0){for(;f.length<=d[a];)ke(t);r(d[a],c)}else if("number"==typeof d[a]&&d[a]<0)r(f.length+d[a],c);else if("string"==typeof d[a])for(l=0,u=f.length;le&&t[o]--;-1!=r&&void 0===n&&t.splice(r,1)}function Ke(t,e,n,r){var o,i,a=t.aoData[e],s=function(n,r){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=He(t,e,r,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==a.src)){var l=a.anCells;if(l)if(void 0!==r)s(l[r],r);else for(o=0,i=l.length;o").appendTo(a)),e=0,n=c.length;e=0;i--)t.aoColumns[i].bVisible||n||d[r].splice(i,1);p.push([])}for(r=0,o=d.length;r=t.fnRecordsDisplay()?0:n,t.iInitDisplayStart=-1)}(t);var n=lr(t,"aoPreDrawCallback","preDraw",[t]);if(-1===te.inArray(!1,n)){var r=[],o=0,i=t.asStripeClasses,a=i.length,s=t.oLanguage,l="ssp"==fr(t),u=t.aiDisplay,c=t._iDisplayStart,f=t.fnDisplayEnd();if(t.bDrawing=!0,t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,Rn(t,!1);else if(l){if(!t.bDestroying&&!e)return void un(t)}else t.iDraw++;if(0!==u.length)for(var d=l?0:c,p=l?t.aoData.length:f,h=d;h",{class:a?i[0]:""}).append(te("",{valign:"top",colSpan:Ne(t),class:t.oClasses.sRowEmpty}).html(b))[0]}lr(t,"aoHeaderCallback","header",[te(t.nTHead).children("tr")[0],Xe(t),c,f,u]),lr(t,"aoFooterCallback","footer",[te(t.nTFoot).children("tr")[0],Xe(t),c,f,u]);var w=te(t.nTBody);w.children().detach(),w.append(te(r)),lr(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}else Rn(t,!1)}function rn(t,e){var n=t.oFeatures,r=n.bSort,o=n.bFilter;r&&Xn(t),o?hn(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,nn(t),t._drawHold=!1}function on(t){var e=t.oClasses,n=te(t.nTable),r=te("
").insertBefore(n),o=t.oFeatures,i=te("
",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=r[0],t.nTableWrapper=i[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var a,s,l,u,c,f,d=t.sDom.split(""),p=0;p")[0],"'"==(u=d[p+1])||'"'==u){for(c="",f=2;d[p+f]!=u;)c+=d[p+f],f++;if("H"==c?c=e.sJUIHeader:"F"==c&&(c=e.sJUIFooter),-1!=c.indexOf(".")){var h=c.split(".");l.id=h[0].substr(1,h[0].length-1),l.className=h[1]}else"#"==c.charAt(0)?l.id=c.substr(1,c.length-1):l.className=c;p+=f}i.append(l),i=te(l)}else if(">"==s)i=i.parent();else if("l"==s&&o.bPaginate&&o.bLengthChange)a=Fn(t);else if("f"==s&&o.bFilter)a=pn(t);else if("r"==s&&o.bProcessing)a=Nn(t);else if("t"==s)a=Ln(t);else if("i"==s&&o.bInfo)a=Tn(t);else if("p"==s&&o.bPaginate)a=On(t);else if(0!==ee.ext.feature.length)for(var v=ee.ext.feature,m=0,g=v.length;m',s=r.sSearch;s=s.match(/_INPUT_/)?s.replace("_INPUT_",a):s+a;var l=te("
",{id:i.f?null:n+"_filter",class:e.sFilter}).append(te("
").addClass(e.sLength);return t.aanFeatures.l||(c[0].id=n+"_length"),c.children().append(t.oLanguage.sLengthMenu.replace("_MENU_",s[0].outerHTML)),te("select",c).val(t._iDisplayLength).on("change.DT",(function(e){En(t,te(this).val()),nn(t)})),te(t.nTable).on("length.dt.DT",(function(e,n,r){t===n&&te("select",c).val(r)})),c[0]}function On(t){var e=t.sPaginationType,n=ee.ext.pager[e],r="function"==typeof n,o=function(t){nn(t)},i=te("
").addClass(t.oClasses.sPaging+e)[0],a=t.aanFeatures;return r||n.fnInit(t,i,o),a.p||(i.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(r){var e,i,s=t._iDisplayStart,l=t._iDisplayLength,u=t.fnRecordsDisplay(),c=-1===l,f=c?0:Math.ceil(s/l),d=c?1:Math.ceil(u/l),p=n(f,d);for(e=0,i=a.p.length;ei&&(r=0):"first"==e?r=0:"previous"==e?(r=o>=0?r-o:0)<0&&(r=0):"next"==e?r+o",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing,role:"status"}).html(t.oLanguage.sProcessing).append("
").insertBefore(t.nTable)[0]}function Rn(t,e){t.oFeatures.bProcessing&&te(t.aanFeatures.r).css("display",e?"block":"none"),lr(t,null,"processing",[t,e])}function Ln(t){var e=te(t.nTable),n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;var r=n.sX,o=n.sY,i=t.oClasses,a=e.children("caption"),s=a.length?a[0]._captionSide:null,l=te(e[0].cloneNode(!1)),u=te(e[0].cloneNode(!1)),c=e.children("tfoot"),f="
",d=function(t){return t?$n(t):null};c.length||(c=null);var p=te(f,{class:i.sScrollWrapper}).append(te(f,{class:i.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:r?d(r):"100%"}).append(te(f,{class:i.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?a:null).append(e.children("thead"))))).append(te(f,{class:i.sScrollBody}).css({position:"relative",overflow:"auto",width:d(r)}).append(e));c&&p.append(te(f,{class:i.sScrollFoot}).css({overflow:"hidden",border:0,width:r?d(r):"100%"}).append(te(f,{class:i.sScrollFootInner}).append(u.removeAttr("id").css("margin-left",0).append("bottom"===s?a:null).append(e.children("tfoot")))));var h=p.children(),v=h[0],m=h[1],g=c?h[2]:null;return r&&te(m).on("scroll.DT",(function(t){var e=this.scrollLeft;v.scrollLeft=e,c&&(g.scrollLeft=e)})),te(m).css("max-height",o),n.bCollapse||te(m).css("height",o),t.nScrollHead=v,t.nScrollBody=m,t.nScrollFoot=g,t.aoDrawCallback.push({fn:Bn,sName:"scrolling"}),p[0]}function Bn(t){var e,n,r,o,i,a,s,l,u,c=t.oScroll,f=c.sX,d=c.sXInner,p=c.sY,h=c.iBarWidth,v=te(t.nScrollHead),m=v[0].style,g=v.children("div"),y=g[0].style,b=g.children("table"),w=t.nScrollBody,x=te(w),_=w.style,S=te(t.nScrollFoot).children("div"),A=S.children("table"),T=te(t.nTHead),C=te(t.nTable),D=C[0],I=D.style,k=t.nTFoot?te(t.nTFoot):null,E=t.oBrowser,F=E.bScrollOversize,O=(pe(t.aoColumns,"nTh"),[]),j=[],N=[],R=[],L=function(t){var e=t.style;e.paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0},B=w.scrollHeight>w.clientHeight;if(t.scrollBarVis!==B&&void 0!==t.scrollBarVis)return t.scrollBarVis=B,void Fe(t);t.scrollBarVis=B,C.children("thead, tfoot").remove(),k&&(a=k.clone().prependTo(C),n=k.find("tr"),o=a.find("tr"),a.find("[id]").removeAttr("id")),i=T.clone().prependTo(C),e=T.find("tr"),r=i.find("tr"),i.find("th, td").removeAttr("tabindex"),i.find("[id]").removeAttr("id"),f||(_.width="100%",v[0].style.width="100%"),te.each(sn(t,i),(function(e,n){s=Oe(t,e),n.style.width=t.aoColumns[s].sWidth})),k&&Pn((function(t){t.style.width=""}),o),u=C.outerWidth(),""===f?(I.width="100%",F&&(C.find("tbody").height()>w.offsetHeight||"scroll"==x.css("overflow-y"))&&(I.width=$n(C.outerWidth()-h)),u=C.outerWidth()):""!==d&&(I.width=$n(d),u=C.outerWidth()),Pn(L,r),Pn((function(t){var e=window.getComputedStyle?window.getComputedStyle(t).width:$n(te(t).width());N.push(t.innerHTML),O.push(e)}),r),Pn((function(t,e){t.style.width=O[e]}),e),te(r).css("height",0),k&&(Pn(L,o),Pn((function(t){R.push(t.innerHTML),j.push($n(te(t).css("width")))}),o),Pn((function(t,e){t.style.width=j[e]}),n),te(o).height(0)),Pn((function(t,e){t.innerHTML='
'+N[e]+"
",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=O[e]}),r),k&&Pn((function(t,e){t.innerHTML='
'+R[e]+"
",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=j[e]}),o),Math.round(C.outerWidth())w.offsetHeight||"scroll"==x.css("overflow-y")?u+h:u,F&&(w.scrollHeight>w.offsetHeight||"scroll"==x.css("overflow-y"))&&(I.width=$n(l-h)),""!==f&&""===d||rr(t,1,"Possible column misalignment",6)):l="100%",_.width=$n(l),m.width=$n(l),k&&(t.nScrollFoot.style.width=$n(l)),p||F&&(_.height=$n(D.offsetHeight+h));var P=C.outerWidth();b[0].style.width=$n(P),y.width=$n(P);var M=C.height()>w.clientHeight||"scroll"==x.css("overflow-y"),H="padding"+(E.bScrollbarLeft?"Left":"Right");y[H]=M?h+"px":"0px",k&&(A[0].style.width=$n(P),S[0].style.width=$n(P),S[0].style[H]=M?h+"px":"0px"),C.children("colgroup").insertBefore(C.children("thead")),x.trigger("scroll"),!t.bSorted&&!t.bFiltered||t._drawHold||(w.scrollTop=0)}function Pn(t,e,n){for(var r,o,i=0,a=0,s=e.length;a/g;function Hn(t){var e,n,r,o=t.nTable,i=t.aoColumns,a=t.oScroll,s=a.sY,l=a.sX,u=a.sXInner,c=i.length,f=Re(t,"bVisible"),d=te("th",t.nTHead),p=o.getAttribute("width"),h=o.parentNode,v=!1,m=t.oBrowser,g=m.bScrollOversize,y=o.style.width;y&&-1!==y.indexOf("%")&&(p=y);var b=Wn(pe(i,"sWidthOrig"),h);for(e=0;e").appendTo(x.find("tbody"));for(x.find("thead, tfoot").remove(),x.append(te(t.nTHead).clone()).append(te(t.nTFoot).clone()),x.find("tfoot th, tfoot td").css("width",""),d=sn(t,x.find("thead")[0]),e=0;e").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(e=0;e").css(l||s?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(x).appendTo(h);l&&u?x.width(u):l?(x.css("width","auto"),x.removeAttr("width"),x.width()").css("width",$n(t[o])).appendTo(e||document.body)):n.push(null);for(o=0;o").html(He(t,n,e,"display"))[0]}function zn(t,e){for(var n,r=-1,o=-1,i=0,a=t.aoData.length;ir&&(r=n.length,o=i);return o}function $n(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Vn(t){var e,n,r,o,i,a,s,l=[],u=t.aoColumns,c=t.aaSortingFixed,f=te.isPlainObject(c),d=[],p=function(t){t.length&&!Array.isArray(t[0])?d.push(t):te.merge(d,t)};for(Array.isArray(c)&&p(c),f&&c.pre&&p(c.pre),p(t.aaSorting),f&&c.post&&p(c.post),e=0;er?1:0))return"asc"===u.dir?s:-s;return(n=a[t])<(r=a[e])?-1:n>r?1:0})):c.sort((function(t,e){var n,r,o,u,c,f=i.length,d=l[t]._aSortData,p=l[e]._aSortData;for(o=0;or?1:0}))}t.bSorted=!0}function Jn(t){for(var e,n,r=t.aoColumns,o=Vn(t),i=t.oLanguage.oAria,a=0,s=r.length;a/g,""),f=l.nTh;f.removeAttribute("aria-sort"),l.bSortable?(o.length>0&&o[0].col==a?(f.setAttribute("aria-sort","asc"==o[0].dir?"ascending":"descending"),n=u[o[0].index+1]||u[0]):n=u[0],e=c+("asc"===n?i.sSortAscending:i.sSortDescending)):e=c,f.setAttribute("aria-label",e)}}function Gn(t,e,n,r){var o,i=t.aoColumns[e],a=t.aaSorting,s=i.asSorting,l=function(t,e){var n=t._idx;return void 0===n&&(n=te.inArray(t[1],s)),n+10&&e.time<+new Date-1e3*l)return t._bLoadingState=!1,void n();if(e.columns&&i.length!==e.columns.length)return t._bLoadingState=!1,void n();if(t.oLoadedState=te.extend(!0,{},e),void 0!==e.length&&(a?a.page.len(e.length):t._iDisplayLength=e.length),void 0!==e.start&&(null===a?(t._iDisplayStart=e.start,t.iInitDisplayStart=e.start):jn(t,e.start/t._iDisplayLength)),void 0!==e.order&&(t.aaSorting=[],te.each(e.order,(function(e,n){t.aaSorting.push(n[0]>=i.length?[0,n[1]]:n)}))),void 0!==e.search&&te.extend(t.oPreviousSearch,An(e.search)),e.columns){for(r=0,o=e.columns.length;r=n&&(e=n-r),e-=e%r,(-1===r||e<0)&&(e=0),t._iDisplayStart=e}function cr(t,e){var n=t.renderer,r=ee.ext.renderer[e];return te.isPlainObject(n)&&n[e]?r[n[e]]||r._:"string"==typeof n&&r[n]||r._}function fr(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}var dr=[],pr=Array.prototype;Kt=function(t,e){if(!(this instanceof Kt))return new Kt(t,e);var n=[],r=function(t){var e=function(t){var e,n,r=ee.settings,o=te.map(r,(function(t,e){return t.nTable}));return t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(e=te.inArray(t,o))?[r[e]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?n=te(t):t instanceof te&&(n=t),n?n.map((function(t){return-1!==(e=te.inArray(this,o))?r[e]:null})).toArray():void 0):[]}(t);e&&n.push.apply(n,e)};if(Array.isArray(t))for(var o=0,i=t.length;ot?new Kt(e[t],this[t]):null},filter:function(t){var e=[];if(pr.filter)e=pr.filter.call(this,t,this);else for(var n=0,r=this.length;n0)return t[0].json})),Yt("ajax.params()",(function(){var t=this.context;if(t.length>0)return t[0].oAjaxData})),Yt("ajax.reload()",(function(t,e){return this.iterator("table",(function(n){vr(n,!1===e,t)}))})),Yt("ajax.url()",(function(t){var e=this.context;if(void 0===t){if(0===e.length)return;return(e=e[0]).ajax?te.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource}return this.iterator("table",(function(e){te.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t}))})),Yt("ajax.url().load()",(function(t,e){return this.iterator("table",(function(n){vr(n,!1===e,t)}))}));var mr=function(t,e,n,r,o){var i,a,s,l,u,c,f=[],d=typeof e;for(e&&"string"!==d&&"function"!==d&&void 0!==e.length||(e=[e]),s=0,l=e.length;s0)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},br=function(t,e){var n,r=[],o=t.aiDisplay,i=t.aiDisplayMaster,a=e.search,s=e.order,l=e.page;if("ssp"==fr(t))return"removed"===a?[]:ve(0,i.length);if("current"==l)for(c=t._iDisplayStart,f=t.fnDisplayEnd();c=0&&"applied"==a)&&r.push(c);return r};Yt("rows()",(function(t,e){void 0===t?t="":te.isPlainObject(t)&&(e=t,t=""),e=gr(e);var n=this.iterator("table",(function(n){return function(t,e,n){var r;return mr("row",e,(function(e){var o=ue(e),i=t.aoData;if(null!==o&&!n)return[o];if(r||(r=br(t,n)),null!==o&&-1!==te.inArray(o,r))return[o];if(null==e||""===e)return r;if("function"==typeof e)return te.map(r,(function(t){var n=i[t];return e(t,n._aData,n.nTr)?t:null}));if(e.nodeName){var a=e._DT_RowIndex,s=e._DT_CellIndex;if(void 0!==a)return i[a]&&i[a].nTr===e?[a]:[];if(s)return i[s.row]&&i[s.row].nTr===e.parentNode?[s.row]:[];var l=te(e).closest("*[data-dt-row]");return l.length?[l.data("dt-row")]:[]}if("string"==typeof e&&"#"===e.charAt(0)){var u=t.aIds[e.replace(/^#/,"")];if(void 0!==u)return[u.idx]}var c=me(he(t.aoData,r,"nTr"));return te(c).filter(e).map((function(){return this._DT_RowIndex})).toArray()}),t,n)}(n,t,e)}),1);return n.selector.rows=t,n.selector.opts=e,n})),Yt("rows().nodes()",(function(){return this.iterator("row",(function(t,e){return t.aoData[e].nTr||void 0}),1)})),Yt("rows().data()",(function(){return this.iterator(!0,"rows",(function(t,e){return he(t.aoData,e,"_aData")}),1)})),Zt("rows().cache()","row().cache()",(function(t){return this.iterator("row",(function(e,n){var r=e.aoData[n];return"search"===t?r._aFilterData:r._aSortData}),1)})),Zt("rows().invalidate()","row().invalidate()",(function(t){return this.iterator("row",(function(e,n){Ke(e,n,t)}))})),Zt("rows().indexes()","row().index()",(function(){return this.iterator("row",(function(t,e){return e}),1)})),Zt("rows().ids()","row().id()",(function(t){for(var e=[],n=this.context,r=0,o=n.length;r0&&e._iRecordsDisplay--,ur(e);var d=e.rowIdFn(f._aData);void 0!==d&&delete e.aIds[d]})),this.iterator("table",(function(t){for(var e=0,n=t.aoData.length;e0&&(e.on(r,(function(n,r){t===r&&e.rows({page:"current"}).eq(0).each((function(t){var e=a[t];e._detailsShow&&e._details.insertAfter(e.nTr)}))})),e.on(o,(function(e,n,r,o){if(t===n)for(var i,s=Ne(n),l=0,u=a.length;l").addClass(n);te("td",s).addClass(n).html(e)[0].colSpan=Ne(t),o.push(s[0])}};i(n,r),e._details&&e._details.detach(),e._details=te(o),e._detailsShow&&e._details.insertAfter(e.nTr)}(n[0],n[0].aoData[this[0]],t,e),this)})),Yt([Ar+".show()",Tr+".show()"],(function(t){return _r(this,!0),this})),Yt([Ar+".hide()",Tr+".hide()"],(function(){return _r(this,!1),this})),Yt([Ar+".remove()",Tr+".remove()"],(function(){return xr(this),this})),Yt(Ar+".isShown()",(function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}));var Cr=/^([^:]+):(name|visIdx|visible)$/,Dr=function(t,e,n,r,o){for(var i=[],a=0,s=o.length;a=0?a:r.length+a];if("function"==typeof e){var s=br(t,n);return te.map(r,(function(n,r){return e(r,Dr(t,r,0,0,s),i[r])?r:null}))}var l="string"==typeof e?e.match(Cr):"";if(l)switch(l[2]){case"visIdx":case"visible":var u=parseInt(l[1],10);if(u<0){var c=te.map(r,(function(t,e){return t.bVisible?e:null}));return[c[c.length+u]]}return[Oe(t,u)];case"name":return te.map(o,(function(t,e){return t===l[1]?e:null}));default:return[]}if(e.nodeName&&e._DT_CellIndex)return[e._DT_CellIndex.column];var f=te(i).filter(e).map((function(){return te.inArray(this,i)})).toArray();if(f.length||!e.nodeName)return f;var d=te(e).closest("*[data-dt-column]");return d.length?[d.data("dt-column")]:[]}),t,n)}(n,t,e)}),1);return n.selector.cols=t,n.selector.opts=e,n})),Zt("columns().header()","column().header()",(function(t,e){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTh}),1)})),Zt("columns().footer()","column().footer()",(function(t,e){return this.iterator("column",(function(t,e){return t.aoColumns[e].nTf}),1)})),Zt("columns().data()","column().data()",(function(){return this.iterator("column-rows",Dr,1)})),Zt("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(t,e){return t.aoColumns[e].mData}),1)})),Zt("columns().cache()","column().cache()",(function(t){return this.iterator("column-rows",(function(e,n,r,o,i){return he(e.aoData,i,"search"===t?"_aFilterData":"_aSortData",n)}),1)})),Zt("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(t,e,n,r,o){return he(t.aoData,o,"anCells",e)}),1)})),Zt("columns().visible()","column().visible()",(function(t,e){var n=this,r=this.iterator("column",(function(e,n){if(void 0===t)return e.aoColumns[n].bVisible;!function(t,e,n){var r,o,i,a,s=t.aoColumns,l=s[e],u=t.aoData;if(void 0===n)return l.bVisible;if(l.bVisible!==n){if(n){var c=te.inArray(!0,pe(s,"bVisible"),e+1);for(o=0,i=u.length;on;return!0},ee.isDataTable=ee.fnIsDataTable=function(t){var e=te(t).get(0),n=!1;return t instanceof ee.Api||(te.each(ee.settings,(function(t,r){var o=r.nScrollHead?te("table",r.nScrollHead)[0]:null,i=r.nScrollFoot?te("table",r.nScrollFoot)[0]:null;r.nTable!==e&&o!==e&&i!==e||(n=!0)})),n)},ee.tables=ee.fnTables=function(t){var e=!1;te.isPlainObject(t)&&(e=t.api,t=t.visible);var n=te.map(ee.settings,(function(e){if(!t||t&&te(e.nTable).is(":visible"))return e.nTable}));return e?new Kt(n):n},ee.camelToHungarian=_e,Yt("$()",(function(t,e){var n=this.rows(e).nodes(),r=te(n);return te([].concat(r.filter(t).toArray(),r.find(t).toArray()))})),te.each(["on","one","off"],(function(t,e){Yt(e+"()",(function(){var t=Array.prototype.slice.call(arguments);t[0]=te.map(t[0].split(/\s/),(function(t){return t.match(/\.dt\b/)?t:t+".dt"})).join(" ");var n=te(this.tables().nodes());return n[e].apply(n,t),this}))})),Yt("clear()",(function(){return this.iterator("table",(function(t){Je(t)}))})),Yt("settings()",(function(){return new Kt(this.context,this.context)})),Yt("init()",(function(){var t=this.context;return t.length?t[0].oInit:null})),Yt("data()",(function(){return this.iterator("table",(function(t){return pe(t.aoData,"_aData")})).flatten()})),Yt("destroy()",(function(t){return t=t||!1,this.iterator("table",(function(e){var n,r=e.oClasses,o=e.nTable,i=e.nTBody,a=e.nTHead,s=e.nTFoot,l=te(o),u=te(i),c=te(e.nTableWrapper),f=te.map(e.aoData,(function(t){return t.nTr}));e.bDestroying=!0,lr(e,"aoDestroyCallback","destroy",[e]),t||new Kt(e).columns().visible(!0),c.off(".DT").find(":not(tbody *)").off(".DT"),te(window).off(".DT-"+e.sInstance),o!=a.parentNode&&(l.children("thead").detach(),l.append(a)),s&&o!=s.parentNode&&(l.children("tfoot").detach(),l.append(s)),e.aaSorting=[],e.aaSortingFixed=[],Yn(e),te(f).removeClass(e.asStripeClasses.join(" ")),te("th, td",a).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),u.children().detach(),u.append(f);var d=e.nTableWrapper.parentNode,p=t?"remove":"detach";l[p](),c[p](),!t&&d&&(d.insertBefore(o,e.nTableReinsertBefore),l.css("width",e.sDestroyWidth).removeClass(r.sTable),(n=e.asDestroyStripes.length)&&u.children().each((function(t){te(this).addClass(e.asDestroyStripes[t%n])})));var h=te.inArray(e,ee.settings);-1!==h&&ee.settings.splice(h,1)}))})),te.each(["column","row","cell"],(function(t,e){Yt(e+"s().every()",(function(t){var n=this.selector.opts,r=this;return this.iterator(e,(function(o,i,a,s,l){t.call(r[e](i,"cell"===e?a:n,"cell"===e?n:void 0),i,a,s,l)}))}))})),Yt("i18n()",(function(t,e,n){var r=this.context[0],o=$e(t)(r.oLanguage);return void 0===o&&(o=e),void 0!==n&&te.isPlainObject(o)&&(o=void 0!==o[n]?o[n]:o._),"string"==typeof o?o.replace("%d",n):o})),ee.version="1.13.11",ee.settings=[],ee.models={},ee.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0,return:!1},ee.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},ee.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},ee.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:te.extend({},ee.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},xe(ee.defaults),ee.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},xe(ee.defaults.column),ee.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,jqXHR:null,json:void 0,oAjaxData:void 0,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==fr(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==fr(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,r=this.aiDisplay.length,o=this.oFeatures,i=o.bPaginate;return o.bServerSide?!1===i||-1===t?e+r:Math.min(e+t,this._iRecordsDisplay):!i||n>r||-1===t?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},ee.ext=Gt={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:ee.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:ee.version},te.extend(Gt,{afnFiltering:Gt.search,aTypes:Gt.type.detect,ofnSearch:Gt.type.search,oSort:Gt.type.order,afnSortData:Gt.order,aoFeatures:Gt.feature,oApi:Gt.internal,oStdClasses:Gt.classes,oPagination:Gt.pager}),te.extend(ee.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_desc_disabled",sSortableDesc:"sorting_asc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ir=ee.ext.pager;function kr(t,e){var n=[],r=Ir.numbers_length,o=Math.floor(r/2);return e<=r?n=ve(0,e):t<=o?((n=ve(0,r-2)).push("ellipsis"),n.push(e-1)):t>=e-1-o?((n=ve(e-(r-2),e)).splice(0,0,"ellipsis"),n.splice(0,0,0)):((n=ve(t-o+2,t+o-1)).push("ellipsis"),n.push(e-1),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}te.extend(Ir,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[kr(t,e)]},simple_numbers:function(t,e){return["previous",kr(t,e),"next"]},full_numbers:function(t,e){return["first","previous",kr(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",kr(t,e),"last"]},_numbers:kr,numbers_length:7}),te.extend(!0,ee.ext.renderer,{pageButton:{_:function(t,e,n,r,o,i){var a,s,l,u=t.oClasses,c=t.oLanguage.oPaginate,f=t.oLanguage.oAria.paginate||{},d=function(e,r){var l,p,h,v=u.sPageButtonDisabled,m=function(e){jn(t,e.data.action,!0)};for(l=0,p=r.length;l").appendTo(e);d(g,h)}else{var y=!1;switch(a=null,s=h,h){case"ellipsis":e.append('');break;case"first":a=c.sFirst,0===o&&(y=!0);break;case"previous":a=c.sPrevious,0===o&&(y=!0);break;case"next":a=c.sNext,0!==i&&o!==i-1||(y=!0);break;case"last":a=c.sLast,0!==i&&o!==i-1||(y=!0);break;default:a=t.fnFormatNumber(h+1),s=o===h?u.sPageButtonActive:""}if(null!==a){var b=t.oInit.pagingTag||"a";y&&(s+=" "+v),ar(te("<"+b+">",{class:u.sPageButton+" "+s,"aria-controls":t.sTableId,"aria-disabled":y?"true":null,"aria-label":f[h],role:"link","aria-current":s===u.sPageButtonActive?"page":null,"data-dt-idx":h,tabindex:y?-1:t.iTabIndex,id:0===n&&"string"==typeof h?t.sTableId+"_"+h:null}).html(a).appendTo(e),{action:h},m)}}};try{l=te(e).find(document.activeElement).data("dt-idx")}catch(t){}d(te(e).empty(),r),void 0!==l&&te(e).find("[data-dt-idx="+l+"]").trigger("focus")}}}),te.extend(ee.ext.type.detect,[function(t,e){var n=e.oLanguage.sDecimal;return fe(t,n)?"num"+n:null},function(t,e){if(t&&!(t instanceof Date)&&!ie.test(t))return null;var n=Date.parse(t);return null!==n&&!isNaN(n)||le(t)?"date":null},function(t,e){var n=e.oLanguage.sDecimal;return fe(t,n,!0)?"num-fmt"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return de(t,n)?"html-num"+n:null},function(t,e){var n=e.oLanguage.sDecimal;return de(t,n,!0)?"html-num-fmt"+n:null},function(t,e){return le(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),te.extend(ee.ext.type.search,{html:function(t){return le(t)?t:"string"==typeof t?t.replace(re," ").replace(oe,""):""},string:function(t){return le(t)?t:"string"==typeof t?t.replace(re," "):t}});var Er=function(t,e,n,r){if(0!==t&&(!t||"-"===t))return-1/0;var o=typeof t;return"number"===o||"bigint"===o?t:(e&&(t=ce(t,e)),t.replace&&(n&&(t=t.replace(n,"")),r&&(t=t.replace(r,""))),1*t)};function Fr(t){te.each({num:function(e){return Er(e,t)},"num-fmt":function(e){return Er(e,t,se)},"html-num":function(e){return Er(e,t,oe)},"html-num-fmt":function(e){return Er(e,t,oe,se)}},(function(e,n){Gt.type.order[e+t+"-pre"]=n,e.match(/^html\-/)&&(Gt.type.search[e+t]=Gt.type.search.html)}))}te.extend(Gt.type.order,{"date-pre":function(t){var e=Date.parse(t);return isNaN(e)?-1/0:e},"html-pre":function(t){return le(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return le(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return te?1:0},"string-desc":function(t,e){return te?-1:0}}),Fr(""),te.extend(!0,ee.ext.renderer,{header:{_:function(t,e,n,r){te(t.nTable).on("order.dt.DT",(function(o,i,a,s){if(t===i){var l=n.idx;e.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[l]?r.sSortAsc:"desc"==s[l]?r.sSortDesc:n.sSortingClass)}}))},jqueryui:function(t,e,n,r){te("
").addClass(r.sSortJUIWrapper).append(e.contents()).append(te("").addClass(r.sSortIcon+" "+n.sSortingClassJUI)).appendTo(e),te(t.nTable).on("order.dt.DT",(function(o,i,a,s){if(t===i){var l=n.idx;e.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[l]?r.sSortAsc:"desc"==s[l]?r.sSortDesc:n.sSortingClass),e.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==s[l]?r.sSortJUIAsc:"desc"==s[l]?r.sSortJUIDesc:n.sSortingClassJUI)}}))}}});var Or=function(t){return Array.isArray(t)&&(t=t.join(",")),"string"==typeof t?t.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""):t};function jr(t,e,n,r,o){return window.moment?t[e](o):window.luxon?t[n](o):r?t[r](o):t}var Nr=!1;function Rr(t,e,n){var r;if(window.moment){if(!(r=window.moment.utc(t,e,n,!0)).isValid())return null}else if(window.luxon){if(!(r=e&&"string"==typeof t?window.luxon.DateTime.fromFormat(t,e):window.luxon.DateTime.fromISO(t)).isValid)return null;r.setLocale(n)}else e?(Nr||alert("DataTables warning: Formatted date without Moment.js or Luxon - https://datatables.net/tn/17"),Nr=!0):r=new Date(t);return r}function Lr(t){return function(e,n,r,o){0===arguments.length?(r="en",n=null,e=null):1===arguments.length?(r="en",n=e,e=null):2===arguments.length&&(r=n,n=e,e=null);var i="datetime-"+n;return ee.ext.type.order[i]||(ee.ext.type.detect.unshift((function(t){return t===i&&i})),ee.ext.type.order[i+"-asc"]=function(t,e){var n=t.valueOf(),r=e.valueOf();return n===r?0:nr?-1:1}),function(a,s){if(null==a)if("--now"===o){var l=new Date;a=new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds()))}else a="";if("type"===s)return i;if(""===a)return"sort"!==s?"":Rr("0000-01-01 00:00:00",null,r);if(null!==n&&e===n&&"sort"!==s&&"type"!==s&&!(a instanceof Date))return a;var u=Rr(a,e,r);if(null===u)return a;if("sort"===s)return u;var c=null===n?jr(u,"toDate","toJSDate","")[t]():jr(u,"format","toFormat","toISOString",n);return"display"===s?Or(c):c}}}var Br=",",Pr=".";if(void 0!==window.Intl)try{for(var Mr=(new Intl.NumberFormat).formatToParts(100000.1),Hr=0;Hr<'col-sm-12 col-md-6'f>><'row dt-row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),qr.extend(Wr.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap5",sFilterInput:"form-control form-control-sm",sLengthSelect:"form-select form-select-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),Wr.ext.renderer.pageButton.bootstrap=function(t,e,n,r,o,i){var a,s,l,u=new Wr.Api(t),c=t.oClasses,f=t.oLanguage.oPaginate,d=t.oLanguage.oAria.paginate||{},p=function(e,r){var l,h,v,m,g=function(t){t.preventDefault(),qr(t.currentTarget).hasClass("disabled")||u.page()==t.data.action||u.page(t.data.action).draw("page")};for(l=0,h=r.length;l0?"":" disabled");break;case"previous":a=f.sPrevious,s=m+(o>0?"":" disabled");break;case"next":a=f.sNext,s=m+(o",{class:c.sPageButton+" "+s,id:0===n&&"string"==typeof m?t.sTableId+"_"+m:null}).append(qr("",{href:y?null:"#","aria-controls":t.sTableId,"aria-disabled":y?"true":null,"aria-label":d[m],role:"link","aria-current":"active"===s?"page":null,"data-dt-idx":m,tabindex:y?-1:t.iTabIndex,class:"page-link"}).html(a)).appendTo(e),t.oApi._fnBindAction(v,{action:m},g)}}},h=qr(e);try{l=h.find(document.activeElement).data("dt-idx")}catch(t){}var v=h.children("ul.pagination");v.length?v.empty():v=h.html("
    ").children("ul").addClass("pagination"),p(v,r),void 0!==l&&h.find("[data-dt-idx="+l+"]").trigger("focus")};const zr=Wr;let $r=Qt;var Vr=function(t,e){if(!Wr.versionCheck||!Wr.versionCheck("1.10.10"))throw"DataTables Responsive requires DataTables 1.10.10 or newer";this.s={childNodeStore:{},columns:[],current:[],dt:new Wr.Api(t)},this.s.dt.settings()[0].responsive||(e&&"string"==typeof e.details?e.details={type:e.details}:e&&!1===e.details?e.details={type:!1}:e&&!0===e.details&&(e.details={type:"inline"}),this.c=$r.extend(!0,{},Vr.defaults,Wr.defaults.responsive,e),t.responsive=this,this._constructor())};$r.extend(Vr.prototype,{_constructor:function(){var t=this,e=this.s.dt,n=e.settings()[0],r=$r(window).innerWidth();e.settings()[0]._responsive=this,$r(window).on("resize.dtr orientationchange.dtr",Wr.util.throttle((function(){var e=$r(window).innerWidth();e!==r&&(t._resize(),r=e)}))),n.oApi._fnCallbackReg(n,"aoRowCreatedCallback",(function(n,r,o){-1!==$r.inArray(!1,t.s.current)&&$r(">td, >th",n).each((function(n){var r=e.column.index("toData",n);!1===t.s.current[r]&&$r(this).css("display","none")}))})),e.on("destroy.dtr",(function(){e.off(".dtr"),$r(e.table().body()).off(".dtr"),$r(window).off("resize.dtr orientationchange.dtr"),e.cells(".dtr-control").nodes().to$().removeClass("dtr-control"),$r.each(t.s.current,(function(e,n){!1===n&&t._setColumnVis(e,!0)}))})),this.c.breakpoints.sort((function(t,e){return t.widthe.width?-1:0})),this._classLogic(),this._resizeAuto();var o=this.c.details;!1!==o.type&&(t._detailsInit(),e.on("column-visibility.dtr",(function(){t._timer&&clearTimeout(t._timer),t._timer=setTimeout((function(){t._timer=null,t._classLogic(),t._resizeAuto(),t._resize(!0),t._redrawChildren()}),100)})),e.on("draw.dtr",(function(){t._redrawChildren()})),$r(e.table().node()).addClass("dtr-"+o.type)),e.on("column-reorder.dtr",(function(e,n,r){t._classLogic(),t._resizeAuto(),t._resize(!0)})),e.on("column-sizing.dtr",(function(){t._resizeAuto(),t._resize()})),e.on("column-calc.dt",(function(e,n){for(var r=t.s.current,o=0;o=0&&n.visible.splice(i,1)}})),e.on("preXhr.dtr",(function(){var n=[];e.rows().every((function(){this.child.isShown()&&n.push(this.id(!0))})),e.one("draw.dtr",(function(){t._resizeAuto(),t._resize(),e.rows(n).every((function(){t._detailsDisplay(this,!1)}))}))})),e.on("draw.dtr",(function(){t._controlClass()})).on("init.dtr",(function(n,r,o){"dt"===n.namespace&&(t._resizeAuto(),t._resize(),$r.inArray(!1,t.s.current)&&e.columns.adjust())})),this._resize()},_childNodes:function(t,e,n){var r=e+"-"+n;if(this.s.childNodeStore[r])return this.s.childNodeStore[r];for(var o=[],i=t.cell(e,n).node().childNodes,a=0,s=i.length;a=l&&o(n,e[u].name);else if("not-"===a)for(u=0,c=e.length;u=0;e--)if(i<=a[e].width){s=a[e].name;break}var c=this._columnsVisiblity(s);this.s.current=c;var f=!1;for(e=0,n=l.length;e").append(u).appendTo(l)}$r("").append(a).appendTo(o),"inline"===this.c.details.type&&$r(r).addClass("dtr-inline collapsed"),$r(r).find("[name]").removeAttr("name"),$r(r).css("position","relative");var c=$r("
    ").css({width:1,height:1,overflow:"hidden",clear:"both"}).append(r);c.insertBefore(t.table().node()),a.each((function(n){var r=t.column.index("fromVisible",n);e[r].minWidth=this.offsetWidth||0})),c.remove()}},_responsiveOnlyHidden:function(){var t=this.s.dt;return $r.map(this.s.current,(function(e,n){return!1===t.column(n).visible()||e}))},_setColumnVis:function(t,e){var n=this,r=this.s.dt,o=e?"":"none";$r(r.column(t).header()).css("display",o).toggleClass("dtr-hidden",!e),$r(r.column(t).footer()).css("display",o).toggleClass("dtr-hidden",!e),r.column(t).nodes().to$().css("display",o).toggleClass("dtr-hidden",!e),$r.isEmptyObject(this.s.childNodeStore)||r.cells(null,t).indexes().each((function(t){n._childNodesRestore(r,t.row,t.column)}))},_tabIndexes:function(){var t=this.s.dt,e=t.cells({page:"current"}).nodes().to$(),n=t.settings()[0],r=this.c.details.target;e.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),"number"==typeof r?t.cells(null,r,{page:"current"}).nodes().to$().attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1):("td:first-child, th:first-child"===r&&(r=">td:first-child, >th:first-child"),$r(r,t.rows({page:"current"}).nodes()).attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1))}}),Vr.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],Vr.display={childRow:function(t,e,n){return e?$r(t.node()).hasClass("parent")?(t.child(n(),"child").show(),!0):void 0:t.child.isShown()?(t.child(!1),!1):(t.child(n(),"child").show(),!0)},childRowImmediate:function(t,e,n){return!e&&t.child.isShown()||!t.responsive.hasHidden()?(t.child(!1),!1):(t.child(n(),"child").show(),!0)},modal:function(t){return function(e,n,r,o){if(n){if(!(a=$r("div.dtr-modal-content")).length||e.index()!==a.data("dtr-row-idx"))return null;a.empty().append(r())}else{var i=function(){a.remove(),$r(document).off("keypress.dtr"),$r(e.node()).removeClass("parent"),o()},a=$r('
    ').append($r('
    ').append($r('
    ').data("dtr-row-idx",e.index()).append(r())).append($r('
    ×
    ').click((function(){i()})))).append($r('
    ').click((function(){i()}))).appendTo("body");$r(e.node()).addClass("parent"),$r(document).on("keyup.dtr",(function(t){27===t.keyCode&&(t.stopPropagation(),i())}))}return t&&t.header&&$r("div.dtr-modal-content").prepend("

    "+t.header(e)+"

    "),!0}}},Vr.renderer={listHiddenNodes:function(){return function(t,e,n){var r=this,o=$r('
      '),i=!1;$r.each(n,(function(e,n){if(n.hidden){var a=n.className?'class="'+n.className+'"':"";$r("
    • '+n.title+"
    • ").append($r('').append(r._childNodes(t,n.rowIndex,n.columnIndex))).appendTo(o),i=!0}}));return!!i&&o}},listHidden:function(){return function(t,e,n){var r=$r.map(n,(function(t){var e=t.className?'class="'+t.className+'"':"";return t.hidden?"
    • '+t.title+' '+t.data+"
    • ":""})).join("");return!!r&&$r('
        ').append(r)}},tableAll:function(t){return t=$r.extend({tableClass:""},t),function(e,n,r){var o=$r.map(r,(function(t){return"'+t.title+": "+t.data+""})).join("");return $r('').append(o)}}},Vr.defaults={breakpoints:Vr.breakpoints,auto:!0,details:{display:Vr.display.childRow,renderer:Vr.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var Xr=$r.fn.dataTable.Api;Xr.register("responsive()",(function(){return this})),Xr.register("responsive.index()",(function(t){return{column:(t=$r(t)).data("dtr-index"),row:t.parent().data("dtr-index")}})),Xr.register("responsive.rebuild()",(function(){return this.iterator("table",(function(t){t._responsive&&t._responsive._classLogic()}))})),Xr.register("responsive.recalc()",(function(){return this.iterator("table",(function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())}))})),Xr.register("responsive.hasHidden()",(function(){var t=this.context[0];return!!t._responsive&&-1!==$r.inArray(!1,t._responsive._responsiveOnlyHidden())})),Xr.registerPlural("columns().responsiveHidden()","column().responsiveHidden()",(function(){return this.iterator("column",(function(t,e){return!!t._responsive&&t._responsive._responsiveOnlyHidden()[e]}),1)})),Vr.version="2.5.0",$r.fn.dataTable.Responsive=Vr,$r.fn.DataTable.Responsive=Vr,$r(document).on("preInit.dt.dtr",(function(t,e,n){if("dt"===t.namespace&&($r(e.nTable).hasClass("responsive")||$r(e.nTable).hasClass("dt-responsive")||e.oInit.responsive||Wr.defaults.responsive)){var r=e.oInit.responsive;!1!==r&&new Vr(e,$r.isPlainObject(r)?r:{})}}));let Jr=Qt;var Gr,Kr=zr.Responsive.display,Yr=Kr.modal,Zr=Jr('
        ","
        "],col:[2,"","
        "],tr:[2,"","
        "],td:[3,"","
        "],_default:[0,"",""]};function kt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&D(t,e)?T.merge([t],n):n}function Et(t,e){for(var n=0,r=t.length;n",""]);var Ft=/<|&#?\w+;/;function Ot(t,e,n,r,o){for(var i,a,s,l,u,c,f=e.createDocumentFragment(),d=[],p=0,h=t.length;p-1)o&&o.push(i);else if(u=mt(i),a=kt(f.appendChild(i),"script"),u&&Et(a),n)for(c=0;i=a[c++];)Dt.test(i.type||"")&&n.push(i);return f}var jt=/^([^.]*)(?:\.(.+)|)/;function Nt(){return!0}function Rt(){return!1}function Lt(t,e,n,r,o,i){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)Lt(t,s,n,r,e[s],i);return t}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Rt;else if(!o)return t;return 1===i&&(a=o,o=function(t){return T().off(t),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),t.each((function(){T.event.add(this,e,o,r,n)}))}function Bt(t,e,n){n?(st.set(t,e,!1),T.event.add(t,e,{namespace:!1,handler:function(t){var n,r=st.get(this,e);if(1&t.isTrigger&&this[e]){if(r)(T.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=s.call(arguments),st.set(this,e,r),this[e](),n=st.get(this,e),st.set(this,e,!1),r!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else r&&(st.set(this,e,T.event.trigger(r[0],r.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Nt)}})):void 0===st.get(t,e)&&T.event.add(t,e,Nt)}T.event={global:{},add:function(t,e,n,r,o){var i,a,s,l,u,c,f,d,p,h,v,m=st.get(t);if(it(t))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(vt,o),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(X)||[""]).length;u--;)p=v=(s=jt.exec(e[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=T.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=T.event.special[p]||{},c=T.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=l[p])||((d=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(p,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,c):d.push(c),T.event.global[p]=!0)},remove:function(t,e,n,r,o){var i,a,s,l,u,c,f,d,p,h,v,m=st.hasData(t)&&st.get(t);if(m&&(l=m.events)){for(u=(e=(e||"").match(X)||[""]).length;u--;)if(p=v=(s=jt.exec(e[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=T.event.special[p]||{},d=l[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)c=d[i],!o&&v!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(i,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,h,m.handle)||T.removeEvent(t,p,m.handle),delete l[p])}else for(p in l)T.event.remove(t,p+e[u],n,r,!0);T.isEmptyObject(l)&&st.remove(t,"handle events")}},dispatch:function(t){var e,n,r,o,i,a,s=new Array(arguments.length),l=T.event.fix(t),u=(st.get(this,"events")||Object.create(null))[l.type]||[],c=T.event.special[l.type]||{};for(s[0]=l,e=1;e=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(i=[],a={},n=0;n-1:T.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l\s*$/g;function Ut(t,e){return D(t,"table")&&D(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function Wt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function qt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function zt(t,e){var n,r,o,i,a,s;if(1===e.nodeType){if(st.hasData(t)&&(s=st.get(t).events))for(o in st.remove(e,"handle events"),s)for(n=0,r=s[o].length;n1&&"string"==typeof h&&!m.checkClone&&Mt.test(h))return t.each((function(o){var i=t.eq(o);v&&(e[0]=h.call(this,o,i.html())),Vt(i,e,n,r)}));if(d&&(i=(o=Ot(e,t[0].ownerDocument,!1,t,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(kt(o,"script"),Wt)).length;f0&&Et(a,!l&&kt(t,"script")),s},cleanData:function(t){for(var e,n,r,o=T.event.special,i=0;void 0!==(n=t[i]);i++)if(it(n)){if(e=n[st.expando]){if(e.events)for(r in e.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,e.handle);n[st.expando]=void 0}n[lt.expando]&&(n[lt.expando]=void 0)}}}),T.fn.extend({detach:function(t){return Xt(this,t,!0)},remove:function(t){return Xt(this,t)},text:function(t){return tt(this,(function(t){return void 0===t?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Vt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ut(this,t).appendChild(t)}))},prepend:function(){return Vt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ut(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(T.cleanData(kt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return T.clone(this,t,e)}))},html:function(t){return tt(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Pt.test(t)&&!It[(Ct.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-l-s-.5))||0),l+u}function ce(t,e,n){var r=Kt(t),o=(!m.boxSizingReliable()||n)&&"border-box"===T.css(t,"boxSizing",!1,r),i=o,a=Qt(t,e,r),s="offset"+e[0].toUpperCase()+e.slice(1);if(Jt.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&D(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(t,"display",!1,r))&&t.getClientRects().length&&(o="border-box"===T.css(t,"boxSizing",!1,r),(i=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ue(t,e,n||(o?"border":"content"),i,r,a)+"px"}function fe(t,e,n,r,o){return new fe.prototype.init(t,e,n,r,o)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Qt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,i,a,s=ot(e),l=Gt.test(e),u=t.style;if(l||(e=oe(s)),a=T.cssHooks[e]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,r))?o:u[e];"string"===(i=typeof n)&&(o=pt.exec(n))&&o[1]&&(n=bt(t,e,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var o,i,a,s=ot(e);return Gt.test(e)||(e=oe(s)),(a=T.cssHooks[e]||T.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=Qt(t,e,r)),"normal"===o&&e in se&&(o=se[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],(function(t,e){T.cssHooks[e]={get:function(t,n,r){if(n)return!ie.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ce(t,e,r):Yt(t,ae,(function(){return ce(t,e,r)}))},set:function(t,n,r){var o,i=Kt(t),a=!m.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(t,"boxSizing",!1,i),l=r?ue(t,e,r,s,i):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-ue(t,e,"border",!1,i)-.5)),l&&(o=pt.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),le(0,n,l)}}})),T.cssHooks.marginLeft=te(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Qt(t,"marginLeft"))||t.getBoundingClientRect().left-Yt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(t,e){T.cssHooks[t+e]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[t+ht[r]+e]=i[r]||i[r-2]||i[0];return o}},"margin"!==t&&(T.cssHooks[t+e].set=le)})),T.fn.extend({css:function(t,e){return tt(this,(function(t,e,n){var r,o,i={},a=0;if(Array.isArray(e)){for(r=Kt(t),o=e.length;a1)}}),T.Tween=fe,fe.prototype={constructor:fe,init:function(t,e,n,r,o,i){this.elem=t,this.prop=n,this.easing=o||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var t=fe.propHooks[this.prop];return t&&t.get?t.get(this):fe.propHooks._default.get(this)},run:function(t){var e,n=fe.propHooks[this.prop];return this.options.duration?this.pos=e=T.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):fe.propHooks._default.set(this),this}},fe.prototype.init.prototype=fe.prototype,fe.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=T.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){T.fx.step[t.prop]?T.fx.step[t.prop](t):1!==t.elem.nodeType||!T.cssHooks[t.prop]&&null==t.elem.style[oe(t.prop)]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},fe.propHooks.scrollTop=fe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},T.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},T.fx=fe.prototype.init,T.fx.step={};var de,pe,he=/^(?:toggle|show|hide)$/,ve=/queueHooks$/;function me(){pe&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(me):r.setTimeout(me,T.fx.interval),T.fx.tick())}function ge(){return r.setTimeout((function(){de=void 0})),de=Date.now()}function ye(t,e){var n,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)o["margin"+(n=ht[r])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function be(t,e,n){for(var r,o=(we.tweeners[e]||[]).concat(we.tweeners["*"]),i=0,a=o.length;i1)},removeAttr:function(t){return this.each((function(){T.removeAttr(this,t)}))}}),T.extend({attr:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===t.getAttribute?T.prop(t,e,n):(1===i&&T.isXMLDoc(t)||(o=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?xe:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(r=o.get(t,e))?r:null==(r=T.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&D(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,o=e&&e.match(X);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}}),xe={set:function(t,e,n){return!1===e?T.removeAttr(t,n):t.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=_e[e]||T.find.attr;_e[e]=function(t,e,r){var o,i,a=e.toLowerCase();return r||(i=_e[a],_e[a]=o,o=null!=n(t,e,r)?a:null,_e[a]=i),o}}));var Se=/^(?:input|select|textarea|button)$/i,Ae=/^(?:a|area)$/i;function Te(t){return(t.match(X)||[]).join(" ")}function Ce(t){return t.getAttribute&&t.getAttribute("class")||""}function De(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(X)||[]}T.fn.extend({prop:function(t,e){return tt(this,T.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[T.propFix[t]||t]}))}}),T.extend({prop:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(t)||(e=T.propFix[e]||e,o=T.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:t[e]=n:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):Se.test(t.nodeName)||Ae.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(t){var e,n,r,o,i,a;return g(t)?this.each((function(e){T(this).addClass(t.call(this,e,Ce(this)))})):(e=De(t)).length?this.each((function(){if(r=Ce(this),n=1===this.nodeType&&" "+Te(r)+" "){for(i=0;i-1;)n=n.replace(" "+o+" "," ");a=Te(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,r,o,i,a=typeof t,s="string"===a||Array.isArray(t);return g(t)?this.each((function(n){T(this).toggleClass(t.call(this,n,Ce(this),e),e)})):"boolean"==typeof e&&s?e?this.addClass(t):this.removeClass(t):(n=De(t),this.each((function(){if(s)for(i=T(this),o=0;o-1)return!0;return!1}});var Ie=/\r/g;T.fn.extend({val:function(t){var e,n,r,o=this[0];return arguments.length?(r=g(t),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?t.call(this,n,T(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(t){return null==t?"":t+""}))),(e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))}))):o?(e=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Ie,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:Te(T.text(t))}},select:{get:function(t){var e,n,r,o=t.options,i=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=T.inArray(T(t).val(),e)>-1}},m.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var ke=r.location,Ee={guid:Date.now()},Fe=/\?/;T.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Oe=/^(?:focusinfocus|focusoutblur)$/,je=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,n,o){var i,a,s,l,u,c,f,d,h=[n||b],v=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Oe.test(v+T.event.triggered)&&(v.indexOf(".")>-1&&(m=v.split("."),v=m.shift(),m.sort()),u=v.indexOf(":")<0&&"on"+v,(t=t[T.expando]?t:new T.Event(v,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:T.makeArray(e,[t]),f=T.event.special[v]||{},o||!f.trigger||!1!==f.trigger.apply(n,e))){if(!o&&!f.noBubble&&!y(n)){for(l=f.delegateType||v,Oe.test(l+v)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!t.isPropagationStopped();)d=a,t.type=i>1?l:f.bindType||v,(c=(st.get(a,"events")||Object.create(null))[t.type]&&st.get(a,"handle"))&&c.apply(a,e),(c=u&&a[u])&&c.apply&&it(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=v,o||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!it(n)||u&&g(n[v])&&!y(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=v,t.isPropagationStopped()&&d.addEventListener(v,je),n[v](),t.isPropagationStopped()&&d.removeEventListener(v,je),T.event.triggered=void 0,s&&(n[u]=s)),t.result}},simulate:function(t,e,n){var r=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(r,null,e)}}),T.fn.extend({trigger:function(t,e){return this.each((function(){T.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return T.event.trigger(t,e,n,!0)}});var Ne=/\[\]$/,Re=/\r?\n/g,Le=/^(?:submit|button|image|reset|file)$/i,Be=/^(?:input|select|textarea|keygen)/i;function Pe(t,e,n,r){var o;if(Array.isArray(e))T.each(e,(function(e,o){n||Ne.test(t)?r(t,o):Pe(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,r)}));else if(n||"object"!==_(e))r(t,e);else for(o in e)Pe(t+"["+o+"]",e[o],n,r)}T.param=function(t,e){var n,r=[],o=function(t,e){var n=g(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,(function(){o(this.name,this.value)}));else for(n in t)Pe(n,t[n],e,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=T.prop(this,"elements");return t?T.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!T(this).is(":disabled")&&Be.test(this.nodeName)&&!Le.test(t)&&(this.checked||!Tt.test(t))})).map((function(t,e){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(t){return{name:e.name,value:t.replace(Re,"\r\n")}})):{name:e.name,value:n.replace(Re,"\r\n")}})).get()}});var Me=/%20/g,He=/#.*$/,Ue=/([?&])_=[^&]*/,We=/^(.*?):[ \t]*([^\r\n]*)$/gm,qe=/^(?:GET|HEAD)$/,ze=/^\/\//,$e={},Ve={},Xe="*/".concat("*"),Je=b.createElement("a");function Ge(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,o=0,i=e.toLowerCase().match(X)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Ke(t,e,n,r){var o={},i=t===Ve;function a(s){var l;return o[s]=!0,T.each(t[s]||[],(function(t,s){var u=s(e,n,r);return"string"!=typeof u||i||o[u]?i?!(l=u):void 0:(e.dataTypes.unshift(u),a(u),!1)})),l}return a(e.dataTypes[0])||!o["*"]&&a("*")}function Ye(t,e){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:r||(r={}))[n]=e[n]);return r&&T.extend(!0,t,r),t}Je.href=ke.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ye(Ye(t,T.ajaxSettings),e):Ye(T.ajaxSettings,t)},ajaxPrefilter:Ge($e),ajaxTransport:Ge(Ve),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,o,i,a,s,l,u,c,f,d,p=T.ajaxSetup({},e),h=p.context||p,v=p.context&&(h.nodeType||h.jquery)?T(h):T.event,m=T.Deferred(),g=T.Callbacks("once memory"),y=p.statusCode||{},w={},x={},_="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(u){if(!a)for(a={};e=We.exec(i);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(t,e){return null==u&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)S.always(t[S.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||_;return n&&n.abort(e),A(0,e),this}};if(m.promise(S),p.url=((t||p.url||ke.href)+"").replace(ze,ke.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(X)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Je.protocol+"//"+Je.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=T.param(p.data,p.traditional)),Ke($e,p,e,S),u)return S;for(f in(c=T.event&&p.global)&&0==T.active++&&T.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!qe.test(p.type),o=p.url.replace(He,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Me,"+")):(d=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Fe.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ue,"$1"),d=(Fe.test(o)?"&":"?")+"_="+Ee.guid+++d),p.url=o+d),p.ifModified&&(T.lastModified[o]&&S.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&S.setRequestHeader("If-None-Match",T.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Xe+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,S,p)||u))return S.abort();if(_="abort",g.add(p.complete),S.done(p.success),S.fail(p.error),n=Ke(Ve,p,e,S)){if(S.readyState=1,c&&v.trigger("ajaxSend",[S,p]),u)return S;p.async&&p.timeout>0&&(s=r.setTimeout((function(){S.abort("timeout")}),p.timeout));try{u=!1,n.send(w,A)}catch(t){if(u)throw t;A(-1,t)}}else A(-1,"No Transport");function A(t,e,a,l){var f,d,b,w,x,_=e;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",S.readyState=t>0?4:0,f=t>=200&&t<300||304===t,a&&(w=function(t,e,n){for(var r,o,i,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,S,a)),!f&&T.inArray("script",p.dataTypes)>-1&&T.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),w=function(t,e,n,r){var o,i,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(i=c.shift();i;)if(t.responseFields[i]&&(n[t.responseFields[i]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=u[l+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+i}}}return{state:"success",data:e}}(p,w,S,f),f?(p.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=x),(x=S.getResponseHeader("etag"))&&(T.etag[o]=x)),204===t||"HEAD"===p.type?_="nocontent":304===t?_="notmodified":(_=w.state,d=w.data,f=!(b=w.error))):(b=_,!t&&_||(_="error",t<0&&(t=0))),S.status=t,S.statusText=(e||_)+"",f?m.resolveWith(h,[d,_,S]):m.rejectWith(h,[S,_,b]),S.statusCode(y),y=void 0,c&&v.trigger(f?"ajaxSuccess":"ajaxError",[S,p,f?d:b]),g.fireWith(h,[S,_]),c&&(v.trigger("ajaxComplete",[S,p]),--T.active||T.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,n){return T.get(t,e,n,"json")},getScript:function(t,e){return T.get(t,void 0,e,"script")}}),T.each(["get","post"],(function(t,e){T[e]=function(t,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:o,data:n,success:r},T.isPlainObject(t)&&t))}})),T.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),T._evalUrl=function(t,e,n){return T.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){T.globalEval(t,e,n)}})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(g(t)&&(t=t.call(this[0])),e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return g(t)?this.each((function(e){T(this).wrapInner(t.call(this,e))})):this.each((function(){var e=T(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=g(t);return this.each((function(n){T(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(t){return!T.expr.pseudos.visible(t)},T.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var Ze={0:200,1223:204},Qe=T.ajaxSettings.xhr();m.cors=!!Qe&&"withCredentials"in Qe,m.ajax=Qe=!!Qe,T.ajaxTransport((function(t){var e,n;if(m.cors||Qe&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ze[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),T.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return T.globalEval(t),t}}}),T.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),T.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,o){e=T("