diff --git a/angular.json b/angular.json
index b141be7..54af60f 100644
--- a/angular.json
+++ b/angular.json
@@ -15,26 +15,64 @@
"prefix": "app",
"architect": {
"build": {
- "builder": "@angular-devkit/build-angular:browser",
+ "builder": "@angular/build:application",
"options": {
- "outputPath": "docs",
+ "outputPath": {
+ "base": "docs",
+ "browser": ""
+ },
"index": "src/index.html",
- "main": "src/main.ts",
- "polyfills": "src/polyfills.ts",
+ "polyfills": [],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
- "src/styles.scss"
+ "src/styles.scss",
+ {
+ "input": "src/themes/material-light.scss",
+ "bundleName": "theme-material-light",
+ "inject": false
+ },
+ {
+ "input": "src/themes/material-dark.scss",
+ "bundleName": "theme-material-dark",
+ "inject": false
+ },
+ {
+ "input": "src/themes/fluent-light.scss",
+ "bundleName": "theme-fluent-light",
+ "inject": false
+ },
+ {
+ "input": "src/themes/fluent-dark.scss",
+ "bundleName": "theme-fluent-dark",
+ "inject": false
+ },
+ {
+ "input": "src/themes/bootstrap-light.scss",
+ "bundleName": "theme-bootstrap-light",
+ "inject": false
+ },
+ {
+ "input": "src/themes/bootstrap-dark.scss",
+ "bundleName": "theme-bootstrap-dark",
+ "inject": false
+ },
+ {
+ "input": "src/themes/indigo-light.scss",
+ "bundleName": "theme-indigo-light",
+ "inject": false
+ },
+ {
+ "input": "src/themes/indigo-dark.scss",
+ "bundleName": "theme-indigo-dark",
+ "inject": false
+ }
],
- "scripts": [
- "./node_modules/hammerjs/hammer.min.js"
- ],
- "vendorChunk": true,
+ "scripts": [],
"extractLicenses": false,
- "buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true,
@@ -42,12 +80,10 @@
"includePaths": [
"node_modules"
]
- }
+ },
+ "browser": "src/main.ts"
},
"configurations": {
- "es5": {
- "tsConfig": "tsconfig-es5.app.json"
- },
"production": {
"fileReplacements": [
{
@@ -60,8 +96,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
- "vendorChunk": false,
- "buildOptimizer": true,
"budgets": [
{
"type": "initial",
@@ -75,42 +109,35 @@
}
]
}
- },
- "defaultConfiguration": ""
+ }
},
"serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
+ "builder": "@angular/build:dev-server",
"options": {
- "browserTarget": "inventorymanagementapp:build"
+ "buildTarget": "inventorymanagementapp:build"
},
"configurations": {
"production": {
- "browserTarget": "inventorymanagementapp:build:production"
- },
- "es5": {
- "browserTarget": "inventorymanagementapp:build:es5"
+ "buildTarget": "inventorymanagementapp:build:production"
}
}
},
"extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
+ "builder": "@angular/build:extract-i18n",
"options": {
- "browserTarget": "inventorymanagementapp:build"
+ "buildTarget": "inventorymanagementapp:build"
}
},
"test": {
- "builder": "@angular-devkit/build-angular:karma",
+ "builder": "@angular/build:karma",
"options": {
- "main": "src/test.ts",
- "polyfills": "src/polyfills.ts",
+ "polyfills": [],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"styles": [
"src/styles.scss"
],
- "scripts": [
- "./node_modules/hammerjs/hammer.min.js"
- ],
+ "scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
@@ -122,22 +149,48 @@
}
}
},
- "e2e": {
- "builder": "@angular-devkit/build-angular:protractor",
+ "lint": {
+ "builder": "@angular-eslint/builder:lint",
"options": {
- "protractorConfig": "e2e/protractor.conf.js",
- "devServerTarget": "inventorymanagementapp:serve"
- },
- "configurations": {
- "production": {
- "devServerTarget": "inventorymanagementapp:serve:production"
- }
+ "lintFilePatterns": [
+ "src/**/*.ts",
+ "src/**/*.html"
+ ]
}
}
}
}
},
"cli": {
- "analytics": false
+ "analytics": false,
+ "schematicCollections": [
+ "angular-eslint"
+ ]
+ },
+ "schematics": {
+ "@schematics/angular:component": {
+ "type": "component"
+ },
+ "@schematics/angular:directive": {
+ "type": "directive"
+ },
+ "@schematics/angular:service": {
+ "type": "service"
+ },
+ "@schematics/angular:guard": {
+ "typeSeparator": "."
+ },
+ "@schematics/angular:interceptor": {
+ "typeSeparator": "."
+ },
+ "@schematics/angular:module": {
+ "typeSeparator": "."
+ },
+ "@schematics/angular:pipe": {
+ "typeSeparator": "."
+ },
+ "@schematics/angular:resolver": {
+ "typeSeparator": "."
+ }
}
-}
\ No newline at end of file
+}
diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt
new file mode 100644
index 0000000..aa71fdc
--- /dev/null
+++ b/docs/3rdpartylicenses.txt
@@ -0,0 +1,1540 @@
+
+--------------------------------------------------------------------------------
+Package: fflate
+License: "MIT"
+
+MIT License
+
+Copyright (c) 2026 Arjun Barrett
+
+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.
+--------------------------------------------------------------------------------
+Package: @angular/core
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: rxjs
+License: "Apache-2.0"
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+--------------------------------------------------------------------------------
+Package: tslib
+License: "0BSD"
+
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+--------------------------------------------------------------------------------
+Package: @angular/common
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: @angular/platform-browser
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: @angular/router
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: lodash-es
+License: "MIT"
+
+Copyright OpenJS Foundation and other contributors
+
+Based on Underscore.js, copyright Jeremy Ashkenas,
+DocumentCloud and Investigative Reporters & Editors
+
+This software consists of voluntary contributions made by many
+individuals. For exact contribution history, see the revision history
+available at https://github.com/lodash/lodash
+
+The following license applies to all parts of this software except as
+documented below:
+
+====
+
+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.
+
+====
+
+Copyright and related rights for sample code are waived via CC0. Sample
+code is defined as all source code displayed within the prose of the
+documentation.
+
+CC0: http://creativecommons.org/publicdomain/zero/1.0/
+
+====
+
+Files located in the node_modules and vendor directories are externally
+maintained libraries used by this software which have their own
+licenses; we recommend you read them, as their terms may differ from the
+terms above.
+
+--------------------------------------------------------------------------------
+Package: igniteui-i18n-core
+License: "MIT"
+
+MIT License
+
+Copyright (c) 2025 INFRAGISTICS
+
+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.
+--------------------------------------------------------------------------------
+Package: @angular/animations
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: igniteui-angular
+License: "SEE LICENSE IN LICENSE"
+
+=================================================================
+
+Dual License for Ignite UI for Angular
+
+=================================================================
+
+This software package is offered under a dual-license model, which allows for both commercial and permissive open-source use, depending on the components, modules, directives, and services being used.
+
+It is crucial to understand which license applies to which part of the package.
+
+-----------------------------------------------------------------
+
+MIT License
+
+-----------------------------------------------------------------
+
+The MIT License applies exclusively to the components (encompassing all related modules and directives), directives, and services listed below and their associated source code. All other parts of this package remain under the Infragistics Commercial License.
+
+Covered Components, Directives and Services with MIT License:
+
+- igx-accordion
+- igx-action-strip
+- igxAutocomplete
+- igx-avatar
+- igx-badge
+- igx-banner
+- igx-bottom-nav
+- igxButton
+- igx-card
+- igx-carousel
+- igx-chat
+- igx-checkbox
+- igx-chip
+- igx-circular-bar
+- igx-combo
+- igx-date-picker
+- igx-date-range-picker
+- igx-dialog
+- igx-divider
+- igx-drop-down
+- igx-expansion-panel
+- igx-grid-lite
+- igx-icon
+- igx-input-group
+- igx-linear-bar
+- igx-list
+- igx-navbar
+- igx-nav-drawer
+- igx-paginator
+- igx-radio
+- igx-radio-group
+- igx-rating
+- igx-select
+- igx-simple-combo
+- igx-slider
+- igx-snackbar
+- igx-splitter
+- igx-switch
+- igx-tabs
+- igx-toast
+- igx-tooltip
+- igx-tree
+- igx-time-picker
+- igx-stepper
+- igx-month-picker
+- igx-action-strip
+- igx-buttongroup
+- igx-calendar
+- igx-chip-area
+- igxDateTimeEditor
+- igxDrag
+- igxDrop
+- igxFor
+- igxIconButton
+- igxInput
+- igxLabel
+- igxLayout
+- igxMask
+- igxRipple
+- IgxOverlayService
+- IgxTextHighlightDirective
+- IgxTextHighlightService
+- igxToggle
+
+The MIT License applies exclusively to the components (encompassing all related modules and directives), directives, and services listed above and their associated source code.
+All other parts of this package remain under the Infragistics Commercial License.
+
+The MIT License (MIT)
+
+Copyright (c) 2025 Infragistics
+
+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.
+
+For details, see https://opensource.org/licenses/MIT
+
+-----------------------------------------------------------------
+
+Infragistics Commercial License
+
+-----------------------------------------------------------------
+
+All components (encompassing all related modules and directives), modules, directives, services, and code within this package, except those listed under the MIT License section above, are licensed under the Infragistics Commercial License (EULA).
+
+This is a commercial product, requiring a valid paid-for license for commercial use.
+This product is free to use for non-commercial educational use for students in K through 12 grades
+or University programs, and for educators to use in a classroom setting as examples/tools in their curriculum.
+
+To verify eligibility for free usage, please register for trial at:
+https://www.infragistics.com/angular and open a support ticket with a request for free license.
+
+To acquire a license for commercial usage, please register for trial at:
+https://www.infragistics.com/angular and refer to the purchasing options in the pricing section on the product page.
+
+This repository includes code originally copied from https://github.com/zloirock/core-js
+in the projects/igniteui-angular/src/lib/core/setImmediate.ts file. The original version of the code is MIT licensed. See the file header for details.
+
+© Copyright 2025 INFRAGISTICS. All Rights Reserved.
+The Infragistics Ultimate license & copyright applies to this distribution.
+For information on that license, please go to:
+https://www.infragistics.com/legal/license
+
+--------------------------------------------------------------------------------
+Package: @igniteui/material-icons-extended
+License: "MIT"
+
+MIT License
+
+Copyright (c) 2020 Infragistics
+
+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.
+
+--------------------------------------------------------------------------------
+Package: @angular/forms
+License: "MIT"
+
+The MIT License
+
+Copyright (c) 2010-2026 Google LLC. https://angular.dev/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.
+
+--------------------------------------------------------------------------------
+Package: igniteui-angular-core
+License: "Infragistics(R) Ultimate license (http://www.infragistics.com/legal/ultimate/license/)"
+
+==============================================================
+==== Ignite UI(R) for Angular 2023 Volume 2 ====
+==============================================================
+
+==============================================================
+==== Distributed under Infragistics(R) Ultimate license ====
+==== agreement. You have to fully read, understand, ====
+==== and agree with the following license prior to ====
+==== using this copy of the Ignite UI product: ====
+==== http://www.infragistics.com/legal/ultimate/license/ ====
+==============================================================
+
+
+Getting Started with Ignite UI for Angular
+--------------------------------------------------------------
+You can find getting started information related to this product here:
+
+http://igniteui.com/
+
+THIRD PARTY COMPONENTS, USAGE & RESTRICTIONS.
+ A. The SOFTWARE may include certain third party components ("MS-PL Components") licensed under the Microsoft Permissive License ("MS-PL"). A list of included MS-PL Components and their respective licenses shall be provided upon request.
+ To the extent required by the MS-PL, the terms of such license will apply in lieu of the terms of this Agreement, and Infragistics, Inc. hereby represents and warrants that the license granted to such MS-PL Components will be no less broad than the license granted in this Agreement. To the extent the terms of the license applicable to MS-PL Components prohibit any of the restrictions in this agreement with respect to such MS-PL Components, such restrictions will not apply to such MS-PL Components. The MS-PL Components are provided "as is" by the third party licensors who disclaim all liabilities, damages, (even if they have been advised of the possibility of such damages), warranties, indemnities and other obligations of any kind, express or implied, with regard to the MS-PL Components. The MS-PL Components are excluded from any indemnity provided by Infragistics Inc. in this license. Nothing in the foregoing affects any performance warranty provided by Infragistics Inc. with regard to the SOFTWARE as a whole.
+
+B. The SOFTWARE may also include third party components ("Other Components") licensed under, and subject to the permission of the MIT License found at https://opensource.org/licenses/MIT. The Other Components are 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 OTHER COMPONENTS OR THE USE OF OTHER DEALINGS IN THE OTHER COMPONENTS.
+
+C. Note: To the best of our knowledge, Microsoft� doesn't forbid third-party companies from developing a product for the XPS document generation. However, according to the XML Paper Specification Patent License, we need to provide the following notice for your information:
+ This product may incorporate intellectual property owned by Microsoft Corporation. The terms and conditions upon which Microsoft is licensing such intellectual property can be found at http://www.microsoft.com/whdc/XPS/XpsLicense.mspx.
+
+--------------------------------------------------------------------------------
+Package: igniteui-angular-charts
+License: "Infragistics(R) Ultimate license (http://www.infragistics.com/legal/ultimate/license/)"
+
+==============================================================
+==== Ignite UI(R) for Angular 2023 Volume 2 ====
+==============================================================
+
+==============================================================
+==== Distributed under Infragistics(R) Ultimate license ====
+==== agreement. You have to fully read, understand, ====
+==== and agree with the following license prior to ====
+==== using this copy of the Ignite UI product: ====
+==== http://www.infragistics.com/legal/ultimate/license/ ====
+==============================================================
+
+
+Getting Started with Ignite UI for Angular
+--------------------------------------------------------------
+You can find getting started information related to this product here:
+
+http://igniteui.com/
+
+THIRD PARTY COMPONENTS, USAGE & RESTRICTIONS.
+ A. The SOFTWARE may include certain third party components ("MS-PL Components") licensed under the Microsoft Permissive License ("MS-PL"). A list of included MS-PL Components and their respective licenses shall be provided upon request.
+ To the extent required by the MS-PL, the terms of such license will apply in lieu of the terms of this Agreement, and Infragistics, Inc. hereby represents and warrants that the license granted to such MS-PL Components will be no less broad than the license granted in this Agreement. To the extent the terms of the license applicable to MS-PL Components prohibit any of the restrictions in this agreement with respect to such MS-PL Components, such restrictions will not apply to such MS-PL Components. The MS-PL Components are provided "as is" by the third party licensors who disclaim all liabilities, damages, (even if they have been advised of the possibility of such damages), warranties, indemnities and other obligations of any kind, express or implied, with regard to the MS-PL Components. The MS-PL Components are excluded from any indemnity provided by Infragistics Inc. in this license. Nothing in the foregoing affects any performance warranty provided by Infragistics Inc. with regard to the SOFTWARE as a whole.
+
+B. The SOFTWARE may also include third party components ("Other Components") licensed under, and subject to the permission of the MIT License found at https://opensource.org/licenses/MIT. The Other Components are 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 OTHER COMPONENTS OR THE USE OF OTHER DEALINGS IN THE OTHER COMPONENTS.
+
+C. Note: To the best of our knowledge, Microsoft� doesn't forbid third-party companies from developing a product for the XPS document generation. However, according to the XML Paper Specification Patent License, we need to provide the following notice for your information:
+ This product may incorporate intellectual property owned by Microsoft Corporation. The terms and conditions upon which Microsoft is licensing such intellectual property can be found at http://www.microsoft.com/whdc/XPS/XpsLicense.mspx.
+
+--------------------------------------------------------------------------------
+Package: @lit/reactive-element
+License: "BSD-3-Clause"
+
+BSD 3-Clause License
+
+Copyright (c) 2017 Google LLC. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+--------------------------------------------------------------------------------
+Package: lit-html
+License: "BSD-3-Clause"
+
+BSD 3-Clause License
+
+Copyright (c) 2017 Google LLC. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------------------
+Package: lit-element
+License: "BSD-3-Clause"
+
+BSD 3-Clause License
+
+Copyright (c) 2017 Google LLC. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+--------------------------------------------------------------------------------
+Package: igniteui-trial-watermark
+License: "Apache-2.0"
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+--------------------------------------------------------------------------------
+Package: html2canvas
+License: "MIT"
+
+Copyright (c) 2012 Niklas von Hertzen
+
+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.
+--------------------------------------------------------------------------------
+Package: dompurify
+License: "(MPL-2.0 OR Apache-2.0)"
+
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+--------------------------------------------------------------------------------
+Package: core-js
+License: "MIT"
+
+Copyright (c) 2013–2025 Denis Pushkarev (zloirock.ru)
+Copyright (c) 2025–2026 CoreJS Company (core-js.io)
+
+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.
+
+--------------------------------------------------------------------------------
+Package: performance-now
+License: "MIT"
+
+Copyright (c) 2013 Braveg1rl
+
+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.
+--------------------------------------------------------------------------------
+Package: raf
+License: "MIT"
+
+Copyright 2013 Chris Dickinson
+
+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.
+
+--------------------------------------------------------------------------------
+Package: rgbcolor
+License: "MIT OR SEE LICENSE IN FEEL-FREE.md"
+
+Copyright (c) 2016 Stoyan Stefanov, http://phpied.com/
+
+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.
+
+
+Exemptions
+==========
+
+Please either apply this, the MIT license, or the license in './FEEL-FREE.md'
+
+--------------------------------------------------------------------------------
+Package: canvg
+License: "MIT"
+
+The MIT License (MIT)
+
+Copyright (c) 2010 - present Gabe Lerner (gabelerner@gmail.com) - https://github.com/canvg/canvg
+
+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.
+
+--------------------------------------------------------------------------------
+Package: @babel/runtime
+License: "MIT"
+
+MIT License
+
+Copyright (c) 2014-present Sebastian McKenzie and other contributors
+
+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.
+
+--------------------------------------------------------------------------------
+Package: svg-pathdata
+License: "MIT"
+
+The MIT License (MIT)
+Copyright © 2017 Nicolas Froidure
+
+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.
+
+--------------------------------------------------------------------------------
+Package: stackblur-canvas
+License: "MIT"
+
+Copyright (c) 2010 Mario Klingemann
+
+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.
+
+--------------------------------------------------------------------------------
+Package: iobuffer
+License: "MIT"
+
+The MIT License (MIT)
+
+Copyright (c) 2015 Michaël Zasso
+
+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.
+
+
+--------------------------------------------------------------------------------
+Package: pako
+License: "(MIT AND Zlib)"
+
+(The MIT License)
+
+Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
+
+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.
+
+--------------------------------------------------------------------------------
+Package: fast-png
+License: "MIT"
+
+MIT License
+
+Copyright (c) 2015 Michaël Zasso
+
+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.
+
+--------------------------------------------------------------------------------
+Package: jspdf
+License: "MIT"
+
+Copyright
+(c) 2010-2025 James Hall, https://github.com/MrRio/jsPDF
+(c) 2015-2025 yWorks GmbH, https://www.yworks.com/
+
+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.
+
+--------------------------------------------------------------------------------
diff --git a/docs/assets/GitHub/github.svg b/docs/assets/GitHub/github.svg
new file mode 100644
index 0000000..0358b9a
--- /dev/null
+++ b/docs/assets/GitHub/github.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/assets/im-logo.svg b/docs/assets/im-logo.svg
new file mode 100644
index 0000000..5f9af91
--- /dev/null
+++ b/docs/assets/im-logo.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/docs/assets/indigo-design.svg b/docs/assets/indigo-design.svg
new file mode 100644
index 0000000..d1651e7
--- /dev/null
+++ b/docs/assets/indigo-design.svg
@@ -0,0 +1,183 @@
+
+
+
diff --git a/docs/assets/products/Apple-AirPods-Pro.png b/docs/assets/products/Apple-AirPods-Pro.png
new file mode 100644
index 0000000..f7c90e3
Binary files /dev/null and b/docs/assets/products/Apple-AirPods-Pro.png differ
diff --git a/docs/assets/products/BenQ-TK850.png b/docs/assets/products/BenQ-TK850.png
new file mode 100644
index 0000000..bd75cfc
Binary files /dev/null and b/docs/assets/products/BenQ-TK850.png differ
diff --git a/docs/assets/products/Broncolor-Siros-400L.png b/docs/assets/products/Broncolor-Siros-400L.png
new file mode 100644
index 0000000..7771e03
Binary files /dev/null and b/docs/assets/products/Broncolor-Siros-400L.png differ
diff --git a/docs/assets/products/Canon-EOS-R5.jpg b/docs/assets/products/Canon-EOS-R5.jpg
new file mode 100644
index 0000000..e9fd7b8
Binary files /dev/null and b/docs/assets/products/Canon-EOS-R5.jpg differ
diff --git a/docs/assets/products/Canon-RF-85mm-f1.2L.png b/docs/assets/products/Canon-RF-85mm-f1.2L.png
new file mode 100644
index 0000000..d36275f
Binary files /dev/null and b/docs/assets/products/Canon-RF-85mm-f1.2L.png differ
diff --git a/docs/assets/products/DJI-Mavic-Air-2.png b/docs/assets/products/DJI-Mavic-Air-2.png
new file mode 100644
index 0000000..f10a1ec
Binary files /dev/null and b/docs/assets/products/DJI-Mavic-Air-2.png differ
diff --git a/docs/assets/products/GoPro-HERO8-Black.png b/docs/assets/products/GoPro-HERO8-Black.png
new file mode 100644
index 0000000..56eb6d3
Binary files /dev/null and b/docs/assets/products/GoPro-HERO8-Black.png differ
diff --git a/docs/assets/products/Lenovo-14-IdeaPad-Flex5.png b/docs/assets/products/Lenovo-14-IdeaPad-Flex5.png
new file mode 100644
index 0000000..0e51820
Binary files /dev/null and b/docs/assets/products/Lenovo-14-IdeaPad-Flex5.png differ
diff --git a/docs/assets/products/Rode-Wireless-GO-Black.png b/docs/assets/products/Rode-Wireless-GO-Black.png
new file mode 100644
index 0000000..14417f2
Binary files /dev/null and b/docs/assets/products/Rode-Wireless-GO-Black.png differ
diff --git a/docs/assets/products/Sony-A8H-55-4K-OLED.png b/docs/assets/products/Sony-A8H-55-4K-OLED.png
new file mode 100644
index 0000000..2462e60
Binary files /dev/null and b/docs/assets/products/Sony-A8H-55-4K-OLED.png differ
diff --git a/docs/assets/responsive.gif b/docs/assets/responsive.gif
new file mode 100644
index 0000000..76ecc95
Binary files /dev/null and b/docs/assets/responsive.gif differ
diff --git a/docs/chunk-ACAMUYGZ.js b/docs/chunk-ACAMUYGZ.js
new file mode 100644
index 0000000..3e1463b
--- /dev/null
+++ b/docs/chunk-ACAMUYGZ.js
@@ -0,0 +1,5 @@
+import{d as OQ}from"./chunk-IFGU66OU.js";var MQ=OQ((nt,st)=>{(function(IA,P){typeof nt=="object"&&typeof st<"u"?st.exports=P():typeof define=="function"&&define.amd?define(P):(IA=typeof globalThis<"u"?globalThis:IA||self,IA.html2canvas=P())})(nt,(function(){"use strict";var IA=function(e,A){return IA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var B in r)Object.prototype.hasOwnProperty.call(r,B)&&(t[B]=r[B])},IA(e,A)};function P(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");IA(e,A);function t(){this.constructor=e}e.prototype=A===null?Object.create(A):(t.prototype=A.prototype,new t)}var ir=function(){return ir=Object.assign||function(A){for(var t,r=1,B=arguments.length;r0&&n[n.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]=55296&&B<=56319&&t>10)+55296,s%1024+56320)),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},at="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gn=typeof Uint8Array>"u"?[]:new Uint8Array(256),fe=0;fe"u"?[]:new Uint8Array(256),Ue=0;Ue>4,Q[B++]=(s&15)<<4|i>>2,Q[B++]=(i&3)<<6|a&63;return o},cn=function(e){for(var A=e.length,t=[],r=0;r>vA,ln=1<>vA,Un=ot+fn,Fn=Un,hn=32,dn=Fn+hn,En=65536>>or,Hn=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>vA],t=(t<>vA)],t=(t<>or),t=this.index[t],t+=A>>vA&pn,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256),Fe=0;Fewt?(B.push(!0),i-=wt):B.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(s),t.push(Cr);if(i===Dn||i===wr){if(s===0)return r.push(s),t.push(yA);var a=t[s-1];return Rn.indexOf(a)===-1?(r.push(r[s-1]),t.push(a)):(r.push(s),t.push(yA))}if(r.push(s),i===On)return t.push(A==="strict"?ur:$A);if(i===ht||i===Sn)return t.push(yA);if(i===Mn)return n>=131072&&n<=196605||n>=196608&&n<=262141?t.push($A):t.push(yA);t.push(i)}),[r,t,B]},pr=function(e,A,t,r){var B=r[t];if(Array.isArray(e)?e.indexOf(B)!==-1:e===B)for(var n=t;n<=r.length;){n++;var s=r[n];if(s===A)return!0;if(s!==CA)break}if(B===CA)for(var n=t;n>0;){n--;var i=r[n];if(Array.isArray(e)?e.indexOf(i)!==-1:e===i)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===A)return!0;if(s!==CA)break}if(i!==CA)break}return!1},It=function(e,A){for(var t=e;t>=0;){var r=A[t];if(r===CA)t--;else return r}return 0},Xn=function(e,A,t,r,B){if(t[r]===0)return I;var n=r-1;if(Array.isArray(B)&&B[n]===!0)return I;var s=n-1,i=n+1,a=A[n],o=s>=0?A[s]:0,Q=A[i];if(a===ct&&Q===Ct)return I;if(Hr.indexOf(a)!==-1)return dt;if(Hr.indexOf(Q)!==-1||Et.indexOf(Q)!==-1)return I;if(It(n,A)===lt)return Ie;if(Er.get(e[n])===wr||(a===de||a===Ee)&&Er.get(e[i])===wr||a===ut||Q===ut||a===ft||[CA,cr,WA].indexOf(a)===-1&&Q===ft||[he,ZA,Tn,SA,OA].indexOf(Q)!==-1||It(n,A)===qA||pr(lr,qA,n,A)||pr([he,ZA],ur,n,A)||pr(Ut,Ut,n,A))return I;if(a===CA)return Ie;if(a===lr||Q===lr)return I;if(Q===Cr||a===Cr)return Ie;if([cr,WA,ur].indexOf(Q)!==-1||a===xn||o===Fr&&Vn.indexOf(a)!==-1||a===OA&&Q===Fr||Q===Ft||oA.indexOf(Q)!==-1&&a===j||oA.indexOf(a)!==-1&&Q===j||a===zA&&[$A,de,Ee].indexOf(Q)!==-1||[$A,de,Ee].indexOf(a)!==-1&&Q===jA||oA.indexOf(a)!==-1&&Ht.indexOf(Q)!==-1||Ht.indexOf(a)!==-1&&oA.indexOf(Q)!==-1||[zA,jA].indexOf(a)!==-1&&(Q===j||[qA,WA].indexOf(Q)!==-1&&A[i+1]===j)||[qA,WA].indexOf(a)!==-1&&Q===j||a===j&&[j,OA,SA].indexOf(Q)!==-1)return I;if([j,OA,SA,he,ZA].indexOf(Q)!==-1)for(var g=n;g>=0;){var w=A[g];if(w===j)return I;if([OA,SA].indexOf(w)!==-1)g--;else break}if([zA,jA].indexOf(Q)!==-1)for(var g=[he,ZA].indexOf(a)!==-1?s:n;g>=0;){var w=A[g];if(w===j)return I;if([OA,SA].indexOf(w)!==-1)g--;else break}if(hr===a&&[hr,He,fr,Ur].indexOf(Q)!==-1||[He,fr].indexOf(a)!==-1&&[He,pe].indexOf(Q)!==-1||[pe,Ur].indexOf(a)!==-1&&Q===pe||pt.indexOf(a)!==-1&&[Ft,jA].indexOf(Q)!==-1||pt.indexOf(Q)!==-1&&a===zA||oA.indexOf(a)!==-1&&oA.indexOf(Q)!==-1||a===SA&&oA.indexOf(Q)!==-1||oA.concat(j).indexOf(a)!==-1&&Q===qA&&Gn.indexOf(e[i])===-1||oA.concat(j).indexOf(Q)!==-1&&a===ZA)return I;if(a===dr&&Q===dr){for(var f=t[n],c=1;f>0&&(f--,A[f]===dr);)c++;if(c%2!==0)return I}return a===de&&Q===Ee?I:Ie},_n=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var t=Nn(e,A.lineBreak),r=t[0],B=t[1],n=t[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(B=B.map(function(i){return[j,yA,ht].indexOf(i)!==-1?$A:i}));var s=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&e[a]>=19968&&e[a]<=40959}):void 0;return[r,B,s]},Jn=(function(){function e(A,t,r,B){this.codePoints=A,this.required=t===dt,this.start=r,this.end=B}return e.prototype.slice=function(){return T.apply(void 0,this.codePoints.slice(this.start,this.end))},e})(),Pn=function(e,A){var t=le(e),r=_n(t,A),B=r[0],n=r[1],s=r[2],i=t.length,a=0,o=0;return{next:function(){if(o>=i)return{done:!0,value:null};for(var Q=I;o=Lt&&e<=57},Is=function(e){return e>=55296&&e<=57343},MA=function(e){return J(e)||e>=xt&&e<=St||e>=Dt&&e<=hs},vs=function(e){return e>=Dt&&e<=Es},ys=function(e){return e>=xt&&e<=ps},Ks=function(e){return vs(e)||ys(e)},ms=function(e){return e>=Qs},De=function(e){return e===ve||e===Wn||e===Zn},be=function(e){return Ks(e)||ms(e)||e===$n},Ot=function(e){return be(e)||J(e)||e===Y},Ls=function(e){return e>=Cs&&e<=us||e===ls||e>=fs&&e<=Us||e===Fs},uA=function(e,A){return e!==ee?!1:A!==ve},xe=function(e,A,t){return e===Y?be(A)||uA(A,t):be(e)?!0:!!(e===ee&&uA(e,A))},vr=function(e,A,t){return e===KA||e===Y?J(A)?!0:A===Be&&J(t):J(e===Be?A:e)},Ds=function(e){var A=0,t=1;(e[A]===KA||e[A]===Y)&&(e[A]===Y&&(t=-1),A++);for(var r=[];J(e[A]);)r.push(e[A++]);var B=r.length?parseInt(T.apply(void 0,r),10):0;e[A]===Be&&A++;for(var n=[];J(e[A]);)n.push(e[A++]);var s=n.length,i=s?parseInt(T.apply(void 0,n),10):0;(e[A]===Tt||e[A]===bt)&&A++;var a=1;(e[A]===KA||e[A]===Y)&&(e[A]===Y&&(a=-1),A++);for(var o=[];J(e[A]);)o.push(e[A++]);var Q=o.length?parseInt(T.apply(void 0,o),10):0;return t*(B+i*Math.pow(10,-s))*Math.pow(10,a*Q)},bs={type:2},xs={type:3},Ts={type:4},Ss={type:13},Os={type:8},Ms={type:21},Gs={type:9},Rs={type:10},Vs={type:11},Ns={type:12},Xs={type:14},Te={type:23},_s={type:1},Js={type:25},Ps={type:24},ks={type:26},Ys={type:27},Ws={type:28},Zs={type:29},qs={type:31},yr={type:32},Mt=(function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(le(A))},e.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==yr;)A.push(t),t=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case ye:return this.consumeStringToken(ye);case qn:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Ot(t)||uA(r,B)){var n=xe(t,r,B)?Yn:kn,s=this.consumeName();return{type:5,value:s,flags:n}}break;case jn:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Ss;break;case Ke:return this.consumeStringToken(Ke);case me:return bs;case te:return xs;case Ir:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Xs;break;case KA:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case gs:return Ts;case Y:var i=A,a=this.peekCodePoint(0),o=this.peekCodePoint(1);if(vr(i,a,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xe(i,a,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(a===Y&&o===rs)return this.consumeCodePoint(),this.consumeCodePoint(),Ps;break;case Be:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case yt:if(this.peekCodePoint(0)===Ir)for(this.consumeCodePoint();;){var Q=this.consumeCodePoint();if(Q===Ir&&(Q=this.consumeCodePoint(),Q===yt))return this.consumeToken();if(Q===BA)return this.consumeToken()}break;case ws:return ks;case cs:return Ys;case es:if(this.peekCodePoint(0)===As&&this.peekCodePoint(1)===Y&&this.peekCodePoint(2)===Y)return this.consumeCodePoint(),this.consumeCodePoint(),Js;break;case ts:var g=this.peekCodePoint(0),w=this.peekCodePoint(1),f=this.peekCodePoint(2);if(xe(g,w,f)){var s=this.consumeName();return{type:7,value:s}}break;case Bs:return Ws;case ee:if(uA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case ns:return Zs;case ss:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Os;break;case as:return Vs;case is:return Ns;case ds:case Hs:var c=this.peekCodePoint(0),C=this.peekCodePoint(1);return c===KA&&(MA(C)||C===Le)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Kt:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Gs;if(this.peekCodePoint(0)===Kt)return this.consumeCodePoint(),Ms;break;case os:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Rs;break;case BA:return yr}return De(A)?(this.consumeWhiteSpace(),qs):J(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):be(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:T(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();MA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var r=!1;t===Le&&A.length<6;)A.push(t),t=this.consumeCodePoint(),r=!0;if(r){var B=parseInt(T.apply(void 0,A.map(function(a){return a===Le?Lt:a})),16),n=parseInt(T.apply(void 0,A.map(function(a){return a===Le?St:a})),16);return{type:30,start:B,end:n}}var s=parseInt(T.apply(void 0,A),16);if(this.peekCodePoint(0)===Y&&MA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];MA(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();var n=parseInt(T.apply(void 0,i),16);return{type:30,start:s,end:n}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===me?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===me?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ke||t===ye){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===te)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Te)}for(;;){var B=this.consumeCodePoint();if(B===BA||B===te)return{type:22,value:T.apply(void 0,A)};if(De(B))return this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===te?(this.consumeCodePoint(),{type:22,value:T.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Te);if(B===ye||B===Ke||B===me||Ls(B))return this.consumeBadUrlRemnants(),Te;if(B===ee)if(uA(B,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Te;else A.push(B)}},e.prototype.consumeWhiteSpace=function(){for(;De(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===te||A===BA)return;uA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var t=5e4,r="";A>0;){var B=Math.min(t,A);r+=T.apply(void 0,this._value.splice(0,B)),A-=B}return this._value.shift(),r},e.prototype.consumeStringToken=function(A){var t="",r=0;do{var B=this._value[r];if(B===BA||B===void 0||B===A)return t+=this.consumeStringSlice(r),{type:0,value:t};if(B===ve)return this._value.splice(0,r),_s;if(B===ee){var n=this._value[r+1];n!==BA&&n!==void 0&&(n===ve?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):uA(B,n)&&(t+=this.consumeStringSlice(r),t+=T(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var A=[],t=Ae,r=this.peekCodePoint(0);for((r===KA||r===Y)&&A.push(this.consumeCodePoint());J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var B=this.peekCodePoint(1);if(r===Be&&J(B))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=vt;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),B=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((r===Tt||r===bt)&&((B===KA||B===Y)&&J(n)||J(B)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=vt;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Ds(A),t]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],r=A[1],B=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(xe(B,n,s)){var i=this.consumeName();return{type:15,number:t,flags:r,unit:i}}return B===zn?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(MA(A)){for(var t=T(A);MA(this.peekCodePoint(0))&&t.length<6;)t+=T(this.consumeCodePoint());De(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||Is(r)||r>1114111?mt:r}return A===BA?mt:A},e.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(Ot(t))A+=T(t);else if(uA(t,this.peekCodePoint(0)))A+=T(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),A}},e})(),Gt=(function(){function e(A){this._tokens=A}return e.create=function(A){var t=new Mt;return t.write(A),new e(t.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(t.type===32)return A;A.push(t),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||zs(r,A))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?yr:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e})(),ne=function(e){return e.type===15},GA=function(e){return e.type===17},L=function(e){return e.type===20},js=function(e){return e.type===0},Kr=function(e,A){return L(e)&&e.value===A},Rt=function(e){return e.type!==31},RA=function(e){return e.type!==31&&e.type!==4},nA=function(e){var A=[],t=[];return e.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&A.push(t),A},zs=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},lA=function(e){return e.type===17||e.type===15},O=function(e){return e.type===16||lA(e)},Vt=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},V={type:17,number:0,flags:Ae},mr={type:16,number:50,flags:Ae},fA={type:16,number:100,flags:Ae},se=function(e,A,t){var r=e[0],B=e[1];return[b(r,A),b(typeof B<"u"?B:r,t)]},b=function(e,A){if(e.type===16)return e.number/100*A;if(ne(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Nt="deg",Xt="grad",_t="rad",Jt="turn",Se={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Nt:return Math.PI*A.number/180;case Xt:return Math.PI/200*A.number;case _t:return A.number;case Jt:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Pt=function(e){return e.type===15&&(e.unit===Nt||e.unit===Xt||e.unit===_t||e.unit===Jt)},kt=function(e){var A=e.filter(L).map(function(t){return t.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[V,V];case"to top":case"bottom":return $(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[V,fA];case"to right":case"left":return $(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[fA,fA];case"to bottom":case"top":return $(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[fA,V];case"to left":case"right":return $(270)}return 0},$=function(e){return Math.PI*e/180},UA={name:"color",parse:function(e,A){if(A.type===18){var t=$s[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(e,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3),s=A.value.substring(3,4);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6);return hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6),s=A.value.substring(6,8);return hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),parseInt(s,16)/255)}}if(A.type===20){var i=QA[A.value.toUpperCase()];if(typeof i<"u")return i}return QA.TRANSPARENT}},FA=function(e){return(255&e)===0},R=function(e){var A=255&e,t=255&e>>8,r=255&e>>16,B=255&e>>24;return A<255?"rgba("+B+","+r+","+t+","+A/255+")":"rgb("+B+","+r+","+t+")"},hA=function(e,A,t,r){return(e<<24|A<<16|t<<8|Math.round(r*255)<<0)>>>0},Yt=function(e,A){if(e.type===17)return e.number;if(e.type===16){var t=A===3?1:255;return A===3?e.number/100*t:Math.round(e.number/100*t)}return 0},Wt=function(e,A){var t=A.filter(RA);if(t.length===3){var r=t.map(Yt),B=r[0],n=r[1],s=r[2];return hA(B,n,s,1)}if(t.length===4){var i=t.map(Yt),B=i[0],n=i[1],s=i[2],a=i[3];return hA(B,n,s,a)}return 0};function Lr(e,A,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(A-e)*t*6+e:t<1/2?A:t<2/3?(A-e)*6*(2/3-t)+e:e}var Zt=function(e,A){var t=A.filter(RA),r=t[0],B=t[1],n=t[2],s=t[3],i=(r.type===17?$(r.number):Se.parse(e,r))/(Math.PI*2),a=O(B)?B.number/100:0,o=O(n)?n.number/100:0,Q=typeof s<"u"&&O(s)?b(s,1):1;if(a===0)return hA(o*255,o*255,o*255,1);var g=o<=.5?o*(a+1):o+a-o*a,w=o*2-g,f=Lr(w,g,i+1/3),c=Lr(w,g,i),C=Lr(w,g,i-1/3);return hA(f*255,c*255,C*255,Q)},$s={hsl:Zt,hsla:Zt,rgb:Wt,rgba:Wt},ae=function(e,A){return UA.parse(e,Gt.create(A).parseComponentValue())},QA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Aa={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ea={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Oe=function(e,A){var t=UA.parse(e,A[0]),r=A[1];return r&&O(r)?{color:t,stop:r}:{color:t,stop:null}},qt=function(e,A){var t=e[0],r=e[e.length-1];t.stop===null&&(t.stop=V),r.stop===null&&(r.stop=fA);for(var B=[],n=0,s=0;sn?B.push(a):B.push(n),n=a}else B.push(null)}for(var o=null,s=0;ss.optimumDistance)?{optimumCorner:i,optimumDistance:Q}:s},{optimumDistance:B?1/0:-1/0,optimumCorner:null}).optimumCorner},Ba=function(e,A,t,r,B){var n=0,s=0;switch(e.size){case 0:e.shape===0?n=s=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-B)):e.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),s=Math.min(Math.abs(t),Math.abs(t-B)));break;case 2:if(e.shape===0)n=s=Math.min(tA(A,t),tA(A,t-B),tA(A-r,t),tA(A-r,t-B));else if(e.shape===1){var i=Math.min(Math.abs(t),Math.abs(t-B))/Math.min(Math.abs(A),Math.abs(A-r)),a=jt(r,B,A,t,!0),o=a[0],Q=a[1];n=tA(o-A,(Q-t)/i),s=i*n}break;case 1:e.shape===0?n=s=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-B)):e.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),s=Math.max(Math.abs(t),Math.abs(t-B)));break;case 3:if(e.shape===0)n=s=Math.max(tA(A,t),tA(A,t-B),tA(A-r,t),tA(A-r,t-B));else if(e.shape===1){var i=Math.max(Math.abs(t),Math.abs(t-B))/Math.max(Math.abs(A),Math.abs(A-r)),g=jt(r,B,A,t,!1),o=g[0],Q=g[1];n=tA(o-A,(Q-t)/i),s=i*n}break}return Array.isArray(e.size)&&(n=b(e.size[0],r),s=e.size.length===2?b(e.size[1],B):n),[n,s]},na=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(n===0){var s=B[0];if(s.type===20&&s.value==="to"){t=kt(B);return}else if(Pt(s)){t=Se.parse(e,s);return}}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},Me=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(n===0){var s=B[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=kt(B);return}else if(Pt(s)){t=(Se.parse(e,s)+$(270))%$(360);return}}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},sa=function(e,A){var t=$(180),r=[],B=1,n=0,s=3,i=[];return nA(A).forEach(function(a,o){var Q=a[0];if(o===0){if(L(Q)&&Q.value==="linear"){B=1;return}else if(L(Q)&&Q.value==="radial"){B=2;return}}if(Q.type===18){if(Q.name==="from"){var g=UA.parse(e,Q.values[0]);r.push({stop:V,color:g})}else if(Q.name==="to"){var g=UA.parse(e,Q.values[0]);r.push({stop:fA,color:g})}else if(Q.name==="color-stop"){var w=Q.values.filter(RA);if(w.length===2){var g=UA.parse(e,w[1]),f=w[0];GA(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:g})}}}}),B===1?{angle:(t+$(180))%$(360),stops:r,type:B}:{size:s,shape:n,stops:r,position:i,type:B}},zt="closest-side",$t="farthest-side",AB="closest-corner",eB="farthest-corner",rB="circle",tB="ellipse",BB="cover",nB="contain",aa=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(i===0){var o=!1;a=s.reduce(function(g,w){if(o)if(L(w))switch(w.value){case"center":return n.push(mr),g;case"top":case"left":return n.push(V),g;case"right":case"bottom":return n.push(fA),g}else(O(w)||lA(w))&&n.push(w);else if(L(w))switch(w.value){case rB:return t=0,!1;case tB:return t=1,!1;case"at":return o=!0,!1;case zt:return r=0,!1;case BB:case $t:return r=1,!1;case nB:case AB:return r=2,!1;case eB:return r=3,!1}else if(lA(w)||O(w))return Array.isArray(r)||(r=[]),r.push(w),!1;return g},a)}if(a){var Q=Oe(e,s);B.push(Q)}}),{size:r,shape:t,stops:B,position:n,type:2}},Ge=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(i===0?a=s.reduce(function(Q,g){if(L(g))switch(g.value){case"center":return n.push(mr),!1;case"top":case"left":return n.push(V),!1;case"right":case"bottom":return n.push(fA),!1}else if(O(g)||lA(g))return n.push(g),!1;return Q},a):i===1&&(a=s.reduce(function(Q,g){if(L(g))switch(g.value){case rB:return t=0,!1;case tB:return t=1,!1;case nB:case zt:return r=0,!1;case $t:return r=1,!1;case AB:return r=2,!1;case BB:case eB:return r=3,!1}else if(lA(g)||O(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return Q},a)),a){var o=Oe(e,s);B.push(o)}}),{size:r,shape:t,stops:B,position:n,type:2}},ia=function(e){return e.type===1},oa=function(e){return e.type===2},Dr={name:"image",parse:function(e,A){if(A.type===22){var t={url:A.value,type:0};return e.cache.addImage(A.value),t}if(A.type===18){var r=sB[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Qa(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!sB[e.name])}for(var sB={"linear-gradient":na,"-moz-linear-gradient":Me,"-ms-linear-gradient":Me,"-o-linear-gradient":Me,"-webkit-linear-gradient":Me,"radial-gradient":aa,"-moz-radial-gradient":Ge,"-ms-radial-gradient":Ge,"-o-radial-gradient":Ge,"-webkit-radial-gradient":Ge,"-webkit-gradient":sa},ga={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A.filter(function(r){return RA(r)&&Qa(r)}).map(function(r){return Dr.parse(e,r)})}},wa={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ca={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return nA(A).map(function(t){return t.filter(O)}).map(Vt)}},Ca={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(L).map(function(r){return r.value}).join(" ")}).map(ua)}},ua=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}},ie=(function(e){return e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover",e})(ie||{}),la={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(fa)})}},fa=function(e){return L(e)||O(e)},Re=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ua=Re("top"),Fa=Re("right"),ha=Re("bottom"),da=Re("left"),Ve=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return Vt(t.filter(O))}}},Ea=Ve("top-left"),Ha=Ve("top-right"),pa=Ve("bottom-right"),Ia=Ve("bottom-left"),Ne=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},va=Ne("top"),ya=Ne("right"),Ka=Ne("bottom"),ma=Ne("left"),Xe=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return ne(t)?t.number:0}}},La=Xe("top"),Da=Xe("right"),ba=Xe("bottom"),xa=Xe("left"),Ta={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Sa={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){return A==="rtl"?1:0}},Oa={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(L).reduce(function(t,r){return t|Ma(r.value)},0)}},Ma=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ga={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ra={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},br=(function(e){return e.NORMAL="normal",e.STRICT="strict",e})(br||{}),Va={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="strict"?br.STRICT:br.NORMAL}},Na={name:"line-height",initialValue:"normal",prefix:!1,type:4},aB=function(e,A){return L(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:O(e)?b(e,A):A},Xa={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:Dr.parse(e,A)}},_a={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){return A==="inside"?0:1}},xr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},_e=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Ja=_e("top"),Pa=_e("right"),ka=_e("bottom"),Ya=_e("left"),Wa={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}})}},Za={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){return A==="break-word"?"break-word":"normal"}},Je=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},qa=Je("top"),ja=Je("right"),za=Je("bottom"),$a=Je("left"),Ai={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},ei={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ri={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Kr(A[0],"none")?[]:nA(A).map(function(t){for(var r={color:QA.TRANSPARENT,offsetX:V,offsetY:V,blur:V},B=0,n=0;n"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return t(A.values)}return null}},ni=function(e){var A=e.filter(function(t){return t.type===17}).map(function(t){return t.number});return A.length===6?A:null},si=function(e){var A=e.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=A[0],r=A[1];A[2],A[3];var B=A[4],n=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],i=A[13];return A[14],A[15],A.length===16?[t,r,B,n,s,i]:null},ai={matrix:ni,matrix3d:si},iB={type:16,number:50,flags:Ae},ii=[iB,iB],oi={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var t=A.filter(O);return t.length!==2?ii:[t[0],t[1]]}},Qi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;default:return 0}}},Pe=(function(e){return e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all",e})(Pe||{}),gi={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return Pe.BREAK_ALL;case"keep-all":return Pe.KEEP_ALL;default:return Pe.NORMAL}}},wi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(GA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},oB={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},ci={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return GA(A)?A.number:1}},Ci={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ui={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},li={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var t=[],r=[];return A.forEach(function(B){switch(B.type){case 20:case 0:t.push(B.value);break;case 17:t.push(B.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(B){return B.indexOf(" ")===-1?B:"'"+B+"'"})}},fi={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ui={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){return GA(A)?A.number:L(A)&&A.value==="bold"?700:400}},Fi={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(L).map(function(t){return t.value})}},hi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},G=function(e,A){return(e&A)!==0},di={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A}},Ei={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var t=A[0];if(t.type===20&&t.value==="none")return null;for(var r=[],B=A.filter(Rt),n=0;n1?1:0],this.overflowWrap=U(A,Za,t.overflowWrap),this.paddingTop=U(A,qa,t.paddingTop),this.paddingRight=U(A,ja,t.paddingRight),this.paddingBottom=U(A,za,t.paddingBottom),this.paddingLeft=U(A,$a,t.paddingLeft),this.paintOrder=U(A,yi,t.paintOrder),this.position=U(A,ei,t.position),this.textAlign=U(A,Ai,t.textAlign),this.textDecorationColor=U(A,Ci,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=U(A,ui,(B=t.textDecorationLine)!==null&&B!==void 0?B:t.textDecoration),this.textShadow=U(A,ri,t.textShadow),this.textTransform=U(A,ti,t.textTransform),this.transform=U(A,Bi,t.transform),this.transformOrigin=U(A,oi,t.transformOrigin),this.visibility=U(A,Qi,t.visibility),this.webkitTextStrokeColor=U(A,Ki,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=U(A,mi,t.webkitTextStrokeWidth),this.wordBreak=U(A,gi,t.wordBreak),this.zIndex=U(A,wi,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return FA(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return G(this.display,4)||G(this.display,33554432)||G(this.display,268435456)||G(this.display,536870912)||G(this.display,67108864)||G(this.display,134217728)},e})(),Di=(function(){function e(A,t){this.content=U(A,di,t.content),this.quotes=U(A,Ii,t.quotes)}return e})(),gB=(function(){function e(A,t){this.counterIncrement=U(A,Ei,t.counterIncrement),this.counterReset=U(A,Hi,t.counterReset)}return e})(),U=function(e,A,t){var r=new Mt,B=t!==null&&typeof t<"u"?t.toString():A.initialValue;r.write(B);var n=new Gt(r.read());switch(A.type){case 2:var s=n.parseComponentValue();return A.parse(e,L(s)?s.value:A.initialValue);case 0:return A.parse(e,n.parseComponentValue());case 1:return A.parse(e,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return Se.parse(e,n.parseComponentValue());case"color":return UA.parse(e,n.parseComponentValue());case"image":return Dr.parse(e,n.parseComponentValue());case"length":var i=n.parseComponentValue();return lA(i)?i:V;case"length-percentage":var a=n.parseComponentValue();return O(a)?a:V;case"time":return oB.parse(e,n.parseComponentValue())}break}},bi="data-html2canvas-debug",xi=function(e){var A=e.getAttribute(bi);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Tr=function(e,A){var t=xi(e);return t===1||A===t},sA=(function(){function e(A,t){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Tr(t,3))debugger;this.styles=new Li(A,window.getComputedStyle(t,null)),Wr(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=ue(this.context,t),Tr(t,4)&&(this.flags|=16)}return e})(),Ti="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",wB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=typeof Uint8Array>"u"?[]:new Uint8Array(256),ke=0;ke>4,Q[B++]=(s&15)<<4|i>>2,Q[B++]=(i&3)<<6|a&63;return o},Oi=function(e){for(var A=e.length,t=[],r=0;r>mA,Ri=1<>mA,Ni=cB+Vi,Xi=Ni,_i=32,Ji=Xi+_i,Pi=65536>>Sr,ki=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>mA],t=(t<>mA)],t=(t<>Sr),t=this.index[t],t+=A>>mA&Yi,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256),Ye=0;Ye=55296&&B<=56319&&t>10)+55296,s%1024+56320)),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},ro=Zi(Ti),AA="\xD7",_r="\xF7",to=function(e){return ro.get(e)},Bo=function(e,A,t){var r=t-2,B=A[r],n=A[t-1],s=A[t];if(n===Gr&&s===Rr)return AA;if(n===Gr||n===Rr||n===lB||s===Gr||s===Rr||s===lB)return _r;if(n===UB&&[UB,Vr,FB,hB].indexOf(s)!==-1||(n===FB||n===Vr)&&(s===Vr||s===Nr)||(n===hB||n===Nr)&&s===Nr||s===dB||s===fB||s===$i||n===zi)return AA;if(n===dB&&s===EB){for(;B===fB;)B=A[--r];if(B===EB)return AA}if(n===Xr&&s===Xr){for(var i=0;B===Xr;)i++,B=A[--r];if(i%2===0)return AA}return _r},no=function(e){var A=Ao(e),t=A.length,r=0,B=0,n=A.map(to);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=AA;rs.x||Q.y>s.y;return s=Q,o===0?!0:g});return e.body.removeChild(A),i},oo=function(){return typeof new Image().crossOrigin<"u"},Qo=function(){return typeof new XMLHttpRequest().responseType=="string"},go=function(e){var A=new Image,t=e.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,";try{r.drawImage(A,0,0),t.toDataURL()}catch{return!1}return!0},HB=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},wo=function(e){var A=e.createElement("canvas"),t=100;A.width=t,A.height=t;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var B=new Image,n=A.toDataURL();B.src=n;var s=Jr(t,t,0,0,B);return r.fillStyle="red",r.fillRect(0,0,t,t),pB(s).then(function(i){r.drawImage(i,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var o=e.createElement("div");return o.style.backgroundImage="url("+n+")",o.style.height=t+"px",HB(a)?pB(Jr(t,t,0,0,o)):Promise.reject(!1)}).then(function(i){return r.drawImage(i,0,0),HB(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Jr=function(e,A,t,r,B){var n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",t.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(i),i.appendChild(B),s},pB=function(e){return new Promise(function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},N={get SUPPORT_RANGE_BOUNDS(){var e=ao(document);return Object.defineProperty(N,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=N.SUPPORT_RANGE_BOUNDS&&io(document);return Object.defineProperty(N,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=go(document);return Object.defineProperty(N,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?wo(document):Promise.resolve(!1);return Object.defineProperty(N,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=oo();return Object.defineProperty(N,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Qo();return Object.defineProperty(N,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(N,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(N,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Qe=(function(){function e(A,t){this.text=A,this.bounds=t}return e})(),co=function(e,A,t,r){var B=lo(A,t),n=[],s=0;return B.forEach(function(i){if(t.textDecorationLine.length||i.trim().length>0)if(N.SUPPORT_RANGE_BOUNDS){var a=IB(r,s,i.length).getClientRects();if(a.length>1){var o=Pr(i),Q=0;o.forEach(function(w){n.push(new Qe(w,iA.fromDOMRectList(e,IB(r,Q+s,w.length).getClientRects()))),Q+=w.length})}else n.push(new Qe(i,iA.fromDOMRectList(e,a)))}else{var g=r.splitText(i.length);n.push(new Qe(i,Co(e,r))),r=g}else N.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));s+=i.length}),n},Co=function(e,A){var t=A.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var B=A.parentNode;if(B){B.replaceChild(r,A);var n=ue(e,r);return r.firstChild&&B.replaceChild(r.firstChild,r),n}}return iA.EMPTY},IB=function(e,A,t){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var B=r.createRange();return B.setStart(e,A),B.setEnd(e,A+t),B},Pr=function(e){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(t){return t.segment})}return so(e)},uo=function(e,A){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return Uo(e,A)},lo=function(e,A){return A.letterSpacing!==0?Pr(e):uo(e,A)},fo=[32,160,4961,65792,65793,4153,4241],Uo=function(e,A){for(var t=Pn(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],B,n=function(){if(B.value){var s=B.value.slice(),i=le(s),a="";i.forEach(function(o){fo.indexOf(o)===-1?a+=T(o):(a.length&&r.push(a),r.push(T(o)),a="")}),a.length&&r.push(a)}};!(B=t.next()).done;)n();return r},Fo=(function(){function e(A,t,r){this.text=ho(t.data,r.textTransform),this.textBounds=co(A,this.text,r,t)}return e})(),ho=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(Eo,Ho);case 2:return e.toUpperCase();default:return e}},Eo=/(^|\s|:|-|\(|\))([a-z])/g,Ho=function(e,A,t){return e.length>0?A+t.toUpperCase():e},vB=(function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.src=r.currentSrc||r.src,B.intrinsicWidth=r.naturalWidth,B.intrinsicHeight=r.naturalHeight,B.context.cache.addImage(B.src),B}return A})(sA),yB=(function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.canvas=r,B.intrinsicWidth=r.width,B.intrinsicHeight=r.height,B}return A})(sA),KB=(function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this,n=new XMLSerializer,s=ue(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),B.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(r)),B.intrinsicWidth=r.width.baseVal.value,B.intrinsicHeight=r.height.baseVal.value,B.context.cache.addImage(B.svg),B}return A})(sA),mB=(function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.value=r.value,B}return A})(sA),kr=(function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.start=r.start,B.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,B}return A})(sA),po=[{type:15,flags:0,unit:"px",number:3}],Io=[{type:16,flags:0,number:50}],vo=function(e){return e.width>e.height?new iA(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)t.textNodes.push(new Fo(e,B,t.styles));else if(VA(B))if(XB(B)&&B.assignedNodes)B.assignedNodes().forEach(function(i){return qe(e,i,t,r)});else{var s=TB(e,B);s.styles.isVisible()&&(Lo(B,s,r)?s.flags|=4:Do(s.styles)&&(s.flags|=2),mo.indexOf(B.tagName)!==-1&&(s.flags|=8),t.elements.push(s),B.slot,B.shadowRoot?qe(e,B.shadowRoot,s,r):!ze(B)&&!MB(B)&&!$e(B)&&qe(e,B,s,r))}},TB=function(e,A){return qr(A)?new vB(e,A):GB(A)?new yB(e,A):MB(A)?new KB(e,A):bo(A)?new mB(e,A):xo(A)?new kr(e,A):To(A)?new Yr(e,A):$e(A)?new DB(e,A):ze(A)?new bB(e,A):VB(A)?new xB(e,A):new sA(e,A)},SB=function(e,A){var t=TB(e,A);return t.flags|=4,qe(e,A,t,t),t},Lo=function(e,A,t){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Zr(e)&&t.styles.isTransparent()},Do=function(e){return e.isPositioned()||e.isFloating()},OB=function(e){return e.nodeType===Node.TEXT_NODE},VA=function(e){return e.nodeType===Node.ELEMENT_NODE},Wr=function(e){return VA(e)&&typeof e.style<"u"&&!je(e)},je=function(e){return typeof e.className=="object"},bo=function(e){return e.tagName==="LI"},xo=function(e){return e.tagName==="OL"},To=function(e){return e.tagName==="INPUT"},So=function(e){return e.tagName==="HTML"},MB=function(e){return e.tagName==="svg"},Zr=function(e){return e.tagName==="BODY"},GB=function(e){return e.tagName==="CANVAS"},RB=function(e){return e.tagName==="VIDEO"},qr=function(e){return e.tagName==="IMG"},VB=function(e){return e.tagName==="IFRAME"},NB=function(e){return e.tagName==="STYLE"},Oo=function(e){return e.tagName==="SCRIPT"},ze=function(e){return e.tagName==="TEXTAREA"},$e=function(e){return e.tagName==="SELECT"},XB=function(e){return e.tagName==="SLOT"},_B=function(e){return e.tagName.indexOf("-")>0},Mo=(function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},e.prototype.pop=function(A){var t=this;A.forEach(function(r){return t.counters[r].pop()})},e.prototype.parse=function(A){var t=this,r=A.counterIncrement,B=A.counterReset,n=!0;r!==null&&r.forEach(function(i){var a=t.counters[i.counter];a&&i.increment!==0&&(n=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=i.increment)});var s=[];return n&&B.forEach(function(i){var a=t.counters[i.counter];s.push(i.counter),a||(a=t.counters[i.counter]=[]),a.push(i.reset)}),s},e})(),JB={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},PB={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Ro={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},NA=function(e,A,t,r,B,n){return et?we(e,B,n.length>0):r.integers.reduce(function(s,i,a){for(;e>=i;)e-=i,s+=r.values[a];return s},"")+n},kB=function(e,A,t,r){var B="";do t||e--,B=r(e)+B,e/=A;while(e*A>=A);return B},S=function(e,A,t,r,B){var n=t-A+1;return(e<0?"-":"")+(kB(Math.abs(e),n,r,function(s){return T(Math.floor(s%n)+A)})+B)},LA=function(e,A,t){t===void 0&&(t=". ");var r=A.length;return kB(Math.abs(e),r,!1,function(B){return A[Math.floor(B%r)]})+t},XA=1,dA=2,EA=4,ge=8,gA=function(e,A,t,r,B,n){if(e<-9999||e>9999)return we(e,4,B.length>0);var s=Math.abs(e),i=B;if(s===0)return A[0]+i;for(var a=0;s>0&&a<=4;a++){var o=s%10;o===0&&G(n,XA)&&i!==""?i=A[o]+i:o>1||o===1&&a===0||o===1&&a===1&&G(n,dA)||o===1&&a===1&&G(n,EA)&&e>100||o===1&&a>1&&G(n,ge)?i=A[o]+(a>0?t[a-1]:"")+i:o===1&&a>0&&(i=t[a-1]+i),s=Math.floor(s/10)}return(e<0?r:"")+i},YB="\u5341\u767E\u5343\u842C",WB="\u62FE\u4F70\u4EDF\u842C",ZB="\u30DE\u30A4\u30CA\u30B9",jr="\uB9C8\uC774\uB108\uC2A4",we=function(e,A,t){var r=t?". ":"",B=t?"\u3001":"",n=t?", ":"",s=t?" ":"";switch(A){case 0:return"\u2022"+s;case 1:return"\u25E6"+s;case 2:return"\u25FE"+s;case 5:var i=S(e,48,57,!0,r);return i.length<4?"0"+i:i;case 4:return LA(e,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B);case 6:return NA(e,1,3999,JB,3,r).toLowerCase();case 7:return NA(e,1,3999,JB,3,r);case 8:return S(e,945,969,!1,r);case 9:return S(e,97,122,!1,r);case 10:return S(e,65,90,!1,r);case 11:return S(e,1632,1641,!0,r);case 12:case 49:return NA(e,1,9999,PB,3,r);case 35:return NA(e,1,9999,PB,3,r).toLowerCase();case 13:return S(e,2534,2543,!0,r);case 14:case 30:return S(e,6112,6121,!0,r);case 15:return LA(e,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",B);case 16:return LA(e,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",B);case 17:case 48:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",YB,"\u8CA0",B,dA|EA|ge);case 47:return gA(e,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",WB,"\u8CA0",B,XA|dA|EA|ge);case 42:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",YB,"\u8D1F",B,dA|EA|ge);case 41:return gA(e,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",WB,"\u8D1F",B,XA|dA|EA|ge);case 26:return gA(e,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",ZB,B,0);case 25:return gA(e,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",ZB,B,XA|dA|EA);case 31:return gA(e,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",jr,n,XA|dA|EA);case 33:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",jr,n,0);case 32:return gA(e,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",jr,n,XA|dA|EA);case 18:return S(e,2406,2415,!0,r);case 20:return NA(e,1,19999,Ro,3,r);case 21:return S(e,2790,2799,!0,r);case 22:return S(e,2662,2671,!0,r);case 22:return NA(e,1,10999,Go,3,r);case 23:return LA(e,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return LA(e,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return S(e,3302,3311,!0,r);case 28:return LA(e,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",B);case 29:return LA(e,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",B);case 34:return S(e,3792,3801,!0,r);case 37:return S(e,6160,6169,!0,r);case 38:return S(e,4160,4169,!0,r);case 39:return S(e,2918,2927,!0,r);case 40:return S(e,1776,1785,!0,r);case 43:return S(e,3046,3055,!0,r);case 44:return S(e,3174,3183,!0,r);case 45:return S(e,3664,3673,!0,r);case 46:return S(e,3872,3881,!0,r);default:return S(e,48,57,!0,r)}},qB="data-html2canvas-ignore",jB=(function(){function e(A,t,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Mo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,t){var r=this,B=Vo(A,t);if(!B.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,i=B.contentWindow,a=i.document,o=_o(B).then(function(){return k(r,void 0,void 0,function(){var Q,g;return _(this,function(w){switch(w.label){case 0:return this.scrolledElements.forEach(Yo),i&&(i.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==t.top||i.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-t.left,i.scrollY-t.top,0,0))),Q=this.options.onclone,g=this.clonedReferenceElement,typeof g>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:w.sent(),w.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Xo(a)]:[3,4];case 3:w.sent(),w.label=4;case 4:return typeof Q=="function"?[2,Promise.resolve().then(function(){return Q(a,g)}).then(function(){return B})]:[2,B]}})})});return a.open(),a.write(Po(document.doctype)+""),ko(this.referenceElement.ownerDocument,n,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),o},e.prototype.createElementClone=function(A){if(Tr(A,2))debugger;if(GB(A))return this.createCanvasClone(A);if(RB(A))return this.createVideoClone(A);if(NB(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return qr(t)&&(qr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),_B(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return zr(A.style,t),t},e.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(n,s){return s&&typeof s.cssText=="string"?n+s.cssText:n},""),B=A.cloneNode(!1);return B.textContent=r,B}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),n.name!=="SecurityError")throw n}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var B=A.cloneNode(!1);try{B.width=A.width,B.height=A.height;var n=A.getContext("2d"),s=B.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var i=(t=A.getContext("webgl2"))!==null&&t!==void 0?t:A.getContext("webgl");if(i){var a=i.getContextAttributes();a?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return B}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return B},e.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var B=A.ownerDocument.createElement("canvas");return B.width=A.offsetWidth,B.height=A.offsetHeight,B},e.prototype.appendChildNode=function(A,t,r){(!VA(t)||!Oo(t)&&!t.hasAttribute(qB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!VA(t)||!NB(t))&&A.appendChild(this.cloneNode(t,r))},e.prototype.cloneChildNodes=function(A,t,r){for(var B=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(VA(n)&&XB(n)&&typeof n.assignedNodes=="function"){var s=n.assignedNodes();s.length&&s.forEach(function(i){return B.appendChildNode(t,i,r)})}else this.appendChildNode(t,n,r)},e.prototype.cloneNode=function(A,t){if(OB(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&VA(A)&&(Wr(A)||je(A))){var B=this.createElementClone(A);B.style.transitionProperty="none";var n=r.getComputedStyle(A),s=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&Wr(B)&&(this.clonedReferenceElement=B),Zr(B)&&qo(B);var a=this.counters.parse(new gB(this.context,n)),o=this.resolvePseudoContent(A,B,s,Ar.BEFORE);_B(A)&&(t=!0),RB(A)||this.cloneChildNodes(A,B,t),o&&B.insertBefore(o,B.firstChild);var Q=this.resolvePseudoContent(A,B,i,Ar.AFTER);return Q&&B.appendChild(Q),this.counters.pop(a),(n&&(this.options.copyStyles||je(A))&&!VB(A)||t)&&zr(n,B),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([B,A.scrollLeft,A.scrollTop]),(ze(A)||$e(A))&&(ze(B)||$e(B))&&(B.value=A.value),B}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,t,r,B){var n=this;if(r){var s=r.content,i=t.ownerDocument;if(!(!i||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new gB(this.context,r));var a=new Di(this.context,r),o=i.createElement("html2canvaspseudoelement");zr(r,o),a.content.forEach(function(g){if(g.type===0)o.appendChild(i.createTextNode(g.value));else if(g.type===22){var w=i.createElement("img");w.src=g.value,w.style.opacity="1",o.appendChild(w)}else if(g.type===18){if(g.name==="attr"){var f=g.values.filter(L);f.length&&o.appendChild(i.createTextNode(A.getAttribute(f[0].value)||""))}else if(g.name==="counter"){var c=g.values.filter(RA),C=c[0],H=c[1];if(C&&L(C)){var h=n.counters.getCounterValue(C.value),F=H&&L(H)?xr.parse(n.context,H.value):3;o.appendChild(i.createTextNode(we(h,F,!1)))}}else if(g.name==="counters"){var K=g.values.filter(RA),C=K[0],p=K[1],H=K[2];if(C&&L(C)){var d=n.counters.getCounterValues(C.value),l=H&&L(H)?xr.parse(n.context,H.value):3,v=p&&p.type===0?p.value:"",y=d.map(function(W){return we(W,l,!1)}).join(v);o.appendChild(i.createTextNode(y))}}}else if(g.type===20)switch(g.value){case"open-quote":o.appendChild(i.createTextNode(QB(a.quotes,n.quoteDepth++,!0)));break;case"close-quote":o.appendChild(i.createTextNode(QB(a.quotes,--n.quoteDepth,!1)));break;default:o.appendChild(i.createTextNode(g.value))}}),o.className=$r+" "+At;var Q=B===Ar.BEFORE?" "+$r:" "+At;return je(t)?t.className.baseValue+=Q:t.className+=Q,o}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e})(),Ar=(function(e){return e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER",e})(Ar||{}),Vo=function(e,A){var t=e.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute(qB,"true"),e.body.appendChild(t),t},No=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},Xo=function(e){return Promise.all([].slice.call(e.images,0).map(No))},_o=function(e){return new Promise(function(A,t){var r=e.contentWindow;if(!r)return t("No window assigned for iframe");var B=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){B.body.childNodes.length>0&&B.readyState==="complete"&&(clearInterval(n),A(e))},50)}})},Jo=["all","d","content"],zr=function(e,A){for(var t=e.length-1;t>=0;t--){var r=e.item(t);Jo.indexOf(r)===-1&&A.style.setProperty(r,e.getPropertyValue(r))}return A},Po=function(e){var A="";return e&&(A+=""),A},ko=function(e,A,t){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||t!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,t)},Yo=function(e){var A=e[0],t=e[1],r=e[2];A.scrollLeft=t,A.scrollTop=r},Wo=":before",Zo=":after",$r="___html2canvas___pseudoelement_before",At="___html2canvas___pseudoelement_after",zB=`{
+ content: "" !important;
+ display: none !important;
+}`,qo=function(e){jo(e,"."+$r+Wo+zB+`
+ .`+At+Zo+zB)},jo=function(e,A){var t=e.ownerDocument;if(t){var r=t.createElement("style");r.textContent=A,e.appendChild(r)}},$B=(function(){function e(){}return e.getOrigin=function(A){var t=e._link;return t?(t.href=A,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e})(),zo=(function(){function e(A,t){this.context=A,this._options=t,this._cache={}}return e.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)||(rt(A)||rQ(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),t},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return k(this,void 0,void 0,function(){var t,r,B,n,s=this;return _(this,function(i){switch(i.label){case 0:return t=$B.isSameOrigin(A),r=!et(A)&&this._options.useCORS===!0&&N.SUPPORT_CORS_IMAGES&&!t,B=!et(A)&&!t&&!rt(A)&&typeof this._options.proxy=="string"&&N.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!et(A)&&!rt(A)&&!B&&!r?[2]:(n=A,B?[4,this.proxy(n)]:[3,2]);case 1:n=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(a,o){var Q=new Image;Q.onload=function(){return a(Q)},Q.onerror=o,(tQ(n)||r)&&(Q.crossOrigin="anonymous"),Q.src=n,Q.complete===!0&&setTimeout(function(){return a(Q)},500),s._options.imageTimeout>0&&setTimeout(function(){return o("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var B=A.substring(0,256);return new Promise(function(n,s){var i=N.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(i==="text")n(a.response);else{var g=new FileReader;g.addEventListener("load",function(){return n(g.result)},!1),g.addEventListener("error",function(w){return s(w)},!1),g.readAsDataURL(a.response)}else s("Failed to proxy resource "+B+" with status code "+a.status)},a.onerror=s;var o=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+o+"url="+encodeURIComponent(A)+"&responseType="+i),i!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=i),t._options.imageTimeout){var Q=t._options.imageTimeout;a.timeout=Q,a.ontimeout=function(){return s("Timed out ("+Q+"ms) proxying "+B)}}a.send()})},e})(),$o=/^data:image\/svg\+xml/i,AQ=/^data:image\/.*;base64,/i,eQ=/^data:image\/.*/i,rQ=function(e){return N.SUPPORT_SVG_DRAWING||!BQ(e)},et=function(e){return eQ.test(e)},tQ=function(e){return AQ.test(e)},rt=function(e){return e.substr(0,4)==="blob"},BQ=function(e){return e.substr(-3).toLowerCase()==="svg"||$o.test(e)},u=(function(){function e(A,t){this.type=0,this.x=A,this.y=t}return e.prototype.add=function(A,t){return new e(this.x+A,this.y+t)},e})(),_A=function(e,A,t){return new u(e.x+(A.x-e.x)*t,e.y+(A.y-e.y)*t)},er=(function(){function e(A,t,r,B){this.type=1,this.start=A,this.startControl=t,this.endControl=r,this.end=B}return e.prototype.subdivide=function(A,t){var r=_A(this.start,this.startControl,A),B=_A(this.startControl,this.endControl,A),n=_A(this.endControl,this.end,A),s=_A(r,B,A),i=_A(B,n,A),a=_A(s,i,A);return t?new e(this.start,r,s,a):new e(a,i,n,this.end)},e.prototype.add=function(A,t){return new e(this.start.add(A,t),this.startControl.add(A,t),this.endControl.add(A,t),this.end.add(A,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e})(),eA=function(e){return e.type===1},nQ=(function(){function e(A){var t=A.styles,r=A.bounds,B=se(t.borderTopLeftRadius,r.width,r.height),n=B[0],s=B[1],i=se(t.borderTopRightRadius,r.width,r.height),a=i[0],o=i[1],Q=se(t.borderBottomRightRadius,r.width,r.height),g=Q[0],w=Q[1],f=se(t.borderBottomLeftRadius,r.width,r.height),c=f[0],C=f[1],H=[];H.push((n+a)/r.width),H.push((c+g)/r.width),H.push((s+C)/r.height),H.push((o+w)/r.height);var h=Math.max.apply(Math,H);h>1&&(n/=h,s/=h,a/=h,o/=h,g/=h,w/=h,c/=h,C/=h);var F=r.width-a,K=r.height-w,p=r.width-g,d=r.height-C,l=t.borderTopWidth,v=t.borderRightWidth,y=t.borderBottomWidth,E=t.borderLeftWidth,M=b(t.paddingTop,A.bounds.width),W=b(t.paddingRight,A.bounds.width),z=b(t.paddingBottom,A.bounds.width),D=b(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||s>0?x(r.left+E/3,r.top+l/3,n-E/3,s-l/3,m.TOP_LEFT):new u(r.left+E/3,r.top+l/3),this.topRightBorderDoubleOuterBox=n>0||s>0?x(r.left+F,r.top+l/3,a-v/3,o-l/3,m.TOP_RIGHT):new u(r.left+r.width-v/3,r.top+l/3),this.bottomRightBorderDoubleOuterBox=g>0||w>0?x(r.left+p,r.top+K,g-v/3,w-y/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v/3,r.top+r.height-y/3),this.bottomLeftBorderDoubleOuterBox=c>0||C>0?x(r.left+E/3,r.top+d,c-E/3,C-y/3,m.BOTTOM_LEFT):new u(r.left+E/3,r.top+r.height-y/3),this.topLeftBorderDoubleInnerBox=n>0||s>0?x(r.left+E*2/3,r.top+l*2/3,n-E*2/3,s-l*2/3,m.TOP_LEFT):new u(r.left+E*2/3,r.top+l*2/3),this.topRightBorderDoubleInnerBox=n>0||s>0?x(r.left+F,r.top+l*2/3,a-v*2/3,o-l*2/3,m.TOP_RIGHT):new u(r.left+r.width-v*2/3,r.top+l*2/3),this.bottomRightBorderDoubleInnerBox=g>0||w>0?x(r.left+p,r.top+K,g-v*2/3,w-y*2/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v*2/3,r.top+r.height-y*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||C>0?x(r.left+E*2/3,r.top+d,c-E*2/3,C-y*2/3,m.BOTTOM_LEFT):new u(r.left+E*2/3,r.top+r.height-y*2/3),this.topLeftBorderStroke=n>0||s>0?x(r.left+E/2,r.top+l/2,n-E/2,s-l/2,m.TOP_LEFT):new u(r.left+E/2,r.top+l/2),this.topRightBorderStroke=n>0||s>0?x(r.left+F,r.top+l/2,a-v/2,o-l/2,m.TOP_RIGHT):new u(r.left+r.width-v/2,r.top+l/2),this.bottomRightBorderStroke=g>0||w>0?x(r.left+p,r.top+K,g-v/2,w-y/2,m.BOTTOM_RIGHT):new u(r.left+r.width-v/2,r.top+r.height-y/2),this.bottomLeftBorderStroke=c>0||C>0?x(r.left+E/2,r.top+d,c-E/2,C-y/2,m.BOTTOM_LEFT):new u(r.left+E/2,r.top+r.height-y/2),this.topLeftBorderBox=n>0||s>0?x(r.left,r.top,n,s,m.TOP_LEFT):new u(r.left,r.top),this.topRightBorderBox=a>0||o>0?x(r.left+F,r.top,a,o,m.TOP_RIGHT):new u(r.left+r.width,r.top),this.bottomRightBorderBox=g>0||w>0?x(r.left+p,r.top+K,g,w,m.BOTTOM_RIGHT):new u(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||C>0?x(r.left,r.top+d,c,C,m.BOTTOM_LEFT):new u(r.left,r.top+r.height),this.topLeftPaddingBox=n>0||s>0?x(r.left+E,r.top+l,Math.max(0,n-E),Math.max(0,s-l),m.TOP_LEFT):new u(r.left+E,r.top+l),this.topRightPaddingBox=a>0||o>0?x(r.left+Math.min(F,r.width-v),r.top+l,F>r.width+v?0:Math.max(0,a-v),Math.max(0,o-l),m.TOP_RIGHT):new u(r.left+r.width-v,r.top+l),this.bottomRightPaddingBox=g>0||w>0?x(r.left+Math.min(p,r.width-E),r.top+Math.min(K,r.height-y),Math.max(0,g-v),Math.max(0,w-y),m.BOTTOM_RIGHT):new u(r.left+r.width-v,r.top+r.height-y),this.bottomLeftPaddingBox=c>0||C>0?x(r.left+E,r.top+Math.min(d,r.height-y),Math.max(0,c-E),Math.max(0,C-y),m.BOTTOM_LEFT):new u(r.left+E,r.top+r.height-y),this.topLeftContentBox=n>0||s>0?x(r.left+E+D,r.top+l+M,Math.max(0,n-(E+D)),Math.max(0,s-(l+M)),m.TOP_LEFT):new u(r.left+E+D,r.top+l+M),this.topRightContentBox=a>0||o>0?x(r.left+Math.min(F,r.width+E+D),r.top+l+M,F>r.width+E+D?0:a-E+D,o-(l+M),m.TOP_RIGHT):new u(r.left+r.width-(v+W),r.top+l+M),this.bottomRightContentBox=g>0||w>0?x(r.left+Math.min(p,r.width-(E+D)),r.top+Math.min(K,r.height+l+M),Math.max(0,g-(v+W)),w-(y+z),m.BOTTOM_RIGHT):new u(r.left+r.width-(v+W),r.top+r.height-(y+z)),this.bottomLeftContentBox=c>0||C>0?x(r.left+E+D,r.top+d,Math.max(0,c-(E+D)),C-(y+z),m.BOTTOM_LEFT):new u(r.left+E+D,r.top+r.height-(y+z))}return e})(),m=(function(e){return e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT",e})(m||{}),x=function(e,A,t,r,B){var n=4*((Math.sqrt(2)-1)/3),s=t*n,i=r*n,a=e+t,o=A+r;switch(B){case m.TOP_LEFT:return new er(new u(e,o),new u(e,o-i),new u(a-s,A),new u(a,A));case m.TOP_RIGHT:return new er(new u(e,A),new u(e+s,A),new u(a,o-i),new u(a,o));case m.BOTTOM_RIGHT:return new er(new u(a,A),new u(a,A+i),new u(e+s,o),new u(e,o));case m.BOTTOM_LEFT:default:return new er(new u(a,o),new u(a-s,o),new u(e,A+i),new u(e,A))}},rr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},sQ=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},tr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},aQ=(function(){function e(A,t,r){this.offsetX=A,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return e})(),Br=(function(){function e(A,t){this.path=A,this.target=t,this.type=1}return e})(),iQ=(function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e})(),oQ=function(e){return e.type===0},An=function(e){return e.type===1},QQ=function(e){return e.type===2},en=function(e,A){return e.length===A.length?e.some(function(t,r){return t===A[r]}):!1},gQ=function(e,A,t,r,B){return e.map(function(n,s){switch(s){case 0:return n.add(A,t);case 1:return n.add(A+r,t);case 2:return n.add(A+r,t+B);case 3:return n.add(A,t+B)}return n})},rn=(function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e})(),tn=(function(){function e(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new nQ(this.container),this.container.styles.opacity<1&&this.effects.push(new iQ(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,B=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new aQ(r,B,n))}if(this.container.styles.overflowX!==0){var s=rr(this.curves),i=tr(this.curves);en(s,i)?this.effects.push(new Br(s,6)):(this.effects.push(new Br(s,2)),this.effects.push(new Br(i,4)))}}return e.prototype.getEffects=function(A){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,B=this.effects.slice(0);r;){var n=r.effects.filter(function(a){return!An(a)});if(t||r.container.styles.position!==0||!r.parent){if(B.unshift.apply(B,n),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=rr(r.curves),i=tr(r.curves);en(s,i)||B.unshift(new Br(i,6))}}else B.unshift.apply(B,n);r=r.parent}return B.filter(function(a){return G(a.target,A)})},e})(),tt=function(e,A,t,r){e.container.elements.forEach(function(B){var n=G(B.flags,4),s=G(B.flags,2),i=new tn(B,e);G(B.styles.display,2048)&&r.push(i);var a=G(B.flags,8)?[]:r;if(n||s){var o=n||B.styles.isPositioned()?t:A,Q=new rn(i);if(B.styles.isPositioned()||B.styles.opacity<1||B.styles.isTransformed()){var g=B.styles.zIndex.order;if(g<0){var w=0;o.negativeZIndex.some(function(c,C){return g>c.element.container.styles.zIndex.order?(w=C,!1):w>0}),o.negativeZIndex.splice(w,0,Q)}else if(g>0){var f=0;o.positiveZIndex.some(function(c,C){return g>=c.element.container.styles.zIndex.order?(f=C+1,!1):f>0}),o.positiveZIndex.splice(f,0,Q)}else o.zeroOrAutoZIndexOrTransformedOrOpacity.push(Q)}else B.styles.isFloating()?o.nonPositionedFloats.push(Q):o.nonPositionedInlineLevel.push(Q);tt(i,Q,n?Q:t,a)}else B.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),tt(i,A,t,a);G(B.flags,8)&&Bn(B,a)})},Bn=function(e,A){for(var t=e instanceof kr?e.start:1,r=e instanceof kr?e.reversed:!1,B=0;B"u"?e[0]:t},FQ=function(e,A,t,r,B){var n=A[0],s=A[1],i=t[0],a=t[1];switch(e){case 2:return[new u(Math.round(r.left),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(a+r.top+s)),new u(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new u(Math.round(r.left+n),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.height+r.top)),new u(Math.round(r.left+n),Math.round(r.height+r.top))];case 1:return[new u(Math.round(r.left+n),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s+a)),new u(Math.round(r.left+n),Math.round(r.top+s+a))];default:return[new u(Math.round(B.left),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.height+B.top)),new u(Math.round(B.left),Math.round(B.height+B.top))]}},hQ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",an="Hidden Text",dQ=(function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,t){var r=this._document.createElement("div"),B=this._document.createElement("img"),n=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),B.src=hQ,B.width=1,B.height=1,B.style.margin="0",B.style.padding="0",B.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(an)),r.appendChild(n),r.appendChild(B);var i=B.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(an)),r.style.lineHeight="normal",B.style.verticalAlign="super";var a=B.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:i,middle:a}},e.prototype.getMetrics=function(A,t){var r=A+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,t)),this._data[r]},e})(),on=(function(){function e(A,t){this.context=A,this.options=t}return e})(),EQ=1e4,HQ=(function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B._activeEffects=[],B.canvas=r.canvas?r.canvas:document.createElement("canvas"),B.ctx=B.canvas.getContext("2d"),r.canvas||(B.canvas.width=Math.floor(r.width*r.scale),B.canvas.height=Math.floor(r.height*r.scale),B.canvas.style.width=r.width+"px",B.canvas.style.height=r.height+"px"),B.fontMetrics=new dQ(document),B.ctx.scale(B.options.scale,B.options.scale),B.ctx.translate(-r.x,-r.y),B.ctx.textBaseline="bottom",B._activeEffects=[],B.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),B}return A.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(B){return r.applyEffect(B)})},A.prototype.applyEffect=function(t){this.ctx.save(),QQ(t)&&(this.ctx.globalAlpha=t.opacity),oQ(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),An(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(t){return k(this,void 0,void 0,function(){var r;return _(this,function(B){switch(B.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:B.sent(),B.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(t){return k(this,void 0,void 0,function(){return _(this,function(r){switch(r.label){case 0:if(G(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(t,r,B){var n=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+B);else{var s=Pr(t.text);s.reduce(function(i,a){return n.ctx.fillText(a,i,t.bounds.top+B),i+n.ctx.measureText(a).width},t.bounds.left)}},A.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),B=KQ(t.fontFamily).join(", "),n=ne(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,n,B].join(" "),B,n]},A.prototype.renderTextNode=function(t,r){return k(this,void 0,void 0,function(){var B,n,s,i,a,o,Q,g,w=this;return _(this,function(f){return B=this.createFontStyle(r),n=B[0],s=B[1],i=B[2],this.ctx.font=n,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,i),o=a.baseline,Q=a.middle,g=r.paintOrder,t.textBounds.forEach(function(c){g.forEach(function(C){switch(C){case 0:w.ctx.fillStyle=R(r.color),w.renderTextWithLetterSpacing(c,r.letterSpacing,o);var H=r.textShadow;H.length&&c.text.trim().length&&(H.slice(0).reverse().forEach(function(h){w.ctx.shadowColor=R(h.color),w.ctx.shadowOffsetX=h.offsetX.number*w.options.scale,w.ctx.shadowOffsetY=h.offsetY.number*w.options.scale,w.ctx.shadowBlur=h.blur.number,w.renderTextWithLetterSpacing(c,r.letterSpacing,o)}),w.ctx.shadowColor="",w.ctx.shadowOffsetX=0,w.ctx.shadowOffsetY=0,w.ctx.shadowBlur=0),r.textDecorationLine.length&&(w.ctx.fillStyle=R(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(h){switch(h){case 1:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top+o),c.bounds.width,1);break;case 2:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top),c.bounds.width,1);break;case 3:w.ctx.fillRect(c.bounds.left,Math.ceil(c.bounds.top+Q),c.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&c.text.trim().length&&(w.ctx.strokeStyle=R(r.webkitTextStrokeColor),w.ctx.lineWidth=r.webkitTextStrokeWidth,w.ctx.lineJoin=window.chrome?"miter":"round",w.ctx.strokeText(c.text,c.bounds.left,c.bounds.top+o)),w.ctx.strokeStyle="",w.ctx.lineWidth=0,w.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(t,r,B){if(B&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var n=sr(t),s=tr(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(B,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return k(this,void 0,void 0,function(){var r,B,n,s,i,a,F,F,o,Q,g,w,p,f,c,d,C,H,h,F,K,p,d;return _(this,function(l){switch(l.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,B=t.curves,n=r.styles,s=0,i=r.textNodes,l.label=1;case 1:return s0&&X>0&&(y=n.ctx.createPattern(d,"repeat"),n.renderRepeat(M,y,Z,q))):oa(Q)&&(E=Bt(t,r,[null,null,null]),M=E[0],W=E[1],z=E[2],D=E[3],X=E[4],HA=Q.position.length===0?[mr]:Q.position,Z=b(HA[0],D),q=b(HA[HA.length-1],X),DA=Ba(Q,Z,q,D,X),aA=DA[0],pA=DA[1],aA>0&&pA>0&&(bA=n.ctx.createRadialGradient(W+Z,z+q,0,W+Z,z+q,aA),qt(Q.stops,aA*2).forEach(function(ce){return bA.addColorStop(ce.stop,R(ce.color))}),n.path(M),n.ctx.fillStyle=bA,aA!==pA?(xA=t.bounds.left+.5*t.bounds.width,wA=t.bounds.top+.5*t.bounds.height,TA=pA/aA,cA=1/TA,n.ctx.save(),n.ctx.translate(xA,wA),n.ctx.transform(1,0,0,TA,0,0),n.ctx.translate(-xA,-wA),n.ctx.fillRect(W,cA*(z-wA)+wA,D,X*cA),n.ctx.restore()):n.ctx.fill())),kA.label=6;case 6:return r--,[2]}})},n=this,s=0,i=t.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return s0?Q.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,2)]:[3,11]):[3,13];case 4:return w.sent(),[3,11];case 5:return Q.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,3)];case 6:return w.sent(),[3,11];case 7:return Q.style!==4?[3,9]:[4,this.renderDoubleBorder(Q.color,Q.width,i,t.curves)];case 8:return w.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Q.color,i,t.curves)];case 10:w.sent(),w.label=11;case 11:i++,w.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(t,r,B,n,s){return k(this,void 0,void 0,function(){var i,a,o,Q,g,w,f,c,C,H,h,F,K,p,d,l,d,l;return _(this,function(v){return this.ctx.save(),i=uQ(n,B),a=nn(n,B),s===2&&(this.path(a),this.ctx.clip()),eA(a[0])?(o=a[0].start.x,Q=a[0].start.y):(o=a[0].x,Q=a[0].y),eA(a[1])?(g=a[1].end.x,w=a[1].end.y):(g=a[1].x,w=a[1].y),B===0||B===2?f=Math.abs(o-g):f=Math.abs(Q-w),this.ctx.beginPath(),s===3?this.formatPath(i):this.formatPath(a.slice(0,2)),c=r<3?r*3:r*2,C=r<3?r*2:r,s===3&&(c=r,C=r),H=!0,f<=c*2?H=!1:f<=c*2+C?(h=f/(2*c+C),c*=h,C*=h):(F=Math.floor((f+C)/(c+C)),K=(f-F*c)/(F-1),p=(f-(F+1)*c)/F,C=p<=0||Math.abs(C-K){"use strict";var br=function(i){return i&&i.Math===Math&&i};zs.exports=br(typeof globalThis=="object"&&globalThis)||br(typeof window=="object"&&window)||br(typeof self=="object"&&self)||br(typeof global=="object"&&global)||br(typeof Ii=="object"&&Ii)||(function(){return this})()||Function("return this")()});var _=d((kO,$s)=>{"use strict";$s.exports=function(i){try{return!!i()}catch{return!0}}});var ue=d((BO,Gs)=>{"use strict";var wg=_();Gs.exports=!wg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var xr=d((jO,Hs)=>{"use strict";var Cg=_();Hs.exports=!Cg(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var H=d((UO,Ys)=>{"use strict";var qg=xr(),ut=Function.prototype.call;Ys.exports=qg?ut.bind(ut):function(){return ut.apply(ut,arguments)}});var Ks=d(Qs=>{"use strict";var Xs={}.propertyIsEnumerable,Ws=Object.getOwnPropertyDescriptor,Ag=Ws&&!Xs.call({1:2},1);Qs.f=Ag?function(e){var r=Ws(this,e);return!!r&&r.enumerable}:Xs});var lt=d((zO,Zs)=>{"use strict";Zs.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var D=d(($O,ro)=>{"use strict";var Js=xr(),eo=Function.prototype,Mi=eo.call,Pg=Js&&eo.bind.bind(Mi,Mi);ro.exports=Js?Pg:function(i){return function(){return Mi.apply(i,arguments)}}});var xe=d((GO,io)=>{"use strict";var to=D(),Rg=to({}.toString),Ng=to("".slice);io.exports=function(i){return Ng(Rg(i),8,-1)}});var _i=d((HO,ao)=>{"use strict";var Ig=D(),Mg=_(),Vg=xe(),Vi=Object,_g=Ig("".split);ao.exports=Mg(function(){return!Vi("z").propertyIsEnumerable(0)})?function(i){return Vg(i)==="String"?_g(i,""):Vi(i)}:Vi});var Tr=d((YO,no)=>{"use strict";no.exports=function(i){return i==null}});var le=d((XO,so)=>{"use strict";var Dg=Tr(),Lg=TypeError;so.exports=function(i){if(Dg(i))throw new Lg("Can't call method on "+i);return i}});var Qe=d((WO,oo)=>{"use strict";var kg=_i(),Bg=le();oo.exports=function(i){return kg(Bg(i))}});var L=d((QO,uo)=>{"use strict";var Di=typeof document=="object"&&document.all;uo.exports=typeof Di>"u"&&Di!==void 0?function(i){return typeof i=="function"||i===Di}:function(i){return typeof i=="function"}});var te=d((KO,lo)=>{"use strict";var jg=L();lo.exports=function(i){return typeof i=="object"?i!==null:jg(i)}});var Pe=d((ZO,ho)=>{"use strict";var Li=M(),Ug=L(),Fg=function(i){return Ug(i)?i:void 0};ho.exports=function(i,e){return arguments.length<2?Fg(Li[i]):Li[i]&&Li[i][e]}});var Or=d((JO,co)=>{"use strict";var zg=D();co.exports=zg({}.isPrototypeOf)});var Ke=d((eS,go)=>{"use strict";var $g=M(),fo=$g.navigator,vo=fo&&fo.userAgent;go.exports=vo?String(vo):""});var ct=d((rS,To)=>{"use strict";var xo=M(),ki=Ke(),po=xo.process,yo=xo.Deno,mo=po&&po.versions||yo&&yo.version,bo=mo&&mo.v8,fe,ht;bo&&(fe=bo.split("."),ht=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ht&&ki&&(fe=ki.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=ki.match(/Chrome\/(\d+)/),fe&&(ht=+fe[1])));To.exports=ht});var Bi=d((tS,So)=>{"use strict";var Oo=ct(),Gg=_(),Hg=M(),Yg=Hg.String;So.exports=!!Object.getOwnPropertySymbols&&!Gg(function(){var i=Symbol("symbol detection");return!Yg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Oo&&Oo<41})});var ji=d((iS,Eo)=>{"use strict";var Xg=Bi();Eo.exports=Xg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Ui=d((aS,wo)=>{"use strict";var Wg=Pe(),Qg=L(),Kg=Or(),Zg=ji(),Jg=Object;wo.exports=Zg?function(i){return typeof i=="symbol"}:function(i){var e=Wg("Symbol");return Qg(e)&&Kg(e.prototype,Jg(i))}});var Sr=d((nS,Co)=>{"use strict";var ed=String;Co.exports=function(i){try{return ed(i)}catch{return"Object"}}});var Te=d((sS,qo)=>{"use strict";var rd=L(),td=Sr(),id=TypeError;qo.exports=function(i){if(rd(i))return i;throw new id(td(i)+" is not a function")}});var ke=d((oS,Ao)=>{"use strict";var ad=Te(),nd=Tr();Ao.exports=function(i,e){var r=i[e];return nd(r)?void 0:ad(r)}});var Ro=d((uS,Po)=>{"use strict";var Fi=H(),zi=L(),$i=te(),sd=TypeError;Po.exports=function(i,e){var r,t;if(e==="string"&&zi(r=i.toString)&&!$i(t=Fi(r,i))||zi(r=i.valueOf)&&!$i(t=Fi(r,i))||e!=="string"&&zi(r=i.toString)&&!$i(t=Fi(r,i)))return t;throw new sd("Can't convert object to primitive value")}});var ve=d((lS,No)=>{"use strict";No.exports=!1});var ft=d((hS,Mo)=>{"use strict";var Io=M(),od=Object.defineProperty;Mo.exports=function(i,e){try{od(Io,i,{value:e,configurable:!0,writable:!0})}catch{Io[i]=e}return e}});var vt=d((cS,Do)=>{"use strict";var ud=ve(),ld=M(),hd=ft(),Vo="__core-js_shared__",_o=Do.exports=ld[Vo]||hd(Vo,{});(_o.versions||(_o.versions=[])).push({version:"3.50.0",mode:ud?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var gt=d((fS,ko)=>{"use strict";var Lo=vt(),cd=Object.create||Object;ko.exports=function(i,e){return Lo[i]||(Lo[i]=e||cd(null))}});var Er=d((vS,Bo)=>{"use strict";var fd=le(),vd=Object;Bo.exports=function(i){return vd(fd(i))}});var he=d((gS,jo)=>{"use strict";var gd=D(),dd=Er(),pd=gd({}.hasOwnProperty);jo.exports=Object.hasOwn||function(e,r){return pd(dd(e),r)}});var Gi=d((dS,Uo)=>{"use strict";var yd=D(),md=0,bd=Math.random(),xd=yd(1.1.toString);Uo.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+xd(++md+bd,36)}});var z=d((pS,zo)=>{"use strict";var Td=M(),Od=gt(),Fo=he(),Sd=Gi(),Ed=Bi(),wd=ji(),Ze=Td.Symbol,Hi=Od("wks"),Cd=wd?Ze.for||Ze:Ze&&Ze.withoutSetter||Sd;zo.exports=function(i){return Fo(Hi,i)||(Hi[i]=Ed&&Fo(Ze,i)?Ze[i]:Cd("Symbol."+i)),Hi[i]}});var Yo=d((yS,Ho)=>{"use strict";var qd=H(),$o=te(),Go=Ui(),Ad=ke(),Pd=Ro(),Rd=z(),Nd=TypeError,Id=Rd("toPrimitive");Ho.exports=function(i,e){if(!$o(i)||Go(i))return i;var r=Ad(i,Id),t;if(r){if(e===void 0&&(e="default"),t=qd(r,i,e),!$o(t)||Go(t))return t;throw new Nd("Can't convert object to primitive value")}return e===void 0&&(e="number"),Pd(i,e)}});var Yi=d((mS,Xo)=>{"use strict";var Md=Yo(),Vd=Ui();Xo.exports=function(i){var e=Md(i,"string");return Vd(e)?e:e+""}});var wr=d((bS,Qo)=>{"use strict";var _d=M(),Wo=te(),Xi=_d.document,Dd=Wo(Xi)&&Wo(Xi.createElement);Qo.exports=function(i){return Dd?Xi.createElement(i):{}}});var Wi=d((xS,Ko)=>{"use strict";var Ld=ue(),kd=_(),Bd=wr();Ko.exports=!Ld&&!kd(function(){return Object.defineProperty(Bd("div"),"a",{get:function(){return 7}}).a!==7})});var Cr=d(Jo=>{"use strict";var jd=ue(),Ud=H(),Fd=Ks(),zd=lt(),$d=Qe(),Gd=Yi(),Hd=he(),Yd=Wi(),Zo=Object.getOwnPropertyDescriptor;Jo.f=jd?Zo:function(e,r){if(e=$d(e),r=Gd(r),Yd)try{return Zo(e,r)}catch{}if(Hd(e,r))return zd(!Ud(Fd.f,e,r),e[r])}});var Qi=d((OS,eu)=>{"use strict";var Xd=ue(),Wd=_();eu.exports=Xd&&Wd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=d((SS,ru)=>{"use strict";var Qd=te(),Kd=String,Zd=TypeError;ru.exports=function(i){if(Qd(i))return i;throw new Zd(Kd(i)+" is not an object")}});var Oe=d(iu=>{"use strict";var Jd=ue(),ep=Wi(),rp=Qi(),dt=J(),tu=Yi(),tp=TypeError,Ki=Object.defineProperty,ip=Object.getOwnPropertyDescriptor,Zi="enumerable",Ji="configurable",ea="writable";iu.f=Jd?rp?function(e,r,t){if(dt(e),r=tu(r),dt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&ea in t&&!t[ea]){var a=ip(e,r);a&&a[ea]&&(e[r]=t.value,t={configurable:Ji in t?t[Ji]:a[Ji],enumerable:Zi in t?t[Zi]:a[Zi],writable:!1})}return Ki(e,r,t)}:Ki:function(e,r,t){if(dt(e),r=tu(r),dt(t),ep)try{return Ki(e,r,t)}catch{}if("get"in t||"set"in t)throw new tp("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var Je=d((wS,au)=>{"use strict";var ap=ue(),np=Oe(),sp=lt();au.exports=ap?function(i,e,r){return np.f(i,e,sp(1,r))}:function(i,e,r){return i[e]=r,i}});var qr=d((CS,su)=>{"use strict";var ra=ue(),op=he(),nu=Function.prototype,up=ra&&Object.getOwnPropertyDescriptor,ta=op(nu,"name"),lp=ta&&function(){}.name==="something",hp=ta&&(!ra||ra&&up(nu,"name").configurable);su.exports={EXISTS:ta,PROPER:lp,CONFIGURABLE:hp}});var pt=d((qS,ou)=>{"use strict";var cp=D(),fp=L(),ia=vt(),vp=cp(Function.toString);fp(ia.inspectSource)||(ia.inspectSource=function(i){return vp(i)});ou.exports=ia.inspectSource});var hu=d((AS,lu)=>{"use strict";var gp=M(),dp=L(),uu=gp.WeakMap;lu.exports=dp(uu)&&/native code/.test(String(uu))});var yt=d((PS,fu)=>{"use strict";var pp=gt(),yp=Gi(),cu=pp("keys");fu.exports=function(i){return cu[i]||(cu[i]=yp(i))}});var mt=d((RS,vu)=>{"use strict";vu.exports={}});var Pr=d((NS,pu)=>{"use strict";var mp=hu(),du=M(),bp=te(),xp=Je(),aa=he(),na=vt(),Tp=yt(),Op=mt(),gu="Object already initialized",sa=du.TypeError,Sp=du.WeakMap,bt,Ar,xt,Ep=function(i){return xt(i)?Ar(i):bt(i,{})},wp=function(i){return function(e){var r;if(!bp(e)||(r=Ar(e)).type!==i)throw new sa("Incompatible receiver, "+i+" required");return r}};mp||na.state?(ge=na.state||(na.state=new Sp),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,bt=function(i,e){if(ge.has(i))throw new sa(gu);return e.facade=i,ge.set(i,e),e},Ar=function(i){return ge.get(i)||{}},xt=function(i){return ge.has(i)}):(Be=Tp("state"),Op[Be]=!0,bt=function(i,e){if(aa(i,Be))throw new sa(gu);return e.facade=i,xp(i,Be,e),e},Ar=function(i){return aa(i,Be)?i[Be]:{}},xt=function(i){return aa(i,Be)});var ge,Be;pu.exports={set:bt,get:Ar,has:xt,enforce:Ep,getterFor:wp}});var la=d((IS,bu)=>{"use strict";var ua=D(),Cp=_(),qp=L(),Tt=he(),oa=ue(),Ap=qr().CONFIGURABLE,Pp=pt(),mu=Pr(),Rp=mu.enforce,Np=mu.get,yu=String,Ot=Object.defineProperty,Ip=ua("".slice),Mp=ua("".replace),Vp=ua([].join),_p=oa&&!Cp(function(){return Ot(function(){},"length",{value:8}).length!==8}),Dp=String(String).split("String"),Lp=bu.exports=function(i,e,r){Ip(yu(e),0,7)==="Symbol("&&(e="["+Mp(yu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Tt(i,"name")||Ap&&i.name!==e)&&(oa?Ot(i,"name",{value:e,configurable:!0}):i.name=e),_p&&r&&Tt(r,"arity")&&i.length!==r.arity&&Ot(i,"length",{value:r.arity});try{r&&Tt(r,"constructor")&&r.constructor?oa&&Ot(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=Rp(i);return Tt(t,"source")||(t.source=Vp(Dp,typeof e=="string"?e:"")),i};Function.prototype.toString=Lp(function(){return qp(this)&&Np(this).source||Pp(this)},"toString")});var Re=d((MS,xu)=>{"use strict";var kp=L(),Bp=Oe(),jp=la(),Up=ft();xu.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(kp(r)&&jp(r,n,t),t.global)a?i[e]=r:Up(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:Bp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var Ou=d((VS,Tu)=>{"use strict";var Fp=Math.ceil,zp=Math.floor;Tu.exports=Math.trunc||function(e){var r=+e;return(r>0?zp:Fp)(r)}});var Rr=d((_S,Su)=>{"use strict";var $p=Ou();Su.exports=function(i){var e=+i;return e!==e||e===0?0:$p(e)}});var wu=d((DS,Eu)=>{"use strict";var Gp=Rr(),Hp=Math.max,Yp=Math.min;Eu.exports=function(i,e){var r=Gp(i);return r<0?Hp(r+e,0):Yp(r,e)}});var je=d((LS,Cu)=>{"use strict";var Xp=Rr(),Wp=Math.min;Cu.exports=function(i){var e=Xp(i);return e>0?Wp(e,9007199254740991):0}});var St=d((kS,qu)=>{"use strict";var Qp=je();qu.exports=function(i){return Qp(i.length)}});var ha=d((BS,Pu)=>{"use strict";var Kp=Qe(),Zp=wu(),Jp=St(),Au=function(i){return function(e,r,t){var a=Kp(e),n=Jp(a);if(n===0)return!i&&-1;var o=Zp(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Pu.exports={includes:Au(!0),indexOf:Au(!1)}});var fa=d((jS,Nu)=>{"use strict";var ey=D(),ca=he(),ry=Qe(),ty=ha().indexOf,iy=mt(),Ru=ey([].push);Nu.exports=function(i,e){var r=ry(i),t=0,a=[],n;for(n in r)!ca(iy,n)&&ca(r,n)&&Ru(a,n);for(;e.length>t;)ca(r,n=e[t++])&&(~ty(a,n)||Ru(a,n));return a}});var Et=d((US,Iu)=>{"use strict";Iu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Vu=d(Mu=>{"use strict";var ay=fa(),ny=Et(),sy=ny.concat("length","prototype");Mu.f=Object.getOwnPropertyNames||function(e){return ay(e,sy)}});var Du=d(_u=>{"use strict";_u.f=Object.getOwnPropertySymbols});var ku=d(($S,Lu)=>{"use strict";var oy=Pe(),uy=D(),ly=Vu(),hy=Du(),cy=J(),fy=uy([].concat);Lu.exports=oy("Reflect","ownKeys")||function(e){var r=ly.f(cy(e)),t=hy.f;return t?fy(r,t(e)):r}});var Uu=d((GS,ju)=>{"use strict";var Bu=he(),vy=ku(),gy=Cr(),dy=Oe();ju.exports=function(i,e,r){for(var t=vy(e),a=dy.f,n=gy.f,o=0;o{"use strict";var py=_(),yy=L(),my=/#|\.prototype\./,Nr=function(i,e){var r=xy[by(i)];return r===Oy?!0:r===Ty?!1:yy(e)?py(e):!!e},by=Nr.normalize=function(i){return String(i).replace(my,".").toLowerCase()},xy=Nr.data={},Ty=Nr.NATIVE="N",Oy=Nr.POLYFILL="P";Fu.exports=Nr});var ee=d((YS,zu)=>{"use strict";var wt=M(),Sy=Cr().f,Ey=Je(),wy=Re(),Cy=ft(),qy=Uu(),Ay=va();zu.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=wt:a?o=wt[r]||Cy(r,{}):o=wt[r]&&wt[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=Sy(o,s),u=h&&h.value):u=o[s],n=Ay(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;qy(l,u)}(i.sham||u&&u.sham)&&Ey(l,"sham",!0),wy(o,s,l,i)}}});var ga=d((XS,$u)=>{"use strict";var Ir=M(),Py=Ke(),Ry=xe(),Ct=function(i){return Py.slice(0,i.length)===i};$u.exports=(function(){return Ct("Bun/")?"BUN":Ct("Cloudflare-Workers")?"CLOUDFLARE":Ct("Deno/")?"DENO":Ct("Node.js/")?"NODE":Ir.Bun&&typeof Bun.version=="string"?"BUN":Ir.Deno&&typeof Deno.version=="object"?"DENO":Ry(Ir.process)==="process"?"NODE":Ir.window&&Ir.document?"BROWSER":"REST"})()});var Mr=d((WS,Gu)=>{"use strict";var Ny=ga();Gu.exports=Ny==="NODE"});var Yu=d((QS,Hu)=>{"use strict";var Iy=M();Hu.exports=Iy});var Wu=d((KS,Xu)=>{"use strict";var My=D(),Vy=Te();Xu.exports=function(i,e,r){try{return My(Vy(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var Ku=d((ZS,Qu)=>{"use strict";var _y=te();Qu.exports=function(i){return _y(i)||i===null}});var Ju=d((JS,Zu)=>{"use strict";var Dy=Ku(),Ly=String,ky=TypeError;Zu.exports=function(i){if(Dy(i))return i;throw new ky("Can't set "+Ly(i)+" as a prototype")}});var da=d((eE,el)=>{"use strict";var By=Wu(),jy=te(),Uy=le(),Fy=Ju();el.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,e={},r;try{r=By(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Uy(a),Fy(n),jy(a)&&(i?r(a,n):a.__proto__=n),a}})():void 0)});var Vr=d((rE,tl)=>{"use strict";var zy=Oe().f,$y=he(),Gy=z(),rl=Gy("toStringTag");tl.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!$y(i,rl)&&zy(i,rl,{configurable:!0,value:e})}});var nl=d((tE,al)=>{"use strict";var il=la(),Hy=Oe();al.exports=function(i,e,r){return r.get&&il(r.get,e,{getter:!0}),r.set&&il(r.set,e,{setter:!0}),Hy.f(i,e,r)}});var ul=d((iE,ol)=>{"use strict";var Yy=Pe(),Xy=nl(),Wy=z(),Qy=ue(),sl=Wy("species");ol.exports=function(i){var e=Yy(i);Qy&&e&&!e[sl]&&Xy(e,sl,{configurable:!0,get:function(){return this}})}});var hl=d((aE,ll)=>{"use strict";var Ky=Or(),Zy=TypeError;ll.exports=function(i,e){if(Ky(e,i))return i;throw new Zy("Incorrect invocation")}});var vl=d((nE,fl)=>{"use strict";var Jy=z(),e0=Jy("toStringTag"),cl={};cl[e0]="z";fl.exports=String(cl)==="[object z]"});var pa=d((sE,gl)=>{"use strict";var r0=vl(),t0=L(),qt=xe(),i0=z(),a0=i0("toStringTag"),n0=Object,s0=qt((function(){return arguments})())==="Arguments",o0=function(i,e){try{return i[e]}catch{}};gl.exports=r0?qt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=o0(e=n0(i),a0))=="string"?r:s0?qt(e):(t=qt(e))==="Object"&&t0(e.callee)?"Arguments":t}});var xl=d((oE,bl)=>{"use strict";var u0=D(),l0=_(),dl=L(),h0=pa(),c0=Pe(),f0=pt(),pl=function(){},yl=c0("Reflect","construct"),ya=/^\s*(?:class|function)\b/,v0=u0(ya.exec),g0=!ya.test(pl),_r=function(e){if(!dl(e))return!1;try{return yl(pl,[],e),!0}catch{return!1}},ml=function(e){if(!dl(e))return!1;switch(h0(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g0||!!v0(ya,f0(e))}catch{return!0}};ml.sham=!0;bl.exports=!yl||l0(function(){var i;return _r(_r.call)||!_r(Object)||!_r(function(){i=!0})||i})?ml:_r});var Ol=d((uE,Tl)=>{"use strict";var d0=xl(),p0=Sr(),y0=TypeError;Tl.exports=function(i){if(d0(i))return i;throw new y0(p0(i)+" is not a constructor")}});var ma=d((lE,El)=>{"use strict";var Sl=J(),m0=Ol(),b0=Tr(),x0=z(),T0=x0("species");El.exports=function(i,e){var r=Sl(i).constructor,t;return r===void 0||b0(t=Sl(r)[T0])?e:m0(t)}});var ba=d((hE,Al)=>{"use strict";var O0=xr(),ql=Function.prototype,wl=ql.apply,Cl=ql.call;Al.exports=typeof Reflect=="object"&&Reflect.apply||(O0?Cl.bind(wl):function(){return Cl.apply(wl,arguments)})});var Dr=d((cE,Pl)=>{"use strict";var S0=xe(),E0=D();Pl.exports=function(i){if(S0(i)==="Function")return E0(i)}});var At=d((fE,Nl)=>{"use strict";var Rl=Dr(),w0=Te(),C0=xr(),q0=Rl(Rl.bind);Nl.exports=function(i,e){return w0(i),e===void 0?i:C0?q0(i,e):function(){return i.apply(e,arguments)}}});var xa=d((vE,Il)=>{"use strict";var A0=Pe();Il.exports=A0("document","documentElement")});var Vl=d((gE,Ml)=>{"use strict";var P0=D();Ml.exports=P0([].slice)});var Dl=d((dE,_l)=>{"use strict";var R0=TypeError;_l.exports=function(i,e){if(i{"use strict";var Ll=Ke();kl.exports=/ipad|iphone|ipod/i.test(Ll)&&/applewebkit/i.test(Ll)});var Ra=d((yE,Yl)=>{"use strict";var ne=M(),N0=ba(),I0=At(),Bl=L(),M0=he(),Hl=_(),jl=xa(),V0=Vl(),Ul=wr(),_0=Dl(),D0=Ta(),L0=Mr(),qa=ne.setImmediate,Aa=ne.clearImmediate,k0=ne.process,Oa=ne.Dispatch,B0=ne.Function,Fl=ne.MessageChannel,j0=ne.String,Sa=0,Lr={},zl="onreadystatechange",kr,Ue,Ea,wa;Hl(function(){kr=ne.location});var Pa=function(i){if(M0(Lr,i)){var e=Lr[i];delete Lr[i],e()}},Ca=function(i){return function(){Pa(i)}},$l=function(i){Pa(i.data)},Gl=function(i){ne.postMessage(j0(i),kr.protocol+"//"+kr.host)};(!qa||!Aa)&&(qa=function(e){_0(arguments.length,1);var r=Bl(e)?e:B0(e),t=V0(arguments,1);return Lr[++Sa]=function(){N0(r,void 0,t)},Ue(Sa),Sa},Aa=function(e){delete Lr[e]},L0?Ue=function(i){k0.nextTick(Ca(i))}:Oa&&Oa.now?Ue=function(i){Oa.now(Ca(i))}:Fl&&!D0?(Ea=new Fl,wa=Ea.port2,Ea.port1.onmessage=$l,Ue=I0(wa.postMessage,wa)):ne.addEventListener&&Bl(ne.postMessage)&&!ne.importScripts&&kr&&kr.protocol!=="file:"&&!Hl(Gl)?(Ue=Gl,ne.addEventListener("message",$l,!1)):zl in Ul("script")?Ue=function(i){jl.appendChild(Ul("script"))[zl]=function(){jl.removeChild(this),Pa(i)}}:Ue=function(i){setTimeout(Ca(i),0)});Yl.exports={set:qa,clear:Aa}});var Ql=d((mE,Wl)=>{"use strict";var Xl=M(),U0=ue(),F0=Object.getOwnPropertyDescriptor;Wl.exports=function(i){if(!U0)return Xl[i];var e=F0(Xl,i);return e&&e.value}});var Na=d((bE,Zl)=>{"use strict";var Kl=function(){this.head=null,this.tail=null};Kl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};Zl.exports=Kl});var eh=d((xE,Jl)=>{"use strict";var z0=Ke();Jl.exports=/ipad|iphone|ipod/i.test(z0)&&typeof Pebble<"u"});var th=d((TE,rh)=>{"use strict";var $0=Ke();rh.exports=/web0s(?!.*chrome)/i.test($0)});var lh=d((OE,uh)=>{"use strict";var rr=M(),G0=Ql(),ih=At(),Ia=Ra().set,H0=Na(),Y0=Ta(),X0=eh(),W0=th(),Ma=Mr(),ah=rr.MutationObserver||rr.WebKitMutationObserver,nh=rr.document,sh=rr.process,Pt=rr.Promise,Da=G0("queueMicrotask"),er,Va,_a,Rt,oh;Da||(Br=new H0,jr=function(){var i,e;for(Ma&&(i=sh.domain)&&i.exit();e=Br.get();)try{e()}catch(r){throw Br.head&&er(),r}i&&i.enter()},!Y0&&!Ma&&!W0&&ah&&nh?(Va=!0,_a=nh.createTextNode(""),new ah(jr).observe(_a,{characterData:!0}),er=function(){_a.data=Va=!Va}):!X0&&Pt&&Pt.resolve?(Rt=Pt.resolve(void 0),Rt.constructor=Pt,oh=ih(Rt.then,Rt),er=function(){oh(jr)}):Ma?er=function(){sh.nextTick(jr)}:(Ia=ih(Ia,rr),er=function(){Ia(jr)}),Da=function(i){Br.head||er(),Br.add(i)});var Br,jr;uh.exports=Da});var ch=d((SE,hh)=>{"use strict";hh.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Nt=d((EE,fh)=>{"use strict";fh.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var tr=d((wE,vh)=>{"use strict";var Q0=M();vh.exports=Q0.Promise});var ir=d((CE,yh)=>{"use strict";var K0=M(),Ur=tr(),Z0=L(),J0=va(),em=pt(),rm=z(),gh=ga(),tm=ve(),La=ct(),dh=Ur&&Ur.prototype,im=rm("species"),ka=!1,ph=Z0(K0.PromiseRejectionEvent),am=J0("Promise",function(){var i=em(Ur),e=i!==String(Ur);if(!e&&La===66||tm&&!(dh.catch&&dh.finally))return!0;if(!La||La<51||!/native code/.test(i)){var r=new Ur(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[im]=t,ka=r.then(function(){})instanceof t,!ka)return!0}return!e&&(gh==="BROWSER"||gh==="DENO")&&!ph});yh.exports={CONSTRUCTOR:am,REJECTION_EVENT:ph,SUBCLASSING:ka}});var ar=d((qE,bh)=>{"use strict";var mh=Te(),nm=TypeError,sm=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new nm("Bad Promise constructor");e=t,r=a}),this.resolve=mh(e),this.reject=mh(r)};bh.exports.f=function(i){return new sm(i)}});var Bh=d(()=>{"use strict";var om=ee(),um=ve(),_t=Mr(),Ne=M(),lm=Yu(),ur=H(),xh=Re(),Th=da(),hm=Vr(),cm=ul(),fm=Te(),Vt=L(),vm=te(),gm=hl(),dm=ma(),Ch=Ra().set,za=lh(),pm=ch(),ym=Nt(),mm=Na(),qh=Pr(),Dt=tr(),$a=ir(),Ah=ar(),Lt="Promise",Ph=$a.CONSTRUCTOR,bm=$a.REJECTION_EVENT,xm=$a.SUBCLASSING,Ba=qh.getterFor(Lt),Tm=qh.set,nr=Dt&&Dt.prototype,Fe=Dt,It=nr,Rh=Ne.TypeError,ja=Ne.document,Ga=Ne.process,Ua=Ah.f,Om=Ua,Sm=!!(ja&&ja.createEvent&&Ne.dispatchEvent),Nh="unhandledrejection",Em="rejectionhandled",Oh=0,Ih=1,wm=2,Ha=1,Mh=2,Mt,Sh,Vh,Eh,_h=function(i){var e;return vm(i)&&Vt(e=i.then)?e:!1},Dh=function(i,e){var r=e.value,t=e.state===Ih,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===Mh&&qm(e),e.rejection=Ha),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Rh("Promise-chain cycle")):(l=_h(u))?ur(l,u,n,o):n(u)):o(r)}catch(c){s&&!h&&s.exit(),o(c)}},Lh=function(i,e){i.notified||(i.notified=!0,za(function(){for(var r=i.reactions,t;t=r.get();)Dh(t,i);i.notified=!1,e&&!i.rejection&&Cm(i)}))},kh=function(i,e,r){var t,a;Sm?(t=ja.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ne.dispatchEvent(t)):t={promise:e,reason:r},!bm&&(a=Ne["on"+i])?a(t):i===Nh&&pm("Unhandled promise rejection",r)},Cm=function(i){ur(Ch,Ne,function(){var e=i.facade,r=i.value,t=wh(i),a;if(t&&(a=ym(function(){_t?Ga.emit("unhandledRejection",r,e):kh(Nh,e,r)}),i.rejection=_t||wh(i)?Mh:Ha,a.error))throw a.value})},wh=function(i){return i.rejection!==Ha&&!i.parent},qm=function(i){ur(Ch,Ne,function(){var e=i.facade;_t?Ga.emit("rejectionHandled",e):kh(Em,e,i.value)})},sr=function(i,e,r){return function(t){i(e,t,r)}},or=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=wm,Lh(i,!0))},Fa=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Rh("Promise can't be resolved itself");var t=_h(e);t?za(function(){var a={done:!1};try{ur(t,e,sr(Fa,a,i),sr(or,a,i))}catch(n){or(a,n,i)}}):(i.value=e,i.state=Ih,Lh(i,!1))}catch(a){or({done:!1},a,i)}}};if(Ph&&(Fe=function(e){gm(this,It),fm(e),ur(Mt,this);var r=Ba(this);try{e(sr(Fa,r),sr(or,r))}catch(t){or(r,t)}},It=Fe.prototype,Mt=function(e){Tm(this,{type:Lt,done:!1,notified:!1,parent:!1,reactions:new mm,rejection:!1,state:Oh,value:null})},Mt.prototype=xh(It,"then",function(e,r){var t=Ba(this),a=Ua(dm(this,Fe));return t.parent=!0,a.ok=Vt(e)?e:!0,a.fail=Vt(r)&&r,a.domain=_t?Ga.domain:void 0,t.state===Oh?t.reactions.add(a):za(function(){Dh(a,t)}),a.promise}),Sh=function(){var i=new Mt,e=Ba(i);this.promise=i,this.resolve=sr(Fa,e),this.reject=sr(or,e)},Ah.f=Ua=function(i){return i===Fe||i===Vh?new Sh(i):Om(i)},!um&&Vt(Dt)&&nr!==Object.prototype)){Eh=nr.then,xm||xh(nr,"then",function(e,r){var t=this;return new Fe(function(a,n){ur(Eh,t,a,n)}).then(e,r)},{unsafe:!0});try{delete nr.constructor}catch{}Th&&Th(nr,It)}om({global:!0,constructor:!0,wrap:!0,forced:Ph},{Promise:Fe});Vh=lm.Promise;hm(Fe,Lt,!1,!0);cm(Lt)});var Fr=d((RE,jh)=>{"use strict";jh.exports=Object.create?Object.create(null):{}});var Fh=d((NE,Uh)=>{"use strict";var Am=z(),Pm=Fr(),Rm=Am("iterator"),Nm=Array.prototype;Uh.exports=function(i){return i!==void 0&&(Pm.Array===i||Nm[Rm]===i)}});var Ya=d((IE,Gh)=>{"use strict";var Im=xe(),Mm=Tr(),zh=ke(),Vm=z(),$h=Vm("iterator"),_m=Array.prototype;Gh.exports=function(i){if(!Mm(i))return zh(i,$h)||zh(i,"@@iterator")||(Im(i)==="Arguments"?_m[$h]:void 0)}});var Yh=d((ME,Hh)=>{"use strict";var Dm=H(),Lm=L(),km=J(),Bm=Sr(),jm=Ya(),Um=TypeError;Hh.exports=function(i,e){var r=arguments.length<2?jm(i):e;if(Lm(r))return km(Dm(r,i));throw new Um(Bm(i)+" is not iterable")}});var Qh=d((VE,Wh)=>{"use strict";var Fm=H(),Xh=J(),zm=ke();Wh.exports=function(i,e,r){var t,a;Xh(i);try{if(t=zm(i,"return"),!t){if(e==="throw")throw r;return r}t=Fm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return Xh(t),r}});var Xa=d((_E,ec)=>{"use strict";var $m=At(),Gm=H(),Hm=J(),Ym=Sr(),Xm=Fh(),Wm=St(),Kh=Or(),Qm=Yh(),Km=Ya(),Zh=Qh(),Zm=TypeError,kt=function(i,e){this.stopped=i,this.result=e},Jh=kt.prototype;ec.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=$m(e,t),l,h,c,v,f,g,p,y=function(x){var T=l;return l=void 0,T&&Zh(T,"normal"),new kt(!0,x)},m=function(x){return a?(Hm(x),s?u(x[0],x[1],y):u(x[0],x[1])):s?u(x,y):u(x)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Km(i),!h)throw new Zm(Ym(i)+" is not iterable");if(Xm(h)){for(c=0,v=Wm(i);v>c;c++)if(f=m(i[c]),f&&Kh(Jh,f))return f;return new kt(!1)}l=Qm(i,h)}for(g=n?i.next:l.next;!(p=Gm(g,l)).done;){var O=p.value;try{f=m(O)}catch(x){if(l)Zh(l,"throw",x);else throw x}if(typeof f=="object"&&f&&Kh(Jh,f))return f}return new kt(!1)}});var nc=d((DE,ac)=>{"use strict";var Jm=z(),tc=Jm("iterator"),ic=!1;try{rc=0,Wa={next:function(){return{done:!!rc++}},return:function(){ic=!0}},Wa[tc]=function(){return this},Array.from(Wa,function(){throw 2})}catch{}var rc,Wa;ac.exports=function(i,e){try{if(!e&&!ic)return!1}catch{return!1}var r=!1;try{var t={};t[tc]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var Qa=d((LE,sc)=>{"use strict";var eb=tr(),rb=nc(),tb=ir().CONSTRUCTOR;sc.exports=tb||!rb(function(i){eb.all(i).then(void 0,function(){})})});var oc=d(()=>{"use strict";var ib=ee(),ab=H(),nb=Te(),sb=ar(),ob=Nt(),ub=Xa(),lb=Qa();ib({target:"Promise",stat:!0,forced:lb},{all:function(e){var r=this,t=sb.f(r),a=t.resolve,n=t.reject,o=ob(function(){var s=nb(r.resolve),u=[],l=0,h=1;ub(e,function(c){var v=l++,f=!1;h++,ab(s,r,c).then(function(g){f||(f=!0,u[v]=g,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var lc=d(()=>{"use strict";var hb=ee(),cb=ve(),fb=ir().CONSTRUCTOR,Za=tr(),vb=Pe(),gb=L(),db=Re(),uc=Za&&Za.prototype;hb({target:"Promise",proto:!0,forced:fb,real:!0},{catch:function(i){return this.then(void 0,i)}});!cb&&gb(Za)&&(Ka=vb("Promise").prototype.catch,uc.catch!==Ka&&db(uc,"catch",Ka,{unsafe:!0}));var Ka});var hc=d(()=>{"use strict";var pb=ee(),yb=H(),mb=Te(),bb=ar(),xb=Nt(),Tb=Xa(),Ob=Qa();pb({target:"Promise",stat:!0,forced:Ob},{race:function(e){var r=this,t=bb.f(r),a=t.reject,n=xb(function(){var o=mb(r.resolve);Tb(e,function(s){yb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var cc=d(()=>{"use strict";var Sb=ee(),Eb=ar(),wb=ir().CONSTRUCTOR;Sb({target:"Promise",stat:!0,forced:wb},{reject:function(e){var r=Eb.f(this),t=r.reject;return t(e),r.promise}})});var vc=d((HE,fc)=>{"use strict";var Cb=J(),qb=te(),Ab=ar();fc.exports=function(i,e){if(Cb(i),qb(e)&&e.constructor===i)return e;var r=Ab.f(i),t=r.resolve;return t(e),r.promise}});var pc=d(()=>{"use strict";var Pb=ee(),Rb=Pe(),gc=ve(),Nb=tr(),dc=ir().CONSTRUCTOR,Ib=vc(),Mb=Rb("Promise"),Vb=gc&&!dc;Pb({target:"Promise",stat:!0,forced:gc||dc},{resolve:function(e){return Ib(Vb&&this===Mb?Nb:this,e)}})});var yc=d(()=>{"use strict";Bh();oc();lc();hc();cc();pc()});var de=d((ZE,bc)=>{"use strict";var _b=pa(),Db=String;bc.exports=function(i){if(_b(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return Db(i)}});var Ja=d((JE,xc)=>{"use strict";var Lb=J();xc.exports=function(){var i=Lb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var an=d((ew,Tc)=>{"use strict";var en=_(),kb=M(),rn=kb.RegExp,tn=en(function(){var i=rn("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Bb=tn||en(function(){return!rn("a","y").sticky}),jb=tn||en(function(){var i=rn("^r","gy");return i.lastIndex=2,i.exec("str")!==null});Tc.exports={BROKEN_CARET:jb,MISSED_STICKY:Bb,UNSUPPORTED_Y:tn}});var Sc=d((rw,Oc)=>{"use strict";var Ub=fa(),Fb=Et();Oc.exports=Object.keys||function(e){return Ub(e,Fb)}});var wc=d(Ec=>{"use strict";var zb=ue(),$b=Qi(),Gb=Oe(),Hb=J(),Yb=Qe(),Xb=Sc();Ec.f=zb&&!$b?Object.defineProperties:function(e,r){Hb(e);for(var t=Yb(r),a=Xb(r),n=a.length,o=0,s;n>o;)Gb.f(e,s=a[o++],t[s]);return e}});var zr=d((iw,Ic)=>{"use strict";var Wb=J(),Qb=wc(),Cc=Et(),Kb=mt(),Zb=xa(),Jb=wr(),ex=yt(),qc=">",Ac="<",sn="prototype",on="script",Rc=ex("IE_PROTO"),nn=function(){},Nc=function(i){return Ac+on+qc+i+Ac+"/"+on+qc},Pc=function(i){i.write(Nc("")),i.close();var e=i.parentWindow.Object;return i=null,e},rx=function(){var i=Jb("iframe"),e="java"+on+":",r;return i.style.display="none",Zb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Nc("document.F=Object")),r.close(),r.F},Bt,jt=function(){try{Bt=new ActiveXObject("htmlfile")}catch{}jt=typeof document<"u"?document.domain&&Bt?Pc(Bt):rx():Pc(Bt);for(var i=Cc.length;i--;)delete jt[sn][Cc[i]];return jt()};Kb[Rc]=!0;Ic.exports=Object.create||function(e,r){var t;return e!==null?(nn[sn]=Wb(e),t=new nn,nn[sn]=null,t[Rc]=e):t=jt(),r===void 0?t:Qb.f(t,r)}});var Vc=d((aw,Mc)=>{"use strict";var tx=_(),ix=M(),ax=ix.RegExp;Mc.exports=tx(function(){var i=ax(".","s");return!(i.dotAll&&i.test(`
+`)&&i.flags==="s")})});var Dc=d((nw,_c)=>{"use strict";var nx=_(),sx=M(),ox=sx.RegExp;_c.exports=nx(function(){var i=ox("(?b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$c")!=="bc"})});var zt=d((sw,jc)=>{"use strict";var lr=H(),Ft=D(),ux=de(),lx=Ja(),hx=an(),cx=gt(),fx=zr(),vx=Pr().get,gx=Vc(),dx=Dc(),px=cx("native-string-replace",String.prototype.replace),Ut=RegExp.prototype.exec,un=Ut,yx=Ft("".charAt),mx=Ft("".indexOf),bx=Ft("".replace),Lc=Ft("".slice),ln=(function(){var i=/a/,e=/b*/g;return lr(Ut,i,"a"),lr(Ut,e,"a"),i.lastIndex!==0||e.lastIndex!==0})(),Bc=hx.BROKEN_CARET,hn=/()??/.exec("")[1]!==void 0,xx=ln||hn||Bc||gx||dx,kc=function(i,e){for(var r=i.groups=fx(null),t=0;t0&&yx(a,r.lastIndex-1);r.lastIndex>0&&(!r.multiline||r.multiline&&p!==`
+`&&p!=="\r"&&p!=="\u2028"&&p!=="\u2029")&&(v="(?: (?:"+v+"))",g=" "+g,f++),s=new RegExp("^(?:"+v+")",c)}hn&&(s=new RegExp("^"+v+"$(?!\\s)",c)),ln&&(u=r.lastIndex);var y=lr(Ut,h?s:r,g);return h?y?(y.input=a,y[0]=Lc(y[0],f),y.index=r.lastIndex,r.lastIndex+=y[0].length):r.lastIndex=0:ln&&y&&(r.lastIndex=r.global?y.index+y[0].length:u),hn&&y&&y.length>1&&lr(px,y[0],s,function(){for(var m=1;m{"use strict";var Tx=ee(),Uc=zt();Tx({target:"RegExp",proto:!0,forced:/./.exec!==Uc},{exec:Uc})});var $t=d((lw,Yc)=>{"use strict";Fc();var zc=H(),$c=Re(),Ox=zt(),Gc=_(),Hc=z(),Sx=Je(),Ex=Hc("species"),cn=RegExp.prototype;Yc.exports=function(i,e,r,t){var a=Hc(i),n=!Gc(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!Gc(function(){var l=!1,h=/a/;if(i==="split"){var c={};c[Ex]=function(){return h},h={constructor:c,flags:""},h[a]=/./[a]}return h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,c,v,f){var g=h.exec;return g===Ox||g===cn.exec?n&&!f?{done:!0,value:zc(s,h,c,v)}:{done:!0,value:zc(l,c,h,v)}:{done:!1}});$c(String.prototype,i,u[0]),$c(cn,a,u[1])}t&&Sx(cn[a],"sham",!0)}});var Kc=d((hw,Qc)=>{"use strict";var fn=D(),wx=Rr(),Cx=de(),qx=le(),Ax=fn("".charAt),Xc=fn("".charCodeAt),Px=fn("".slice),Wc=function(i){return function(e,r){var t=Cx(qx(e)),a=wx(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=Xc(t,a),o<55296||o>56319||a+1===n||(s=Xc(t,a+1))<56320||s>57343?i?Ax(t,a):o:i?Px(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};Qc.exports={codeAt:Wc(!1),charAt:Wc(!0)}});var Gt=d((cw,Zc)=>{"use strict";var Rx=Kc().charAt;Zc.exports=function(i,e,r){return e+(r&&Rx(i,e).length||1)}});var rf=d((fw,ef)=>{"use strict";var Nx=M(),Ix=_(),Jc=Nx.RegExp,Mx=!Ix(function(){var i=!0;try{Jc(".","d")}catch{i=!1}var e={},r="",t=i?"dgimsy":"gimsy",a=function(u,l){Object.defineProperty(e,u,{get:function(){return r+=l,!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(n.hasIndices="d");for(var o in n)a(o,n[o]);var s=Object.getOwnPropertyDescriptor(Jc.prototype,"flags").get.call(e);return s!==t||r!==t});ef.exports={correct:Mx}});var $r=d((vw,af)=>{"use strict";var Vx=H(),_x=he(),Dx=Or(),tf=rf(),Lx=Ja(),kx=RegExp.prototype;af.exports=tf.correct?function(i){return i.flags}:function(i){return!tf.correct&&Dx(kx,i)&&!_x(i,"flags")?Vx(Lx,i):i.flags}});var Ht=d((gw,sf)=>{"use strict";var nf=H(),Bx=J(),jx=L(),Ux=xe(),Fx=zt(),zx=TypeError;sf.exports=function(i,e){var r=i.exec;if(jx(r)){var t=nf(r,i,e);return t!==null&&Bx(t),t}if(Ux(i)==="RegExp")return nf(Fx,i,e);throw new zx("RegExp#exec called on incompatible receiver")}});var uf=d(()=>{"use strict";var $x=H(),Gx=D(),Hx=$t(),Yx=J(),Xx=te(),Wx=je(),Yt=de(),Qx=le(),Kx=ke(),Zx=Gt(),Jx=$r(),of=Ht(),vn=Gx("".indexOf);Hx("match",function(i,e,r){return[function(a){var n=Qx(this),o=Xx(a)?Kx(a,i):void 0;if(o)return $x(o,a,n);var s=Yt(n);return new RegExp(a)[i](s)},function(t){var a=Yx(this),n=Yt(t),o=r(e,a,n);if(o.done)return o.value;var s=Yt(Jx(a));if(!~vn(s,"g"))return of(a,n);var u=!!~vn(s,"u")||!!~vn(s,"v");a.lastIndex=0;for(var l=[],h=0,c;(c=of(a,n))!==null;){var v=Yt(c[0]);l[h]=v,v===""&&(a.lastIndex=Zx(n,Wx(a.lastIndex),u)),h++}return h===0?null:l}]})});var hf=d((yw,lf)=>{"use strict";var pn=D(),e1=Er(),r1=Math.floor,gn=pn("".charAt),t1=pn("".replace),dn=pn("".slice),i1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a1=/\$([$&'`]|\d{1,2})/g;lf.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=a1;return a!==void 0&&(a=e1(a),u=i1),t1(n,u,function(l,h){var c;switch(gn(h,0)){case"$":return"$";case"&":return i;case"`":return dn(e,0,r);case"'":return dn(e,o);case"<":c=a[dn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var f=r1(v/10);return f===0?l:f<=s?t[f-1]===void 0?gn(h,1):t[f-1]+gn(h,1):l}c=t[v-1]}return c===void 0?"":c})}});var gf=d(()=>{"use strict";var n1=ba(),cf=H(),Xt=D(),s1=$t(),o1=_(),u1=J(),l1=L(),h1=te(),c1=Rr(),f1=je(),ze=de(),v1=le(),g1=Gt(),d1=ke(),p1=hf(),y1=$r(),m1=Ht(),b1=z(),mn=b1("replace"),x1=Math.max,T1=Math.min,O1=Xt([].concat),yn=Xt([].push),hr=Xt("".indexOf),ff=Xt("".slice),S1=function(i){return i===void 0?i:String(i)},E1=(function(){return"a".replace(/./,"$0")==="$0"})(),vf=(function(){return/./[mn]?/./[mn]("a","$0")==="":!1})(),w1=!o1(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$")!=="7"});s1("replace",function(i,e,r){var t=vf?"$":"$0";return[function(n,o){var s=v1(this),u=h1(n)?d1(n,mn):void 0;return u?cf(u,n,s,o):cf(e,ze(s),n,o)},function(a,n){var o=u1(this),s=ze(a),u=l1(n);u||(n=ze(n));var l=ze(y1(o));if(typeof n=="string"&&!~hr(n,t)&&!~hr(n,"$<")&&!~hr(l,"y")){var h=r(e,o,s,n);if(h.done)return h.value}var c=!!~hr(l,"g"),v;c&&(v=!!~hr(l,"u")||!!~hr(l,"v"),o.lastIndex=0);for(var f=[],g;g=m1(o,s),!(g===null||(yn(f,g),!c));){var p=ze(g[0]);p===""&&(o.lastIndex=g1(s,f1(o.lastIndex),v))}for(var y="",m=0,O=0;O=m&&(y+=ff(s,m,T)+C,m=T+x.length)}return y+ff(s,m)}]},!w1||!E1||vf)});var pf=d((xw,df)=>{"use strict";var C1=te(),q1=xe(),A1=z(),P1=A1("match");df.exports=function(i){var e;return C1(i)&&((e=i[P1])!==void 0?!!e:q1(i)==="RegExp")}});var Wt=d((Tw,yf)=>{"use strict";var R1=pf(),N1=TypeError;yf.exports=function(i){if(R1(i))throw new N1("The method doesn't accept regular expressions");return i}});var Qt=d((Ow,mf)=>{"use strict";var I1=z(),M1=I1("match");mf.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[M1]=!1,"/./"[i](e)}catch{}}return!1}});var Tf=d(()=>{"use strict";var V1=ee(),_1=Dr(),D1=Cr().f,L1=je(),bf=de(),k1=Wt(),B1=le(),j1=Qt(),U1=ve(),F1=_1("".slice),z1=Math.min,xf=j1("startsWith"),$1=!U1&&!xf&&!!(function(){var i=D1(String.prototype,"startsWith");return i&&!i.writable})();V1({target:"String",proto:!0,forced:!$1&&!xf},{startsWith:function(e){var r=bf(B1(this));k1(e);var t=bf(e),a=L1(z1(arguments.length>1?arguments[1]:void 0,r.length));return F1(r,a,a+t.length)===t}})});var Sf=d((ww,Of)=>{"use strict";var G1=z(),H1=zr(),Y1=Oe().f,bn=G1("unscopables"),xn=Array.prototype;xn[bn]===void 0&&Y1(xn,bn,{configurable:!0,value:H1(null)});Of.exports=function(i){xn[bn][i]=!0}});var wf=d((Cw,Ef)=>{"use strict";var X1=_();Ef.exports=!X1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var On=d((qw,qf)=>{"use strict";var W1=he(),Q1=L(),K1=Er(),Z1=yt(),J1=wf(),Cf=Z1("IE_PROTO"),Tn=Object,e2=Tn.prototype;qf.exports=J1?Tn.getPrototypeOf:function(i){var e=K1(i);if(W1(e,Cf))return e[Cf];var r=e.constructor;return Q1(r)&&e instanceof r?r.prototype:e instanceof Tn?e2:null}});var Cn=d((Aw,Rf)=>{"use strict";var r2=_(),t2=L(),i2=te(),a2=zr(),Af=On(),n2=Re(),s2=z(),o2=ve(),wn=s2("iterator"),Pf=!1,Se,Sn,En;[].keys&&(En=[].keys(),"next"in En?(Sn=Af(Af(En)),Sn!==Object.prototype&&(Se=Sn)):Pf=!0);var u2=!i2(Se)||r2(function(){var i={};return Se[wn].call(i)!==i});u2?Se={}:o2&&(Se=a2(Se));t2(Se[wn])||n2(Se,wn,function(){return this});Rf.exports={IteratorPrototype:Se,BUGGY_SAFARI_ITERATORS:Pf}});var If=d((Pw,Nf)=>{"use strict";var l2=Cn().IteratorPrototype,h2=zr(),c2=lt(),f2=Vr(),v2=Fr(),g2=function(){return this};Nf.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=h2(l2,{next:c2(+!t,r)}),f2(i,a,!1,!0),v2[a]=g2,i}});var zf=d((Rw,Ff)=>{"use strict";var d2=ee(),p2=H(),Kt=ve(),jf=qr(),y2=L(),m2=If(),Mf=On(),Vf=da(),b2=Vr(),x2=Je(),qn=Re(),T2=z(),_f=Fr(),Uf=Cn(),O2=jf.PROPER,S2=jf.CONFIGURABLE,Df=Uf.IteratorPrototype,Zt=Uf.BUGGY_SAFARI_ITERATORS,Gr=T2("iterator"),Lf="keys",Hr="values",kf="entries",Bf=function(){return this};Ff.exports=function(i,e,r,t,a,n,o){m2(r,e,t);var s=function(m){if(m===a&&v)return v;if(!Zt&&m&&m in h)return h[m];switch(m){case Lf:return function(){return new r(this,m)};case Hr:return function(){return new r(this,m)};case kf:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,c=h[Gr]||h["@@iterator"]||a&&h[a],v=!Zt&&c||s(a),f=e==="Array"&&h.entries||c,g,p,y;if(f&&(g=Mf(f.call(new i)),g!==Object.prototype&&g.next&&(!Kt&&Mf(g)!==Df&&(Vf?Vf(g,Df):y2(g[Gr])||qn(g,Gr,Bf)),b2(g,u,!0,!0),Kt&&(_f[u]=Bf))),O2&&a===Hr&&c&&c.name!==Hr&&(!Kt&&S2?x2(h,"name",Hr):(l=!0,v=function(){return p2(c,this)})),a)if(p={values:s(Hr),keys:n?v:s(Lf),entries:s(kf)},o)for(y in p)(Zt||l||!(y in h))&&qn(h,y,p[y]);else d2({target:e,proto:!0,forced:Zt||l},p);return(!Kt||o)&&h[Gr]!==v&&qn(h,Gr,v,{name:a}),_f[e]=v,p}});var Gf=d((Nw,$f)=>{"use strict";$f.exports=function(i,e){return{value:i,done:e}}});var Pn=d((Iw,Qf)=>{"use strict";var E2=Qe(),An=Sf(),Hf=Fr(),Xf=Pr(),w2=Oe().f,C2=zf(),Jt=Gf(),q2=ve(),A2=ue(),Wf="Array Iterator",P2=Xf.set,R2=Xf.getterFor(Wf);Qf.exports=C2(Array,"Array",function(i,e){P2(this,{type:Wf,target:E2(i),index:0,kind:e})},function(){var i=R2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,Jt(void 0,!0);switch(i.kind){case"keys":return Jt(r,!1);case"values":return Jt(e[r],!1)}return Jt([r,e[r]],!1)},"values");var Yf=Hf.Arguments=Hf.Array;An("keys");An("values");An("entries");if(!q2&&A2&&Yf.name!=="values")try{w2(Yf,"name",{value:"values"})}catch{}});var Zf=d((Mw,Kf)=>{"use strict";Kf.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var rv=d((Vw,ev)=>{"use strict";var N2=wr(),Rn=N2("span").classList,Jf=Rn&&Rn.constructor&&Rn.constructor.prototype;ev.exports=Jf===Object.prototype?void 0:Jf});var sv=d(()=>{"use strict";var tv=M(),av=Zf(),I2=rv(),Yr=Pn(),iv=Je(),M2=Vr(),V2=z(),Nn=V2("iterator"),In=Yr.values,nv=function(i,e){if(i){if(i[Nn]!==In)try{iv(i,Nn,In)}catch{i[Nn]=In}if(M2(i,e,!0),av[e]){for(var r in Yr)if(i[r]!==Yr[r])try{iv(i,r,Yr[r])}catch{i[r]=Yr[r]}}}};for(ei in av)nv(tv[ei]&&tv[ei].prototype,ei);var ei;nv(I2,"DOMTokenList")});var vv=d(($w,fv)=>{"use strict";var _2=Te(),D2=Er(),L2=_i(),k2=St(),lv=TypeError,hv="Reduce of empty array with no initial value",cv=function(i){return function(e,r,t,a){var n=D2(e),o=L2(n),s=k2(n);if(_2(r),s===0&&t<2)throw new lv(hv);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new lv(hv)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};fv.exports={left:cv(!1),right:cv(!0)}});var Mn=d((Gw,gv)=>{"use strict";var B2=_();gv.exports=function(i,e){var r=[][i];return!!r&&B2(function(){r.call(null,e||function(){return 1},1)})}});var pv=d(()=>{"use strict";var j2=ee(),U2=vv().left,F2=Mn(),dv=ct(),z2=Mr(),$2=!z2&&dv>79&&dv<83,G2=$2||!F2("reduce");j2({target:"Array",proto:!0,forced:G2},{reduce:function(e){var r=arguments.length;return U2(this,e,r,r>1?arguments[1]:void 0)}})});var bv=d(()=>{"use strict";var H2=ee(),Y2=Dr(),X2=Cr().f,W2=je(),yv=de(),Q2=Wt(),K2=le(),Z2=Qt(),J2=ve(),eT=Y2("".slice),rT=Math.min,mv=Z2("endsWith"),tT=!J2&&!mv&&!!(function(){var i=X2(String.prototype,"endsWith");return i&&!i.writable})();H2({target:"String",proto:!0,forced:!tT&&!mv},{endsWith:function(e){var r=yv(K2(this));Q2(e);var t=yv(e),a=arguments.length>1?arguments[1]:void 0,n=r.length,o=a===void 0?n:rT(W2(a),n);return eT(r,o-t.length,o)===t}})});var Ov=d(()=>{"use strict";var Vn=H(),kn=D(),iT=$t(),aT=J(),nT=te(),sT=le(),oT=ma(),uT=Gt(),lT=je(),_n=de(),hT=ke(),cT=$r(),xv=Ht(),fT=an(),vT=_(),cr=fT.UNSUPPORTED_Y,gT=4294967295,dT=Math.min,Dn=kn([].push),Ln=kn("".slice),ti=kn("".indexOf),pT=!vT(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),Tv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;iT("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Vn(e,this,a,n)}:e;return[function(n,o){var s=sT(this),u=nT(n)?hT(n,i):void 0;return u?Vn(u,n,s,o):Vn(t,_n(s),n,o)},function(a,n){var o=aT(this),s=_n(a);if(!Tv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=oT(o,RegExp),h=_n(cT(o)),c=!!~ti(h,"u")||!!~ti(h,"v");cr?~ti(h,"g")||(h+="g"):~ti(h,"y")||(h+="y");var v=new l(cr?"^(?:"+o.source+")":o,h),f=n===void 0?gT:n>>>0;if(f===0)return[];if(s.length===0)return xv(v,s)===null?[s]:[];for(var g=0,p=0,y=[];p{"use strict";(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Xr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Xr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Xr.exports=function(){return Date.now()-r},r=Date.now()):(Xr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(Sv)});var Cv=d((Zw,ni)=>{"use strict";var yT=Ev(),Ee=typeof window>"u"?global:window,ii=["moz","webkit"],vr="AnimationFrame",gr=Ee["request"+vr],Wr=Ee["cancel"+vr]||Ee["cancelRequest"+vr];for(fr=0;!gr&&fr{"use strict";qv.exports=`
+\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var Rv=d((eC,Pv)=>{"use strict";var mT=D(),bT=le(),xT=de(),Fn=jn(),Av=mT("".replace),TT=RegExp("^["+Fn+"]+"),OT=RegExp("(^|[^"+Fn+"])["+Fn+"]+$"),Un=function(i){return function(e){var r=xT(bT(e));return i&1&&(r=Av(r,TT,"")),i&2&&(r=Av(r,OT,"$1")),r}};Pv.exports={start:Un(1),end:Un(2),trim:Un(3)}});var Vv=d((rC,Mv)=>{"use strict";var ST=qr().PROPER,ET=_(),Nv=jn(),Iv="\u200B\x85\u180E";Mv.exports=function(i){return ET(function(){return!!Nv[i]()||Iv[i]()!==Iv||ST&&Nv[i].name!==i})}});var _v=d(()=>{"use strict";var wT=ee(),CT=Rv().trim,qT=Vv();wT({target:"String",proto:!0,forced:qT("trim")},{trim:function(){return CT(this)}})});var Lv=d((aC,Dv)=>{"use strict";Dv.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l "+p.toRGB()+" -> "+p.toHex());g.appendChild(y),g.appendChild(m),f.appendChild(g)}catch{}return f}}});var Bv=d(()=>{"use strict";var AT=ee(),PT=Dr(),RT=ha().indexOf,NT=Mn(),zn=PT([].indexOf),kv=!!zn&&1/zn([1],1,-0)<0,IT=kv||!NT("indexOf");AT({target:"Array",proto:!0,forced:IT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return kv?zn(this,e,r)||0:RT(this,e,r)}})});var Uv=d(()=>{"use strict";var MT=ee(),VT=D(),_T=Wt(),DT=le(),jv=de(),LT=Qt(),kT=VT("".indexOf);MT({target:"String",proto:!0,forced:!LT("includes")},{includes:function(e){return!!~kT(jv(DT(this)),jv(_T(e)),arguments.length>1?arguments[1]:void 0)}})});var zv=d((lC,Fv)=>{"use strict";var BT=xe();Fv.exports=Array.isArray||function(e){return BT(e)==="Array"}});var Gv=d(()=>{"use strict";var jT=ee(),UT=D(),FT=zv(),zT=UT([].reverse),$v=[1,2];jT({target:"Array",proto:!0,forced:String($v)===String($v.reverse())},{reverse:function(){return FT(this)&&(this.length=this.length),zT(this)}})});var ag=d(()=>{"use strict";var XT=qr().PROPER,WT=Re(),QT=J(),rg=de(),KT=_(),ZT=$r(),Hn="toString",tg=RegExp.prototype,ig=tg[Hn],JT=KT(function(){return ig.call({source:"a",flags:"b"})!=="/a/b"}),eO=XT&&ig.name!==Hn;(JT||eO)&&WT(tg,Hn,function(){var e=QT(this),r=rg(e.source),t=rg(ZT(e));return"/"+r+"/"+t},{unsafe:!0})});var pC=Z(yc(),1);function mc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function be(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){mc(n,t,a,o,s,"next",u)}function s(u){mc(n,t,a,o,s,"throw",u)}o(void 0)})}}var mC=Z(uf(),1),bC=Z(gf(),1),xC=Z(Tf(),1),TC=Z(Pn(),1),OC=Z(sv(),1);function ov(i,e){if(mr(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(mr(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function uv(i){var e=ov(i,"string");return mr(e)=="symbol"?e:e+""}function ri(i,e,r){return(e=uv(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var EC=Z(pv(),1),wC=Z(bv(),1),CC=Z(Ov(),1),hi=Z(Cv(),1),qC=Z(_v(),1),ci=Z(Lv(),1),AC=Z(Bv(),1),PC=Z(Uv(),1),RC=Z(Gv(),1);var Zv=function(i,e){return(Zv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function Jv(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}Zv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function $T(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;ri.phi1&&(i.phi2-=2*Me),i.sweepFlag===1&&i.phi2t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var j,we=Math.PI/180;function Yv(i,e,r){return(1-r)*i+r*e}function Xv(i,e,r,t){return i+Math.cos(t/180*Me)*e+Math.sin(t/180*Me)*r}function Wv(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)S&&(f.sweepFlag=+!f.sweepFlag),f}))}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a((function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s}))},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a((function(h,c,v,f,g){if(isNaN(f)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:c),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?f-c:f,h.y=h.relative?g-v:g),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h}))},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,c=NaN;return a((function(v,f,g,p,y){var m=Math.abs,O=!1,x=0,T=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:f-u,T=isNaN(l)?0:g-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?f+v.x2:v.x2,l=v.relative?g+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?f:2*f-h,c=isNaN(c)?g:2*g-c):v.type&b.QUAD_TO?(h=v.relative?f+v.x1:v.x1,c=v.relative?g+v.y1:v.y2):(h=NaN,c=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var E=v.x===void 0?0:v.relative?v.x:v.x-f,C=v.y===void 0?0:v.relative?v.y:v.y-g;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-f:h-f,T=isNaN(c)?v.y1===void 0?T:v.relative?v.y:v.y1-g:c-g;var S=v.x2===void 0?0:v.relative?v.x:v.x2-f,A=v.y2===void 0?0:v.relative?v.y:v.y2-g;m(E)<=s&&m(C)<=s&&m(x)<=s&&m(T)<=s&&m(S)<=s&&m(A)<=s&&(O=!0)}return v.type&b.CLOSE_PATH&&m(f-p)<=s&&m(g-y)<=s&&(O=!0),O?[]:v}))},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),c=Math.cos(s);return n(c,h,-h,c,u-u*c+l*h,l-u*h-l*c)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a((function(s,u,l){return b.ARC===s.type?(function(h,c,v){var f,g,p,y;h.cX||$n(h,c,v);for(var m=Math.min(h.phi1,h.phi2),O=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(O/90),T=new Array(x),E=c,C=v,S=0;Sc.maxX&&(c.maxX=R),Rc.maxY&&(c.maxY=R),RI&&y(Qv(f,p.x1,p.x2,p.x,I));for(var T=0,E=Wv(g,p.y1,p.y2,p.y);TI&&m(Qv(g,p.y1,p.y2,p.y,I))}if(p.type&b.ARC){y(p.x),m(p.y),$n(p,f,g);for(var C=p.xRot/180*Math.PI,S=Math.cos(C)*p.rX,A=Math.sin(C)*p.rX,P=-Math.sin(C)*p.rY,V=Math.cos(C)*p.rY,k=p.phi1p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],N=k[0],X=k[1],W=function(R){var re=R[0],ce=R[1],me=180*Math.atan2(ce,re)/Math.PI;return meN&&IN&&Ih)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(h),this.curArgs.length===YT[this.curCommandType]&&(b.HORIZ_LINE_TO===this.curCommandType?n({type:b.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):b.VERT_LINE_TO===this.curCommandType?n({type:b.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===b.MOVE_TO||this.curCommandType===b.LINE_TO||this.curCommandType===b.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),b.MOVE_TO===this.curCommandType&&(this.curCommandType=b.LINE_TO)):this.curCommandType===b.CURVE_TO?n({type:b.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===b.SMOOTH_CURVE_TO?n({type:b.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.QUAD_TO?n({type:b.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.ARC&&n({type:b.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!GT(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=b.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=b.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=b.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=b.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=b.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=b.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=b.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=b.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=b.ARC,this.curCommandRelative=s==="a"}else t.push({type:b.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},e.prototype.transform=function(r){return Object.create(this,{parse:{value:function(t,a){a===void 0&&(a=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,t);n>>E;if(o[x+3]=Ti,Ti!==0){var Oi=255/Ti;o[x]=(R*T>>>E)*Oi,o[x+1]=(re*T>>>E)*Oi,o[x+2]=(ce*T>>>E)*Oi}else o[x]=o[x+1]=o[x+2]=0;R-=Q,re-=Y,ce-=K,me-=I,Q-=y.r,Y-=y.g,K-=y.b,I-=y.a;var Ve=xi+n+1;Ve=O+(Ve>>E,ie>0?(ie=255/ie,o[ae]=(tt*T>>>E)*ie,o[ae+1]=(it*T>>>E)*ie,o[ae+2]=(at*T>>>E)*ie):o[ae]=o[ae+1]=o[ae+2]=0,tt-=Si,it-=Ei,at-=wi,nt-=Ci,Si-=y.r,Ei-=y.g,wi-=y.b,Ci-=y.a,ae=We+((ae=Ni+h)0&&arguments[0]!==void 0?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:i,createCanvas(r,t){return new OffscreenCanvas(r,t)},createImage(r){return be(function*(){var t=yield fetch(r),a=yield t.blob(),n=yield createImageBitmap(a);return n})()}};return(typeof DOMParser<"u"||typeof i>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function oO(i){var{DOMParser:e,canvas:r,fetch:t}=i;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t,createCanvas:r.createCanvas,createImage:r.loadImage}}var VC=Object.freeze({__proto__:null,offscreen:sO,node:oO});function yr(i){return i.replace(/(?!\u3000)\s+/gm," ")}function uO(i){return i.replace(/^[\n \t]+/,"")}function lO(i){return i.replace(/[\n \t]+$/,"")}function se(i){var e=(i||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e.map(parseFloat)}var hO=/^[A-Z-]+$/;function cO(i){return hO.test(i)?i.toLowerCase():i}function og(i){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(i)||[];return e[2]||e[3]||e[4]}function fO(i){if(!i.startsWith("rgb"))return i;var e=3,r=i.replace(/\d+(\.\d+)?/g,(t,a)=>e--&&a?String(Math.round(parseFloat(t))):t);return r}var vO=/(\[[^\]]+\])/g,gO=/(#[^\s+>~.[:]+)/g,dO=/(\.[^\s+>~.[:]+)/g,pO=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,yO=/(:[\w-]+\([^)]*\))/gi,mO=/(:[^\s+>~.[:]+)/g,bO=/([^\s+>~.[:]+)/g;function $e(i,e){var r=e.exec(i);return r?[i.replace(e," "),r.length]:[i,0]}function xO(i){var e=[0,0,0],r=i.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),t=0;return[r,t]=$e(r,vO),e[1]+=t,[r,t]=$e(r,gO),e[0]+=t,[r,t]=$e(r,dO),e[1]+=t,[r,t]=$e(r,pO),e[2]+=t,[r,t]=$e(r,yO),e[1]+=t,[r,t]=$e(r,mO),e[1]+=t,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,t]=$e(r,bO),e[2]+=t,e.join("")}var dr=1e-8;function ug(i){return Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2))}function Yn(i,e){return(i[0]*e[0]+i[1]*e[1])/(ug(i)*ug(e))}function lg(i,e){return(i[0]*e[1]{class i{constructor(r,t,a){this.document=r,this.name=t,this.value=a,this.isNormalizedColor=!1}static empty(r){return new i(r,"EMPTY","")}split(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:t,name:a}=this;return yr(this.getString()).trim().split(r).map(n=>new i(t,a,n))}hasValue(r){var{value:t}=this;return t!==null&&t!==""&&(r||t!==0)&&typeof t<"u"}isString(r){var{value:t}=this,a=typeof t=="string";return!a||!r?a:r.test(t)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var r=this.getString();switch(!0){case r.endsWith("px"):case/^[0-9]+$/.test(r):return!0;default:return!1}}setValue(r){return this.value=r,this}getValue(r){return typeof r>"u"||this.hasValue()?this.value:r}getNumber(r){if(!this.hasValue())return typeof r>"u"?0:parseFloat(r);var{value:t}=this,a=parseFloat(t);return this.isString(/%$/)&&(a/=100),a}getString(r){return typeof r>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(r)}getColor(r){var t=this.getString(r);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=fO(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[a,n]=typeof r=="boolean"?[void 0,r]:[r],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(a);default:{var s=this.getNumber();return t&&s<1?s*o.computeSize(a):s}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var r=this.getString(),t=/#([^)'"]+)/.exec(r);return t&&(t=t[1]),t||(t=r),this.document.definitions[t]}getFillStyleDefinition(r,t){var a=this.getDefinition();if(!a)return null;if(typeof a.createGradient=="function")return a.createGradient(this.document.ctx,r,t);if(typeof a.createPattern=="function"){if(a.getHrefAttribute().hasValue()){var n=a.getAttribute("patternTransform");a=a.getHrefAttribute().getDefinition(),n.hasValue()&&a.getAttribute("patternTransform",!0).setValue(n.value)}return a.createPattern(this.document.ctx,r,t)}return null}getTextBaseline(){return this.hasValue()?i.textBaselineMapping[this.getString()]:null}addOpacity(r){for(var t=this.getColor(),a=t.length,n=0,o=0;o1&&arguments[1]!==void 0?arguments[1]:0,[t=r,a=r]=se(e);return new i(t,a)}static parseScale(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[t=r,a=t]=se(e);return new i(t,a)}static parsePath(e){for(var r=se(e),t=r.length,a=[],n=0;n0}runEvents(){if(this.working){var{screen:e,events:r,eventElements:t}=this,{style:a}=e.ctx.canvas;a&&(a.cursor=""),r.forEach((n,o)=>{for(var{run:s}=n,u=t[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInPath&&r.isPointInPath(s,u)&&(a[o]=e)})}}checkBoundingBox(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInBox(s,u)&&(a[o]=e)})}}mapXY(e,r){for(var{window:t,ctx:a}=this.screen,n=new $(e,r),o=a.canvas;o;)n.x-=o.offsetLeft,n.y-=o.offsetTop,o=o.offsetParent;return t.scrollX&&(n.x+=t.scrollX),t.scrollY&&(n.y+=t.scrollY),n}onClick(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:r,y:t,run(a){a.onClick&&a.onClick()}})}onMouseMove(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:r,y:t,run(a){a.onMouseMove&&a.onMouseMove()}})}},yg=typeof window<"u"?window:null,mg=typeof fetch<"u"?fetch.bind(void 0):null,Eg=(()=>{class i{constructor(r){var{fetch:t=mg,window:a=yg}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Xn,this.mouse=new Wn(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=t}wait(r){this.waits.push(r)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var r=this.waits.every(t=>t());return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}setDefaults(r){r.strokeStyle="rgba(0,0,0,0)",r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4}setViewBox(r){var{document:t,ctx:a,aspectRatio:n,width:o,desiredWidth:s,height:u,desiredHeight:l,minX:h=0,minY:c=0,refX:v,refY:f,clip:g=!1,clipX:p=0,clipY:y=0}=r,m=yr(n).replace(/^defer\s/,""),[O,x]=m.split(" "),T=O||"xMidYMid",E=x||"meet",C=o/s,S=u/l,A=Math.min(C,S),P=Math.max(C,S),V=s,k=l;E==="meet"&&(V*=A,k*=A),E==="slice"&&(V*=P,k*=P);var N=new w(t,"refX",v),X=new w(t,"refY",f),W=N.hasValue()&&X.hasValue();if(W&&a.translate(-A*N.getPixels("x"),-A*X.getPixels("y")),g){var G=A*p,Q=A*y;a.beginPath(),a.moveTo(G,Q),a.lineTo(o,Q),a.lineTo(o,u),a.lineTo(G,u),a.closePath(),a.clip()}if(!W){var Y=E==="meet"&&A===S,K=E==="slice"&&P===S,I=E==="meet"&&A===C,R=E==="slice"&&P===C;T.startsWith("xMid")&&(Y||K)&&a.translate(o/2-V/2,0),T.endsWith("YMid")&&(I||R)&&a.translate(0,u/2-k/2),T.startsWith("xMax")&&(Y||K)&&a.translate(o-V,0),T.endsWith("YMax")&&(I||R)&&a.translate(0,u-k)}switch(!0){case T==="none":a.scale(C,S);break;case E==="meet":a.scale(A,A);break;case E==="slice":a.scale(P,P);break}a.translate(-h,-c)}start(r){var{enableRedraw:t=!1,ignoreMouse:a=!1,ignoreAnimation:n=!1,ignoreDimensions:o=!1,ignoreClear:s=!1,forceRedraw:u,scaleWidth:l,scaleHeight:h,offsetX:c,offsetY:v}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:f,mouse:g}=this,p=1e3/f;if(this.frameDuration=p,this.readyPromise=new Promise(T=>{this.resolveReady=T}),this.isReady()&&this.render(r,o,s,l,h,c,v),!!t){var y=Date.now(),m=y,O=0,x=()=>{y=Date.now(),O=y-m,O>=p&&(m=y-O%p,this.shouldUpdate(n,u)&&(this.render(r,o,s,l,h,c,v),g.runEvents())),this.intervalId=(0,hi.default)(x)};a||g.start(),this.intervalId=(0,hi.default)(x)}}stop(){this.intervalId&&(hi.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(r,t){if(!r){var{frameDuration:a}=this,n=this.animations.reduce((o,s)=>s.update(a)||o,!1);if(n)return!0}return!!(typeof t=="function"&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(r,t,a,n,o,s,u){var{CLIENT_WIDTH:l,CLIENT_HEIGHT:h,viewPort:c,ctx:v,isFirstRender:f}=this,g=v.canvas;c.clear(),g.width&&g.height?c.setCurrent(g.width,g.height):c.setCurrent(l,h);var p=r.getStyle("width"),y=r.getStyle("height");!t&&(f||typeof n!="number"&&typeof o!="number")&&(p.hasValue()&&(g.width=p.getPixels("x"),g.style&&(g.style.width="".concat(g.width,"px"))),y.hasValue()&&(g.height=y.getPixels("y"),g.style&&(g.style.height="".concat(g.height,"px"))));var m=g.clientWidth||g.width,O=g.clientHeight||g.height;if(t&&p.hasValue()&&y.hasValue()&&(m=p.getPixels("x"),O=y.getPixels("y")),c.setCurrent(m,O),typeof s=="number"&&r.getAttribute("x",!0).setValue(s),typeof u=="number"&&r.getAttribute("y",!0).setValue(u),typeof n=="number"||typeof o=="number"){var x=se(r.getAttribute("viewBox").getString()),T=0,E=0;if(typeof n=="number"){var C=r.getStyle("width");C.hasValue()?T=C.getPixels("x")/n:isNaN(x[2])||(T=x[2]/n)}if(typeof o=="number"){var S=r.getStyle("height");S.hasValue()?E=S.getPixels("y")/o:isNaN(x[3])||(E=x[3]/o)}T||(T=E),E||(E=T),r.getAttribute("width",!0).setValue(n),r.getAttribute("height",!0).setValue(o);var A=r.getStyle("transform",!0,!0);A.setValue("".concat(A.getString()," scale(").concat(1/T,", ").concat(1/E,")"))}a||v.clearRect(0,0,m,O),r.render(v),f&&(this.isFirstRender=!1)}}return i.defaultWindow=yg,i.defaultFetch=mg,i})(),{defaultFetch:TO}=Eg,OO=typeof DOMParser<"u"?DOMParser:null,Qr=class{constructor(){var{fetch:e=TO,DOMParser:r=OO}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=e,this.DOMParser=r}parse(e){var r=this;return be(function*(){return e.startsWith("<")?r.parseFromString(e):r.load(e)})()}parseFromString(e){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(r.parseFromString(e,"text/xml"))}}checkDocument(e){var r=e.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return e}load(e){var r=this;return be(function*(){var t=yield r.fetch(e),a=yield t.text();return r.parseFromString(a)})()}},Qn=class{constructor(e,r){this.type="translate",this.point=null,this.point=$.parse(r)}apply(e){var{x:r,y:t}=this.point;e.translate(r||0,t||0)}unapply(e){var{x:r,y:t}=this.point;e.translate(-1*r||0,-1*t||0)}applyToPoint(e){var{x:r,y:t}=this.point;e.applyTransform([1,0,0,1,r||0,t||0])}},Kn=class{constructor(e,r,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=se(r);this.angle=new w(e,"angle",a[0]),this.originX=t[0],this.originY=t[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(o.getRadians()),e.translate(-s,-u)}unapply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(-1*o.getRadians()),e.translate(-s,-u)}applyToPoint(e){var{cx:r,cy:t,angle:a}=this,n=a.getRadians();e.applyTransform([1,0,0,1,r||0,t||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-r||0,-t||0])}},Zn=class{constructor(e,r,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=$.parseScale(r);(a.x===0||a.y===0)&&(a.x=dr,a.y=dr),this.scale=a,this.originX=t[0],this.originY=t[1]}apply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(r,t||r),e.translate(-o,-s)}unapply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(1/r,1/t||r),e.translate(-o,-s)}applyToPoint(e){var{x:r,y:t}=this.scale;e.applyTransform([r||0,0,0,t||0,0,0])}},fi=class{constructor(e,r,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=se(r),this.originX=t[0],this.originY=t[1]}apply(e){var{originX:r,originY:t,matrix:a}=this,n=r.getPixels("x"),o=t.getPixels("y");e.translate(n,o),e.transform(a[0],a[1],a[2],a[3],a[4],a[5]),e.translate(-n,-o)}unapply(e){var{originX:r,originY:t,matrix:a}=this,n=a[0],o=a[2],s=a[4],u=a[1],l=a[3],h=a[5],c=0,v=0,f=1,g=1/(n*(l*f-h*v)-o*(u*f-h*c)+s*(u*v-l*c)),p=r.getPixels("x"),y=t.getPixels("y");e.translate(p,y),e.transform(g*(l*f-h*v),g*(h*c-u*f),g*(s*v-o*f),g*(n*f-s*c),g*(o*h-s*l),g*(s*u-n*h)),e.translate(-p,-y)}applyToPoint(e){e.applyTransform(this.matrix)}},vi=class extends fi{constructor(e,r,t){super(e,r,t),this.type="skew",this.angle=null,this.angle=new w(e,"angle",r)}},Jn=class extends vi{constructor(e,r,t){super(e,r,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},es=class extends vi{constructor(e,r,t){super(e,r,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};function SO(i){return yr(i).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function EO(i){var[e,r]=i.split("(");return[e.trim(),r.trim().replace(")","")]}var Ms=(()=>{class i{constructor(r,t,a){this.document=r,this.transforms=[];var n=SO(t);n.forEach(o=>{if(o!=="none"){var[s,u]=EO(o),l=i.transformTypes[s];typeof l<"u"&&this.transforms.push(new l(this.document,u,a))}})}static fromElement(r,t){var a=t.getStyle("transform",!1,!0),[n,o=n]=t.getStyle("transform-origin",!1,!0).split(),s=[n,o];return a.hasValue()?new i(r,a.getString(),s):null}apply(r){for(var{transforms:t}=this,a=t.length,n=0;n=0;n--)t[n].unapply(r)}applyToPoint(r){for(var{transforms:t}=this,a=t.length,n=0;n{class i{constructor(r,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=r,this.node=t,this.captureTextNodes=a,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!t||t.nodeType!==1)){if(Array.from(t.attributes).forEach(u=>{var l=cO(u.nodeName);this.attributes[l]=new w(r,l,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var n=this.getAttribute("style").getString().split(";").map(u=>u.trim());n.forEach(u=>{if(u){var[l,h]=u.split(":").map(c=>c.trim());this.styles[l]=new w(r,l,h)}})}var{definitions:o}=r,s=this.getAttribute("id");s.hasValue()&&(o[s.getString()]||(o[s.getString()]=this)),Array.from(t.childNodes).forEach(u=>{if(u.nodeType===1)this.addChild(u);else if(a&&(u.nodeType===3||u.nodeType===4)){var l=r.createTextNode(u);l.getText().length>0&&this.addChild(l)}})}}getAttribute(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=this.attributes[r];if(!a&&t){var n=new w(this.document,r,"");return this.attributes[r]=n,n}return a||w.empty(this.document)}getHrefAttribute(){for(var r in this.attributes)if(r==="href"||r.endsWith(":href"))return this.attributes[r];return w.empty(this.document)}getStyle(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.styles[r];if(n)return n;var o=this.getAttribute(r);if(o!=null&&o.hasValue())return this.styles[r]=o,o;if(!a){var{parent:s}=this;if(s){var u=s.getStyle(r);if(u!=null&&u.hasValue())return u}}if(t){var l=new w(this.document,r,"");return this.styles[r]=l,l}return n||w.empty(this.document)}render(r){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(r.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(r),t.apply(r,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var a=this.getStyle("filter").getDefinition();a&&(this.applyEffects(r),a.apply(r,this))}else this.setContext(r),this.renderChildren(r),this.clearContext(r);r.restore()}}setContext(r){}applyEffects(r){var t=Ms.fromElement(this.document,this);t&&t.apply(r);var a=this.getStyle("clip-path",!1,!0);if(a.hasValue()){var n=a.getDefinition();n&&n.apply(r)}}clearContext(r){}renderChildren(r){this.children.forEach(t=>{t.render(r)})}addChild(r){var t=r instanceof i?r:this.document.createElement(r);t.parent=this,i.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(r){var t,{node:a}=this;if(typeof a.matches=="function")return a.matches(r);var n=(t=a.getAttribute)===null||t===void 0?void 0:t.call(a,"class");return!n||n===""?!1:n.split(" ").some(o=>".".concat(o)===r)}addStylesFromStyleDefinition(){var{styles:r,stylesSpecificity:t}=this.document;for(var a in r)if(!a.startsWith("@")&&this.matchesSelector(a)){var n=r[a],o=t[a];if(n)for(var s in n){var u=this.stylesSpecificity[s];typeof u>"u"&&(u="000"),o>=u&&(this.styles[s]=n[s],this.stylesSpecificity[s]=o)}}}removeStyles(r,t){var a=t.reduce((n,o)=>{var s=r.getStyle(o);if(!s.hasValue())return n;var u=s.getString();return s.setValue(""),[...n,[o,u]]},[]);return a}restoreStyles(r,t){t.forEach(a=>{var[n,o]=a;r.getStyle(n,!0).setValue(o)})}isFirstChild(){var r;return((r=this.parent)===null||r===void 0?void 0:r.children.indexOf(this))===0}}return i.ignoreChildTypes=["title"],i})(),rs=class extends B{constructor(e,r,t){super(e,r,t)}};function wO(i){var e=i.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function CO(i){return typeof process>"u"?i:i.trim().split(",").map(wO).join(",")}function qO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function AO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var pr=(()=>{class i{constructor(r,t,a,n,o,s){var u=s?typeof s=="string"?i.parse(s):s:{};this.fontFamily=o||u.fontFamily,this.fontSize=n||u.fontSize,this.fontStyle=r||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=t||u.fontVariant}static parse(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a="",n="",o="",s="",u="",l=yr(r).trim().split(" "),h={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(c=>{switch(!0){case(!h.fontStyle&&i.styles.includes(c)):c!=="inherit"&&(a=c),h.fontStyle=!0;break;case(!h.fontVariant&&i.variants.includes(c)):c!=="inherit"&&(n=c),h.fontStyle=!0,h.fontVariant=!0;break;case(!h.fontWeight&&i.weights.includes(c)):c!=="inherit"&&(o=c),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0;break;case!h.fontSize:c!=="inherit"&&([s]=c.split("/")),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0,h.fontSize=!0;break;default:c!=="inherit"&&(u+=c)}}),new i(a,n,o,s,u,t)}toString(){return[qO(this.fontStyle),this.fontVariant,AO(this.fontWeight),this.fontSize,CO(this.fontFamily)].join(" ").trim()}}return i.styles="normal|italic|oblique|inherit",i.variants="normal|small-caps|inherit",i.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",i})(),oe=class{constructor(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=e,this.y1=r,this.x2=t,this.y2=a,this.addPoint(e,r),this.addPoint(t,a)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,r){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),ethis.x2&&(this.x2=e)),typeof r<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),rthis.y2&&(this.y2=r))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:r,y1:t,x2:a,y2:n}=e;this.addPoint(r,t),this.addPoint(a,n)}}sumCubic(e,r,t,a,n){return Math.pow(1-e,3)*r+3*Math.pow(1-e,2)*e*t+3*(1-e)*Math.pow(e,2)*a+Math.pow(e,3)*n}bezierCurveAdd(e,r,t,a,n){var o=6*r-12*t+6*a,s=-3*r+9*t-9*a+3*n,u=3*t-3*r;if(s===0){if(o===0)return;var l=-u/o;0=r.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",t=new $(this.command[e],this.command[r]);return this.makeAbsolute(t)}getAsControlPoint(e,r){var t=this.getPoint(e,r);return this.control=t,t}getAsCurrentPoint(e,r){var t=this.getPoint(e,r);return this.current=t,t}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==b.CURVE_TO&&e!==b.SMOOTH_CURVE_TO&&e!==b.QUAD_TO&&e!==b.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:t},control:{x:a,y:n}}=this,o=new $(2*r-a,2*t-n);return o}makeAbsolute(e){if(this.command.relative){var{x:r,y:t}=this.current;e.x+=r,e.y+=t}return e}addMarker(e,r,t){var{points:a,angles:n}=this;t&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=a[a.length-1].angleTo(t)),this.addMarkerAngle(e,r?r.angleTo(e):null)}addMarkerAngle(e,r){this.points.push(e),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,r=e.length,t=0;t1&&arguments[1]!==void 0?arguments[1]:!1;if(!r){var t=this.getStyle("fill"),a=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var s=t.getFillStyleDefinition(this,a);s&&(e.fillStyle=s)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var u=t.getColor();u!=="inherit"&&(e.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(a.hasValue()){var l=new w(this.document,"fill",e.fillStyle).addOpacity(a).getColor();e.fillStyle=l}if(n.isUrlDefinition()){var h=n.getFillStyleDefinition(this,o);h&&(e.strokeStyle=h)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var c=n.getString();c!=="inherit"&&(e.strokeStyle=c==="none"?"rgba(0,0,0,0)":c)}if(o.hasValue()){var v=new w(this.document,"stroke",e.strokeStyle).addOpacity(o).getString();e.strokeStyle=v}var f=this.getStyle("stroke-width");if(f.hasValue()){var g=f.getPixels();e.lineWidth=g||dr}var p=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),m=this.getStyle("stroke-miterlimit"),O=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(e.lineCap=p.getString()),y.hasValue()&&(e.lineJoin=y.getString()),m.hasValue()&&(e.miterLimit=m.getNumber()),O.hasValue()&&O.getString()!=="none"){var T=se(O.getString());typeof e.setLineDash<"u"?e.setLineDash(T):typeof e.webkitLineDash<"u"?e.webkitLineDash=T:typeof e.mozDash<"u"&&!(T.length===1&&T[0]===0)&&(e.mozDash=T);var E=x.getPixels();typeof e.lineDashOffset<"u"?e.lineDashOffset=E:typeof e.webkitLineDashOffset<"u"?e.webkitLineDashOffset=E:typeof e.mozDashOffset<"u"&&(e.mozDashOffset=E)}}if(this.modifiedEmSizeStack=!1,typeof e.font<"u"){var C=this.getStyle("font"),S=this.getStyle("font-style"),A=this.getStyle("font-variant"),P=this.getStyle("font-weight"),V=this.getStyle("font-size"),k=this.getStyle("font-family"),N=new pr(S.getString(),A.getString(),P.getString(),V.hasValue()?"".concat(V.getPixels(!0),"px"):"",k.getString(),pr.parse(C.getString(),e.font));S.setValue(N.fontStyle),A.setValue(N.fontVariant),P.setValue(N.fontWeight),V.setValue(N.fontSize),k.setValue(N.fontFamily),e.font=N.toString(),V.isPixels()&&(this.document.emSize=V.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}},F=class i extends qe{constructor(e,r,t){super(e,r,t),this.type="path",this.pathParser=null,this.pathParser=new q(this.getAttribute("d").getString())}path(e){var{pathParser:r}=this,t=new oe;for(r.reset(),e&&e.beginPath();!r.isEnd();)switch(r.next().type){case q.MOVE_TO:this.pathM(e,t);break;case q.LINE_TO:this.pathL(e,t);break;case q.HORIZ_LINE_TO:this.pathH(e,t);break;case q.VERT_LINE_TO:this.pathV(e,t);break;case q.CURVE_TO:this.pathC(e,t);break;case q.SMOOTH_CURVE_TO:this.pathS(e,t);break;case q.QUAD_TO:this.pathQ(e,t);break;case q.SMOOTH_QUAD_TO:this.pathT(e,t);break;case q.ARC:this.pathA(e,t);break;case q.CLOSE_PATH:this.pathZ(e,t);break}return t}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,r=e.getMarkerPoints(),t=e.getMarkerAngles(),a=r.map((n,o)=>[n,t[o]]);return a}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var r=this.getStyle("fill-rule");e.fillStyle!==""&&(r.getString("inherit")!=="inherit"?e.fill(r.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var t=this.getMarkers();if(t){var a=t.length-1,n=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var u=n.getDefinition(),[l,h]=t[0];u.render(e,l,h)}if(o.isUrlDefinition())for(var c=o.getDefinition(),v=1;v1&&(a*=Math.sqrt(v),n*=Math.sqrt(v));var f=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(n,2)-Math.pow(a,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(a,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var g=new $(f*a*c.y/n,f*-n*c.x/a),p=new $((r.x+h.x)/2+Math.cos(l)*g.x-Math.sin(l)*g.y,(r.y+h.y)/2+Math.sin(l)*g.x+Math.cos(l)*g.y),y=lg([1,0],[(c.x-g.x)/a,(c.y-g.y)/n]),m=[(c.x-g.x)/a,(c.y-g.y)/n],O=[(-c.x-g.x)/a,(-c.y-g.y)/n],x=lg(m,O);return Yn(m,O)<=-1&&(x=Math.PI),Yn(m,O)>=1&&(x=0),{currentPoint:h,rX:a,rY:n,sweepFlag:u,xAxisRotation:l,centp:p,a1:y,ad:x}}pathA(e,r){var{pathParser:t}=this,{currentPoint:a,rX:n,rY:o,sweepFlag:s,xAxisRotation:u,centp:l,a1:h,ad:c}=i.pathA(t),v=1-s?1:-1,f=h+v*(c/2),g=new $(l.x+n*Math.cos(f),l.y+o*Math.sin(f));if(t.addMarkerAngle(g,f-v*Math.PI/2),t.addMarkerAngle(a,f-v*Math.PI),r.addPoint(a.x,a.y),e&&!isNaN(h)&&!isNaN(c)){var p=n>o?n:o,y=n>o?1:n/o,m=n>o?o/n:1;e.translate(l.x,l.y),e.rotate(u),e.scale(y,m),e.arc(0,0,p,h,h+c,!!(1-s)),e.scale(1/y,1/m),e.rotate(-u),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,r){i.pathZ(this.pathParser),e&&r.x1!==r.x2&&r.y1!==r.y2&&e.closePath()}},gi=class extends F{constructor(e,r,t){super(e,r,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},He=class i extends qe{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(e,r);var t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(e.textBaseline=t)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var r=null;return this.children.forEach((t,a)=>{var n=this.getChildBoundingBox(e,this,this,a);r?r.addBoundingBox(n):r=n}),r}getFontSize(){var{document:e,parent:r}=this,t=pr.parse(e.ctx.font).fontSize,a=r.getStyle("font-size").getNumber(t);return a}getTElementBoundingBox(e){var r=this.getFontSize();return new oe(this.x,this.y-r,this.x+this.measureText(e),this.y)}getGlyph(e,r,t){var a=r[t],n=null;if(e.isArabic){var o=r.length,s=r[t-1],u=r[t+1],l="isolated";if((t===0||s===" ")&&t0&&s!==" "&&t0&&s!==" "&&(t===o-1||u===" ")&&(l="initial"),typeof e.glyphs[a]<"u"){var h=e.glyphs[a];n=h instanceof gi?h:h[l]}}else n=e.glyphs[a];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var r=e||this.node,t=Array.from(r.parentNode.childNodes),a=t.indexOf(r),n=t.length-1,o=yr(r.textContent||"");return a===0&&(o=uO(o)),a===n&&(o=lO(o)),o}renderChildren(e){if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,a)=>{this.renderChild(e,this,this,a)});var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:r,parent:t}=this,a=this.getText(),n=t.getStyle("font-family").getDefinition();if(n){for(var{unitsPerEm:o}=n.fontFace,s=pr.parse(r.ctx.font),u=t.getStyle("font-size").getNumber(s.fontSize),l=t.getStyle("font-style").getString(s.fontStyle),h=u/o,c=n.isRTL?a.split("").reverse().join(""):a,v=se(t.getAttribute("dx").getString()),f=c.length,g=0;g=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],r=e.getStyle("text-anchor").getString("start"),t=!1,a=0;r==="start"&&!t||r==="end"&&t?a=e.x-this.minX:r==="end"&&!t||r==="start"&&t?a=e.x-this.maxX:a=e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n{this.adjustChildCoordinatesRecursiveCore(e,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,r,t,a){var n=t.children[a];n.children.length>0?n.children.forEach((o,s)=>{r.adjustChildCoordinatesRecursiveCore(e,r,n,s)}):this.adjustChildCoordinates(e,r,t,a)}adjustChildCoordinates(e,r,t,a){var n=t.children[a];if(typeof n.measureText!="function")return n;e.save(),n.setContext(e,!0);var o=n.getAttribute("x"),s=n.getAttribute("y"),u=n.getAttribute("dx"),l=n.getAttribute("dy"),h=n.getStyle("font-family").getDefinition(),c=!!h&&h.isRTL;a===0&&(o.hasValue()||o.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),u.hasValue()||u.setValue(n.getInheritedAttribute("dx")),l.hasValue()||l.setValue(n.getInheritedAttribute("dy")));var v=n.measureText(e);return c&&(r.x-=v),o.hasValue()?(r.applyAnchoring(),n.x=o.getPixels("x"),u.hasValue()&&(n.x+=u.getPixels("x"))):(u.hasValue()&&(r.x+=u.getPixels("x")),n.x=r.x),r.x=n.x,c||(r.x+=v),s.hasValue()?(n.y=s.getPixels("y"),l.hasValue()&&(n.y+=l.getPixels("y"))):(l.hasValue()&&(r.y+=l.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+v),r.maxX=Math.max(r.maxX,n.x,n.x+v),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,r,t,a){var n=t.children[a];if(typeof n.getBoundingBox!="function")return null;var o=n.getBoundingBox(e);return o?(n.children.forEach((s,u)=>{var l=r.getChildBoundingBox(e,r,n,u);o.addBoundingBox(l)}),o):null}renderChild(e,r,t,a){var n=t.children[a];n.render(e),n.children.forEach((o,s)=>{r.renderChild(e,r,n,s)})}measureText(e){var{measureCache:r}=this;if(~r)return r;var t=this.getText(),a=this.measureTargetText(e,t);return this.measureCache=a,a}measureTargetText(e,r){if(!r.length)return 0;var{parent:t}=this,a=t.getStyle("font-family").getDefinition();if(a){for(var n=this.getFontSize(),o=a.isRTL?r.split("").reverse().join(""):r,s=se(t.getAttribute("dx").getString()),u=o.length,l=0,h=0;h0?"":this.getTextFromNode()}getText(){return this.text}},ts=class extends di{constructor(){super(...arguments),this.type="textNode"}},Ye=class extends qe{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var r,{document:t}=this,{screen:a,window:n}=t,o=e.canvas;if(a.setDefaults(e),o.style&&typeof e.font<"u"&&n&&typeof n.getComputedStyle<"u"){e.font=n.getComputedStyle(o).getPropertyValue("font");var s=new w(t,"fontSize",pr.parse(e.font).fontSize);s.hasValue()&&(t.rootEmSize=s.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:l}=a.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var h=this.getAttribute("refX"),c=this.getAttribute("refY"),v=this.getAttribute("viewBox"),f=v.hasValue()?se(v.getString()):null,g=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",p=0,y=0,m=0,O=0;f&&(p=f[0],y=f[1]),this.root||(u=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),this.type==="marker"&&(m=p,O=y,p=0,y=0)),a.viewPort.setCurrent(u,l),this.node&&(!this.parent||((r=this.node.parentNode)===null||r===void 0?void 0:r.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),f&&(u=f[2],l=f[3]),t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:l,minX:p,minY:y,refX:h.getValue(),refY:c.getValue(),clip:g,clipX:m,clipY:O}),f&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.getAttribute("width",!0),n=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),l=n.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var h=this.getAttribute("preserveAspectRatio");h.hasValue()&&h.setValue(h.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(e),n.setValue(r),o.hasValue()||o.setValue("0 0 ".concat(u||e," ").concat(l||r)),s.hasValue()){var c=this.getStyle("width"),v=this.getStyle("height");c.hasValue()&&c.setValue("".concat(e,"px")),v.hasValue()&&v.setValue("".concat(r,"px"))}}},pi=class extends F{constructor(){super(...arguments),this.type="rect"}path(e){var r=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),l=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(l=u),s.hasValue()&&!o.hasValue()&&(u=l),u=Math.min(u,a/2),l=Math.min(l,n/2),e){var h=4*((Math.sqrt(2)-1)/3);e.beginPath(),n>0&&a>0&&(e.moveTo(r+u,t),e.lineTo(r+a-u,t),e.bezierCurveTo(r+a-u+h*u,t,r+a,t+l-h*l,r+a,t+l),e.lineTo(r+a,t+n-l),e.bezierCurveTo(r+a,t+n-l+h*l,r+a-u+h*u,t+n,r+a-u,t+n),e.lineTo(r+u,t+n),e.bezierCurveTo(r+u-h*u,t+n,r,t+n-l+h*l,r,t+n-l),e.lineTo(r,t+l),e.bezierCurveTo(r,t+l-h*l,r+u-h*u,t,r+u,t),e.closePath())}return new oe(r,t,r+a,t+n)}getMarkers(){return null}},is=class extends F{constructor(){super(...arguments),this.type="circle"}path(e){var r=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return e&&a>0&&(e.beginPath(),e.arc(r,t,a,0,Math.PI*2,!1),e.closePath()),new oe(r-a,t-a,r+a,t+a)}getMarkers(){return null}},as=class extends F{constructor(){super(...arguments),this.type="ellipse"}path(e){var r=4*((Math.sqrt(2)-1)/3),t=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&t>0&&a>0&&(e.beginPath(),e.moveTo(n+t,o),e.bezierCurveTo(n+t,o+r*a,n+r*t,o+a,n,o+a),e.bezierCurveTo(n-r*t,o+a,n-t,o+r*a,n-t,o),e.bezierCurveTo(n-t,o-r*a,n-r*t,o-a,n,o-a),e.bezierCurveTo(n+r*t,o-a,n+t,o-r*a,n+t,o),e.closePath()),new oe(n-t,o-a,n+t,o+a)}getMarkers(){return null}},ns=class extends F{constructor(){super(...arguments),this.type="line"}getPoints(){return[new $(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new $(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:r,y:t},{x:a,y:n}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(r,t),e.lineTo(a,n)),new oe(r,t,a,n)}getMarkers(){var[e,r]=this.getPoints(),t=e.angleTo(r);return[[e,t],[r,t]]}},yi=class extends F{constructor(e,r,t){super(e,r,t),this.type="polyline",this.points=[],this.points=$.parsePath(this.getAttribute("points").getString())}path(e){var{points:r}=this,[{x:t,y:a}]=r,n=new oe(t,a);return e&&(e.beginPath(),e.moveTo(t,a)),r.forEach(o=>{var{x:s,y:u}=o;n.addPoint(s,u),e&&e.lineTo(s,u)}),n}getMarkers(){var{points:e}=this,r=e.length-1,t=[];return e.forEach((a,n)=>{n!==r&&t.push([a,a.angleTo(e[n+1])])}),t.length>0&&t.push([e[e.length-1],t[t.length-1][1]]),t}},ss=class extends yi{constructor(){super(...arguments),this.type="polygon"}path(e){var r=super.path(e),[{x:t,y:a}]=this.points;return e&&(e.lineTo(t,a),e.closePath()),r}},os=class extends B{constructor(){super(...arguments),this.type="pattern"}createPattern(e,r,t){var a=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),o=new Ye(this.document,null);o.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new w(this.document,"width","".concat(a,"px")),o.attributes.height=new w(this.document,"height","".concat(n,"px")),o.attributes.transform=new w(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,n),u=s.getContext("2d"),l=this.getAttribute("x"),h=this.getAttribute("y");l.hasValue()&&h.hasValue()&&u.translate(l.getPixels("x",!0),h.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var c=-1;c<=1;c++)for(var v=-1;v<=1;v++)u.save(),o.attributes.x=new w(this.document,"x",c*s.width),o.attributes.y=new w(this.document,"y",v*s.height),o.render(u),u.restore();var f=e.createPattern(s,"repeat");return f}},us=class extends B{constructor(){super(...arguments),this.type="marker"}render(e,r,t){if(r){var{x:a,y:n}=r,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(a,n),o==="auto"&&e.rotate(t),s==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var u=new Ye(this.document,null);u.type=this.type,u.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new w(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new w(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new w(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new w(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new w(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new w(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new w(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(e),e.restore(),s==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),o==="auto"&&e.rotate(-t),e.translate(-a,-n)}}},ls=class extends B{constructor(){super(...arguments),this.type="defs"}render(){}},Kr=class extends qe{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var r=new oe;return this.children.forEach(t=>{r.addBoundingBox(t.getBoundingBox(e))}),r}},mi=class extends B{constructor(e,r,t){super(e,r,t),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:n}=this;n.forEach(o=>{o.type==="stop"&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,r,t){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:n}=a,o=this.getGradient(e,r);if(!o)return this.addParentOpacity(t,n[n.length-1].color);if(n.forEach(y=>{o.addColorStop(y.offset,this.addParentOpacity(t,y.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:l}=s.screen,[h]=l.viewPorts,c=new pi(s,null);c.attributes.x=new w(s,"x",-u/3),c.attributes.y=new w(s,"y",-u/3),c.attributes.width=new w(s,"width",u),c.attributes.height=new w(s,"height",u);var v=new Kr(s,null);v.attributes.transform=new w(s,"transform",this.getAttribute("gradientTransform").getValue()),v.children=[c];var f=new Ye(s,null);f.attributes.x=new w(s,"x",0),f.attributes.y=new w(s,"y",0),f.attributes.width=new w(s,"width",h.width),f.attributes.height=new w(s,"height",h.height),f.children=[v];var g=s.createCanvas(h.width,h.height),p=g.getContext("2d");return p.fillStyle=o,f.render(p),p.createPattern(g,"no-repeat")}return o}inheritStopContainer(e){this.attributesToInherit.forEach(r=>{!this.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())})}addParentOpacity(e,r){if(e.hasValue()){var t=new w(this.document,"color",r);return t.addOpacity(e).getColor()}return r}},hs=class extends mi{constructor(e,r,t){super(e,r,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=t?r.getBoundingBox(e):null;if(t&&!a)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=t?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=t?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=t?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=t?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===s&&o===u?null:e.createLinearGradient(n,o,s,u)}},cs=class extends mi{constructor(e,r,t){super(e,r,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=r.getBoundingBox(e);if(t&&!a)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=t?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=t?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=n,u=o;this.getAttribute("fx").hasValue()&&(s=t?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=t?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=t?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),h=this.getAttribute("fr").getPixels();return e.createRadialGradient(s,u,h,n,o,l)}},fs=class extends B{constructor(e,r,t){super(e,r,t),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),n.hasValue()&&(o=o.addOpacity(n)),this.offset=a,this.color=o.getColor()}},Zr=class extends B{constructor(e,r,t){super(e,r,t),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new w(e,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:e}=this,{progress:r,from:t,to:a}=this.getProgress(),n=t.getNumber()+(a.getNumber()-t.getNumber())*r;return e==="%"&&(n*=100),"".concat(n).concat(e)}update(e){var{parent:r}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(a==="freeze"&&!this.frozen)this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=t.getString();else if(a==="remove"&&!this.removed)return this.removed=!0,t.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var n=!1;if(this.begin{var l=n[u];return s+(l-s)*e}).join(" ");return o}},ds=class extends B{constructor(e,r,t){super(e,r,t),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=e,{children:n}=this;for(var o of n)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}},ps=class extends B{constructor(e,r,t){super(e,r,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},ys=class extends F{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},ms=class extends He{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var r=e.children[0];if(r)return r.getText()}return""}},bs=class extends He{constructor(e,r,t){super(e,r,t),this.type="a";var{childNodes:a}=r,n=a[0],o=a.length>0&&Array.from(a).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:r,x:t,y:a}=this,{mouse:n}=r.screen,o=new w(r,"fontSize",pr.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new oe(t,a-o.getPixels("y"),t+this.measureText(e),a))}else if(this.children.length>0){var s=new Kr(this.document,null);s.children=this.children,s.parent=this,s.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}};function bg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function oi(i){for(var e=1;e{var{type:a,points:n}=t;switch(a){case q.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case q.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case q.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case q.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case q.ARC:{var[o,s,u,l,h,c,v,f]=n,g=u>l?u:l,p=u>l?1:u/l,y=u>l?l/u:1;e&&(e.translate(o,s),e.rotate(v),e.scale(p,y),e.arc(0,0,g,h,h+c,!!(1-f)),e.scale(1/p,1/y),e.rotate(-v),e.translate(-o,-s));break}case q.CLOSE_PATH:e&&e.closePath();break}})}renderChildren(e){this.setTextData(e),e.save();var r=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:a}=this,n=e.fillStyle;r==="underline"&&e.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:l,rotation:h,text:c}=o;e.save(),e.translate(u.x,u.y),e.rotate(h),e.fillStyle&&e.fillText(c,0,0),e.strokeStyle&&e.strokeText(c,0,0),e.restore(),r==="underline"&&(s===0&&e.moveTo(u.x,u.y+t/8),e.lineTo(l.x,l.y+t/5))}),r==="underline"&&(e.lineWidth=t/20,e.strokeStyle=n,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,r,t,a,n,o,s,u,l){var h=o,c=this.measureText(e,u);u===" "&&r==="justify"&&t-1&&(h+=this.getLetterSpacingAt(l));var v=this.textHeight/20,f=this.getEquidistantPointOnPath(h,v,0),g=this.getEquidistantPointOnPath(h+c,v,0),p={p0:f,p1:g},y=f&&g?Math.atan2(g.y-f.y,g.x-f.x):0;if(s){var m=Math.cos(Math.PI/2+y)*s,O=Math.cos(-y)*s;p.p0=oi(oi({},f),{},{x:f.x+m,y:f.y+O}),p.p1=oi(oi({},g),{},{x:g.x+m,y:g.y+O})}return h+=c,{offset:h,segment:p,rotation:y}}measureText(e,r){var{measuresCache:t}=this,a=r||this.getText();if(t.has(a))return t.get(a);var n=this.measureTargetText(e,a);return t.set(a,n),n}setTextData(e){if(!this.glyphInfo){var r=this.getText(),t=r.split(""),a=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map(T=>T.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),h=0;!u.hasValue()||u.getValue()==="inherit"?h=l.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(h=u.getPixels());var c=[],v=r.length;this.letterSpacingCache=c;for(var f=0;fC===0?0:T+E||0,0),p=this.measureText(e),y=Math.max(p+g,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var m=this.getPathLength(),O=this.getStyle("startOffset").getNumber(0)*m,x=0;(s==="middle"||s==="center")&&(x=-y/2),(s==="end"||s==="right")&&(x=-y),x+=O,t.forEach((T,E)=>{var{offset:C,segment:S,rotation:A}=this.findSegmentToFitChar(e,s,y,m,a,x,o,T,E);x=C,!(!S.p0||!S.p1)&&this.glyphInfo.push({text:t[E],p0:S.p0,p1:S.p1,rotation:A})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var r=[],{pathParser:t}=e;for(t.reset();!t.isEnd();){var{current:a}=t,n=a?a.x:0,o=a?a.y:0,s=t.next(),u=s.type,l=[];switch(s.type){case q.MOVE_TO:this.pathM(t,l);break;case q.LINE_TO:u=this.pathL(t,l);break;case q.HORIZ_LINE_TO:u=this.pathH(t,l);break;case q.VERT_LINE_TO:u=this.pathV(t,l);break;case q.CURVE_TO:this.pathC(t,l);break;case q.SMOOTH_CURVE_TO:u=this.pathS(t,l);break;case q.QUAD_TO:this.pathQ(t,l);break;case q.SMOOTH_QUAD_TO:u=this.pathT(t,l);break;case q.ARC:l=this.pathA(t);break;case q.CLOSE_PATH:F.pathZ(t);break}s.type!==q.CLOSE_PATH?r.push({type:u,points:l,start:{x:n,y:o},pathLength:this.calcLength(n,o,u,l)}):r.push({type:q.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(e,r){var{x:t,y:a}=F.pathM(e).point;r.push(t,a)}pathL(e,r){var{x:t,y:a}=F.pathL(e).point;return r.push(t,a),q.LINE_TO}pathH(e,r){var{x:t,y:a}=F.pathH(e).point;return r.push(t,a),q.LINE_TO}pathV(e,r){var{x:t,y:a}=F.pathV(e).point;return r.push(t,a),q.LINE_TO}pathC(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathC(e);r.push(t.x,t.y,a.x,a.y,n.x,n.y)}pathS(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathS(e);return r.push(t.x,t.y,a.x,a.y,n.x,n.y),q.CURVE_TO}pathQ(e,r){var{controlPoint:t,currentPoint:a}=F.pathQ(e);r.push(t.x,t.y,a.x,a.y)}pathT(e,r){var{controlPoint:t,currentPoint:a}=F.pathT(e);return r.push(t.x,t.y,a.x,a.y),q.QUAD_TO}pathA(e){var{rX:r,rY:t,sweepFlag:a,xAxisRotation:n,centp:o,a1:s,ad:u}=F.pathA(e);return a===0&&u>0&&(u-=2*Math.PI),a===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,r,t,s,u,n,a]}calcLength(e,r,t,a){var n=0,o=null,s=null,u=0;switch(t){case q.LINE_TO:return this.getLineLength(e,r,a[0],a[1]);case q.CURVE_TO:for(n=0,o=this.getPointOnCubicBezier(0,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.QUAD_TO:for(n=0,o=this.getPointOnQuadraticBezier(0,e,r,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,e,r,a[0],a[1],a[2],a[3]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.ARC:{n=0;var l=a[4],h=a[5],c=a[4]+h,v=Math.PI/180;if(Math.abs(l-c)c;u-=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=l+v;u5&&arguments[5]!==void 0?arguments[5]:r,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,u=(n-t)/(a-r+dr),l=Math.sqrt(e*e/(1+u*u));ar)return null;var{dataArray:n}=this;for(var o of n){if(o&&(o.pathLength<5e-5||t+o.pathLength+5e-5=0&&u>c)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case q.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case q.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(a)return a;break}return null}getLineLength(e,r,t,a){return Math.sqrt((t-e)*(t-e)+(a-r)*(a-r))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((e,r)=>r.pathLength>0?e+r.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,r,t,a,n,o,s,u,l){var h=u*hg(e)+o*cg(e)+a*fg(e)+r*vg(e),c=l*hg(e)+s*cg(e)+n*fg(e)+t*vg(e);return{x:h,y:c}}getPointOnQuadraticBezier(e,r,t,a,n,o,s){var u=o*gg(e)+a*dg(e)+r*pg(e),l=s*gg(e)+n*dg(e)+t*pg(e);return{x:u,y:l}}getPointOnEllipticalArc(e,r,t,a,n,o){var s=Math.cos(o),u=Math.sin(o),l={x:t*Math.cos(n),y:a*Math.sin(n)};return{x:e+(l.x*s-l.y*u),y:r+(l.x*u+l.y*s)}}buildEquidistantCache(e,r){var t=this.getPathLength(),a=r||.25,n=e||t/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==a){this.equidistantCache={step:n,precision:a,points:[]};for(var o=0,s=0;s<=t;s+=a){var u=this.getPointOnPath(s),l=this.getPointOnPath(s+a);!u||!l||(o+=this.getLineLength(u.x,u.y,l.x,l.y),o>=n&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=n))}}}getEquidistantPointOnPath(e,r,t){if(this.buildEquidistantCache(r,t),e<0||e-this.getPathLength()>5e-5)return null;var a=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}},PO=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Ts=class extends qe{constructor(e,r,t){super(e,r,t),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var n=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);e.images.push(this),n?this.loadSvg(a):this.loadImage(a),this.isSvg=n}}loadImage(e){var r=this;return be(function*(){try{var t=yield r.document.createImage(e);r.image=t}catch(a){console.error('Error while loading image "'.concat(e,'":'),a)}r.loaded=!0})()}loadSvg(e){var r=this;return be(function*(){var t=PO.exec(e);if(t){var a=t[5];t[4]==="base64"?r.image=atob(a):r.image=decodeURIComponent(a)}else try{var n=yield r.document.fetch(e),o=yield n.text();r.image=o}catch(s){console.error('Error while loading image "'.concat(e,'":'),s)}r.loaded=!0})()}renderChildren(e){var{document:r,image:t,loaded:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!a||!t||!s||!u)){if(e.save(),e.translate(n,o),this.isSvg){var l=r.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});l.document.documentElement.parent=this,l.render()}else{var h=this.image;r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:h.width,height:u,desiredHeight:h.height}),this.loaded&&(typeof h.complete>"u"||h.complete)&&e.drawImage(h,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new oe(e,r,e+t,r+a)}},Os=class extends qe{constructor(){super(...arguments),this.type="symbol"}render(e){}},Ss=class{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,r){var t=this;return be(function*(){try{var{document:a}=t,n=yield a.canvg.parser.load(r),o=n.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[e]=u})}catch(s){console.error('Error while loading font "'.concat(r,'":'),s)}t.loaded=!0})()}},RO=(()=>{class i extends B{constructor(r,t,a){super(r,t,a),this.type="style";var n=yr(Array.from(t.childNodes).map(s=>s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),o=n.split("}");o.forEach(s=>{var u=s.trim();if(u){var l=u.split("{"),h=l[0].split(","),c=l[1].split(";");h.forEach(v=>{var f=v.trim();if(f){var g=r.styles[f]||{};if(c.forEach(m=>{var O=m.indexOf(":"),x=m.substr(0,O).trim(),T=m.substr(O+1,m.length-O).trim();x&&T&&(g[x]=new w(r,x,T))}),r.styles[f]=g,r.stylesSpecificity[f]=xO(f),f==="@font-face"){var p=g["font-family"].getString().replace(/"|'/g,""),y=g.src.getString().split(",");y.forEach(m=>{if(m.indexOf('format("svg")')>0){var O=og(m);O&&new Ss(r).load(p,O)}})}}})}})}}return i.parseExternalUrl=og,i})(),Es=class extends qe{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var r=this.getAttribute("x"),t=this.getAttribute("y");r.hasValue()&&e.translate(r.getPixels("x"),0),t.hasValue()&&e.translate(0,t.getPixels("y"))}path(e){var{element:r}=this;r&&r.path(e)}renderChildren(e){var{document:r,element:t}=this;if(t){var a=t;if(t.type==="symbol"&&(a=new Ye(r,null),a.attributes.viewBox=new w(r,"viewBox",t.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new w(r,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new w(r,"overflow",t.getAttribute("overflow").getString()),a.children=t.children,t.styles.opacity=new w(r,"opacity",this.calculateOpacity())),a.type==="svg"){var n=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);n.hasValue()&&(a.attributes.width=new w(r,"width",n.getString())),o.hasValue()&&(a.attributes.height=new w(r,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(e),a.parent=s}}getBoundingBox(e){var{element:r}=this;return r?r.getBoundingBox(e):null}elementTransform(){var{document:e,element:r}=this;return Ms.fromElement(e,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};function ui(i,e,r,t,a,n){return i[r*t*4+e*4+n]}function li(i,e,r,t,a,n,o){i[r*t*4+e*4+n]=o}function U(i,e,r){var t=i[e];return t*r}function Ce(i,e,r,t){return e+Math.cos(i)*r+Math.sin(i)*t}var bi=class extends B{constructor(e,r,t){super(e,r,t),this.type="feColorMatrix";var a=se(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var n=a[0];a=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=a[0]*Math.PI/180;a=[Ce(o,.213,.787,-.213),Ce(o,.715,-.715,-.715),Ce(o,.072,-.072,.928),0,0,Ce(o,.213,-.213,.143),Ce(o,.715,.285,.14),Ce(o,.072,-.072,-.283),0,0,Ce(o,.213,-.213,-.787),Ce(o,.715,-.715,.715),Ce(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,r,t,a,n){for(var{includeOpacity:o,matrix:s}=this,u=e.getImageData(0,0,a,n),l=0;l{class i extends B{constructor(){super(...arguments),this.type="mask"}apply(r,t){var{document:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!s&&!u){var l=new oe;this.children.forEach(p=>{l.addBoundingBox(p.getBoundingBox(r))}),n=Math.floor(l.x1),o=Math.floor(l.y1),s=Math.floor(l.width),u=Math.floor(l.height)}var h=this.removeStyles(t,i.ignoreStyles),c=a.createCanvas(n+s,o+u),v=c.getContext("2d");a.screen.setDefaults(v),this.renderChildren(v),new bi(a,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(v,0,0,n+s,o+u);var f=a.createCanvas(n+s,o+u),g=f.getContext("2d");a.screen.setDefaults(g),t.render(g),g.globalCompositeOperation="destination-in",g.fillStyle=v.createPattern(c,"no-repeat"),g.fillRect(0,0,n+s,o+u),r.fillStyle=g.createPattern(f,"no-repeat"),r.fillRect(0,0,n+s,o+u),this.restoreStyles(t,h)}render(r){}}return i.ignoreStyles=["mask","transform","clip-path"],i})(),xg=()=>{},ws=class extends B{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:r}=this,t=Reflect.getPrototypeOf(e),{beginPath:a,closePath:n}=e;t&&(t.beginPath=xg,t.closePath=xg),Reflect.apply(a,e,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=Ms.fromElement(r,o)),s&&s.apply(e),o.path(e),t&&(t.closePath=n),s&&s.unapply(e)}}),Reflect.apply(n,e,[]),e.clip(),t&&(t.beginPath=a,t.closePath=n)}render(e){}},IO=(()=>{class i extends B{constructor(){super(...arguments),this.type="filter"}apply(r,t){var{document:a,children:n}=this,o=t.getBoundingBox(r);if(o){var s=0,u=0;n.forEach(O=>{var x=O.extraFilterDistance||0;s=Math.max(s,x),u=Math.max(u,x)});var l=Math.floor(o.width),h=Math.floor(o.height),c=l+2*s,v=h+2*u;if(!(c<1||v<1)){var f=Math.floor(o.x),g=Math.floor(o.y),p=this.removeStyles(t,i.ignoreStyles),y=a.createCanvas(c,v),m=y.getContext("2d");a.screen.setDefaults(m),m.translate(-f+s,-g+u),t.render(m),n.forEach(O=>{typeof O.apply=="function"&&O.apply(m,0,0,c,v)}),r.drawImage(y,0,0,c,v,f-s,g-u,c,v),this.restoreStyles(t,p)}}}render(r){}}return i.ignoreStyles=["filter","transform","clip-path"],i})(),Cs=class extends B{constructor(e,r,t){super(e,r,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,r,t,a,n){}},qs=class extends B{constructor(){super(...arguments),this.type="feMorphology"}apply(e,r,t,a,n){}},As=class extends B{constructor(){super(...arguments),this.type="feComposite"}apply(e,r,t,a,n){}},Ps=class extends B{constructor(e,r,t){super(e,r,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,r,t,a,n){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,l=e.canvas;l.id=o.getUniqueId(),u&&(l.style.display="none",u.appendChild(l)),sg(l,r,t,a,n,s),u&&u.removeChild(l)}},Rs=class extends B{constructor(){super(...arguments),this.type="title"}},Ns=class extends B{constructor(){super(...arguments),this.type="desc"}},MO={svg:Ye,rect:pi,circle:is,ellipse:as,line:ns,polyline:yi,polygon:ss,path:F,pattern:os,marker:us,defs:ls,linearGradient:hs,radialGradient:cs,stop:fs,animate:Zr,animateColor:vs,animateTransform:gs,font:ds,"font-face":ps,"missing-glyph":ys,glyph:gi,text:He,tspan:di,tref:ms,a:bs,textPath:xs,image:Ts,g:Kr,symbol:Os,style:RO,use:Es,mask:NO,clipPath:ws,filter:IO,feDropShadow:Cs,feMorphology:qs,feComposite:As,feColorMatrix:bi,feGaussianBlur:Ps,title:Rs,desc:Ns};function Tg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function VO(i){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:!1,r=document.createElement("img");return e&&(r.crossOrigin="Anonymous"),new Promise((t,a)=>{r.onload=()=>{t(r)},r.onerror=(n,o,s,u,l)=>{a(l)},r.src=i})}),Is.apply(this,arguments)}var LO=(()=>{class i{constructor(r){var{rootEmSize:t=12,emSize:a=12,createCanvas:n=i.createCanvas,createImage:o=i.createImage,anonymousCrossOrigin:s}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=r,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=r.screen,this.rootEmSize=t,this.emSize=a,this.createCanvas=n,this.createImage=this.bindCreateImage(o,s),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(r,t){return typeof t=="boolean"?(a,n)=>r(a,typeof n=="boolean"?n:t):r}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:r}=this;return r[r.length-1]}set emSize(r){var{emSizeStack:t}=this;t.push(r)}popEmSize(){var{emSizeStack:r}=this;r.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(r=>r.loaded)}isFontsLoaded(){return this.fonts.every(r=>r.loaded)}createDocumentElement(r){var t=this.createElement(r.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(r){var t=r.nodeName.replace(/^[^:]+:/,""),a=i.elementTypes[t];return typeof a<"u"?new a(this,r):new rs(this,r)}createTextNode(r){return new ts(this,r)}setViewBox(r){this.screen.setViewBox(VO({document:this},r))}}return i.createCanvas=_O,i.createImage=DO,i.elementTypes=MO,i})();function Og(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function Ge(i){for(var e=1;e2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new Qr(t),this.screen=new Eg(e,t),this.options=t;var a=new LO(this,t),n=a.createDocumentElement(r);this.document=a,this.documentElement=n}static from(e,r){var t=arguments;return be(function*(){var a=t.length>2&&t[2]!==void 0?t[2]:{},n=new Qr(a),o=yield n.parse(r);return new i(e,o,a)})()}static fromString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=new Qr(t),n=a.parseFromString(r);return new i(e,n,t)}fork(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.from(e,r,Ge(Ge({},this.options),t))}forkString(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.fromString(e,r,Ge(Ge({},this.options),t))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,r=this;return be(function*(){var t=e.length>0&&e[0]!==void 0?e[0]:{};r.start(Ge({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},t)),yield r.ready(),r.stop()})()}start(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:r,screen:t,options:a}=this;t.start(r,Ge(Ge({enableRedraw:!0},a),e))}stop(){this.screen.stop()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(e,r,t)}};export{bs as AElement,vs as AnimateColorElement,Zr as AnimateElement,gs as AnimateTransformElement,oe as BoundingBox,hg as CB1,cg as CB2,fg as CB3,vg as CB4,Sg as Canvg,is as CircleElement,ws as ClipPathElement,ls as DefsElement,Ns as DescElement,LO as Document,B as Element,as as EllipseElement,bi as FeColorMatrixElement,As as FeCompositeElement,Cs as FeDropShadowElement,Ps as FeGaussianBlurElement,qs as FeMorphologyElement,IO as FilterElement,pr as Font,ds as FontElement,ps as FontFaceElement,Kr as GElement,gi as GlyphElement,mi as GradientElement,Ts as ImageElement,ns as LineElement,hs as LinearGradientElement,us as MarkerElement,NO as MaskElement,fi as Matrix,ys as MissingGlyphElement,Wn as Mouse,dr as PSEUDO_ZERO,Qr as Parser,F as PathElement,q as PathParser,os as PatternElement,$ as Point,ss as PolygonElement,yi as PolylineElement,w as Property,gg as QB1,dg as QB2,pg as QB3,cs as RadialGradientElement,pi as RectElement,qe as RenderedElement,Kn as Rotate,Ye as SVGElement,Ss as SVGFontLoader,Zn as Scale,Eg as Screen,vi as Skew,Jn as SkewX,es as SkewY,fs as StopElement,RO as StyleElement,Os as SymbolElement,ms as TRefElement,di as TSpanElement,He as TextElement,xs as TextPathElement,Rs as TitleElement,Ms as Transform,Qn as Translate,rs as UnknownElement,Es as UseElement,Xn as ViewPort,yr as compressSpaces,Sg as default,xO as getSelectorSpecificity,cO as normalizeAttributeName,fO as normalizeColor,og as parseExternalUrl,VC as presets,se as toNumbers,uO as trimLeft,lO as trimRight,ug as vectorMagnitude,lg as vectorsAngle,Yn as vectorsRatio};
diff --git a/docs/chunk-FK6H3RFT.js b/docs/chunk-FK6H3RFT.js
new file mode 100644
index 0000000..81a1079
--- /dev/null
+++ b/docs/chunk-FK6H3RFT.js
@@ -0,0 +1 @@
+function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
diff --git a/docs/chunk-IVUHPW63.js b/docs/chunk-IVUHPW63.js
new file mode 100644
index 0000000..d4f4911
--- /dev/null
+++ b/docs/chunk-IVUHPW63.js
@@ -0,0 +1,3 @@
+import"./chunk-IFGU66OU.js";function ke(o,i){(i==null||i>o.length)&&(i=o.length);for(var s=0,c=Array(i);s2?c-2:0),d=2;d1?s-1:0),f=1;f"u"?null:y(BigInt.prototype.toString),Ge=typeof Symbol>"u"?null:y(Symbol.prototype.toString),O=y(Object.prototype.hasOwnProperty),ht=y(Object.prototype.toString),b=y(RegExp.prototype.test),Z=Wn(TypeError);function y(o){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f2&&arguments[2]!==void 0?arguments[2]:_t;if(ve&&ve(o,null),!j(i))return o;let c=i.length;for(;c--;){let f=i[c];if(typeof f=="string"){let d=s(f);d!==f&&(kn(i)||(i[c]=d),f=d)}o[f]=!0}return o}function Yn(o){for(let i=0;i/g),Zn=N(/\${[\w\W]*/g),Jn=N(/^data-[\-\w.\u00B7-\uFFFF]+$/),Qn=N(/^aria-[\-\w]+$/),$e=N(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),to=N(/^(?:\w+script|data):/i),eo=N(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),no=N(/^html$/i),oo=N(/^[a-z][.\w]*(-[.\w]+)+$/i),Xe=N(/<[/\w!]/g),Ve=N(/<[/\w]/g),ro=N(/<\/no(script|embed|frames)/i),io=N(/\/>/i),x={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ao=function(){return typeof window>"u"?null:window},so=function(i,s){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let c=null,f="data-tt-policy-suffix";s&&s.hasAttribute(f)&&(c=s.getAttribute(f));let d="dompurify"+(c?"#"+c:"");try{return i.createPolicy(d,{createHTML(S){return S},createScriptURL(S){return S}})}catch{return console.warn("TrustedTypes policy "+d+" could not be created."),null}},qe=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Y=function(i,s,c,f){return O(i,s)&&j(i[s])?p(f.base?I(f.base):{},i[s],f.transform):c};function Je(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ao(),i=r=>Je(r);if(i.version="3.4.13",i.removed=[],!o||!o.document||o.document.nodeType!==x.document||!o.Element)return i.isSupported=!1,i;let s=o.document,c=s,f=c.currentScript;o.DocumentFragment;let d=o.HTMLTemplateElement,S=o.Node,lt=o.Element,P=o.NodeFilter,ct=o.NamedNodeMap;ct===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;let Pt=o.DOMParser,gt=o.trustedTypes,$=lt.prototype,Qe=k($,"cloneNode"),xt=k($,"remove"),tn=k($,"nextSibling"),J=k($,"childNodes"),X=k($,"parentNode"),se=k($,"shadowRoot"),kt=k($,"attributes"),D=S&&S.prototype?k(S.prototype,"nodeType"):null,v=S&&S.prototype?k(S.prototype,"nodeName"):null,Et=S&&S.prototype?k(S.prototype,"ownerDocument"):null;if(typeof d=="function"){let r=s.createElement("template");r.content&&r.content.ownerDocument&&(s=r.content.ownerDocument)}let w,V="",vt,le=!1,ut=0,ce=function(){if(ut>0)throw Z('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Q=function(t){ce(),ut++;try{return w.createHTML(t)}finally{ut--}},en=function(t){ce(),ut++;try{return w.createScriptURL(t)}finally{ut--}},nn=function(){return le||(vt=so(gt,f),le=!0),vt},At=s,Ut=At.implementation,ue=At.createNodeIterator,on=At.createDocumentFragment,rn=At.getElementsByTagName,an=c.importNode,T=qe();i.isSupported=typeof Ke=="function"&&typeof X=="function"&&Ut&&Ut.createHTMLDocument!==void 0;let sn=qn,ln=Kn,cn=Zn,un=Jn,fn=Qn,pn=to,fe=eo,mn=oo,pe=$e,h=null,Ft=p({},[...Be,...ee,...ne,...oe,...We]),_=null,zt=p({},[...Ye,...re,...je,...Mt]),A=Object.seal(st(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ft=null,me=null,H=Object.seal(st(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),de=!0,Ht=!0,Te=!1,he=!0,G=!1,B=!0,q=!1,Gt=!1,yt=null,St=null,Bt=!1,tt=!1,bt=!1,Ot=!1,_e=!0,ge=!1,Ee="user-content-",Wt=!0,Rt=!1,et={},U=null,Yt=p({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Ae=null,ye=p({},["audio","video","img","source","image","track"]),jt=null,Se=p({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Nt="http://www.w3.org/1998/Math/MathML",It="http://www.w3.org/2000/svg",F="http://www.w3.org/1999/xhtml",nt=F,$t=!1,Xt=null,dn=p({},[Nt,It,F],te),be=R(["mi","mo","mn","ms","mtext"]),Vt=p({},be),Oe=R(["annotation-xml"]),qt=p({},Oe),Tn=p({},["title","style","font","a","script"]),pt=null,hn=["application/xhtml+xml","text/html"],_n="text/html",g=null,ot=null,gn=s.createElement("form"),Re=function(t){return t instanceof RegExp||t instanceof Function},Kt=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ot&&ot===t)return;(!t||typeof t!="object")&&(t={}),t=I(t),pt=hn.indexOf(t.PARSER_MEDIA_TYPE)===-1?_n:t.PARSER_MEDIA_TYPE,g=pt==="application/xhtml+xml"?te:_t,h=Y(t,"ALLOWED_TAGS",Ft,{transform:g}),_=Y(t,"ALLOWED_ATTR",zt,{transform:g}),Xt=Y(t,"ALLOWED_NAMESPACES",dn,{transform:te}),jt=Y(t,"ADD_URI_SAFE_ATTR",Se,{transform:g,base:Se}),Ae=Y(t,"ADD_DATA_URI_TAGS",ye,{transform:g,base:ye}),U=Y(t,"FORBID_CONTENTS",Yt,{transform:g}),ft=Y(t,"FORBID_TAGS",I({}),{transform:g}),me=Y(t,"FORBID_ATTR",I({}),{transform:g}),et=O(t,"USE_PROFILES")?t.USE_PROFILES&&typeof t.USE_PROFILES=="object"?I(t.USE_PROFILES):t.USE_PROFILES:!1,de=t.ALLOW_ARIA_ATTR!==!1,Ht=t.ALLOW_DATA_ATTR!==!1,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,he=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G=t.SAFE_FOR_TEMPLATES||!1,B=t.SAFE_FOR_XML!==!1,q=t.WHOLE_DOCUMENT||!1,tt=t.RETURN_DOM||!1,bt=t.RETURN_DOM_FRAGMENT||!1,Ot=t.RETURN_TRUSTED_TYPE||!1,Bt=t.FORCE_BODY||!1,_e=t.SANITIZE_DOM!==!1,ge=t.SANITIZE_NAMED_PROPS||!1,Wt=t.KEEP_CONTENT!==!1,Rt=t.IN_PLACE||!1,pe=$n(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:$e,nt=typeof t.NAMESPACE=="string"?t.NAMESPACE:F,Vt=O(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&typeof t.MATHML_TEXT_INTEGRATION_POINTS=="object"?I(t.MATHML_TEXT_INTEGRATION_POINTS):p({},be),qt=O(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&typeof t.HTML_INTEGRATION_POINTS=="object"?I(t.HTML_INTEGRATION_POINTS):p({},Oe);let e=O(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING=="object"?I(t.CUSTOM_ELEMENT_HANDLING):st(null);if(A=st(null),O(e,"tagNameCheck")&&Re(e.tagNameCheck)&&(A.tagNameCheck=e.tagNameCheck),O(e,"attributeNameCheck")&&Re(e.attributeNameCheck)&&(A.attributeNameCheck=e.attributeNameCheck),O(e,"allowCustomizedBuiltInElements")&&typeof e.allowCustomizedBuiltInElements=="boolean"&&(A.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),N(A),G&&(Ht=!1),bt&&(tt=!0),et&&(h=p({},We),_=st(null),et.html===!0&&(p(h,Be),p(_,Ye)),et.svg===!0&&(p(h,ee),p(_,re),p(_,Mt)),et.svgFilters===!0&&(p(h,ne),p(_,re),p(_,Mt)),et.mathMl===!0&&(p(h,oe),p(_,je),p(_,Mt))),H.tagCheck=null,H.attributeCheck=null,O(t,"ADD_TAGS")&&(typeof t.ADD_TAGS=="function"?H.tagCheck=t.ADD_TAGS:j(t.ADD_TAGS)&&(h===Ft&&(h=I(h)),p(h,t.ADD_TAGS,g))),O(t,"ADD_ATTR")&&(typeof t.ADD_ATTR=="function"?H.attributeCheck=t.ADD_ATTR:j(t.ADD_ATTR)&&(_===zt&&(_=I(_)),p(_,t.ADD_ATTR,g))),O(t,"ADD_URI_SAFE_ATTR")&&j(t.ADD_URI_SAFE_ATTR)&&p(jt,t.ADD_URI_SAFE_ATTR,g),O(t,"FORBID_CONTENTS")&&j(t.FORBID_CONTENTS)&&(U===Yt&&(U=I(U)),p(U,t.FORBID_CONTENTS,g)),O(t,"ADD_FORBID_CONTENTS")&&j(t.ADD_FORBID_CONTENTS)&&(U===Yt&&(U=I(U)),p(U,t.ADD_FORBID_CONTENTS,g)),Wt&&(h["#text"]=!0),q&&p(h,["html","head","body"]),h.table&&(p(h,["tbody"]),delete ft.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let n=w;w=t.TRUSTED_TYPES_POLICY;try{V=Q("")}catch(a){throw w=n,a}}else t.TRUSTED_TYPES_POLICY===null?(w=void 0,V=""):(w===void 0&&(w=nn()),w&&typeof V=="string"&&(V=Q("")));R&&R(t),ot=t},Ne=p({},[...ee,...ne,...Xn]),Ie=p({},[...oe,...Vn]),En=function(t,e,n){return e.namespaceURI===F?t==="svg":e.namespaceURI===Nt?t==="svg"&&(n==="annotation-xml"||Vt[n]):!!Ne[t]},An=function(t,e,n){return e.namespaceURI===F?t==="math":e.namespaceURI===It?t==="math"&&qt[n]:!!Ie[t]},yn=function(t,e,n){return e.namespaceURI===It&&!qt[n]||e.namespaceURI===Nt&&!Vt[n]?!1:!Ie[t]&&(Tn[t]||!Ne[t])},Sn=function(t){let e=X(t);(!e||!e.tagName)&&(e={namespaceURI:nt,tagName:"template"});let n=_t(t.tagName),a=_t(e.tagName);return Xt[t.namespaceURI]?t.namespaceURI===It?En(n,e,a):t.namespaceURI===Nt?An(n,e,a):t.namespaceURI===F?yn(n,e,a):!!(pt==="application/xhtml+xml"&&Xt[t.namespaceURI]):!1},W=function(t){at(i.removed,{element:t});try{X(t).removeChild(t)}catch{if(xt(t),!X(t))throw Z("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Dt=function(t){mt(t);let e=J(t);if(e){let a=[];it(e,l=>{at(a,l)}),it(a,l=>{try{xt(l)}catch{}})}let n=kt(t);if(n)for(let a=n.length-1;a>=0;--a){let l=n[a],u=l&&l.name;if(typeof u=="string")try{t.removeAttribute(u)}catch{}}},K=function(t,e){try{at(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch{at(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),t==="is")if(tt||bt)try{W(e)}catch{}else try{e.setAttribute(t,"")}catch{}},bn=function(t){let e=kt(t);if(e)for(let n=e.length-1;n>=0;--n){let a=e[n],l=a&&a.name;if(!(typeof l!="string"||_[g(l)]))try{t.removeAttribute(l)}catch{}}},mt=function(t){let e=[t];for(;e.length>0;){let n=e.pop();(D?D(n):n.nodeType)===x.element&&bn(n);let l=J(n);if(l)for(let u=l.length-1;u>=0;--u)e.push(l[u])}},On=function(t){if(!B)return;let e=[t];for(;e.length>0;){let n=e.pop(),a=D?D(n):n.nodeType;if(a===x.processingInstruction||a===x.comment&&b(Ve,n.data)){try{xt(n)}catch{}continue}if(a===x.element){let u=n,m=g(v?v(n):n.nodeName);try{u.hasAttribute&&u.hasAttribute("patchsrc")&&u.removeAttribute("patchsrc"),u.hasAttribute&&u.hasAttribute("for")&&m!=="label"&&m!=="output"&&u.removeAttribute("for")}catch{}}let l=J(n);if(l)for(let u=l.length-1;u>=0;--u)e.push(l[u])}},De=function(t){let e=null,n=null;if(Bt)t=""+t;else{let u=Fe(t,/^[\r\n\t ]+/);n=u&&u[0]}pt==="application/xhtml+xml"&&nt===F&&(t=''+t+"");let a=w?Q(t):t;if(nt===F)try{e=new Pt().parseFromString(a,pt)}catch{}if(!e||!e.documentElement){e=Ut.createDocument(nt,"template",null);try{e.documentElement.innerHTML=$t?V:a}catch{}}let l=e.body||e.documentElement;return t&&n&&l.insertBefore(s.createTextNode(n),l.childNodes[0]||null),nt===F?rn.call(e,q?"html":"body")[0]:q?e.documentElement:l},Le=function(t){let e=Et?Et(t):t.ownerDocument;return ue.call(e||t,t,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)},Lt=function(t){return t=Tt(t,sn," "),t=Tt(t,ln," "),t=Tt(t,cn," "),t},Zt=function(t){var e;t.normalize();let n=Et?Et(t):t.ownerDocument,a=ue.call(n||t,t,P.SHOW_TEXT|P.SHOW_COMMENT|P.SHOW_CDATA_SECTION|P.SHOW_PROCESSING_INSTRUCTION,null),l=a.nextNode();for(;l;)l.data=Lt(l.data),l=a.nextNode();let u=(e=t.querySelectorAll)===null||e===void 0?void 0:e.call(t,"template");u&&it(u,m=>{rt(m.content)&&Zt(m.content)})},wt=function(t){let e=v?v(t):null;return typeof e!="string"||g(e)!=="form"?!1:typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||t.attributes!==kt(t)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function"||t.nodeType!==D(t)||t.childNodes!==J(t)},rt=function(t){if(!D||typeof t!="object"||t===null)return!1;try{return D(t)===x.documentFragment}catch{return!1}},dt=function(t){if(!D||typeof t!="object"||t===null)return!1;try{return typeof D(t)=="number"}catch{return!1}};function z(r,t,e){r.length!==0&&it(r,n=>{n.call(i,t,e,ot)})}let Rn=function(t,e){return!!(B&&t.hasChildNodes()&&!dt(t.firstElementChild)&&b(Xe,t.textContent)&&b(Xe,t.innerHTML)||B&&t.namespaceURI===F&&e==="style"&&dt(t.firstElementChild)||t.nodeType===x.processingInstruction||B&&t.nodeType===x.comment&&b(Ve,t.data))},Nn=function(t,e,n){if(!ft[e]&&Pe(e)&&(A.tagNameCheck instanceof RegExp&&b(A.tagNameCheck,e)||A.tagNameCheck instanceof Function&&A.tagNameCheck(e)))return!1;if(Wt&&!U[e]){let a=X(t),l=J(t);if(l&&a){let u=l.length;for(let m=u-1;m>=0;--m){let E=t===n?Qe(l[m],!0):l[m];a.insertBefore(E,tn(t))}}}return W(t),!0},we=function(t,e,n,a){return t.length===0?e:e===n||e===a?I(e):e},Ce=function(t,e){if(z(T.beforeSanitizeElements,t,null),t!==e&&X(t)===null)return Rt&&mt(t),!0;if(wt(t))return W(t),!0;let n=g(v?v(t):t.nodeName);if(h=we(T.uponSanitizeElement,h,Ft,yt),z(T.uponSanitizeElement,t,{tagName:n,allowedTags:h}),t!==e&&X(t)===null)return Rt&&mt(t),!0;if(Rn(t,n))return W(t),!0;if(ft[n]||!(H.tagCheck instanceof Function&&H.tagCheck(n))&&!h[n]){let l=Nn(t,n,e);return l===!1&&z(T.afterSanitizeElements,t,null),l}if((D?D(t):t.nodeType)===x.element&&!Sn(t)||(n==="noscript"||n==="noembed"||n==="noframes")&&b(ro,t.innerHTML))return W(t),!0;if(G&&t.nodeType===x.text){let l=Lt(t.textContent);t.textContent!==l&&(at(i.removed,{element:t.cloneNode()}),t.textContent=l)}return z(T.afterSanitizeElements,t,null),!1},Me=function(t,e,n){if(me[e]||B&&e==="patchsrc"||B&&e==="for"&&t!=="label"&&t!=="output"||_e&&(e==="id"||e==="name")&&(n in s||n in gn))return!1;let a=_[e]||H.attributeCheck instanceof Function&&H.attributeCheck(e,t);if(!(Ht&&b(un,e))){if(!(de&&b(fn,e))){if(a){if(!jt[e]){if(!b(pe,Tt(n,fe,""))){if(!((e==="src"||e==="xlink:href"||e==="href")&&t!=="script"&&ze(n,"data:")===0&&Ae[t])){if(!(Te&&!b(pn,Tt(n,fe,"")))){if(n)return!1}}}}}else if(!(Pe(t)&&(A.tagNameCheck instanceof RegExp&&b(A.tagNameCheck,t)||A.tagNameCheck instanceof Function&&A.tagNameCheck(t))&&(A.attributeNameCheck instanceof RegExp&&b(A.attributeNameCheck,e)||A.attributeNameCheck instanceof Function&&A.attributeNameCheck(e,t))||e==="is"&&A.allowCustomizedBuiltInElements&&(A.tagNameCheck instanceof RegExp&&b(A.tagNameCheck,n)||A.tagNameCheck instanceof Function&&A.tagNameCheck(n))))return!1}}return!0},In=p({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Pe=function(t){return!In[_t(t)]&&b(mn,t)},Dn=function(t,e,n,a){if(w&&typeof gt=="object"&&typeof gt.getAttributeType=="function"&&!n)switch(gt.getAttributeType(t,e)){case"TrustedHTML":return Q(a);case"TrustedScriptURL":return en(a)}return a},Ln=function(t,e,n,a){try{n?t.setAttributeNS(n,e,a):t.setAttribute(e,a),wt(t)?W(t):Ue(i.removed)}catch{K(e,t)}},xe=function(t){z(T.beforeSanitizeAttributes,t,null);let e=t.attributes;if(!e||wt(t))return;_=we(T.uponSanitizeAttribute,_,zt,St);let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_,forceKeepAttr:void 0},a=e.length,l=g(t.nodeName);for(;a--;){let u=e[a],m=u.name,E=u.namespaceURI,C=u.value,M=g(m),Qt=C,L=m==="value"?Qt:Hn(Qt);if(n.attrName=M,n.attrValue=L,n.keepAttr=!0,n.forceKeepAttr=void 0,z(T.uponSanitizeAttribute,t,n),L=n.attrValue,ge&&(M==="id"||M==="name")&&ze(L,Ee)!==0&&(K(m,t),L=Ee+L),B&&b(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,L)){K(m,t);continue}if(M==="attributename"&&Fe(L,"href")){K(m,t);continue}if(!n.forceKeepAttr){if(!n.keepAttr){K(m,t);continue}if(!he&&b(io,L)){K(m,t);continue}if(G&&(L=Lt(L)),!Me(l,M,L)){K(m,t);continue}L=Dn(l,M,E,L),L!==Qt&&Ln(t,m,E,L)}}z(T.afterSanitizeAttributes,t,null)},Ct=function(t){let e=null,n=Le(t);for(z(T.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(z(T.uponSanitizeShadowNode,e,null),Ce(e,t),xe(e),rt(e.content)&&Ct(e.content),(D?D(e):e.nodeType)===x.element){let l=se(e);rt(l)&&(Jt(l),Ct(l))}z(T.afterSanitizeShadowDOM,t,null)},Jt=function(t){let e=[{node:t,shadow:null}];for(;e.length>0;){let n=e.pop();if(n.shadow){Ct(n.shadow);continue}let a=n.node,u=(D?D(a):a.nodeType)===x.element,m=J(a);if(m)for(let E=m.length-1;E>=0;--E)e.push({node:m[E],shadow:null});if(u){let E=v?v(a):null;if(typeof E=="string"&&g(E)==="template"){let C=a.content;rt(C)&&e.push({node:C,shadow:null})}}if(u){let E=se(a);rt(E)&&e.push({node:null,shadow:E},{node:E,shadow:null})}}};return i.sanitize=function(r){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=null,n=null,a=null,l=null;if($t=!r,$t&&(r=""),typeof r!="string"&&!dt(r)&&(r=jn(r),typeof r!="string"))throw Z("dirty is not a string, aborting");if(!i.isSupported)return r;Gt?(h=yt,_=St):Kt(t),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(h=I(h)),T.uponSanitizeAttribute.length>0&&(_=I(_)),i.removed=[];let u=Rt&&typeof r!="string"&&dt(r);if(u){On(r);let C=v?v(r):r.nodeName;if(typeof C=="string"){let M=g(C);if(!h[M]||ft[M])throw Dt(r),Z("root node is forbidden and cannot be sanitized in-place")}if(wt(r))throw Dt(r),Z("root node is clobbered and cannot be sanitized in-place");try{Jt(r)}catch(M){throw Dt(r),M}}else if(dt(r))e=De(""),n=e.ownerDocument.importNode(r,!0),n.nodeType===x.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?e=n:e.appendChild(n),Jt(n);else{if(!tt&&!G&&!q&&r.indexOf("<")===-1)return w&&Ot?Q(r):r;if(e=De(r),!e)return tt?null:Ot?V:""}e&&Bt&&W(e.firstChild);let m=u?r:e;try{let C=Le(m);for(;a=C.nextNode();)Ce(a,m),xe(a),rt(a.content)&&Ct(a.content)}catch(C){throw u&&(Dt(r),it(i.removed,M=>{M.element&&mt(M.element)})),C}if(u)return it(i.removed,C=>{C.element&&mt(C.element)}),G&&Zt(r),r;if(tt){if(G&&Zt(e),bt)for(l=on.call(e.ownerDocument);e.firstChild;)l.appendChild(e.firstChild);else l=e;return(_.shadowroot||_.shadowrootmode)&&(l=an.call(c,l,!0)),l}let E=q?e.outerHTML:e.innerHTML;return q&&h["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&b(no,e.ownerDocument.doctype.name)&&(E="
+`+E),G&&(E=Lt(E)),w&&Ot?Q(E):E},i.setConfig=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Kt(r),Gt=!0,yt=h,St=_},i.clearConfig=function(){ot=null,Gt=!1,yt=null,St=null,w=vt,V=""},i.isValidAttribute=function(r,t,e){ot||Kt({});let n=g(r),a=g(t);return Me(n,a,e)},i.addHook=function(r,t){typeof t=="function"&&O(T,r)&&at(T[r],t)},i.removeHook=function(r,t){if(O(T,r)){if(t!==void 0){let e=Fn(T[r],t);return e===-1?void 0:zn(T[r],e,1)[0]}return Ue(T[r])}},i.removeHooks=function(r){O(T,r)&&(T[r]=[])},i.removeAllHooks=function(){T=qe()},i}var lo=Je();export{lo as default};
diff --git a/docs/chunk-RWDCCRBB.js b/docs/chunk-RWDCCRBB.js
new file mode 100644
index 0000000..29d7df8
--- /dev/null
+++ b/docs/chunk-RWDCCRBB.js
@@ -0,0 +1,78 @@
+import{a as ts}from"./chunk-Q53QGVUD.js";import{a as Ne}from"./chunk-FK6H3RFT.js";import"./chunk-IFGU66OU.js";function Yh(t){if(Array.isArray(t))return t}function Kh(t,n){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var i,a,o,f,l=[],c=!0,d=!1;try{if(o=(e=e.call(t)).next,n===0){if(Object(e)!==e)return;c=!1}else for(;!(c=(i=o.call(e)).done)&&(l.push(i.value),l.length!==n);c=!0);}catch(m){d=!0,a=m}finally{try{if(!c&&e.return!=null&&(f=e.return(),Object(f)!==f))return}finally{if(d)throw a}}return l}}function pl(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e{let t=new Uint8Array(4),n=new Uint32Array(t.buffer);return!((n[0]=1)&t[0])})(),bl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array},Ja=class t{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(n=Xu,e={}){let i=!1;typeof n=="number"?n=new ArrayBuffer(n):(i=!0,this.lastWrittenByte=n.byteLength);let a=e.offset?e.offset>>>0:0,o=n.byteLength-a,f=a;(ArrayBuffer.isView(n)||n instanceof t)&&(n.byteLength!==n.buffer.byteLength&&(f=n.byteOffset+a),n=n.buffer),i?this.lastWrittenByte=o:this.lastWrittenByte=0,this.buffer=n,this.length=o,this.byteLength=o,this.byteOffset=f,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,f,o),this._mark=0,this._marks=[]}available(n=1){return this.offset+n<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(n=1){return this.offset+=n,this}back(n=1){return this.offset-=n,this}seek(n){return this.offset=n,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){let n=this._marks.pop();if(n===void 0)throw new Error("Mark stack empty");return this.seek(n),this}rewind(){return this.offset=0,this}ensureAvailable(n=1){if(!this.available(n)){let i=(this.offset+n)*2,a=new Uint8Array(i);a.set(new Uint8Array(this.buffer)),this.buffer=a.buffer,this.length=i,this.byteLength=i,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(n=1){return this.readArray(n,"uint8")}readArray(n,e){let i=bl[e].BYTES_PER_ELEMENT*n,a=this.byteOffset+this.offset,o=this.buffer.slice(a,a+i);if(this.littleEndian===Ju&&e!=="uint8"&&e!=="int8"){let l=new Uint8Array(this.buffer.slice(a,a+i));l.reverse();let c=new bl[e](l.buffer);return this.offset+=i,c.reverse(),c}let f=new bl[e](o);return this.offset+=i,f}readInt16(){let n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){let n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){let n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){let n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){let n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){let n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){let n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){let n=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,n}readChar(){return String.fromCharCode(this.readInt8())}readChars(n=1){let e="";for(let i=0;ithis.lastWrittenByte&&(this.lastWrittenByte=this.offset)}};function ma(t){let n=t.length;for(;--n>=0;)t[n]=0}var Qu=0,Uc=1,t1=2,e1=3,n1=258,ql=29,uo=256,ao=uo+1+ql,ua=30,zl=19,qc=2*ao+1,Er=15,vl=16,i1=7,Hl=256,zc=16,Hc=17,Wc=18,Fl=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),os=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r1=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Gc=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a1=512,qi=new Array((ao+2)*2);ma(qi);var no=new Array(ua*2);ma(no);var oo=new Array(a1);ma(oo);var so=new Array(n1-e1+1);ma(so);var Wl=new Array(ql);ma(Wl);var ss=new Array(ua);ma(ss);function wl(t,n,e,i,a){this.static_tree=t,this.extra_bits=n,this.extra_base=e,this.elems=i,this.max_length=a,this.has_stree=t&&t.length}var Vc,Zc,$c;function _l(t,n){this.dyn_tree=t,this.max_code=0,this.stat_desc=n}var Yc=t=>t<256?oo[t]:oo[256+(t>>>7)],lo=(t,n)=>{t.pending_buf[t.pending++]=n&255,t.pending_buf[t.pending++]=n>>>8&255},Fn=(t,n,e)=>{t.bi_valid>vl-e?(t.bi_buf|=n<>vl-t.bi_valid,t.bi_valid+=e-vl):(t.bi_buf|=n<{Fn(t,e[n*2],e[n*2+1])},Kc=(t,n)=>{let e=0;do e|=t&1,t>>>=1,e<<=1;while(--n>0);return e>>>1},o1=t=>{t.bi_valid===16?(lo(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)},s1=(t,n)=>{let e=n.dyn_tree,i=n.max_code,a=n.stat_desc.static_tree,o=n.stat_desc.has_stree,f=n.stat_desc.extra_bits,l=n.stat_desc.extra_base,c=n.stat_desc.max_length,d,m,A,L,p,T,O=0;for(L=0;L<=Er;L++)t.bl_count[L]=0;for(e[t.heap[t.heap_max]*2+1]=0,d=t.heap_max+1;dc&&(L=c,O++),e[m*2+1]=L,!(m>i)&&(t.bl_count[L]++,p=0,m>=l&&(p=f[m-l]),T=e[m*2],t.opt_len+=T*(L+p),o&&(t.static_len+=T*(a[m*2+1]+p)));if(O!==0){do{for(L=c-1;t.bl_count[L]===0;)L--;t.bl_count[L]--,t.bl_count[L+1]+=2,t.bl_count[c]--,O-=2}while(O>0);for(L=c;L!==0;L--)for(m=t.bl_count[L];m!==0;)A=t.heap[--d],!(A>i)&&(e[A*2+1]!==L&&(t.opt_len+=(L-e[A*2+1])*e[A*2],e[A*2+1]=L),m--)}},Xc=(t,n,e)=>{let i=new Array(Er+1),a=0,o,f;for(o=1;o<=Er;o++)a=a+e[o-1]<<1,i[o]=a;for(f=0;f<=n;f++){let l=t[f*2+1];l!==0&&(t[f*2]=Kc(i[l]++,l))}},l1=()=>{let t,n,e,i,a,o=new Array(Er+1);for(e=0,i=0;i>=7;i{let n;for(n=0;n{t.bi_valid>8?lo(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},tc=(t,n,e,i)=>{let a=n*2,o=e*2;return t[a]{let i=t.heap[e],a=e<<1;for(;a<=t.heap_len&&(a{let i,a,o=0,f,l;if(t.sym_next!==0)do i=t.pending_buf[t.sym_buf+o++]&255,i+=(t.pending_buf[t.sym_buf+o++]&255)<<8,a=t.pending_buf[t.sym_buf+o++],i===0?_i(t,a,n):(f=so[a],_i(t,f+uo+1,n),l=Fl[f],l!==0&&(a-=Wl[f],Fn(t,a,l)),i--,f=Yc(i),_i(t,f,e),l=os[f],l!==0&&(i-=ss[f],Fn(t,i,l)));while(o{let e=n.dyn_tree,i=n.stat_desc.static_tree,a=n.stat_desc.has_stree,o=n.stat_desc.elems,f,l,c=-1,d;for(t.heap_len=0,t.heap_max=qc,f=0;f>1;f>=1;f--)yl(t,e,f);d=o;do f=t.heap[1],t.heap[1]=t.heap[t.heap_len--],yl(t,e,1),l=t.heap[1],t.heap[--t.heap_max]=f,t.heap[--t.heap_max]=l,e[d*2]=e[f*2]+e[l*2],t.depth[d]=(t.depth[f]>=t.depth[l]?t.depth[f]:t.depth[l])+1,e[f*2+1]=e[l*2+1]=d,t.heap[1]=d++,yl(t,e,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],s1(t,n),Xc(e,c,t.bl_count)},nc=(t,n,e)=>{let i,a=-1,o,f=n[1],l=0,c=7,d=4;for(f===0&&(c=138,d=3),n[(e+1)*2+1]=65535,i=0;i<=e;i++)o=f,f=n[(i+1)*2+1],!(++l{let i,a=-1,o,f=n[1],l=0,c=7,d=4;for(f===0&&(c=138,d=3),i=0;i<=e;i++)if(o=f,f=n[(i+1)*2+1],!(++l{let n;for(nc(t,t.dyn_ltree,t.l_desc.max_code),nc(t,t.dyn_dtree,t.d_desc.max_code),Ol(t,t.bl_desc),n=zl-1;n>=3&&t.bl_tree[Gc[n]*2+1]===0;n--);return t.opt_len+=3*(n+1)+5+5+4,n},c1=(t,n,e,i)=>{let a;for(Fn(t,n-257,5),Fn(t,e-1,5),Fn(t,i-4,4),a=0;a{let n=4093624447,e;for(e=0;e<=31;e++,n>>>=1)if(n&1&&t.dyn_ltree[e*2]!==0)return 0;if(t.dyn_ltree[18]!==0||t.dyn_ltree[20]!==0||t.dyn_ltree[26]!==0)return 1;for(e=32;e{rc||(l1(),rc=!0),t.l_desc=new _l(t.dyn_ltree,Vc),t.d_desc=new _l(t.dyn_dtree,Zc),t.bl_desc=new _l(t.bl_tree,$c),t.bi_buf=0,t.bi_valid=0,Jc(t)},tf=(t,n,e,i)=>{Fn(t,(Qu<<1)+(i?1:0),3),Qc(t),lo(t,e),lo(t,~e),e&&t.pending_buf.set(t.window.subarray(n,n+e),t.pending),t.pending+=e},d1=t=>{Fn(t,Uc<<1,3),_i(t,Hl,qi),o1(t)},p1=(t,n,e,i)=>{let a,o,f=0;t.level>0?(t.strm.data_type===2&&(t.strm.data_type=f1(t)),Ol(t,t.l_desc),Ol(t,t.d_desc),f=h1(t),a=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=a&&(a=o)):a=o=e+5,e+4<=a&&n!==-1?tf(t,n,e,i):t.strategy===4||o===a?(Fn(t,(Uc<<1)+(i?1:0),3),ec(t,qi,no)):(Fn(t,(t1<<1)+(i?1:0),3),c1(t,t.l_desc.max_code+1,t.d_desc.max_code+1,f+1),ec(t,t.dyn_ltree,t.dyn_dtree)),Jc(t),i&&Qc(t)},g1=(t,n,e)=>(t.pending_buf[t.sym_buf+t.sym_next++]=n,t.pending_buf[t.sym_buf+t.sym_next++]=n>>8,t.pending_buf[t.sym_buf+t.sym_next++]=e,n===0?t.dyn_ltree[e*2]++:(t.matches++,n--,t.dyn_ltree[(so[e]+uo+1)*2]++,t.dyn_dtree[Yc(n)*2]++),t.sym_next===t.sym_end),m1=u1,b1=tf,v1=p1,w1=g1,_1=d1,y1={_tr_init:m1,_tr_stored_block:b1,_tr_flush_block:v1,_tr_tally:w1,_tr_align:_1},x1=(t,n,e,i)=>{let a=t&65535|0,o=t>>>16&65535|0,f=0;for(;e!==0;){f=e>2e3?2e3:e,e-=f;do a=a+n[i++]|0,o=o+a|0;while(--f);a%=65521,o%=65521}return a|o<<16|0},ho=x1,A1=()=>{let t,n=[];for(var e=0;e<256;e++){t=e;for(var i=0;i<8;i++)t=t&1?3988292384^t>>>1:t>>>1;n[e]=t}return n},N1=new Uint32Array(A1()),L1=(t,n,e,i)=>{let a=N1,o=i+e;t^=-1;for(let f=i;f>>8^a[(t^n[f])&255];return t^-1},an=L1,Fr={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ba={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},{_tr_init:S1,_tr_stored_block:Tl,_tr_flush_block:k1,_tr_tally:ar,_tr_align:P1}=y1,{Z_NO_FLUSH:or,Z_PARTIAL_FLUSH:E1,Z_FULL_FLUSH:I1,Z_FINISH:Kn,Z_BLOCK:ac,Z_OK:un,Z_STREAM_END:oc,Z_STREAM_ERROR:yi,Z_DATA_ERROR:C1,Z_BUF_ERROR:xl,Z_DEFAULT_COMPRESSION:F1,Z_FILTERED:O1,Z_HUFFMAN_ONLY:es,Z_RLE:T1,Z_FIXED:R1,Z_DEFAULT_STRATEGY:B1,Z_UNKNOWN:j1,Z_DEFLATED:cs}=ba,M1=9,D1=15,U1=8,q1=29,z1=256,Rl=z1+1+q1,H1=30,W1=19,G1=2*Rl+1,V1=15,be=3,rr=258,xi=rr+be+1,Z1=32,pa=42,Gl=57,Bl=69,jl=73,Ml=91,Dl=103,Ir=113,to=666,kn=1,va=2,Or=3,wa=4,$1=3,Cr=(t,n)=>(t.msg=Fr[n],n),sc=t=>t*2-(t>4?9:0),ir=t=>{let n=t.length;for(;--n>=0;)t[n]=0},Y1=t=>{let n,e,i,a=t.w_size;n=t.hash_size,i=n;do e=t.head[--i],t.head[i]=e>=a?e-a:0;while(--n);n=a,i=n;do e=t.prev[--i],t.prev[i]=e>=a?e-a:0;while(--n)},Vl=(t,n,e)=>(n<{let e;if(t.legacy_hash)e=t.ins_h=Vl(t,t.ins_h,t.window[n+be-1]);else{let a=t.window,o=a[n]|a[n+1]<<8|a[n+2]<<16|a[n+3]<<24;e=t.ins_h=Math.imul(o,66521)+66521>>>16&t.hash_mask}let i=t.prev[n&t.w_mask]=t.head[e];return t.head[e]=n,i},qn=t=>{let n=t.state,e=n.pending;e>t.avail_out&&(e=t.avail_out),e!==0&&(t.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+e),t.next_out),t.next_out+=e,n.pending_out+=e,t.total_out+=e,t.avail_out-=e,n.pending-=e,n.pending===0&&(n.pending_out=0))},zn=(t,n)=>{k1(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,n),t.block_start=t.strstart,qn(t.strm)},ve=(t,n)=>{t.pending_buf[t.pending++]=n},Qa=(t,n)=>{t.pending_buf[t.pending++]=n>>>8&255,t.pending_buf[t.pending++]=n&255},Ul=(t,n,e,i)=>{let a=t.avail_in;return a>i&&(a=i),a===0?0:(t.avail_in-=a,n.set(t.input.subarray(t.next_in,t.next_in+a),e),t.state.wrap===1?t.adler=ho(t.adler,n,a,e):t.state.wrap===2&&(t.adler=an(t.adler,n,a,e)),t.next_in+=a,t.total_in+=a,a)},ef=(t,n)=>{let e=t.max_chain_length,i=t.strstart,a,o,f=t.prev_length,l=t.nice_match,c=t.strstart>t.w_size-xi?t.strstart-(t.w_size-xi):0,d=t.window,m=t.w_mask,A=t.prev,L=t.strstart+rr,p=d[i+f-1],T=d[i+f];t.prev_length>=t.good_match&&(e>>=2),l>t.lookahead&&(l=t.lookahead);do if(a=n,!(d[a+f]!==T||d[a+f-1]!==p||d[a]!==d[i]||d[++a]!==d[i+1])){i+=2,a++;do;while(d[++i]===d[++a]&&d[++i]===d[++a]&&d[++i]===d[++a]&&d[++i]===d[++a]&&d[++i]===d[++a]&&d[++i]===d[++a]&&d[++i]===d[++a]&&d[++i]===d[++a]&&if){if(t.match_start=n,f=o,o>=l)break;p=d[i+f-1],T=d[i+f]}}while((n=A[n&m])>c&&--e!==0);return f<=t.lookahead?f:t.lookahead},ga=t=>{let n=t.w_size,e,i,a;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=n+(n-xi)&&(t.window.set(t.window.subarray(n,n+n-i),0),t.match_start-=n,t.strstart-=n,t.block_start-=n,t.insert>t.strstart&&(t.insert=t.strstart),Y1(t),i+=n),t.strm.avail_in===0)break;if(e=Ul(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=e,t.legacy_hash){if(t.lookahead+t.insert>=be)for(a=t.strstart-t.insert,t.ins_h=t.window[a],t.ins_h=Vl(t,t.ins_h,t.window[a+1]);t.insert&&(Tr(t,a),a++,t.insert--,!(t.lookahead+t.insertbe)for(a=t.strstart-t.insert;t.insert&&(Tr(t,a),a++,t.insert--,!(t.lookahead+t.insert<=be)););}while(t.lookahead{let e=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,i,a,o,f=0,l=t.strm.avail_in;do{if(i=65535,o=t.bi_valid+42>>3,t.strm.avail_outa+t.strm.avail_in&&(i=a+t.strm.avail_in),i>o&&(i=o),i>8,t.pending_buf[t.pending-2]=~i,t.pending_buf[t.pending-1]=~i>>8,qn(t.strm),a&&(a>i&&(a=i),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+a),t.strm.next_out),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a,t.block_start+=a,i-=a),i&&(Ul(t.strm,t.strm.output,t.strm.next_out,i),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i)}while(f===0);return l-=t.strm.avail_in,l&&(l>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=l&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-l,t.strm.next_in),t.strstart),t.strstart+=l,t.insert+=l>t.w_size-t.insert?t.w_size-t.insert:l),t.block_start=t.strstart),t.high_watero&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,o+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),o>t.strm.avail_in&&(o=t.strm.avail_in),o&&(Ul(t.strm,t.window,t.strstart,o),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.high_water>3,o=t.pending_buf_size-o>65535?65535:t.pending_buf_size-o,e=o>t.w_size?t.w_size:o,a=t.strstart-t.block_start,(a>=e||(a||n===Kn)&&n!==or&&t.strm.avail_in===0&&a<=o)&&(i=a>o?o:a,f=n===Kn&&t.strm.avail_in===0&&i===a?1:0,Tl(t,t.block_start,i,f),t.block_start+=i,qn(t.strm)),f?Or:kn)},Al=(t,n)=>{let e,i;for(;;){if(t.lookahead=be&&(e=Tr(t,t.strstart)),e!==0&&t.strstart-e<=t.w_size-xi&&(t.match_length=ef(t,e)),t.match_length>=be)if(i=ar(t,t.strstart-t.match_start,t.match_length-be),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=be){t.match_length--;do t.strstart++,e=Tr(t,t.strstart);while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.legacy_hash&&(t.ins_h=t.window[t.strstart],t.ins_h=Vl(t,t.ins_h,t.window[t.strstart+1]));else i=ar(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(zn(t,!1),t.strm.avail_out===0))return kn}return t.insert=t.strstart{let e,i,a;for(;;){if(t.lookahead=be&&(e=Tr(t,t.strstart)),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=be-1,e!==0&&t.prev_length4096)&&(t.match_length=be-1)),t.prev_length>=be&&t.match_length<=t.prev_length){a=t.strstart+t.lookahead-be,i=ar(t,t.strstart-1-t.prev_match,t.prev_length-be),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=a&&(e=Tr(t,t.strstart));while(--t.prev_length!==0);if(t.match_available=0,t.match_length=be-1,t.strstart++,i&&(zn(t,!1),t.strm.avail_out===0))return kn}else if(t.match_available){if(i=ar(t,0,t.window[t.strstart-1]),i&&zn(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return kn}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=ar(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart{let e,i,a,o,f=t.window;for(;;){if(t.lookahead<=rr){if(ga(t),t.lookahead<=rr&&n===or)return kn;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=be&&t.strstart>0&&(a=t.strstart-1,i=f[a],i===f[++a]&&i===f[++a]&&i===f[++a])){o=t.strstart+rr;do;while(i===f[++a]&&i===f[++a]&&i===f[++a]&&i===f[++a]&&i===f[++a]&&i===f[++a]&&i===f[++a]&&i===f[++a]&&at.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=be?(e=ar(t,1,t.match_length-be),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(e=ar(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),e&&(zn(t,!1),t.strm.avail_out===0))return kn}return t.insert=0,n===Kn?(zn(t,!0),t.strm.avail_out===0?Or:wa):t.sym_next&&(zn(t,!1),t.strm.avail_out===0)?kn:va},X1=(t,n)=>{let e;for(;;){if(t.lookahead===0&&(ga(t),t.lookahead===0)){if(n===or)return kn;break}if(t.match_length=0,e=ar(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,e&&(zn(t,!1),t.strm.avail_out===0))return kn}return t.insert=0,n===Kn?(zn(t,!0),t.strm.avail_out===0?Or:wa):t.sym_next&&(zn(t,!1),t.strm.avail_out===0)?kn:va};function vi(t,n,e,i,a){this.good_length=t,this.max_lazy=n,this.nice_length=e,this.max_chain=i,this.func=a}var eo=[new vi(0,0,0,0,nf),new vi(4,4,8,4,Al),new vi(4,5,16,8,Al),new vi(4,6,32,32,Al),new vi(4,4,16,16,ca),new vi(8,16,32,32,ca),new vi(8,16,128,128,ca),new vi(8,32,128,256,ca),new vi(32,128,258,1024,ca),new vi(32,258,258,4096,ca)],J1=t=>{t.window_size=2*t.w_size,ir(t.head),t.max_lazy_match=eo[t.level].max_lazy,t.good_match=eo[t.level].good_length,t.nice_match=eo[t.level].nice_length,t.max_chain_length=eo[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=be-1,t.match_available=0,t.ins_h=0};function Q1(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=cs,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.legacy_hash=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(G1*2),this.dyn_dtree=new Uint16Array((2*H1+1)*2),this.bl_tree=new Uint16Array((2*W1+1)*2),ir(this.dyn_ltree),ir(this.dyn_dtree),ir(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(V1+1),this.heap=new Uint16Array(2*Rl+1),ir(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Rl+1),ir(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var po=t=>{if(!t)return 1;let n=t.state;return!n||n.strm!==t||n.status!==pa&&n.status!==Gl&&n.status!==Bl&&n.status!==jl&&n.status!==Ml&&n.status!==Dl&&n.status!==Ir&&n.status!==to?1:0},rf=t=>{if(po(t))return Cr(t,yi);t.total_in=t.total_out=0,t.data_type=j1;let n=t.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?Gl:n.wrap?pa:Ir,t.adler=n.wrap===2?0:1,n.last_flush=-2,S1(n),un},af=t=>{let n=rf(t);return n===un&&J1(t.state),n},t2=(t,n)=>po(t)||t.state.wrap!==2?yi:(t.state.gzhead=n,un),of=(t,n,e,i,a,o,f)=>{if(!t)return yi;let l=1;if(n===F1&&(n=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),a<1||a>M1||e!==cs||i<8||i>15||n<0||n>9||o<0||o>R1||i===8&&l!==1)return Cr(t,yi);i===8&&(i=9);let c=new Q1;return t.state=c,c.strm=t,c.status=pa,c.wrap=l,c.gzhead=null,c.w_bits=i,c.w_size=1<of(t,n,cs,D1,U1,B1),n2=(t,n)=>{if(po(t)||n>ac||n<0)return t?Cr(t,yi):yi;let e=t.state;if(!t.output||t.avail_in!==0&&!t.input||e.status===to&&n!==Kn)return Cr(t,t.avail_out===0?xl:yi);let i=e.last_flush;if(e.last_flush=n,e.pending!==0){if(qn(t),t.avail_out===0)return e.last_flush=-1,un}else if(t.avail_in===0&&sc(n)<=sc(i)&&n!==Kn)return Cr(t,xl);if(e.status===to&&t.avail_in!==0)return Cr(t,xl);if(e.status===pa&&e.wrap===0&&(e.status=Ir),e.status===pa){let a=cs+(e.w_bits-8<<4)<<8,o=-1;if(e.strategy>=es||e.level<2?o=0:e.level<6?o=1:e.level===6?o=2:o=3,a|=o<<6,e.strstart!==0&&(a|=Z1),a+=31-a%31,Qa(e,a),e.strstart!==0&&(Qa(e,t.adler>>>16),Qa(e,t.adler&65535)),t.adler=1,e.status=Ir,qn(t),e.pending!==0)return e.last_flush=-1,un}if(e.status===Gl){if(t.adler=0,ve(e,31),ve(e,139),ve(e,8),e.gzhead)ve(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),ve(e,e.gzhead.time&255),ve(e,e.gzhead.time>>8&255),ve(e,e.gzhead.time>>16&255),ve(e,e.gzhead.time>>24&255),ve(e,e.level===9?2:e.strategy>=es||e.level<2?4:0),ve(e,e.gzhead.os&255),e.gzhead.extra&&e.gzhead.extra.length&&(ve(e,e.gzhead.extra.length&255),ve(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=an(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=Bl;else if(ve(e,0),ve(e,0),ve(e,0),ve(e,0),ve(e,0),ve(e,e.level===9?2:e.strategy>=es||e.level<2?4:0),ve(e,$1),e.status=Ir,qn(t),e.pending!==0)return e.last_flush=-1,un}if(e.status===Bl){if(e.gzhead.extra){let a=e.pending,o=(e.gzhead.extra.length&65535)-e.gzindex;for(;e.pending+o>e.pending_buf_size;){let l=e.pending_buf_size-e.pending;if(e.pending_buf.set(e.gzhead.extra.subarray(e.gzindex,e.gzindex+l),e.pending),e.pending=e.pending_buf_size,e.gzhead.hcrc&&e.pending>a&&(t.adler=an(t.adler,e.pending_buf,e.pending-a,a)),e.gzindex+=l,qn(t),e.pending!==0)return e.last_flush=-1,un;a=0,o-=l}let f=new Uint8Array(e.gzhead.extra);e.pending_buf.set(f.subarray(e.gzindex,e.gzindex+o),e.pending),e.pending+=o,e.gzhead.hcrc&&e.pending>a&&(t.adler=an(t.adler,e.pending_buf,e.pending-a,a)),e.gzindex=0}e.status=jl}if(e.status===jl){if(e.gzhead.name){let a=e.pending,o;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>a&&(t.adler=an(t.adler,e.pending_buf,e.pending-a,a)),qn(t),e.pending!==0)return e.last_flush=-1,un;a=0}e.gzindexa&&(t.adler=an(t.adler,e.pending_buf,e.pending-a,a)),e.gzindex=0}e.status=Ml}if(e.status===Ml){if(e.gzhead.comment){let a=e.pending,o;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>a&&(t.adler=an(t.adler,e.pending_buf,e.pending-a,a)),qn(t),e.pending!==0)return e.last_flush=-1,un;a=0}e.gzindexa&&(t.adler=an(t.adler,e.pending_buf,e.pending-a,a))}e.status=Dl}if(e.status===Dl){if(e.gzhead.hcrc){if(e.pending+2>e.pending_buf_size&&(qn(t),e.pending!==0))return e.last_flush=-1,un;ve(e,t.adler&255),ve(e,t.adler>>8&255),t.adler=0}if(e.status=Ir,qn(t),e.pending!==0)return e.last_flush=-1,un}if(t.avail_in!==0||e.lookahead!==0||n!==or&&e.status!==to){let a=e.level===0?nf(e,n):e.strategy===es?X1(e,n):e.strategy===T1?K1(e,n):eo[e.level].func(e,n);if((a===Or||a===wa)&&(e.status=to),a===kn||a===Or)return t.avail_out===0&&(e.last_flush=-1),un;if(a===va&&(n===E1?P1(e):n!==ac&&(Tl(e,0,0,!1),n===I1&&(ir(e.head),e.lookahead===0&&(e.strstart=0,e.block_start=0,e.insert=0))),qn(t),t.avail_out===0))return e.last_flush=-1,un}return n!==Kn?un:e.wrap<=0?oc:(e.wrap===2?(ve(e,t.adler&255),ve(e,t.adler>>8&255),ve(e,t.adler>>16&255),ve(e,t.adler>>24&255),ve(e,t.total_in&255),ve(e,t.total_in>>8&255),ve(e,t.total_in>>16&255),ve(e,t.total_in>>24&255)):(Qa(e,t.adler>>>16),Qa(e,t.adler&65535)),qn(t),e.wrap>0&&(e.wrap=-e.wrap),e.pending!==0?un:oc)},i2=t=>{if(po(t))return yi;let n=t.state.status;return t.state=null,n===Ir?Cr(t,C1):un},r2=(t,n)=>{let e=n.length;if(po(t))return yi;let i=t.state,a=i.wrap;if(a===2||a===1&&i.status!==pa||i.lookahead)return yi;if(a===1&&(t.adler=ho(t.adler,n,e,0)),i.wrap=0,e>=i.w_size){a===0&&(ir(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(e-i.w_size,e),0),n=c,e=i.w_size}let o=t.avail_in,f=t.next_in,l=t.input;for(t.avail_in=e,t.next_in=0,t.input=n,ga(i);i.lookahead>=be;){let c=i.strstart,d=i.lookahead-(be-1);do Tr(i,c),c++;while(--d);i.strstart=c,i.lookahead=be-1,ga(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=be-1,i.match_available=0,t.next_in=f,t.input=l,t.avail_in=o,i.wrap=a,un},a2=e2,o2=of,s2=af,l2=rf,h2=t2,c2=n2,f2=i2,u2=r2,d2="pako deflate (from Nodeca project)",io={deflateInit:a2,deflateInit2:o2,deflateReset:s2,deflateResetKeep:l2,deflateSetHeader:h2,deflate:c2,deflateEnd:f2,deflateSetDictionary:u2,deflateInfo:d2},p2=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),g2=function(t){let n=Array.prototype.slice.call(arguments,1);for(;n.length;){let e=n.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(let i in e)p2(e,i)&&(t[i]=e[i])}}return t},m2=t=>{let n=0;for(let i=0,a=t.length;i=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;co[254]=co[255]=1;var b2=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let n,e,i,a,o,f=t.length,l=0;for(a=0;a>>6,n[o++]=128|e&63):e<65536?(n[o++]=224|e>>>12,n[o++]=128|e>>>6&63,n[o++]=128|e&63):(n[o++]=240|e>>>18,n[o++]=128|e>>>12&63,n[o++]=128|e>>>6&63,n[o++]=128|e&63);return n},v2=(t,n)=>{if(n<65534&&t.subarray&&sf)return String.fromCharCode.apply(null,t.length===n?t:t.subarray(0,n));let e="";for(let i=0;i{let e=n||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,n));let i,a,o=new Array(e*2);for(a=0,i=0;i4){o[a++]=65533,i+=l-1;continue}for(f&=l===2?31:l===3?15:7;l>1&&i1){o[a++]=65533;continue}f<65536?o[a++]=f:(f-=65536,o[a++]=55296|f>>10&1023,o[a++]=56320|f&1023)}return v2(o,a)},_2=(t,n)=>{n=n||t.length,n>t.length&&(n=t.length);let e=n-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?n:e+co[t[e]]>n?e:n},fo={string2buf:b2,buf2string:w2,utf8border:_2};function y2(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var lf=y2,hf=Object.prototype.toString,{Z_NO_FLUSH:x2,Z_SYNC_FLUSH:A2,Z_FULL_FLUSH:N2,Z_FINISH:L2,Z_OK:ls,Z_STREAM_END:S2,Z_DEFAULT_COMPRESSION:k2,Z_DEFAULT_STRATEGY:P2,Z_DEFLATED:E2}=ba,I2={level:k2,method:E2,chunkSize:16384,windowBits:15,memLevel:8,strategy:P2,legacyHash:!0};function go(t){this.options=fs.assign({},I2,t||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lf,this.strm.avail_out=0;let e=io.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy,n.legacyHash);if(e!==ls)throw new Error(Fr[e]);if(n.header&&io.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=fo.string2buf(n.dictionary):hf.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,e=io.deflateSetDictionary(this.strm,i),e!==ls)throw new Error(Fr[e]);this._dict_set=!0}}go.prototype.push=function(t,n){let e=this.strm,i=this.options.chunkSize,a,o;if(this.ended)return!1;for(n===~~n?o=n:o=n===!0?L2:x2,typeof t=="string"?e.input=fo.string2buf(t):hf.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){if(e.avail_out===0&&(e.output=new Uint8Array(i),e.next_out=0,e.avail_out=i),(o===A2||o===N2)&&e.avail_out<=6){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(a=io.deflate(e,o),a===S2)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),a=io.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===ls;if(e.avail_out===0){this.onData(e.output);continue}if(o>0&&e.next_out>0){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(e.avail_in===0)break}return!0};go.prototype.onData=function(t){this.chunks.push(t)};go.prototype.onEnd=function(t){t===ls&&(this.result=fs.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Zl(t,n){let e=new go(n);if(e.push(t,!0),e.err)throw e.msg||Fr[e.err];return e.result}function C2(t,n){return n=n||{},n.raw=!0,Zl(t,n)}function F2(t,n){return n=n||{},n.gzip=!0,Zl(t,n)}var O2=go,T2=Zl,R2=C2,B2=F2,j2=ba,M2={Deflate:O2,deflate:T2,deflateRaw:R2,gzip:B2,constants:j2},ns=16209,D2=16191,U2=function(n,e){let i,a,o,f,l,c,d,m,A,L,p,T,O,B,k,Z,$,D,lt,_t,mt,tt,z,et,N=n.state;i=n.next_in,z=n.input,a=i+(n.avail_in-5),o=n.next_out,et=n.output,f=o-(e-n.avail_out),l=o+(n.avail_out-257),c=N.dmax,d=N.wsize,m=N.whave,A=N.wnext,L=N.window,p=N.hold,T=N.bits,O=N.lencode,B=N.distcode,k=(1<>>24,p>>>=D,T-=D,D=$>>>16&255,D===0)et[o++]=$&65535;else if(D&16){lt=$&65535,D&=15,D&&(T>>=D,T-=D),T<15&&(p+=z[i++]<>>24,p>>>=D,T-=D,D=$>>>16&255,D&16){if(_t=$&65535,D&=15,Tc){n.msg="invalid distance too far back",N.mode=ns;break t}if(p>>>=D,T-=D,D=o-f,_t>D){if(D=_t-D,D>m&&N.sane){n.msg="invalid distance too far back",N.mode=ns;break t}if(mt=0,tt=L,A===0){if(mt+=d-D,D2;)et[o++]=tt[mt++],et[o++]=tt[mt++],et[o++]=tt[mt++],lt-=3;lt&&(et[o++]=tt[mt++],lt>1&&(et[o++]=tt[mt++]))}else{mt=o-_t;do et[o++]=et[mt++],et[o++]=et[mt++],et[o++]=et[mt++],lt-=3;while(lt>2);lt&&(et[o++]=et[mt++],lt>1&&(et[o++]=et[mt++]))}}else if((D&64)===0){$=B[($&65535)+(p&(1<>3,i-=lt,T-=lt<<3,p&=(1<{let c=l.bits,d=0,m=0,A=0,L=0,p=0,T=0,O=0,B=0,k=0,Z=0,$,D,lt,_t,mt,tt=null,z,et=new Uint16Array(fa+1),N=new Uint16Array(fa+1),F=null,U,q,it;for(d=0;d<=fa;d++)et[d]=0;for(m=0;m=1&&et[L]===0;L--);if(p>L&&(p=L),L===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,l.bits=1,0;for(A=1;A0&&(t===cc||L!==1))return-1;for(N[1]=0,d=1;dlc||t===fc&&k>hc)return 1;for(;;){U=d-O,f[m]+1=z?(q=F[f[m]-z],it=tt[f[m]-z]):(q=96,it=0),$=1<>O)+D]=U<<24|q<<16|it|0;while(D!==0);for($=1<>=1;if($!==0?(Z&=$-1,Z+=$):Z=0,m++,--et[d]===0){if(d===L)break;d=n[e+f[m]]}if(d>p&&(Z&_t)!==lt){for(O===0&&(O=p),mt+=A,T=d-O,B=1<lc||t===fc&&k>hc)return 1;lt=Z&_t,a[lt]=p<<24|T<<16|mt-o|0}}return Z!==0&&(a[mt+Z]=d-O<<24|64<<16|0),l.bits=p,0},ro=G2,V2=0,cf=1,ff=2,{Z_FINISH:uc,Z_BLOCK:Z2,Z_TREES:is,Z_OK:Rr,Z_STREAM_END:$2,Z_NEED_DICT:Y2,Z_STREAM_ERROR:Xn,Z_DATA_ERROR:uf,Z_MEM_ERROR:df,Z_BUF_ERROR:K2,Z_DEFLATED:dc}=ba,us=16180,pc=16181,gc=16182,mc=16183,bc=16184,vc=16185,wc=16186,_c=16187,yc=16188,xc=16189,hs=16190,Ui=16191,Ll=16192,Ac=16193,Sl=16194,Nc=16195,Lc=16196,Sc=16197,kc=16198,rs=16199,as=16200,Pc=16201,Ec=16202,Ic=16203,Cc=16204,Fc=16205,kl=16206,Oc=16207,Tc=16208,Be=16209,pf=16210,gf=16211,X2=852,J2=592,Q2=15,t0=Q2,Rc=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function e0(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var Br=t=>{if(!t)return 1;let n=t.state;return!n||n.strm!==t||n.modegf?1:0},mf=t=>{if(Br(t))return Xn;let n=t.state;return t.total_in=t.total_out=n.total=0,t.msg="",n.wrap&&(t.adler=n.wrap&1),n.mode=us,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(X2),n.distcode=n.distdyn=new Int32Array(J2),n.sane=1,n.back=-1,Rr},bf=t=>{if(Br(t))return Xn;let n=t.state;return n.wsize=0,n.whave=0,n.wnext=0,mf(t)},vf=(t,n)=>{let e;if(Br(t))return Xn;let i=t.state;return n<0?(e=0,n=-n):(e=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?Xn:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=e,i.wbits=n,bf(t))},wf=(t,n)=>{if(!t)return Xn;let e=new e0;t.state=e,e.strm=t,e.window=null,e.mode=us;let i=vf(t,n);return i!==Rr&&(t.state=null),i},n0=t=>wf(t,t0),Bc=!0,Pl,El,i0=t=>{if(Bc){Pl=new Int32Array(512),El=new Int32Array(32);let n=0;for(;n<144;)t.lens[n++]=8;for(;n<256;)t.lens[n++]=9;for(;n<280;)t.lens[n++]=7;for(;n<288;)t.lens[n++]=8;for(ro(cf,t.lens,0,288,Pl,0,t.work,{bits:9}),n=0;n<32;)t.lens[n++]=5;ro(ff,t.lens,0,32,El,0,t.work,{bits:5}),Bc=!1}t.lencode=Pl,t.lenbits=9,t.distcode=El,t.distbits=5},_f=(t,n,e,i)=>{let a,o=t.state;return o.window===null&&(o.window=new Uint8Array(1<=o.wsize?(o.window.set(n.subarray(e-o.wsize,e),0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),o.window.set(n.subarray(e-i,e-i+a),o.wnext),i-=a,i?(o.window.set(n.subarray(e-i,e),0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave{let e,i,a,o,f,l,c,d,m,A,L,p,T,O,B=0,k,Z,$,D,lt,_t,mt,tt,z=new Uint8Array(4),et,N,F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Br(t)||!t.output||!t.input&&t.avail_in!==0)return Xn;e=t.state,e.mode===Ui&&(e.mode=Ll),f=t.next_out,a=t.output,c=t.avail_out,o=t.next_in,i=t.input,l=t.avail_in,d=e.hold,m=e.bits,A=l,L=c,tt=Rr;t:for(;;)switch(e.mode){case us:if(e.wrap===0){e.mode=Ll;break}for(;m<16;){if(l===0)break t;l--,d+=i[o++]<>>8&255,e.check=an(e.check,z,2,0),d=0,m=0,e.mode=pc;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((d&255)<<8)+(d>>8))%31){t.msg="incorrect header check",e.mode=Be;break}if((d&15)!==dc){t.msg="unknown compression method",e.mode=Be;break}if(d>>>=4,m-=4,mt=(d&15)+8,e.wbits===0&&(e.wbits=mt),mt>15||mt>e.wbits){t.msg="invalid window size",e.mode=Be;break}e.dmax=1<>8&1),e.flags&512&&e.wrap&4&&(z[0]=d&255,z[1]=d>>>8&255,e.check=an(e.check,z,2,0)),d=0,m=0,e.mode=gc;case gc:for(;m<32;){if(l===0)break t;l--,d+=i[o++]<>>8&255,z[2]=d>>>16&255,z[3]=d>>>24&255,e.check=an(e.check,z,4,0)),d=0,m=0,e.mode=mc;case mc:for(;m<16;){if(l===0)break t;l--,d+=i[o++]<>8),e.flags&512&&e.wrap&4&&(z[0]=d&255,z[1]=d>>>8&255,e.check=an(e.check,z,2,0)),d=0,m=0,e.mode=bc;case bc:if(e.flags&1024){for(;m<16;){if(l===0)break t;l--,d+=i[o++]<>>8&255,e.check=an(e.check,z,2,0)),d=0,m=0}else e.head&&(e.head.extra=null);e.mode=vc;case vc:if(e.flags&1024&&(p=e.length,p>l&&(p=l),p&&(e.head&&(mt=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(i.subarray(o,o+p),mt)),e.flags&512&&e.wrap&4&&(e.check=an(e.check,i,p,o)),l-=p,o+=p,e.length-=p),e.length))break t;e.length=0,e.mode=wc;case wc:if(e.flags&2048){if(l===0)break t;p=0;do mt=i[o+p++],e.head&&mt&&e.length<65536&&(e.head.name+=String.fromCharCode(mt));while(mt&&p>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=Ui;break;case xc:for(;m<32;){if(l===0)break t;l--,d+=i[o++]<>>=m&7,m-=m&7,e.mode=kl;break}for(;m<3;){if(l===0)break t;l--,d+=i[o++]<>>=1,m-=1,d&3){case 0:e.mode=Ac;break;case 1:if(i0(e),e.mode=rs,n===is){d>>>=2,m-=2;break t}break;case 2:e.mode=Lc;break;case 3:t.msg="invalid block type",e.mode=Be}d>>>=2,m-=2;break;case Ac:for(d>>>=m&7,m-=m&7;m<32;){if(l===0)break t;l--,d+=i[o++]<>>16^65535)){t.msg="invalid stored block lengths",e.mode=Be;break}if(e.length=d&65535,d=0,m=0,e.mode=Sl,n===is)break t;case Sl:e.mode=Nc;case Nc:if(p=e.length,p){if(p>l&&(p=l),p>c&&(p=c),p===0)break t;a.set(i.subarray(o,o+p),f),l-=p,o+=p,c-=p,f+=p,e.length-=p;break}e.mode=Ui;break;case Lc:for(;m<14;){if(l===0)break t;l--,d+=i[o++]<>>=5,m-=5,e.ndist=(d&31)+1,d>>>=5,m-=5,e.ncode=(d&15)+4,d>>>=4,m-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=Be;break}e.have=0,e.mode=Sc;case Sc:for(;e.have>>=3,m-=3}for(;e.have<19;)e.lens[F[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,et={bits:e.lenbits},tt=ro(V2,e.lens,0,19,e.lencode,0,e.work,et),e.lenbits=et.bits,tt){t.msg="invalid code lengths set",e.mode=Be;break}e.have=0,e.mode=kc;case kc:for(;e.have>>24,Z=B>>>16&255,$=B&65535,!(k<=m);){if(l===0)break t;l--,d+=i[o++]<>>=k,m-=k,e.lens[e.have++]=$;else{if($===16){for(N=k+2;m>>=k,m-=k,e.have===0){t.msg="invalid bit length repeat",e.mode=Be;break}mt=e.lens[e.have-1],p=3+(d&3),d>>>=2,m-=2}else if($===17){for(N=k+3;m>>=k,m-=k,mt=0,p=3+(d&7),d>>>=3,m-=3}else{for(N=k+7;m>>=k,m-=k,mt=0,p=11+(d&127),d>>>=7,m-=7}if(e.have+p>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=Be;break}for(;p--;)e.lens[e.have++]=mt}}if(e.mode===Be)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=Be;break}if(e.lenbits=9,et={bits:e.lenbits},tt=ro(cf,e.lens,0,e.nlen,e.lencode,0,e.work,et),e.lenbits=et.bits,tt){t.msg="invalid literal/lengths set",e.mode=Be;break}if(e.distbits=6,e.distcode=e.distdyn,et={bits:e.distbits},tt=ro(ff,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,et),e.distbits=et.bits,tt){t.msg="invalid distances set",e.mode=Be;break}if(e.mode=rs,n===is)break t;case rs:e.mode=as;case as:if(l>=6&&c>=258){t.next_out=f,t.avail_out=c,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=m,U2(t,L),f=t.next_out,a=t.output,c=t.avail_out,o=t.next_in,i=t.input,l=t.avail_in,d=e.hold,m=e.bits,e.mode===Ui&&(e.back=-1);break}for(e.back=0;B=e.lencode[d&(1<>>24,Z=B>>>16&255,$=B&65535,!(k<=m);){if(l===0)break t;l--,d+=i[o++]<>D)],k=B>>>24,Z=B>>>16&255,$=B&65535,!(D+k<=m);){if(l===0)break t;l--,d+=i[o++]<>>=D,m-=D,e.back+=D}if(d>>>=k,m-=k,e.back+=k,e.length=$,Z===0){e.mode=Fc;break}if(Z&32){e.back=-1,e.mode=Ui;break}if(Z&64){t.msg="invalid literal/length code",e.mode=Be;break}e.extra=Z&15,e.mode=Pc;case Pc:if(e.extra){for(N=e.extra;m>>=e.extra,m-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Ec;case Ec:for(;B=e.distcode[d&(1<>>24,Z=B>>>16&255,$=B&65535,!(k<=m);){if(l===0)break t;l--,d+=i[o++]<>D)],k=B>>>24,Z=B>>>16&255,$=B&65535,!(D+k<=m);){if(l===0)break t;l--,d+=i[o++]<>>=D,m-=D,e.back+=D}if(d>>>=k,m-=k,e.back+=k,Z&64){t.msg="invalid distance code",e.mode=Be;break}e.offset=$,e.extra=Z&15,e.mode=Ic;case Ic:if(e.extra){for(N=e.extra;m>>=e.extra,m-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=Be;break}e.mode=Cc;case Cc:if(c===0)break t;if(p=L-c,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=Be;break}p>e.wnext?(p-=e.wnext,T=e.wsize-p):T=e.wnext-p,p>e.length&&(p=e.length),O=e.window}else O=a,T=f-e.offset,p=e.length;p>c&&(p=c),c-=p,e.length-=p;do a[f++]=O[T++];while(--p);e.length===0&&(e.mode=as);break;case Fc:if(c===0)break t;a[f++]=e.length,c--,e.mode=as;break;case kl:if(e.wrap){for(;m<32;){if(l===0)break t;l--,d|=i[o++]<{if(Br(t))return Xn;let n=t.state;return n.window&&(n.window=null),t.state=null,Rr},o0=(t,n)=>{if(Br(t))return Xn;let e=t.state;return(e.wrap&2)===0?Xn:(e.head=n,n.done=!1,Rr)},s0=(t,n)=>{let e=n.length,i,a,o;return Br(t)||(i=t.state,i.wrap!==0&&i.mode!==hs)?Xn:i.mode===hs&&(a=1,a=ho(a,n,e,0),a!==i.check)?uf:(o=_f(t,n,e,e),o?(i.mode=pf,df):(i.havedict=1,Rr))},l0=bf,h0=vf,c0=mf,f0=n0,u0=wf,d0=r0,p0=a0,g0=o0,m0=s0,b0="pako inflate (from Nodeca project)",wi={inflateReset:l0,inflateReset2:h0,inflateResetKeep:c0,inflateInit:f0,inflateInit2:u0,inflate:d0,inflateEnd:p0,inflateGetHeader:g0,inflateSetDictionary:m0,inflateInfo:b0};function v0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var w0=v0,yf=Object.prototype.toString,{Z_NO_FLUSH:_0,Z_FINISH:jc,Z_OK:da,Z_STREAM_END:Il,Z_NEED_DICT:Cl,Z_STREAM_ERROR:y0,Z_DATA_ERROR:Mc,Z_MEM_ERROR:x0,Z_BUF_ERROR:Dc}=ba,A0={chunkSize:1024*64,windowBits:15,to:""};function mo(t){this.options=fs.assign({},A0,t||{});let n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(t&&t.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new lf,this.strm.avail_out=0;let e=wi.inflateInit2(this.strm,n.windowBits);if(e!==da)throw new Error(Fr[e]);if(this.header=new w0,wi.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=fo.string2buf(n.dictionary):yf.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(e=wi.inflateSetDictionary(this.strm,n.dictionary),e!==da)))throw new Error(Fr[e])}mo.prototype.push=function(t,n){let e=this.strm,i=this.options.chunkSize,a=this.options.dictionary,o,f,l;if(this.ended)return!1;for(n===~~n?f=n:f=n===!0?jc:_0,yf.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(i),e.next_out=0,e.avail_out=i),o=wi.inflate(e,f),o===Cl&&a&&(o=wi.inflateSetDictionary(e,a),o===da?o=wi.inflate(e,f):o===Mc&&(o=Cl));e.avail_in>0&&o===Il&&e.state.wrap&2&&e.state.flags!==0&&e.input[e.next_in]!==0;)wi.inflateReset(e),o=wi.inflate(e,f);switch(o){case y0:case Mc:case Cl:case x0:return this.onEnd(o),this.ended=!0,!1}if(l=e.avail_out,e.next_out&&(e.avail_out===0||o===Il||f>0))if(this.options.to==="string"){let c=fo.utf8border(e.output,e.next_out),d=e.next_out-c,m=fo.buf2string(e.output,c);e.next_out=d,e.avail_out=i-d,d&&e.output.set(e.output.subarray(c,c+d),0),this.onData(m)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out)),e.avail_out=0,e.next_out=0;if(!((o===da||o===Dc)&&l===0)){if(o===Il)return o=wi.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(e.avail_in===0){if(f===jc)return o=wi.inflateEnd(this.strm),this.onEnd(o===da?Dc:o),this.ended=!0,!1;break}}}return!0};mo.prototype.onData=function(t){this.chunks.push(t)};mo.prototype.onEnd=function(t){t===da&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=fs.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function $l(t,n){let e=new mo(n);if(e.push(t,!0),e.err)throw e.msg||Fr[e.err];return e.result}function N0(t,n){return n=n||{},n.raw=!0,$l(t,n)}var L0=mo,S0=$l,k0=N0,P0=$l,E0=ba,I0={Inflate:L0,inflate:S0,inflateRaw:k0,ungzip:P0,constants:E0},{Deflate:K5,deflate:X5,deflateRaw:J5,gzip:Q5}=M2,{Inflate:C0,inflate:F0,inflateRaw:td,ungzip:ed}=I0;var Yl=C0,xf=F0;var Nf=[];for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)n&1?n=3988292384^n>>>1:n=n>>>1;Nf[t]=n}var Af=4294967295;function O0(t,n,e){let i=t;for(let a=0;a>>8;return i}function T0(t,n){return(O0(Af,t,n)^Af)>>>0}function Kl(t,n,e){let i=t.readUint32(),a=T0(new Uint8Array(t.buffer,t.byteOffset+t.offset-n-4,n),n);if(a!==i)throw new Error(`CRC mismatch for chunk ${e}. Expected ${i}, found ${a}`)}function ds(t,n,e){for(let i=0;i>1)&255}else{for(;o>1)&255;for(;o>1)&255}}function bs(t,n,e,i,a){let o=0;if(e.length===0){for(;o=e||_t>=i))for(let mt=0;mt>8&255}var U0=new Uint16Array([255]),q0=new Uint8Array(U0.buffer),z0=q0[0]===255,H0=new Uint8Array(0);function Xl(t){let{data:n,width:e,height:i,channels:a,depth:o}=t,f=Math.ceil(o/8)*a,l=Math.ceil(o/8*a*e),c=new Uint8Array(i*l),d=H0,m=0,A,L;for(let p=0;p>8&255}var vs=Uint8Array.of(137,80,78,71,13,10,26,10);function Jl(t){if(!kf(t.readBytes(vs.length)))throw new Error("wrong PNG signature")}function kf(t){if(t.length79)throw new Error("keyword length must be between 1 and 79")}var $0=/^[\u0000-\u00FF]*$/;function Y0(t){if(!$0.test(t))throw new Error("invalid latin1 text")}function If(t,n,e){let i=Ql(n);t[i]=K0(n,e-i.length-1)}function Ql(t){for(t.mark();t.readByte()!==V0;);let n=t.offset;t.reset();let e=Ef.decode(t.readBytes(n-t.offset-1));return t.skip(1),Z0(e),e}function K0(t,n){return Ef.decode(t.readBytes(n))}var Pn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},bo={UNKNOWN:-1,DEFLATE:0},ws={UNKNOWN:-1,ADAPTIVE:0},vo={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},wo={NONE:0,BACKGROUND:1,PREVIOUS:2},_s={SOURCE:0,OVER:1};var ys=class extends Ja{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(n,e={}){super(n);let{checkCrc:i=!1}=e;this._checkCrc=i,this._inflator=new Yl,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=bo.UNKNOWN,this._filterMethod=ws.UNKNOWN,this._interlaceMethod=vo.UNKNOWN,this._colorType=Pn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Jl(this);!this._end;){let n=this.readUint32(),e=this.readChars(4);this.decodeChunk(n,e)}return this.decodeImage(),this._png}decodeApng(){for(Jl(this);!this._end;){let n=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(n,e)}return this.decodeApngImage(),this._apng}decodeChunk(n,e){let i=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(n);break;case"IDAT":this.decodeIDAT(n);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(n);break;case"iCCP":this.decodeiCCP(n);break;case Pf:If(this._png.text,this,n);break;case"pHYs":this.decodepHYs();break;default:this.skip(n);break}if(this.offset-i!==n)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?Kl(this,n+4,e):this.skip(4)}decodeApngChunk(n,e){let i=this.offset;switch(e!=="fdAT"&&e!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(n);break;default:this.decodeChunk(n,e),this.offset=i+n;break}if(this.offset-i!==n)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?Kl(this,n+4,e):this.skip(4)}decodeIHDR(){let n=this._png;n.width=this.readUint32(),n.height=this.readUint32(),n.depth=X0(this.readUint8());let e=this.readUint8();this._colorType=e;let i;switch(e){case Pn.GREYSCALE:i=1;break;case Pn.TRUECOLOUR:i=3;break;case Pn.INDEXED_COLOUR:i=1;break;case Pn.GREYSCALE_ALPHA:i=2;break;case Pn.TRUECOLOUR_ALPHA:i=4;break;case Pn.UNKNOWN:default:throw new Error(`Unknown color type: ${e}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),this._compressionMethod!==bo.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){let n={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(n)}decodePLTE(n){if(n%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${n}`);let e=n/3;this._hasPalette=!0;let i=[];this._palette=i;for(let a=0;athis._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${n/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(n/2);for(let e=0;ethis._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${n} vs ${this._palette.length})`);let e=0;for(;e{let l=((o+e.yOffset)*this._png.width+e.xOffset+f)*this._png.channels,c=(o*e.width+f)*this._png.channels;return{index:l,frameIndex:c}};switch(e.blendOp){case _s.SOURCE:for(let o=0;o=200&&n.status<=299}function xs(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var jr=Yt.saveAs||((typeof window>"u"?"undefined":Ne(window))!=="object"||window!==Yt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,n,e){var i=Yt.URL||Yt.webkitURL,a=document.createElement("a");n=n||t.name||"download",a.download=n,a.rel="noopener",typeof t=="string"?(a.href=t,a.origin!==location.origin?Ff(a.href)?eh(t,n,e):xs(a,a.target="_blank"):xs(a)):(a.href=i.createObjectURL(t),setTimeout(function(){i.revokeObjectURL(a.href)},4e4),setTimeout(function(){xs(a)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,e){if(n=n||t.name||"download",typeof t=="string")if(Ff(t))eh(t,n,e);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){xs(i)})}else navigator.msSaveOrOpenBlob((function(a,o){return o===void 0?o={autoBom:!1}:Ne(o)!=="object"&&(ke.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a})(t,e),n)}:function(t,n,e,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof t=="string")return eh(t,n,e);var a=t.type==="application/octet-stream",o=/constructor/i.test(Yt.HTMLElement)||Yt.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||a&&o)&&(typeof FileReader>"u"?"undefined":Ne(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var m=l.result;m=f?m:m.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=m:location=m,i=null},l.readAsDataURL(t)}else{var c=Yt.URL||Yt.webkitURL,d=c.createObjectURL(t);i?i.location=d:location.href=d,i=null,setTimeout(function(){c.revokeObjectURL(d)},4e4)}});function tu(t){var n;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],i=0;i255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var l=this.r.toString(16),c=this.g.toString(16),d=this.b.toString(16);return l.length==1&&(l="0"+l),c.length==1&&(c="0"+c),d.length==1&&(d="0"+d),"#"+l+c+d}}var Ls=Yt.atob.bind(Yt),Of=Yt.btoa.bind(Yt);function nh(t,n){var e=t[0],i=t[1],a=t[2],o=t[3];e=vn(e,i,a,o,n[0],7,-680876936),o=vn(o,e,i,a,n[1],12,-389564586),a=vn(a,o,e,i,n[2],17,606105819),i=vn(i,a,o,e,n[3],22,-1044525330),e=vn(e,i,a,o,n[4],7,-176418897),o=vn(o,e,i,a,n[5],12,1200080426),a=vn(a,o,e,i,n[6],17,-1473231341),i=vn(i,a,o,e,n[7],22,-45705983),e=vn(e,i,a,o,n[8],7,1770035416),o=vn(o,e,i,a,n[9],12,-1958414417),a=vn(a,o,e,i,n[10],17,-42063),i=vn(i,a,o,e,n[11],22,-1990404162),e=vn(e,i,a,o,n[12],7,1804603682),o=vn(o,e,i,a,n[13],12,-40341101),a=vn(a,o,e,i,n[14],17,-1502002290),e=wn(e,i=vn(i,a,o,e,n[15],22,1236535329),a,o,n[1],5,-165796510),o=wn(o,e,i,a,n[6],9,-1069501632),a=wn(a,o,e,i,n[11],14,643717713),i=wn(i,a,o,e,n[0],20,-373897302),e=wn(e,i,a,o,n[5],5,-701558691),o=wn(o,e,i,a,n[10],9,38016083),a=wn(a,o,e,i,n[15],14,-660478335),i=wn(i,a,o,e,n[4],20,-405537848),e=wn(e,i,a,o,n[9],5,568446438),o=wn(o,e,i,a,n[14],9,-1019803690),a=wn(a,o,e,i,n[3],14,-187363961),i=wn(i,a,o,e,n[8],20,1163531501),e=wn(e,i,a,o,n[13],5,-1444681467),o=wn(o,e,i,a,n[2],9,-51403784),a=wn(a,o,e,i,n[7],14,1735328473),e=_n(e,i=wn(i,a,o,e,n[12],20,-1926607734),a,o,n[5],4,-378558),o=_n(o,e,i,a,n[8],11,-2022574463),a=_n(a,o,e,i,n[11],16,1839030562),i=_n(i,a,o,e,n[14],23,-35309556),e=_n(e,i,a,o,n[1],4,-1530992060),o=_n(o,e,i,a,n[4],11,1272893353),a=_n(a,o,e,i,n[7],16,-155497632),i=_n(i,a,o,e,n[10],23,-1094730640),e=_n(e,i,a,o,n[13],4,681279174),o=_n(o,e,i,a,n[0],11,-358537222),a=_n(a,o,e,i,n[3],16,-722521979),i=_n(i,a,o,e,n[6],23,76029189),e=_n(e,i,a,o,n[9],4,-640364487),o=_n(o,e,i,a,n[12],11,-421815835),a=_n(a,o,e,i,n[15],16,530742520),e=yn(e,i=_n(i,a,o,e,n[2],23,-995338651),a,o,n[0],6,-198630844),o=yn(o,e,i,a,n[7],10,1126891415),a=yn(a,o,e,i,n[14],15,-1416354905),i=yn(i,a,o,e,n[5],21,-57434055),e=yn(e,i,a,o,n[12],6,1700485571),o=yn(o,e,i,a,n[3],10,-1894986606),a=yn(a,o,e,i,n[10],15,-1051523),i=yn(i,a,o,e,n[1],21,-2054922799),e=yn(e,i,a,o,n[8],6,1873313359),o=yn(o,e,i,a,n[15],10,-30611744),a=yn(a,o,e,i,n[6],15,-1560198380),i=yn(i,a,o,e,n[13],21,1309151649),e=yn(e,i,a,o,n[4],6,-145523070),o=yn(o,e,i,a,n[11],10,-1120210379),a=yn(a,o,e,i,n[2],15,718787259),i=yn(i,a,o,e,n[9],21,-343485551),t[0]=lr(e,t[0]),t[1]=lr(i,t[1]),t[2]=lr(a,t[2]),t[3]=lr(o,t[3])}function Fs(t,n,e,i,a,o){return n=lr(lr(n,t),lr(i,o)),lr(n<>>32-a,e)}function vn(t,n,e,i,a,o,f){return Fs(n&e|~n&i,t,n,a,o,f)}function wn(t,n,e,i,a,o,f){return Fs(n&i|e&~i,t,n,a,o,f)}function _n(t,n,e,i,a,o,f){return Fs(n^e^i,t,n,a,o,f)}function yn(t,n,e,i,a,o,f){return Fs(e^(n|~i),t,n,a,o,f)}function eu(t){var n,e=t.length,i=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)nh(i,J0(t.substring(n-64,n)));t=t.substring(n-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n>2]|=t.charCodeAt(n)<<(n%4<<3);if(a[n>>2]|=128<<(n%4<<3),n>55)for(nh(i,a),n=0;n<16;n++)a[n]=0;return a[14]=8*e,nh(i,a),i}function J0(t){var n,e=[];for(n=0;n<64;n+=4)e[n>>2]=t.charCodeAt(n)+(t.charCodeAt(n+1)<<8)+(t.charCodeAt(n+2)<<16)+(t.charCodeAt(n+3)<<24);return e}var Tf="0123456789abcdef".split("");function Q0(t){for(var n="",e=0;e<4;e++)n+=Tf[t>>8*e+4&15]+Tf[t>>8*e&15];return n}function t5(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function lh(t){return eu(t).map(t5).join("")}var e5=(function(t){for(var n=0;n>16)+(n>>16)+(e>>16)<<16|65535&e}return t+n&4294967295}function hh(t,n){var e,i,a,o;if(t!==e){for(var f=(a=t,o=1+(256/t.length|0),new Array(o+1).join(a)),l=[],c=0;c<256;c++)l[c]=c;var d=0;for(c=0;c<256;c++){var m=l[c];d=(d+m+f.charCodeAt(c))%256,l[c]=l[d],l[d]=m}e=t,i=l}else l=i;var A=n.length,L=0,p=0,T="";for(c=0;c\x80/\f\xA9\xFEdSiz";var o=(n+this.padding).substr(0,32),f=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,f),this.P=-(1+(255^a)),this.encryptionKey=lh(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=hh(this.encryptionKey,this.padding)}function Aa(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",e=t.length,i=0;i126?"#"+("0"+a.toString(16)).slice(-2):t[i]}return n}function Bf(t){if(Ne(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,i,a){if(a=a||!1,typeof e!="string"||typeof i!="function"||typeof a!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(e)||(n[e]={});var o=Math.random().toString(35);return n[e][o]=[i,!!a],o},this.unsubscribe=function(e){for(var i in n)if(n[i][e])return delete n[i][e],Object.keys(n[i]).length===0&&delete n[i],!0;return!1},this.publish=function(e){if(n.hasOwnProperty(e)){var i=Array.prototype.slice.call(arguments,1),a=[];for(var o in n[e]){var f=n[e][o];try{f[0].apply(t,i)}catch(l){Yt.console&&ke.error("jsPDF PubSub Error",l.message,l)}f[1]&&a.push(o)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function Is(t){if(!(this instanceof Is))return new Is(t);var n="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&n.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function nu(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}function Mr(t,n,e,i,a){if(!(this instanceof Mr))return new Mr(t,n,e,i,a);this.type=t==="axial"?2:3,this.coords=n,this.colors=e,nu.call(this,i,a)}function Na(t,n,e,i,a){if(!(this instanceof Na))return new Na(t,n,e,i,a);this.boundingBox=t,this.xStep=n,this.yStep=e,this.stream="",this.cloneIndex=0,nu.call(this,i,a)}function Mt(t){var n,e=typeof arguments[0]=="string"?arguments[0]:"p",i=arguments[1],a=arguments[2],o=arguments[3],f=[],l=1,c=16,d="S",m=null;Ne(t=t||{})==="object"&&(e=t.orientation,i=t.unit||i,a=t.format||a,o=t.compress||t.compressPdf||o,(m=t.encryption||null)!==null&&(m.userPassword=m.userPassword||"",m.ownerPassword=m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),l=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(n=t.precision),t.floatPrecision!==void 0&&(c=t.floatPrecision),d=t.defaultPathOperation||"S"),f=t.filters||(o===!0?["FlateEncode"]:f),i=i||"mm",e=(""+(e||"P")).toLowerCase();var A=t.putOnlyUsedFonts||!1,L={},p={internal:{},__private__:{}};p.__private__.PubSub=Bf;var T="1.3",O=p.__private__.getPdfVersion=function(){return T};p.__private__.setPdfVersion=function(h){T=h};var B={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return B};var k=p.__private__.getPageFormat=function(h){return B[h]};a=a||"a4";var Z="compat",$="advanced",D=Z;function lt(){this.saveGraphicsState(),P(new Vt(ne,0,0,-ne,0,mr()*ne).toString()+" cm"),this.setFontSize(this.getFontSize()/ne),d="n",D=$}function _t(){this.restoreGraphicsState(),d="S",D=Z}var mt=p.__private__.combineFontStyleAndFontWeight=function(h,b){if(h=="bold"&&b=="normal"||h=="bold"&&b==400||h=="normal"&&b=="italic"||h=="bold"&&b=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return b&&(h=b==400||b==="normal"?h==="italic"?"italic":"normal":b!=700&&b!=="bold"||h!=="normal"?(b==700?"bold":b)+""+h:"bold"),h};p.advancedAPI=function(h){var b=D===Z;return b&<.call(this),typeof h!="function"||(h(this),b&&_t.call(this)),this},p.compatAPI=function(h){var b=D===$;return b&&_t.call(this),typeof h!="function"||(h(this),b&<.call(this)),this},p.isAdvancedAPI=function(){return D===$};var tt,z=function(h){if(D!==$)throw new Error(h+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},et=p.roundToPrecision=p.__private__.roundToPrecision=function(h,b){var E=n||b;if(isNaN(h)||isNaN(E))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(E).replace(/0+$/,"")};tt=p.hpf=p.__private__.hpf=typeof c=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return et(h,c)}:c==="smart"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return et(h,h>-1&&h<1?16:5)}:function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return et(h,16)};var N=p.f2=p.__private__.f2=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f2");return et(h,2)},F=p.__private__.f3=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f3");return et(h,3)},U=p.scale=p.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return D===Z?h*ne:D===$?h:void 0},q=function(h){return U((function(b){return D===Z?mr()-b:D===$?b:void 0})(h))};p.__private__.setPrecision=p.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(n=parseInt(h,10))};var it,ft="00000000000000000000000000000000",pt=p.__private__.getFileId=function(){return ft},nt=p.__private__.setFileId=function(h){return ft=h!==void 0&&/^[a-fA-F0-9]{32}$/.test(h)?h.toUpperCase():ft.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),m!==null&&(ln=new xa(m.userPermissions,m.userPassword,m.ownerPassword,ft)),ft};p.setFileId=function(h){return nt(h),this},p.getFileId=function(){return pt()};var ut=p.__private__.convertDateToPDFDate=function(h){var b=h.getTimezoneOffset(),E=b<0?"+":"-",M=Math.floor(Math.abs(b/60)),V=Math.abs(b%60),ot=[E,j(M),"'",j(V),"'"].join("");return["D:",h.getFullYear(),j(h.getMonth()+1),j(h.getDate()),j(h.getHours()),j(h.getMinutes()),j(h.getSeconds()),ot].join("")},At=p.__private__.convertPDFDateToDate=function(h){var b=parseInt(h.substr(2,4),10),E=parseInt(h.substr(6,2),10)-1,M=parseInt(h.substr(8,2),10),V=parseInt(h.substr(10,2),10),ot=parseInt(h.substr(12,2),10),gt=parseInt(h.substr(14,2),10);return new Date(b,E,M,V,ot,gt,0)},yt=p.__private__.setCreationDate=function(h){var b;if(h===void 0&&(h=new Date),h instanceof Date)b=ut(h);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(h))throw new Error("Invalid argument passed to jsPDF.setCreationDate");b=h}return it=b},y=p.__private__.getCreationDate=function(h){var b=it;return h==="jsDate"&&(b=At(it)),b};p.setCreationDate=function(h){return yt(h),this},p.getCreationDate=function(h){return y(h)};var R,j=p.__private__.padd2=function(h){return("0"+parseInt(h)).slice(-2)},G=p.__private__.padd2Hex=function(h){return("00"+(h=h.toString())).substr(h.length)},Y=0,Q=[],rt=[],at=0,dt=[],xt=[],St=!1,kt=rt;p.__private__.setCustomOutputDestination=function(h){St=!0,kt=h};var zt=function(h){St||(kt=h)};p.__private__.resetCustomOutputDestination=function(){St=!1,kt=rt};var P=p.__private__.out=function(h){return h=h.toString(),at+=h.length+1,kt.push(h),kt},Lt=p.__private__.write=function(h){return P(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},ae=p.__private__.getArrayBuffer=function(h){for(var b=h.length,E=new ArrayBuffer(b),M=new Uint8Array(E);b--;)M[b]=h.charCodeAt(b);return E},Ht=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return Ht};var vt=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(h){return vt=D===$?h/ne:h,this};var Wt,Et=p.__private__.getFontSize=p.getFontSize=function(){return D===Z?vt:vt*ne},qt=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(h){return qt=h,this},p.__private__.getR2L=p.getR2L=function(){return qt};var Dt,we=p.__private__.setZoomMode=function(h){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))Wt=h;else if(isNaN(h)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(h)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+h+'" is not recognized.');Wt=h}else Wt=parseInt(h,10)};p.__private__.getZoomMode=function(){return Wt};var he,Jt=p.__private__.setPageMode=function(h){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(h)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+h+'" is not recognized.');Dt=h};p.__private__.getPageMode=function(){return Dt};var fe=p.__private__.setLayoutMode=function(h){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(h)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+h+'" is not recognized.');he=h};p.__private__.getLayoutMode=function(){return he},p.__private__.setDisplayMode=p.setDisplayMode=function(h,b,E){return we(h),fe(b),Jt(E),this};var ce={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(h){if(Object.keys(ce).indexOf(h)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ce[h]},p.__private__.getDocumentProperties=function(){return ce},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(h){for(var b in ce)ce.hasOwnProperty(b)&&h[b]&&(ce[b]=h[b]);return this},p.__private__.setDocumentProperty=function(h,b){if(Object.keys(ce).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ce[h]=b};var Rt,ne,jt,He,ge,oe={},se={},Te=[],Ut={},Pe={},Zt={},Qt={},Re=null,le=0,Gt=[],_e=new Bf(p),cr=t.hotfixes||[],dn={},Si={},li=[],Vt=function h(b,E,M,V,ot,gt){if(!(this instanceof h))return new h(b,E,M,V,ot,gt);isNaN(b)&&(b=1),isNaN(E)&&(E=0),isNaN(M)&&(M=0),isNaN(V)&&(V=1),isNaN(ot)&&(ot=0),isNaN(gt)&&(gt=0),this._matrix=[b,E,M,V,ot,gt]};Object.defineProperty(Vt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Vt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Vt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Vt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Vt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Vt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Vt.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Vt.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Vt.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Vt.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Vt.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Vt.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Vt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Vt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Vt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Vt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Vt.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(tt).join(h)},Vt.prototype.multiply=function(h){var b=h.sx*this.sx+h.shy*this.shx,E=h.sx*this.shy+h.shy*this.sy,M=h.shx*this.sx+h.sy*this.shx,V=h.shx*this.shy+h.sy*this.sy,ot=h.tx*this.sx+h.ty*this.shx+this.tx,gt=h.tx*this.shy+h.ty*this.sy+this.ty;return new Vt(b,E,M,V,ot,gt)},Vt.prototype.decompose=function(){var h=this.sx,b=this.shy,E=this.shx,M=this.sy,V=this.tx,ot=this.ty,gt=Math.sqrt(h*h+b*b),Ft=(h/=gt)*E+(b/=gt)*M;E-=h*Ft,M-=b*Ft;var Ct=Math.sqrt(E*E+M*M);return Ft/=Ct,h*(M/=Ct)>16&255,M=Ct>>8&255,V=255&Ct}if(M===void 0||ot===void 0&&E===M&&M===V)b=typeof E=="string"?E+" "+gt[0]:h.precision===2?N(E/255)+" "+gt[0]:F(E/255)+" "+gt[0];else if(ot===void 0||Ne(ot)==="object"){if(ot&&!isNaN(ot.a)&&ot.a===0)return["1.","1.","1.",gt[1]].join(" ");b=typeof E=="string"?[E,M,V,gt[1]].join(" "):h.precision===2?[N(E/255),N(M/255),N(V/255),gt[1]].join(" "):[F(E/255),F(M/255),F(V/255),gt[1]].join(" ")}else b=typeof E=="string"?[E,M,V,ot,gt[2]].join(" "):h.precision===2?[N(E),N(M),N(V),N(ot),gt[2]].join(" "):[F(E),F(M),F(V),F(ot),gt[2]].join(" ");return b},ti=p.__private__.getFilters=function(){return f},Gn=p.__private__.putStream=function(h){var b=(h=h||{}).data||"",E=h.filters||ti(),M=h.alreadyAppliedFilters||[],V=h.addLength1||!1,ot=b.length,gt=h.objectId,Ft=function(Fe){return Fe};if(m!==null&>===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");m!==null&&(Ft=ln.encryptor(gt,0));var Ct={};E===!0&&(E=["FlateEncode"]);var Kt=h.additionalKeyValues||[],te=(Ct=Mt.API.processDataByFilters!==void 0?Mt.API.processDataByFilters(b,E):{data:b,reverseChain:[]}).reverseChain+(Array.isArray(M)?M.join(" "):M.toString());if(Ct.data.length!==0&&(Kt.push({key:"Length",value:Ct.data.length}),V===!0&&Kt.push({key:"Length1",value:ot})),te.length!=0)if(te.split("/").length-1==1)Kt.push({key:"Filter",value:te});else{Kt.push({key:"Filter",value:"["+te+"]"});for(var de=0;de>"),Ct.data.length!==0&&(P("stream"),P(Ft(Ct.data)),P("endstream"))},ur=p.__private__.putPage=function(h){var b=h.number,E=h.data,M=h.objId,V=h.contentsObjId;sn(M,!0),P("<>"),P("endobj");var ot=E.join(`
+`);return D===$&&(ot+=`
+Q`),sn(V,!0),Gn({data:ot,filters:ti(),objectId:V}),P("endobj"),M},ci=p.__private__.putPages=function(){var h,b,E=[];for(h=1;h<=le;h++)Gt[h].objId=rn(),Gt[h].contentsObjId=rn();for(h=1;h<=le;h++)E.push(ur({number:h,data:xt[h],objId:Gt[h].objId,contentsObjId:Gt[h].contentsObjId,mediaBox:Gt[h].mediaBox,cropBox:Gt[h].cropBox,bleedBox:Gt[h].bleedBox,trimBox:Gt[h].trimBox,artBox:Gt[h].artBox,userUnit:Gt[h].userUnit,rootDictionaryObjId:zi,resourceDictionaryObjId:Jn}));sn(zi,!0),P("<>"),P("endobj"),_e.publish("postPutPages")},dr=function(h){_e.publish("putFont",{font:h,out:P,newObject:De,putStream:Gn}),h.isAlreadyPutted!==!0&&(h.objectNumber=De(),P("<<"),P("/Type /Font"),P("/BaseFont /"+Aa(h.postScriptName)),P("/Subtype /Type1"),typeof h.encoding=="string"&&P("/Encoding /"+h.encoding),P("/FirstChar 32"),P("/LastChar 255"),P(">>"),P("endobj"))},zr=function(h){h.objectNumber=De();var b=[];b.push({key:"Type",value:"/XObject"}),b.push({key:"Subtype",value:"/Form"}),b.push({key:"BBox",value:"["+[tt(h.x),tt(h.y),tt(h.x+h.width),tt(h.y+h.height)].join(" ")+"]"}),b.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var E=h.pages[1].join(`
+`);Gn({data:E,additionalKeyValues:b,objectId:h.objectNumber}),P("endobj")},Hr=function(h,b){b||(b=21);var E=De(),M=(function(gt,Ft){var Ct,Kt=[],te=1/(Ft-1);for(Ct=0;Ct<1;Ct+=te)Kt.push(Ct);if(Kt.push(1),gt[0].offset!=0){var de={offset:0,color:gt[0].color};gt.unshift(de)}if(gt[gt.length-1].offset!=1){var Xe={offset:1,color:gt[gt.length-1].color};gt.push(Xe)}for(var Le="",Ae=0,Fe=0;Fegt[Ae+1].offset;)Ae++;var je=gt[Ae].offset,Me=(Ct-je)/(gt[Ae+1].offset-je),pn=gt[Ae].color,Ti=gt[Ae+1].color;Le+=G(Math.round((1-Me)*pn[0]+Me*Ti[0]).toString(16))+G(Math.round((1-Me)*pn[1]+Me*Ti[1]).toString(16))+G(Math.round((1-Me)*pn[2]+Me*Ti[2]).toString(16))}return Le.trim()})(h.colors,b),V=[];V.push({key:"FunctionType",value:"0"}),V.push({key:"Domain",value:"[0.0 1.0]"}),V.push({key:"Size",value:"["+b+"]"}),V.push({key:"BitsPerSample",value:"8"}),V.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),V.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Gn({data:M,additionalKeyValues:V,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:E}),P("endobj"),h.objectNumber=De(),P("<< /ShadingType "+h.type),P("/ColorSpace /DeviceRGB");var ot="/Coords ["+tt(parseFloat(h.coords[0]))+" "+tt(parseFloat(h.coords[1]))+" ";h.type===2?ot+=tt(parseFloat(h.coords[2]))+" "+tt(parseFloat(h.coords[3])):ot+=tt(parseFloat(h.coords[2]))+" "+tt(parseFloat(h.coords[3]))+" "+tt(parseFloat(h.coords[4]))+" "+tt(parseFloat(h.coords[5])),P(ot+="]"),h.matrix&&P("/Matrix ["+h.matrix.toString()+"]"),P("/Function "+E+" 0 R"),P("/Extend [true true]"),P(">>"),P("endobj")},Wr=function(h,b){var E=rn(),M=De();b.push({resourcesOid:E,objectOid:M}),h.objectNumber=M;var V=[];V.push({key:"Type",value:"/Pattern"}),V.push({key:"PatternType",value:"1"}),V.push({key:"PaintType",value:"1"}),V.push({key:"TilingType",value:"1"}),V.push({key:"BBox",value:"["+h.boundingBox.map(tt).join(" ")+"]"}),V.push({key:"XStep",value:tt(h.xStep)}),V.push({key:"YStep",value:tt(h.yStep)}),V.push({key:"Resources",value:E+" 0 R"}),h.matrix&&V.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),Gn({data:h.stream,additionalKeyValues:V,objectId:h.objectNumber}),P("endobj")},Os=function(h){for(var b in h.objectNumber=De(),P("<<"),h)switch(b){case"opacity":P("/ca "+N(h[b]));break;case"stroke-opacity":P("/CA "+N(h[b]))}P(">>"),P("endobj")},Ea=function(h){sn(h.resourcesOid,!0),P("<<"),P("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var b in P("/Font <<"),oe)oe.hasOwnProperty(b)&&(A===!1||A===!0&&L.hasOwnProperty(b))&&P("/"+b+" "+oe[b].objectNumber+" 0 R");P(">>")})(),(function(){if(Object.keys(Ut).length>0){for(var b in P("/Shading <<"),Ut)Ut.hasOwnProperty(b)&&Ut[b]instanceof Mr&&Ut[b].objectNumber>=0&&P("/"+b+" "+Ut[b].objectNumber+" 0 R");_e.publish("putShadingPatternDict"),P(">>")}})(),(function(b){if(Object.keys(Ut).length>0){for(var E in P("/Pattern <<"),Ut)Ut.hasOwnProperty(E)&&Ut[E]instanceof p.TilingPattern&&Ut[E].objectNumber>=0&&Ut[E].objectNumber>")}})(h.objectOid),(function(){if(Object.keys(Zt).length>0){var b;for(b in P("/ExtGState <<"),Zt)Zt.hasOwnProperty(b)&&Zt[b].objectNumber>=0&&P("/"+b+" "+Zt[b].objectNumber+" 0 R");_e.publish("putGStateDict"),P(">>")}})(),(function(){for(var b in P("/XObject <<"),dn)dn.hasOwnProperty(b)&&dn[b].objectNumber>=0&&P("/"+b+" "+dn[b].objectNumber+" 0 R");_e.publish("putXobjectDict"),P(">>")})(),P(">>"),P("endobj")},_o=function(h){se[h.fontName]=se[h.fontName]||{},se[h.fontName][h.fontStyle]=h.id},yo=function(h,b,E,M,V){var ot={id:"F"+(Object.keys(oe).length+1).toString(10),postScriptName:h,fontName:b,fontStyle:E,encoding:M,isStandardFont:V||!1,metadata:{}};return _e.publish("addFont",{font:ot,instance:this}),oe[ot.id]=ot,_o(ot),ot.id},Vn=p.__private__.pdfEscape=p.pdfEscape=function(h,b){return(function(E,M){var V,ot,gt,Ft,Ct,Kt,te,de,Xe;if(gt=(M=M||{}).sourceEncoding||"Unicode",Ct=M.outputEncoding,(M.autoencode||Ct)&&oe[Rt].metadata&&oe[Rt].metadata[gt]&&oe[Rt].metadata[gt].encoding&&(Ft=oe[Rt].metadata[gt].encoding,!Ct&&oe[Rt].encoding&&(Ct=oe[Rt].encoding),!Ct&&Ft.codePages&&(Ct=Ft.codePages[0]),typeof Ct=="string"&&(Ct=Ft[Ct]),Ct)){for(te=!1,Kt=[],V=0,ot=E.length;V>8&&(te=!0);E=Kt.join("")}for(V=E.length;te===void 0&&V!==0;)E.charCodeAt(V-1)>>8&&(te=!0),V--;if(!te)return E;for(Kt=M.noBOM?[]:[254,255],V=0,ot=E.length;V>8)>>8)throw new Error("Character at position "+V+" of string '"+E+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Kt.push(Xe),Kt.push(de-(Xe<<8))}return String.fromCharCode.apply(void 0,Kt)})(h,b).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ia=p.__private__.beginPage=function(h){xt[++le]=[],Gt[le]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(h[0]),topRightY:Number(h[1])}},Ao(le),zt(xt[R])},xo=function(h,b){var E,M,V;switch(e=b||e,typeof h=="string"&&(E=k(h.toLowerCase()),Array.isArray(E)&&(M=E[0],V=E[1])),Array.isArray(h)&&(M=h[0]*ne,V=h[1]*ne),isNaN(M)&&(M=a[0],V=a[1]),(M>14400||V>14400)&&(ke.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),M=Math.min(14400,M),V=Math.min(14400,V)),a=[M,V],e.substr(0,1)){case"l":V>M&&(a=[V,M]);break;case"p":M>V&&(a=[V,M])}Ia(a),Hs($t),P(Kr),Ra!==0&&P(Ra+" J"),Gi!==0&&P(Gi+" j"),_e.publish("addPage",{pageNumber:le})},Ca=function(h){h>0&&h<=le&&(xt.splice(h,1),Gt.splice(h,1),le--,R>le&&(R=le),this.setPage(R))},Ao=function(h){h>0&&h<=le&&(R=h)},No=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return xt.length-1},Lo=function(h,b,E){var M,V=void 0;return E=E||{},h=h!==void 0?h:oe[Rt].fontName,b=b!==void 0?b:oe[Rt].fontStyle,M=h.toLowerCase(),se[M]!==void 0&&se[M][b]!==void 0?V=se[M][b]:se[h]!==void 0&&se[h][b]!==void 0?V=se[h][b]:E.disableWarning===!1&&ke.warn("Unable to look up font label for font '"+h+"', '"+b+"'. Refer to getFontList() for available fonts."),V||E.noFallback||(V=se.times[b])==null&&(V=se.times.normal),V},fi=p.__private__.putInfo=function(){var h=De(),b=function(M){return M};for(var E in m!==null&&(b=ln.encryptor(h,0)),P("<<"),P("/Producer ("+Vn(b("jsPDF "+Mt.version))+")"),ce)ce.hasOwnProperty(E)&&ce[E]&&P("/"+E.substr(0,1).toUpperCase()+E.substr(1)+" ("+Vn(b(ce[E]))+")");P("/CreationDate ("+Vn(b(it))+")"),P(">>"),P("endobj")},Gr=p.__private__.putCatalog=function(h){var b=(h=h||{}).rootDictionaryObjId||zi;switch(De(),P("<<"),P("/Type /Catalog"),P("/Pages "+b+" 0 R"),Wt||(Wt="fullwidth"),Wt){case"fullwidth":P("/OpenAction [3 0 R /FitH null]");break;case"fullheight":P("/OpenAction [3 0 R /FitV null]");break;case"fullpage":P("/OpenAction [3 0 R /Fit]");break;case"original":P("/OpenAction [3 0 R /XYZ null null 1]");break;default:var E=""+Wt;E.substr(E.length-1)==="%"&&(Wt=parseInt(Wt)/100),typeof Wt=="number"&&P("/OpenAction [3 0 R /XYZ null null "+N(Wt)+"]")}switch(he||(he="continuous"),he){case"continuous":P("/PageLayout /OneColumn");break;case"single":P("/PageLayout /SinglePage");break;case"two":case"twoleft":P("/PageLayout /TwoColumnLeft");break;case"tworight":P("/PageLayout /TwoColumnRight")}Dt&&P("/PageMode /"+Dt),_e.publish("putCatalog"),P(">>"),P("endobj")},Ts=p.__private__.putTrailer=function(){P("trailer"),P("<<"),P("/Size "+(Y+1)),P("/Root "+Y+" 0 R"),P("/Info "+(Y-1)+" 0 R"),m!==null&&P("/Encrypt "+ln.oid+" 0 R"),P("/ID [ <"+ft+"> <"+ft+"> ]"),P(">>")},Ke=p.__private__.putHeader=function(){P("%PDF-"+T),P("%\xBA\xDF\xAC\xE0")},So=p.__private__.putXRef=function(){var h="0000000000";P("xref"),P("0 "+(Y+1)),P("0000000000 65535 f ");for(var b=1;b<=Y;b++)typeof Q[b]=="function"?P((h+Q[b]()).slice(-10)+" 00000 n "):Q[b]!==void 0?P((h+Q[b]).slice(-10)+" 00000 n "):P("0000000000 00000 n ")},ui=p.__private__.buildDocument=function(){var h;Y=0,at=0,rt=[],Q=[],dt=[],zi=rn(),Jn=rn(),zt(rt),_e.publish("buildDocument"),Ke(),ci(),(function(){_e.publish("putAdditionalObjects");for(var E=0;E"),P("/O <"+ln.toHexString(ln.O)+">"),P("/P "+ln.P),P(">>"),P("endobj")),fi(),Gr();var b=at;return So(),Ts(),P("startxref"),P(""+b),P("%%EOF"),zt(xt[R]),rt.join(`
+`)},Vr=p.__private__.getBlob=function(h){return new Blob([ae(h)],{type:"application/pdf"})},Fa=function(h){for(;h.firstChild;)h.removeChild(h.firstChild)},Tn=function(h){var b,E=h.document,M=E.documentElement,V=E.head,ot=E.body;return V||(V=E.createElement("head"),M.appendChild(V)),ot||(ot=E.createElement("body"),M.appendChild(ot)),Fa(V),Fa(ot),(b=E.createElement("style")).appendChild(E.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),V.appendChild(b),{document:E,body:ot}},Zr=p.output=p.__private__.output=(Wn=function(h,b){switch(typeof(b=b||{})=="string"?b={filename:b}:b.filename=b.filename||"generated.pdf",h){case void 0:return ui();case"save":p.save(b.filename);break;case"arraybuffer":return ae(ui());case"blob":return Vr(ui());case"bloburi":case"bloburl":if(Yt.URL!==void 0&&typeof Yt.URL.createObjectURL=="function")return Yt.URL&&Yt.URL.createObjectURL(Vr(ui()))||void 0;ke.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var E="",M=ui();try{E=Of(M)}catch{E=Of(unescape(encodeURIComponent(M)))}return"data:application/pdf;filename="+encodeURIComponent(b.filename)+";base64,"+E;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Yt)==="[object Window]"){var V="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ot=!b.pdfObjectUrl;ot||(V=b.pdfObjectUrl);var gt=Yt.open();if(gt!==null){var Ft=Tn(gt),Ct=Ft.document.createElement("script"),Kt=this;Ct.src=V,ot&&(Ct.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",Ct.crossOrigin="anonymous"),Ct.onload=function(){gt.PDFObject.embed(Kt.output("dataurlstring"),b)},Ft.body.appendChild(Ct)}return gt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Yt)==="[object Window]"){var te=b.pdfJsUrl||"examples/PDF.js/web/viewer.html",de=Yt.open();if(de!==null){var Xe=Tn(de),Le=Xe.document.createElement("iframe"),Ae=te.indexOf("?")===-1?"?":"&";Kt=this,Le.id="pdfViewer",Le.width="500px",Le.height="400px",Le.src=te+Ae+"file=&downloadName="+encodeURIComponent(b.filename),Le.onload=function(){de.document.title=b.filename,Le.contentWindow.PDFViewerApplication.open(Kt.output("bloburl"))},Xe.body.appendChild(Le)}return de}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Yt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Fe=Yt.open();if(Fe!==null){var je=Tn(Fe),Me=je.document.createElement("iframe");Me.src=this.output("datauristring",b),je.body.appendChild(Me),Fe.document.title=b.filename}if(Fe||typeof safari>"u")return Fe;break;case"datauri":case"dataurl":return Yt.document.location.href=this.output("datauristring",b);default:return null}},Wn.foo=function(){try{return Wn.apply(this,arguments)}catch(E){var h=E.stack||"";~h.indexOf(" at ")&&(h=h.split(" at ")[1]);var b="Error in function "+h.split(`
+`)[0].split("<")[0]+": "+E.message;if(!Yt.console)throw new Error(b);Yt.console.error(b,E),Yt.alert&&alert(b)}},Wn.foo.bar=Wn,Wn.foo),Ei=function(h){return Array.isArray(cr)===!0&&cr.indexOf(h)>-1};switch(i){case"pt":ne=1;break;case"mm":ne=72/25.4;break;case"cm":ne=72/2.54;break;case"in":ne=72;break;case"px":ne=Ei("px_scaling")==1?.75:96/72;break;case"pc":case"em":ne=12;break;case"ex":ne=6;break;default:if(typeof i!="number")throw new Error("Invalid unit: "+i);ne=i}var ln=null;yt(),nt();var ko=p.__private__.getPageInfo=p.getPageInfo=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Gt[h].objId,pageNumber:h,pageContext:Gt[h]}},Rs=p.__private__.getPageInfoByObjId=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var b in Gt)if(Gt[b].objId===h)break;return ko(b)},Bs=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Gt[R].objId,pageNumber:R,pageContext:Gt[R]}};p.addPage=function(){return xo.apply(this,arguments),this},p.setPage=function(){return Ao.apply(this,arguments),zt.call(this,xt[R]),this},p.insertPage=function(h){return this.addPage(),this.movePage(R,h),this},p.movePage=function(h,b){var E,M;if(h>b){E=xt[h],M=Gt[h];for(var V=h;V>b;V--)xt[V]=xt[V-1],Gt[V]=Gt[V-1];xt[b]=E,Gt[b]=M,this.setPage(b)}else if(h0&&(typeof h=="string"?h=Ae.splitTextToSize(h,te):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(Ee,Ie){return Ee.concat(Ae.splitTextToSize(Ie,te))},[]))),ot={text:h,x:b,y:E,options:M,mutex:{pdfEscape:Vn,activeFontKey:Rt,fonts:oe,activeFontSize:vt}},_e.publish("preProcessText",ot),h=ot.text,Ft=(M=ot.options).angle,Le instanceof Vt==0&&Ft&&typeof Ft=="number"){Ft*=Math.PI/180,M.rotationDirection===0&&(Ft=-Ft),D===$&&(Ft=-Ft);var Ua=Math.cos(Ft),gi=Math.sin(Ft);Le=new Vt(Ua,gi,-gi,Ua,0,0)}else Ft&&Ft instanceof Vt&&(Le=Ft);D!==$||Le||(Le=Pi),(Kt=M.charSpace||Xr)!==void 0&&(Me+=tt(U(Kt))+` Tc
+`,this.setCharSpace(this.getCharSpace()||0)),(Xe=M.horizontalScale)!==void 0&&(Me+=tt(100*Xe)+` Tz
+`),M.lang;var xn=-1,Ro=M.renderingMode!==void 0?M.renderingMode:M.stroke,na=Ae.internal.getCurrentPageInfo().pageContext;switch(Ro){case 0:case!1:case"fill":xn=0;break;case 1:case!0:case"stroke":xn=1;break;case 2:case"fillThenStroke":xn=2;break;case 3:case"invisible":xn=3;break;case 4:case"fillAndAddForClipping":xn=4;break;case 5:case"strokeAndAddPathForClipping":xn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":xn=6;break;case 7:case"addToPathForClipping":xn=7}var Bo=na.usedRenderingMode!==void 0?na.usedRenderingMode:-1;xn!==-1?Me+=xn+` Tr
+`:Bo!==-1&&(Me+=`0 Tr
+`),xn!==-1&&(na.usedRenderingMode=xn),Ct=M.align||"left";var Zn,xr=vt*pn,qa=Ae.internal.pageSize.getWidth(),ia=oe[Rt];Kt=M.charSpace||Xr,te=M.maxWidth||0,de=Object.assign({autoencode:!0,noBOM:!0},M.flags);var Ar=[],za=function(Ee){return Ae.getStringUnitWidth(Ee,{font:ia,charSpace:Kt,fontSize:vt,doKerning:!1})*vt/Ti};if(Object.prototype.toString.call(h)==="[object Array]"){var An;gt=br(h),Ct!=="left"&&(Zn=gt.map(za));var En,ra=0;if(Ct==="right"){b-=Zn[0],h=[],gn=gt.length;for(var Zi=0;Zi0?(te-Zn[Je])/Ha:0;Je":")"),Sr=parseFloat(gt[mn][1]),kr=parseFloat(gt[mn][2]);break;case 0:Yi=(je?"<":"(")+gt[mn]+(je?">":")"),Sr=Ii(b),kr=Ci(E)}Ar!==void 0&&Ar[mn]!==void 0&&(Ki=Ar[mn]+` Tw
+`),mn===0?h.push(Ki+sa(Sr,kr,Le)+Yi):Ri===0?h.push(Ki+Yi):Ri===1&&h.push(Ki+sa(Sr,kr,Le)+Yi)}h=Ri===0?h.join(` Tj
+T* `):h.join(` Tj
+`),h+=` Tj
+`;var bi=`BT
+/`;return bi+=Rt+" "+vt+` Tf
+`,bi+=tt(vt*pn)+` TL
+`,bi+=pi+`
+`,bi+=Me,bi+=h,P(bi+="ET"),L[Rt]=!0,Ae};var js=p.__private__.clip=p.clip=function(h){return P(h==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return js("evenodd")},p.__private__.discardPath=p.discardPath=function(){return P("n"),this};var di=p.__private__.isValidStyle=function(h){var b=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(h)!==-1&&(b=!0),b};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(h){return di(h)&&(d=h),this};var Po=p.__private__.getStyle=p.getStyle=function(h){var b=d;switch(h){case"D":case"S":b="S";break;case"F":b="f";break;case"FD":case"DF":b="B";break;case"f":case"f*":case"B":case"B*":b=h}return b},$r=p.close=function(){return P("h"),this};p.stroke=function(){return P("S"),this},p.fill=function(h){return Yr("f",h),this},p.fillEvenOdd=function(h){return Yr("f*",h),this},p.fillStroke=function(h){return Yr("B",h),this},p.fillStrokeEvenOdd=function(h){return Yr("B*",h),this};var Yr=function(h,b){Ne(b)==="object"?Ds(b,h):P(h)},Oa=function(h){h===null||D===$&&h===void 0||(h=Po(h),P(h))};function Ms(h,b,E,M,V){var ot=new Na(b||this.boundingBox,E||this.xStep,M||this.yStep,this.gState,V||this.matrix);ot.stream=this.stream;var gt=h+"$$"+this.cloneIndex+++"$$";return Hn(gt,ot),ot}var Ds=function(h,b){var E=Pe[h.key],M=Ut[E];if(M instanceof Mr)P("q"),P(Us(b)),M.gState&&p.setGState(M.gState),P(h.matrix.toString()+" cm"),P("/"+E+" sh"),P("Q");else if(M instanceof Na){var V=new Vt(1,0,0,-1,0,mr());h.matrix&&(V=V.multiply(h.matrix||Pi),E=Ms.call(M,h.key,h.boundingBox,h.xStep,h.yStep,V).id),P("q"),P("/Pattern cs"),P("/"+E+" scn"),M.gState&&p.setGState(M.gState),P(b),P("Q")}},Us=function(h){switch(h){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Hi=p.moveTo=function(h,b){return P(tt(U(h))+" "+tt(q(b))+" m"),this},Eo=p.lineTo=function(h,b){return P(tt(U(h))+" "+tt(q(b))+" l"),this},Wi=p.curveTo=function(h,b,E,M,V,ot){return P([tt(U(h)),tt(q(b)),tt(U(E)),tt(q(M)),tt(U(V)),tt(q(ot)),"c"].join(" ")),this};p.__private__.line=p.line=function(h,b,E,M,V){if(isNaN(h)||isNaN(b)||isNaN(E)||isNaN(M)||!di(V))throw new Error("Invalid arguments passed to jsPDF.line");return D===Z?this.lines([[E-h,M-b]],h,b,[1,1],V||"S"):this.lines([[E-h,M-b]],h,b,[1,1]).stroke()},p.__private__.lines=p.lines=function(h,b,E,M,V,ot){var gt,Ft,Ct,Kt,te,de,Xe,Le,Ae,Fe,je,Me;if(typeof h=="number"&&(Me=E,E=b,b=h,h=Me),M=M||[1,1],ot=ot||!1,isNaN(b)||isNaN(E)||!Array.isArray(h)||!Array.isArray(M)||!di(V)||typeof ot!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Hi(b,E),gt=M[0],Ft=M[1],Kt=h.length,Fe=b,je=E,Ct=0;Ct>8&255,t>>16&255,t>>24&255)},xa.prototype.toHexString=function(t){return t.split("").map(function(n){return("0"+(255&n.charCodeAt(0)).toString(16)).slice(-2)}).join("")},xa.prototype.hexToBytes=function(t){for(var n=[],e=0;e>8&255,t>>16&255,255&n,n>>8&255)).substr(0,10);return function(i){return hh(e,i)}},Is.prototype.equals=function(t){var n,e="id,objectNumber,equals";if(!t||Ne(t)!==Ne(this))return!1;var i=0;for(n in this)if(!(e.indexOf(n)>=0)){if(this.hasOwnProperty(n)&&!t.hasOwnProperty(n)||this[n]!==t[n])return!1;i++}for(n in t)t.hasOwnProperty(n)&&e.indexOf(n)<0&&i--;return i===0},Mt.API={events:[]},Mt.version="4.2.1";var ze=Mt.API,uh=1,qr=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},_a=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ur=function(t){return t.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(n){var e=n.charCodeAt(0).toString(16).toUpperCase();return"#"+(e.length===1?"0"+e:e)})},Xt=function(t){return t.toFixed(2)},sr=function(t){return t.toFixed(5)};ze.__acroform__={};var On=function(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t},jf=function(t){return t*uh},Ai=function(t){var n=new ru,e=It.internal.getHeight(t)||0,i=It.internal.getWidth(t)||0;return n.BBox=[0,0,Number(Xt(i)),Number(Xt(e))],n},n5=ze.__acroform__.setBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<0;){n="",o--;var d,m,A=As("3",t,o).height,L=t.multiline?f-o:(f-A)/2,p=L+=2,T=0,O=0,B=0;if(o<=0){n=`(...) Tj
+`,n+="% Width of Text: "+As(n,t,o=12).width+", FieldWidth:"+l+`
+`;break}for(var k="",Z=0,$=0;$f)continue t;k+=a[$][B],D=!0,O=$,$--}else{k=(k+=a[$][B]+" ").substr(k.length-1)==" "?k.substr(0,k.length-1):k;var lt=parseInt($),_t=c(lt,k,o),mt=$>=a.length-1;if(_t&&!mt){k+=" ",B=0;continue}if(_t||mt){if(mt)O=lt;else if(t.multiline&&(A+2)*(Z+2)+2>f)continue t}else{if(!t.multiline||(A+2)*(Z+2)+2>f)continue t;O=lt}}for(var tt="",z=T;z<=O;z++){var et=a[z];if(t.multiline){if(z===O){tt+=et[B]+" ",B=(B+1)%et.length;continue}if(z===T){tt+=et[et.length-1]+" ";continue}}tt+=et[0]+" "}switch(tt=tt.substr(tt.length-1)==" "?tt.substr(0,tt.length-1):tt,m=As(tt,t,o).width,t.textAlign){case"right":d=l-m-2;break;case"center":d=(l-m)/2;break;default:d=2}n+=Xt(d)+" "+Xt(p)+` Td
+`,n+="("+qr(tt)+`) Tj
+`,n+=-Xt(d)+` 0 Td
+`,p=-(o+2),m=0,T=D?O:O+1,Z++,k=""}break}return i.text=n,i.fontSize=o,i},As=function(t,n,e){var i=n.scope.internal.getFont(n.fontName,n.fontStyle),a=n.scope.getStringUnitWidth(t,{font:i,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:n.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:a}},s5={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},l5=function(t,n){var e={type:"reference",object:t};n.internal.getPageInfo(t.page).pageContext.annotations.find(function(i){return i.type===e.type&&i.object===e.object})===void 0&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},h5=function(t,n){if(n.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(oi.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(s5)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");uh=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new au,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var i=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var a in i)if(i.hasOwnProperty(a)){var o=i[a];o.objId=void 0,o.hasAnnotation&&l5(o,e)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(e){(function(i,a){var o=!i;for(var f in i||(a.internal.newObjectDeferredBegin(a.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),a.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),i=i||a.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(i.hasOwnProperty(f)){var l=i[f],c=[],d=l.Rect;if(l.Rect&&(l.Rect=a5(l.Rect,a)),a.internal.newObjectDeferredBegin(l.objId,!0),l.DA=It.createDefaultAppearanceStream(l),Ne(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(c=l.getKeyValueListForStream()),l.Rect=d,l.hasAppearanceStream&&!l.appearanceStreamContent){var m=o5(l);c.push({key:"AP",value:"<>"}),a.internal.acroformPlugin.xForms.push(m)}if(l.appearanceStreamContent){var A="";for(var L in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(L)){var p=l.appearanceStreamContent[L];if(A+="/"+L+" ",A+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var f in p)if(p.hasOwnProperty(f)){var T=p[f];typeof T=="function"&&(T=T.call(a,l)),A+="/"+f+" "+T+" ",a.internal.acroformPlugin.xForms.indexOf(T)>=0||a.internal.acroformPlugin.xForms.push(T)}}else typeof(T=p)=="function"&&(T=T.call(a,l)),A+="/"+f+" "+T,a.internal.acroformPlugin.xForms.indexOf(T)>=0||a.internal.acroformPlugin.xForms.push(T);A+=">>"}c.push({key:"AP",value:`<<
+`+A+">>"})}a.internal.putStream({additionalKeyValues:c,objectId:l.objId}),a.internal.out("endobj")}o&&(function(O,B){for(var k in O)if(O.hasOwnProperty(k)){var Z=k,$=O[k];B.internal.newObjectDeferredBegin($.objId,!0),Ne($)==="object"&&typeof $.putStream=="function"&&$.putStream(),delete O[Z]}})(a.internal.acroformPlugin.xForms,a)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},iu=ze.__acroform__.arrayToPdfArray=function(t,n,e){var i=function(f){return f};if(Array.isArray(t)){for(var a="[",o=0;o0?n:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return n}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(i){return i};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+qr(e(t))+")"}},set:function(e){t=e}})};On(au,Ni);var oi=function t(){Ni.call(this);var n=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return n},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute F supplied.');n=k}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Ze(n,3)},set:function(k){k?this.F=$e(n,3):this.F=Ye(n,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute Ff supplied.');e=k}});var i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(i.length!==0)return i},set:function(k){i=k!==void 0?k:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(k){i[0]=k}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(k){i[1]=k}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(k){i[2]=k}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(k){i[3]=k}});var a="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return a},set:function(k){switch(k){case"/Btn":case"/Tx":case"/Ch":case"/Sig":a=k;break;default:throw new Error('Invalid value "'+k+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof Cs)return;o="FieldObject"+t.FieldNum++}var k=function(Z){return Z};return this.scope&&(k=this.scope.internal.getEncryptor(this.objId)),"("+qr(k(o))+")"},set:function(k){o=k.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(k){o=k}});var f="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return f},set:function(k){f=k}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(k){l=k}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(k){c=k}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/uh:d},set:function(k){d=k}});var m="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return m},set:function(k){m=k}});var A="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!A||this instanceof Cs||this instanceof Dr))return ih(A,this.objId,this.scope)},set:function(k){k=k.toString(),A=k}});var L=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(L)return this instanceof on==0?ih(L,this.objId,this.scope):L},set:function(k){k=k.toString(),L=this instanceof on==0?k.substr(0,1)==="("?_a(k.substr(1,k.length-2)):_a(k):k}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof on==1?_a(L.substr(1,L.length-1)):L},set:function(k){k=k.toString(),L=this instanceof on==1?"/"+Ur(k):k}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(k){this.V=k}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof on==0?ih(p,this.objId,this.scope):p},set:function(k){k=k.toString(),p=this instanceof on==0?k.substr(0,1)==="("?_a(k.substr(1,k.length-2)):_a(k):k}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof on==1?_a(p.substr(1,p.length-1)):p},set:function(k){k=k.toString(),p=this instanceof on==1?"/"+Ur(k):k}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var T,O=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return O},set:function(k){k=!!k,O=k}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(T)return T},set:function(k){T=k}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,1)},set:function(k){k?this.Ff=$e(this.Ff,1):this.Ff=Ye(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,2)},set:function(k){k?this.Ff=$e(this.Ff,2):this.Ff=Ye(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,3)},set:function(k){k?this.Ff=$e(this.Ff,3):this.Ff=Ye(this.Ff,3)}});var B=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(B!==null)return B},set:function(k){if([0,1,2].indexOf(k)===-1)throw new Error('Invalid value "'+k+'" for attribute Q supplied.');B=k}}),Object.defineProperty(this,"textAlign",{get:function(){var k;switch(B){case 0:default:k="left";break;case 1:k="center";break;case 2:k="right"}return k},configurable:!0,enumerable:!0,set:function(k){switch(k){case"right":case 2:B=2;break;case"center":case 1:B=1;break;default:B=0}}})};On(oi,Ni);var La=function(){oi.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var n=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return iu(n,this.objId,this.scope)},set:function(e){var i,a;a=[],typeof(i=e)=="string"&&(a=(function(o,f,l){l||(l=1);for(var c,d=[];c=f.exec(o);)d.push(c[l]);return d})(i,/\((.*?)\)/g)),n=a}}),this.getOptions=function(){return n},this.setOptions=function(e){n=e,this.sort&&n.sort()},this.addOption=function(e){e=(e=e||"").toString(),n.push(e),this.sort&&n.sort()},this.removeOption=function(e,i){for(i=i||!1,e=(e=e||"").toString();n.indexOf(e)!==-1&&(n.splice(n.indexOf(e),1),i!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,18)},set:function(e){e?this.Ff=$e(this.Ff,18):this.Ff=Ye(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=$e(this.Ff,19):this.Ff=Ye(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,20)},set:function(e){e?(this.Ff=$e(this.Ff,20),n.sort()):this.Ff=Ye(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,22)},set:function(e){e?this.Ff=$e(this.Ff,22):this.Ff=Ye(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,23)},set:function(e){e?this.Ff=$e(this.Ff,23):this.Ff=Ye(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,27)},set:function(e){e?this.Ff=$e(this.Ff,27):this.Ff=Ye(this.Ff,27)}}),this.hasAppearanceStream=!1};On(La,oi);var Sa=function(){La.call(this),this.fontName="helvetica",this.combo=!1};On(Sa,La);var ka=function(){Sa.call(this),this.combo=!0};On(ka,Sa);var Ss=function(){ka.call(this),this.edit=!0};On(Ss,ka);var on=function(){oi.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,15)},set:function(e){e?this.Ff=$e(this.Ff,15):this.Ff=Ye(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,16)},set:function(e){e?this.Ff=$e(this.Ff,16):this.Ff=Ye(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,17)},set:function(e){e?this.Ff=$e(this.Ff,17):this.Ff=Ye(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,26)},set:function(e){e?this.Ff=$e(this.Ff,26):this.Ff=Ye(this.Ff,26)}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(o){return o};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(n).length!==0){var i,a=[];for(i in a.push("<<"),n)a.push("/"+i+" ("+qr(e(n[i]))+")");return a.push(">>"),a.join(`
+`)}},set:function(e){Ne(e)==="object"&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){typeof e=="string"&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){var i=e==null?"":e.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),t="/"+Ur(i)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+Ur(e)}})};On(on,oi);var ks=function(){on.call(this),this.pushButton=!0};On(ks,on);var Pa=function(){on.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n!==void 0?n:[]}})};On(Pa,on);var Cs=function(){var t,n;oi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(a){t=a}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(a){n=a}});var e,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var a=function(l){return l};this.scope&&(a=this.scope.internal.getEncryptor(this.objId));var o,f=[];for(o in f.push("<<"),i)f.push("/"+o+" ("+qr(a(i[o]))+")");return f.push(">>"),f.join(`
+`)},set:function(a){Ne(a)==="object"&&(i=a)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(a){typeof a=="string"&&(i.CA=a)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(a){var o=a==null?"":a.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),e="/"+Ur(o)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(a){var o=a==null?"":a.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),e="/"+Ur(o)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=It.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};On(Cs,oi),Pa.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var n in this.Kids)if(this.Kids.hasOwnProperty(n)){var e=this.Kids[n];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},Pa.prototype.createOption=function(t){var n=new Cs;return n.Parent=this,n.optionName=t,this.Kids.push(n),c5.call(this.scope,n),n};var Ps=function(){on.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=It.CheckBox.createAppearanceStream()};On(Ps,on);var Dr=function(){oi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,13)},set:function(n){n?this.Ff=$e(this.Ff,13):this.Ff=Ye(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,21)},set:function(n){n?this.Ff=$e(this.Ff,21):this.Ff=Ye(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,23)},set:function(n){n?this.Ff=$e(this.Ff,23):this.Ff=Ye(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,24)},set:function(n){n?this.Ff=$e(this.Ff,24):this.Ff=Ye(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,25)},set:function(n){n?this.Ff=$e(this.Ff,25):this.Ff=Ye(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,26)},set:function(n){n?this.Ff=$e(this.Ff,26):this.Ff=Ye(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(n){Number.isInteger(n)&&(t=n)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};On(Dr,oi);var Es=function(){Dr.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,14)},set:function(t){t?this.Ff=$e(this.Ff,14):this.Ff=Ye(this.Ff,14)}}),this.password=!0};On(Es,Dr);var It={CheckBox:{createAppearanceStream:function(){return{N:{On:It.CheckBox.YesNormal},D:{On:It.CheckBox.YesPushDown,Off:It.CheckBox.OffPushDown}}},YesPushDown:function(t){var n=Ai(t);n.scope=t.scope;var e=[],i=t.scope.internal.getFont(t.fontName,t.fontStyle).id,a=t.scope.__private__.encodeColorString(t.color),o=ch(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+Xt(It.internal.getWidth(t))+" "+Xt(It.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+i+" "+Xt(o.fontSize)+" Tf "+a),e.push("BT"),e.push(o.text),e.push("ET"),e.push("Q"),e.push("EMC"),n.stream=e.join(`
+`),n},YesNormal:function(t){var n=Ai(t);n.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),a=[],o=It.internal.getHeight(t),f=It.internal.getWidth(t),l=ch(t,t.caption);return a.push("1 g"),a.push("0 0 "+Xt(f)+" "+Xt(o)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+Xt(f-1)+" "+Xt(o-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+e+" "+Xt(l.fontSize)+" Tf "+i),a.push(l.text),a.push("ET"),a.push("Q"),n.stream=a.join(`
+`),n},OffPushDown:function(t){var n=Ai(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Xt(It.internal.getWidth(t))+" "+Xt(It.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
+`),n}},RadioButton:{Circle:{createAppearanceStream:function(t){var n={D:{Off:It.RadioButton.Circle.OffPushDown},N:{}};return n.N[t]=It.RadioButton.Circle.YesNormal,n.D[t]=It.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(t){var n=Ai(t);n.scope=t.scope;var e=[],i=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var a=It.internal.Bezier_C,o=Number((i*a).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+sr(It.internal.getWidth(t)/2)+" "+sr(It.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),e.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),e.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),e.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
+`),n},YesPushDown:function(t){var n=Ai(t);n.scope=t.scope;var e=[],i=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var a=Number((2*i).toFixed(5)),o=Number((a*It.internal.Bezier_C).toFixed(5)),f=Number((i*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+sr(It.internal.getWidth(t)/2)+" "+sr(It.internal.getHeight(t)/2)+" cm"),e.push(a+" 0 m"),e.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),e.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),e.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),e.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+sr(It.internal.getWidth(t)/2)+" "+sr(It.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+f+" "+f+" "+i+" 0 "+i+" c"),e.push("-"+f+" "+i+" -"+i+" "+f+" -"+i+" 0 c"),e.push("-"+i+" -"+f+" -"+f+" -"+i+" 0 -"+i+" c"),e.push(f+" -"+i+" "+i+" -"+f+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
+`),n},OffPushDown:function(t){var n=Ai(t);n.scope=t.scope;var e=[],i=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var a=Number((2*i).toFixed(5)),o=Number((a*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+sr(It.internal.getWidth(t)/2)+" "+sr(It.internal.getHeight(t)/2)+" cm"),e.push(a+" 0 m"),e.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),e.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),e.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),e.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
+`),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:It.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=It.RadioButton.Cross.YesNormal,n.D[t]=It.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=Ai(t);n.scope=t.scope;var e=[],i=It.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+Xt(It.internal.getWidth(t)-2)+" "+Xt(It.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(Xt(i.x1.x)+" "+Xt(i.x1.y)+" m"),e.push(Xt(i.x2.x)+" "+Xt(i.x2.y)+" l"),e.push(Xt(i.x4.x)+" "+Xt(i.x4.y)+" m"),e.push(Xt(i.x3.x)+" "+Xt(i.x3.y)+" l"),e.push("s"),e.push("Q"),n.stream=e.join(`
+`),n},YesPushDown:function(t){var n=Ai(t);n.scope=t.scope;var e=It.internal.calculateCross(t),i=[];return i.push("0.749023 g"),i.push("0 0 "+Xt(It.internal.getWidth(t))+" "+Xt(It.internal.getHeight(t))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+Xt(It.internal.getWidth(t)-2)+" "+Xt(It.internal.getHeight(t)-2)+" re"),i.push("W"),i.push("n"),i.push(Xt(e.x1.x)+" "+Xt(e.x1.y)+" m"),i.push(Xt(e.x2.x)+" "+Xt(e.x2.y)+" l"),i.push(Xt(e.x4.x)+" "+Xt(e.x4.y)+" m"),i.push(Xt(e.x3.x)+" "+Xt(e.x3.y)+" l"),i.push("s"),i.push("Q"),n.stream=i.join(`
+`),n},OffPushDown:function(t){var n=Ai(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Xt(It.internal.getWidth(t))+" "+Xt(It.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
+`),n}}},createDefaultAppearanceStream:function(t){var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+n+" "+t.fontSize+" Tf "+e}};It.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=It.internal.getWidth(t),e=It.internal.getHeight(t),i=Math.min(n,e);return{x1:{x:(n-i)/2,y:(e-i)/2+i},x2:{x:(n-i)/2+i,y:(e-i)/2},x3:{x:(n-i)/2,y:(e-i)/2},x4:{x:(n-i)/2+i,y:(e-i)/2+i}}}},It.internal.getWidth=function(t){var n=0;return Ne(t)==="object"&&(n=jf(t.Rect[2])),n},It.internal.getHeight=function(t){var n=0;return Ne(t)==="object"&&(n=jf(t.Rect[3])),n};var c5=ze.addField=function(t){if(h5(this,t),!(t instanceof oi))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=t).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};ze.AcroFormChoiceField=La,ze.AcroFormListBox=Sa,ze.AcroFormComboBox=ka,ze.AcroFormEditBox=Ss,ze.AcroFormButton=on,ze.AcroFormPushButton=ks,ze.AcroFormRadioButton=Pa,ze.AcroFormCheckBox=Ps,ze.AcroFormTextField=Dr,ze.AcroFormPasswordField=Es,ze.AcroFormAppearance=It,ze.AcroForm={ChoiceField:La,ListBox:Sa,ComboBox:ka,EditBox:Ss,Button:on,PushButton:ks,RadioButton:Pa,CheckBox:Ps,TextField:Dr,PasswordField:Es,Appearance:It},Mt.AcroForm={ChoiceField:La,ListBox:Sa,ComboBox:ka,EditBox:Ss,Button:on,PushButton:ks,RadioButton:Pa,CheckBox:Ps,TextField:Dr,PasswordField:Es,Appearance:It};var Kd=Mt.AcroForm;function ou(t){return t.reduce(function(n,e,i){return n[e]=i,n},{})}(function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",i={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},a=t.__addimage__.getImageFileTypeByImageData=function(N,F){var U,q,it,ft,pt,nt=e;if((F=F||e)==="RGBA"||N.data!==void 0&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(_t(N))for(pt in i)for(it=i[pt],U=0;U>"}),"transparency"in F&&Array.isArray(F.transparency)&&F.transparency.length>0){for(var pt="",nt=0,ut=F.transparency.length;nt>",O.content=o;var $=O.objId+" 0 R";o="<>",B.content=o,this.internal.write(O.objId,"0 R",B.objId,"0 R");break;case"freetext":a="/Rect ["+f(i.bounds.x)+" "+l(i.bounds.y)+" "+f(i.bounds.x+i.bounds.w)+" "+l(i.bounds.y+i.bounds.h)+"] ";var D="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(i.color||"#000000");o="<>",this.internal.write(o);break;case"link":if(i.options.name){var lt=this.annotations._nameMap[i.options.name];i.options.pageNumber=lt.page,i.options.top=lt.y}else i.options.top||(i.options.top=0);if(a="/Rect ["+i.finalBounds.x+" "+i.finalBounds.y+" "+i.finalBounds.w+" "+i.finalBounds.h+"] ",o="",i.options.url)o="<>";else if(i.options.pageNumber)switch(o="<>",this.internal.write(o))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var i=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":i.pageContext.annotations.push(e)}},t.link=function(e,i,a,o,f){var l=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:c(e),y:d(i),w:c(e+a),h:d(i+o)},options:f,type:"link"})},t.textWithLink=function(e,i,a,o){var f,l,c=this.getTextWidth(e),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(o.maxWidth!==void 0){l=o.maxWidth;var m=this.splitTextToSize(e,l).length;f=Math.ceil(d*m)}else l=c,f=d;return this.text(e,i,a,o),a+=.2*d,o.align==="center"&&(i-=c/2),o.align==="right"&&(i-=c),this.link(i,a-d,l,f,o),c},t.getTextWidth=function(e){var i=this.internal.getFontSize();return this.getStringUnitWidth(e)*i/this.internal.scaleFactor}})(Mt.API),(function(t){var n={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(O){return n[O.charCodeAt(0)]!==void 0},f=t.__arabicParser__.isArabicLetter=function(O){return typeof O=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(O)},l=t.__arabicParser__.isArabicEndLetter=function(O){return f(O)&&o(O)&&n[O.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(O){return f(O)&&a.indexOf(O.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(O){return f(O)&&o(O)&&n[O.charCodeAt(0)].length>=1};var d=t.__arabicParser__.arabicLetterHasFinalForm=function(O){return f(O)&&o(O)&&n[O.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(O){return f(O)&&o(O)&&n[O.charCodeAt(0)].length>=3};var m=t.__arabicParser__.arabicLetterHasMedialForm=function(O){return f(O)&&o(O)&&n[O.charCodeAt(0)].length==4},A=t.__arabicParser__.resolveLigatures=function(O){var B=0,k=e,Z="",$=0;for(B=0;B>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},(function(t){var n=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(l){e=l}});var i=150;Object.defineProperty(this,"width",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=i+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(l){a=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o},set:function(l){o=l}});var f={};Object.defineProperty(this,"style",{get:function(){return f},set:function(l){f=l}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,i){var a;if((e=e||"2d")!=="2d")return null;for(a in i)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=i[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])})(Mt.API),(function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,i=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(O){c=O}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(O){d=O}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(O){m=O}});var A=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return A},set:function(O){A=O}});var L=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return L},set:function(O){L=O}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(O){p=O}});var T=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return T},set:function(O){T=O}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(c){return i.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},t.getTextDimensions=function(c,d){i.call(this);var m=(d=d||{}).fontSize||this.getFontSize(),A=d.font||this.getFont(),L=d.scaleFactor||this.internal.scaleFactor,p=0,T=0,O=0,B=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var k=d.maxWidth;k>0?typeof c=="string"?c=this.splitTextToSize(c,k):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function($,D){return $.concat(B.splitTextToSize(D,k))},[])):c=Array.isArray(c)?c:[c];for(var Z=0;Zthis.getPageHeight()?(this.cellAddPage(),c.y=A.top,p&&L&&(this.printHeaderRow(c.lineNumber,!0),c.y+=L[0].height)):c.y=d.y+d.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,e===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-m,c.y+m,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+m,{align:"center",baseline:"top",maxWidth:c.width-m-m}):this.text(c.text,c.x+m,c.y+m,{align:"left",baseline:"top",maxWidth:c.width-m-m})),this.internal.__cell__.lastCell=c,this};t.table=function(c,d,m,A,L){if(i.call(this),!m)throw new Error("No data for PDF table.");var p,T,O,B,k=[],Z=[],$=[],D={},lt={},_t=[],mt=[],tt=(L=L||{}).autoSize||!1,z=L.printHeaders!==!1,et=L.css&&L.css["font-size"]!==void 0?16*L.css["font-size"]:L.fontSize||12,N=L.margins||Object.assign({width:this.getPageWidth()},n),F=typeof L.padding=="number"?L.padding:3,U=L.headerBackgroundColor||"#c8c8c8",q=L.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=z,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=et,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=U,this.internal.__cell__.headerTextColor=q,this.setFontSize(et),A==null)Z=k=Object.keys(m[0]),$=k.map(function(){return"left"});else if(Array.isArray(A)&&Ne(A[0])==="object")for(k=A.map(function(At){return At.name}),Z=A.map(function(At){return At.prompt||At.name||""}),$=A.map(function(At){return At.align||"left"}),p=0;p0&&this.setTableHeaderRow(L),this.setFont(void 0,"normal"),e=!1}})(Mt.API);var su={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],fh=ou(lu),hu=[100,200,300,400,500,600,700,800,900],f5=ou(hu);function rh(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),e=(function(o){return su[o=o||"normal"]?o:"normal"})(t.style),i=(function(o){return o?typeof o=="number"?o>=100&&o<=900&&o%100==0?o:400:/^\d00$/.test(o)?parseInt(o):o==="bold"?700:400:400})(t.weight),a=(function(o){return typeof fh[o=o||"normal"]=="number"?o:"normal"})(t.stretch);return{family:n,style:e,weight:i,stretch:a,src:t.src||[],ref:t.ref||{name:n,style:[a,e,i].join(" ")}}}function Mf(t,n,e,i){var a;for(a=e;a>=0&&a=0&&a>>1)&255}return a}function Yf(t,n,e){var i=t.length,a=[];a[0]=4;for(var o=0;o>o&f}function Kf(t,n,e,i){var a=e*i,o=Math.floor(a/8),f=16-(a-8*o+i),l=(1<>8&255;d.setUint8(m,L)}})(t,o,cu(t,o)&~(l<>7,f=1<<1+(7&a);t[n++],t[n++];var l=null,c=null;o&&(l=n,c=f,n+=3*f);var d=!0,m=[],A=0,L=null,p=0,T=null;for(this.width=e,this.height=i;d&&n=0))throw Error("Invalid block size");if(N===0)break;n+=N}break;case 249:if(t[n++]!==4||t[n+4]!==0)throw new Error("Invalid graphics extension block.");var O=t[n++];A=t[n++]|t[n++]<<8,L=t[n++],1&O||(L=null),p=O>>2&7,n++;break;case 254:for(;;){if(!((N=t[n++])>=0))throw Error("Invalid block size");if(N===0)break;n+=N}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var B=t[n++]|t[n++]<<8,k=t[n++]|t[n++]<<8,Z=t[n++]|t[n++]<<8,$=t[n++]|t[n++]<<8,D=t[n++],lt=D>>6&1,_t=1<<1+(7&D),mt=l,tt=c,z=!1;D>>7&&(z=!0,mt=n,tt=_t,n+=3*_t);var et=n;for(n++;;){var N;if(!((N=t[n++])>=0))throw Error("Invalid block size");if(N===0)break;n+=N}m.push({x:B,y:k,width:Z,height:$,has_local_palette:z,palette_offset:mt,palette_size:tt,data_offset:et,data_length:n-et,transparent_index:L,interlaced:!!lt,delay:A,disposal:p});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+t[n-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return T},this.frameInfo=function(F){if(F<0||F>=m.length)throw new Error("Frame index out of range.");return m[F]},this.decodeAndBlitFrameBGRA=function(F,U){var q=this.frameInfo(F),it=q.width*q.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var ft=new Uint8Array(it);Xf(t,q.data_offset,ft,it);var pt=q.palette_offset,nt=q.transparent_index;nt===null&&(nt=256);var ut=q.width,At=e-ut,yt=ut,y=4*(q.y*e+q.x),R=4*((q.y+q.height)*e+q.x),j=y,G=4*At;q.interlaced===!0&&(G+=4*e*7);for(var Y=8,Q=0,rt=ft.length;Q