ipyaudio 0.1.22__py3-none-any.whl → 0.1.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. ipyaudio/_version.py +1 -1
  2. ipyaudio/labextension/build_log.json +726 -0
  3. ipyaudio/labextension/package.json +1 -1
  4. ipyaudio/labextension/static/lib_index_js.e0dc1b40eb8d768fd304.js +36 -0
  5. ipyaudio/labextension/static/lib_index_js.e0dc1b40eb8d768fd304.js.map +1 -0
  6. ipyaudio/labextension/static/lib_player_js-lib_recorder_js-data_image_svg_xml_3csvg_xmlns_27http_www_w3_org_2000_svg_27_vi-4e62a2.5626ffcb48021915d5fc.js +1216 -0
  7. ipyaudio/labextension/static/lib_player_js-lib_recorder_js-data_image_svg_xml_3csvg_xmlns_27http_www_w3_org_2000_svg_27_vi-4e62a2.5626ffcb48021915d5fc.js.map +1 -0
  8. ipyaudio/labextension/static/lib_plugin_js.721ea7eaebbdaef9b36c.js +69 -0
  9. ipyaudio/labextension/static/lib_plugin_js.721ea7eaebbdaef9b36c.js.map +1 -0
  10. ipyaudio/labextension/static/remoteEntry.58e9350ee0aa7970ecd3.js +565 -0
  11. ipyaudio/labextension/static/remoteEntry.58e9350ee0aa7970ecd3.js.map +1 -0
  12. ipyaudio/labextension/static/vendors-node_modules_bootstrap_dist_js_bootstrap_bundle_min_js-node_modules_lodash_merge_js-n-f8a88e.73fa57174fc3b67a3760.js +4041 -0
  13. ipyaudio/labextension/static/vendors-node_modules_bootstrap_dist_js_bootstrap_bundle_min_js-node_modules_lodash_merge_js-n-f8a88e.73fa57174fc3b67a3760.js.map +1 -0
  14. ipyaudio/labextension/static/vendors-node_modules_jupyter-dataserializers_lib_index_js.e44af737f0ae9fde402b.js +8001 -0
  15. ipyaudio/labextension/static/vendors-node_modules_jupyter-dataserializers_lib_index_js.e44af737f0ae9fde402b.js.map +1 -0
  16. ipyaudio/nbextension/index.js +13499 -2
  17. ipyaudio/nbextension/index.js.map +1 -1
  18. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/build_log.json +726 -0
  19. {ipyaudio-0.1.22.data → ipyaudio-0.1.23.data}/data/share/jupyter/labextensions/ipyaudio/package.json +1 -1
  20. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/lib_index_js.e0dc1b40eb8d768fd304.js +36 -0
  21. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/lib_index_js.e0dc1b40eb8d768fd304.js.map +1 -0
  22. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/lib_player_js-lib_recorder_js-data_image_svg_xml_3csvg_xmlns_27http_www_w3_org_2000_svg_27_vi-4e62a2.5626ffcb48021915d5fc.js +1216 -0
  23. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/lib_player_js-lib_recorder_js-data_image_svg_xml_3csvg_xmlns_27http_www_w3_org_2000_svg_27_vi-4e62a2.5626ffcb48021915d5fc.js.map +1 -0
  24. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/lib_plugin_js.721ea7eaebbdaef9b36c.js +69 -0
  25. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/lib_plugin_js.721ea7eaebbdaef9b36c.js.map +1 -0
  26. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/remoteEntry.58e9350ee0aa7970ecd3.js +565 -0
  27. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/remoteEntry.58e9350ee0aa7970ecd3.js.map +1 -0
  28. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/vendors-node_modules_bootstrap_dist_js_bootstrap_bundle_min_js-node_modules_lodash_merge_js-n-f8a88e.73fa57174fc3b67a3760.js +4041 -0
  29. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/vendors-node_modules_bootstrap_dist_js_bootstrap_bundle_min_js-node_modules_lodash_merge_js-n-f8a88e.73fa57174fc3b67a3760.js.map +1 -0
  30. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/vendors-node_modules_jupyter-dataserializers_lib_index_js.e44af737f0ae9fde402b.js +8001 -0
  31. ipyaudio-0.1.23.data/data/share/jupyter/labextensions/ipyaudio/static/vendors-node_modules_jupyter-dataserializers_lib_index_js.e44af737f0ae9fde402b.js.map +1 -0
  32. ipyaudio-0.1.23.data/data/share/jupyter/nbextensions/ipyaudio/index.js +13500 -0
  33. ipyaudio-0.1.23.data/data/share/jupyter/nbextensions/ipyaudio/index.js.map +1 -0
  34. {ipyaudio-0.1.22.dist-info → ipyaudio-0.1.23.dist-info}/METADATA +22 -4
  35. ipyaudio-0.1.23.dist-info/RECORD +58 -0
  36. ipyaudio/labextension/static/122.3700f0454aee82938e32.js +0 -1
  37. ipyaudio/labextension/static/270.783a4728ca957ffe8716.js +0 -1
  38. ipyaudio/labextension/static/509.a9d6860fe38ae60aa71f.js +0 -1
  39. ipyaudio/labextension/static/570.97f2a8196b7f1703e636.js +0 -2
  40. ipyaudio/labextension/static/570.97f2a8196b7f1703e636.js.LICENSE.txt +0 -6
  41. ipyaudio/labextension/static/627.315cb148cc156382df50.js +0 -2
  42. ipyaudio/labextension/static/627.315cb148cc156382df50.js.LICENSE.txt +0 -5
  43. ipyaudio/labextension/static/third-party-licenses.json +0 -64
  44. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/122.3700f0454aee82938e32.js +0 -1
  45. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/270.783a4728ca957ffe8716.js +0 -1
  46. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/509.a9d6860fe38ae60aa71f.js +0 -1
  47. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/570.97f2a8196b7f1703e636.js +0 -2
  48. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/570.97f2a8196b7f1703e636.js.LICENSE.txt +0 -6
  49. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/627.315cb148cc156382df50.js +0 -2
  50. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/627.315cb148cc156382df50.js.LICENSE.txt +0 -5
  51. ipyaudio-0.1.22.data/data/share/jupyter/labextensions/ipyaudio/static/third-party-licenses.json +0 -64
  52. ipyaudio-0.1.22.data/data/share/jupyter/nbextensions/ipyaudio/index.js +0 -3
  53. ipyaudio-0.1.22.data/data/share/jupyter/nbextensions/ipyaudio/index.js.map +0 -1
  54. ipyaudio-0.1.22.dist-info/RECORD +0 -48
  55. {ipyaudio-0.1.22.data → ipyaudio-0.1.23.data}/data/etc/jupyter/nbconfig/notebook.d/ipyaudio.json +0 -0
  56. {ipyaudio-0.1.22.data → ipyaudio-0.1.23.data}/data/share/jupyter/labextensions/ipyaudio/install.json +0 -0
  57. {ipyaudio-0.1.22.data → ipyaudio-0.1.23.data}/data/share/jupyter/labextensions/ipyaudio/static/style.js +0 -0
  58. {ipyaudio-0.1.22.data → ipyaudio-0.1.23.data}/data/share/jupyter/nbextensions/ipyaudio/extension.js +0 -0
  59. {ipyaudio-0.1.22.data → ipyaudio-0.1.23.data}/data/share/jupyter/nbextensions/ipyaudio/index.js.LICENSE.txt +0 -0
  60. {ipyaudio-0.1.22.dist-info → ipyaudio-0.1.23.dist-info}/WHEEL +0 -0
  61. {ipyaudio-0.1.22.dist-info → ipyaudio-0.1.23.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,5 +0,0 @@
1
- /*!
2
- * Bootstrap v5.3.5 (https://getbootstrap.com/)
3
- * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
- */
@@ -1,64 +0,0 @@
1
- {
2
- "packages": [
3
- {
4
- "name": "bootstrap",
5
- "versionInfo": "5.3.5",
6
- "licenseId": "MIT",
7
- "extractedText": "The MIT License (MIT)\n\nCopyright (c) 2011-2025 The Bootstrap Authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
8
- },
9
- {
10
- "name": "css-loader",
11
- "versionInfo": "6.11.0",
12
- "licenseId": "MIT",
13
- "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
14
- },
15
- {
16
- "name": "iota-array",
17
- "versionInfo": "1.0.0",
18
- "licenseId": "MIT",
19
- "extractedText": "\nThe MIT License (MIT)\n\nCopyright (c) 2013 Mikola Lysenko\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
20
- },
21
- {
22
- "name": "is-buffer",
23
- "versionInfo": "1.1.6",
24
- "licenseId": "MIT",
25
- "extractedText": "The MIT License (MIT)\n\nCopyright (c) Feross Aboukhadijeh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
26
- },
27
- {
28
- "name": "jupyter-dataserializers",
29
- "versionInfo": "3.0.1",
30
- "licenseId": "BSD-3-Clause",
31
- "extractedText": "Main license for ipydatawidgets\n-------------------------------\n\nBSD 3-Clause License\n\nCopyright (c) 2017, Project Jupyter\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n\nParts from pythreejs\n--------------------\n\nCopyright (c) 2013, Jason Grout\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice, this\n list of conditions and the following disclaimer in the documentation and/or\n other materials provided with the distribution.\n\n* Neither the name of the PyThreeJS development team nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
32
- },
33
- {
34
- "name": "lodash",
35
- "versionInfo": "4.17.21",
36
- "licenseId": "MIT",
37
- "extractedText": "Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n\nBased on Underscore.js, copyright Jeremy Ashkenas,\nDocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>\n\nThis software consists of voluntary contributions made by many\nindividuals. For exact contribution history, see the revision history\navailable at https://github.com/lodash/lodash\n\nThe following license applies to all parts of this software except as\ndocumented below:\n\n====\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n====\n\nCopyright and related rights for sample code are waived via CC0. Sample\ncode is defined as all source code displayed within the prose of the\ndocumentation.\n\nCC0: http://creativecommons.org/publicdomain/zero/1.0/\n\n====\n\nFiles located in the node_modules and vendor directories are externally\nmaintained libraries used by this software which have their own\nlicenses; we recommend you read them, as their terms may differ from the\nterms above.\n"
38
- },
39
- {
40
- "name": "ndarray",
41
- "versionInfo": "1.0.19",
42
- "licenseId": "MIT",
43
- "extractedText": "\nThe MIT License (MIT)\n\nCopyright (c) 2013-2016 Mikola Lysenko\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
44
- },
45
- {
46
- "name": "pako",
47
- "versionInfo": "2.1.0",
48
- "licenseId": "(MIT AND Zlib)",
49
- "extractedText": "(The MIT License)\n\nCopyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
50
- },
51
- {
52
- "name": "style-loader",
53
- "versionInfo": "3.3.4",
54
- "licenseId": "MIT",
55
- "extractedText": "Copyright JS Foundation and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"
56
- },
57
- {
58
- "name": "wavesurfer.js",
59
- "versionInfo": "7.9.4",
60
- "licenseId": "BSD-3-Clause",
61
- "extractedText": "BSD 3-Clause License\n\nCopyright (c) 2012-2023, katspaugh and contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"
62
- }
63
- ]
64
- }
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkipyaudio=self.webpackChunkipyaudio||[]).push([[122],{4122:function(e,t,i){var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){void 0===r&&(r=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,n)}:function(e,t,i,r){void 0===r&&(r=i),e[r]=t[i]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const a=i(3983),o=u(i(4364)),c=u(i(319)),s=i(1797),f={id:"ipyaudio:plugin",requires:[a.IJupyterWidgetRegistry],activate:function(e,t){t.registerWidget({name:s.MODULE_NAME,version:s.MODULE_VERSION,exports:Object.assign(Object.assign({},o),c)})},autoStart:!0};t.default=f}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkipyaudio=self.webpackChunkipyaudio||[]).push([[270],{311:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},319:function(e,t,i){var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,a){function r(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,o)}l((n=n.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RecorderView=t.RecorderModel=void 0;const a=s(i(5364)),r=i(3459),o=i(3983),l=i(1797),c=s(i(1136)),d=s(i(8020));i(6378),i(1463);class u extends o.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:u.model_name,_model_module:u.model_module,_model_module_version:u.model_module_version,_view_name:u.view_name,_view_module:u.view_module,_view_module_version:u.view_module_version,chunk:new Uint8Array(0),rate:16e3,end:!1})}}t.RecorderModel=u,u.serializers=Object.assign(Object.assign({},o.DOMWidgetModel.serializers),{chunk:r.simplearray_serialization}),u.model_name="RecorderModel",u.model_module=l.MODULE_NAME,u.model_module_version=l.MODULE_VERSION,u.view_name="RecorderView",u.view_module=l.MODULE_NAME,u.view_module_version=l.MODULE_VERSION;class h extends o.DOMWidgetView{constructor(){super(...arguments),this._chunks=new c.default,this._isFirstChunk=!0,this._isCompleted=!1}_sendChunk(){var e;return n(this,void 0,void 0,(function*(){const t=yield this._chunks.dequeue(1e3+(null!==(e=this._recorder.timeSlice)&&void 0!==e?e:20));t.length>0&&(this.model.set("chunk",{array:t,shape:[t.length]}),this.model.save_changes()),this._isCompleted&&(this.model.set("completed",!0),this.model.save_changes())}))}render(){super.render(),this.displayed.then((()=>n(this,void 0,void 0,(function*(){const e=this.model.get("language");this._recorder=d.default.create((0,a.default)({},this.model.get("config"),{language:e}),(0,a.default)({},this.model.get("player_config"),{language:e})),this.el.appendChild(this._recorder.el),this.model.on("msg:custom",(e=>n(this,void 0,void 0,(function*(){"chunk_received"===e.msg_type&&this._sendChunk()})))),this._recorder.onRecordStart((()=>{this._isCompleted=!1,this._isFirstChunk=!0,this.model.set("completed",!1),this.model.set("rate",this._recorder.sampleRate),this.model.save_changes()})),this._recorder.onRecordChunk((e=>n(this,void 0,void 0,(function*(){this._chunks.enqueue(new Uint8Array(yield e.arrayBuffer())),this.model.get("sync")&&this._isFirstChunk&&(this._isFirstChunk=!1,this._sendChunk())})))),this._recorder.onRecordEnd((e=>n(this,void 0,void 0,(function*(){this._isCompleted=!0,this.model.get("sync")||(this.model.set("completed",!0),this.model.save_changes())}))))}))))}}t.RecorderView=h},644:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0%27/%3e%3c/svg%3e"},1136:function(e,t){var i=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,a){function r(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,o)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(){this.queue=[],this.resolveDequeue=null,this.waitingDequeue=null}mergeAllChunks(){if(0===this.queue.length)return new Uint8Array(0);let e=0;for(const t of this.queue)e+=t.length;const t=new Uint8Array(e);let i=0;for(const e of this.queue)t.set(e,i),i+=e.length;return t}enqueue(e){if(this.queue.push(e),this.resolveDequeue){const e=this.mergeAllChunks();this.resolveDequeue(e),this.queue.length=0,this.resolveDequeue=null,this.waitingDequeue=null}}dequeue(e=0){return i(this,void 0,void 0,(function*(){if(this.queue.length>0){const e=this.mergeAllChunks();return this.queue.length=0,e}if(!this.waitingDequeue&&(this.waitingDequeue=new Promise((e=>{this.resolveDequeue=e})),e>0)){const t=setTimeout((()=>{this.resolveDequeue&&(this.resolveDequeue(new Uint8Array(0)),this.resolveDequeue=null,this.waitingDequeue=null)}),e);this.waitingDequeue.then((()=>{t&&clearTimeout(t)})).catch((()=>{t&&clearTimeout(t)}))}return this.waitingDequeue}))}get length(){return this.queue.length}}},1368:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23fff%27%3e%3cpath d=%27M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708%27/%3e%3c/svg%3e"},1451:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},1463:(e,t,i)=>{i.r(t),i.d(t,{default:()=>f});var n=i(5072),s=i.n(n),a=i(7825),r=i.n(a),o=i(7659),l=i.n(o),c=i(5056),d=i.n(c),u=i(540),h=i.n(u),m=i(1113),p=i.n(m),g=i(4930),_={};_.styleTagTransform=p(),_.setAttributes=d(),_.insert=l().bind(null,"head"),_.domAPI=r(),_.insertStyleElement=h(),s()(g.A,_);const f=g.A&&g.A.locals?g.A.locals:void 0},1797:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MODULE_NAME=t.MODULE_VERSION=void 0;const n=i(8330);t.MODULE_VERSION=n.version,t.MODULE_NAME=n.name},2247:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"},2465:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createRewardDropdown=void 0,i(8736);const n=i(7997);t.createRewardDropdown=function(e){const t=(0,n.createElement)("div","dropdown my-3 float-end text-end"),i=(0,n.createElement)("button","btn btn-warning dropdown-toggle");i.setAttribute("data-bs-toggle","dropdown"),i.innerHTML="zh"===e?'<i class="fa fa-thumbs-o-up"></i> 赞赏':'<i class="fa fa-coffee"></i> Buy me a coffee';const s=(0,n.createElement)("ul","dropdown-menu p-2"),a="https://modelscope.cn/models/pengzhendong/pengzhendong/resolve/master/images",r=[{imgSrc:`${a}/wechat-reward.jpg`,name:"zh"===e?"微信":"WeChat"},{imgSrc:`${a}/alipay-reward.jpg`,name:"zh"===e?"支付宝":"AliPay"}],o=(0,n.createElement)("table","table table-bordered mb-0"),l=(0,n.createElement)("tbody"),c=(0,n.createElement)("tr");r.forEach((e=>{const t=(0,n.createElement)("td","text-center p-2");t.style.width=100/r.length+"%";const i=(0,n.createElement)("img","img-fluid d-block mx-auto");i.src=e.imgSrc,t.appendChild(i);const s=(0,n.createElement)("div","text-center mt-2 fw-bold");s.textContent=e.name,t.appendChild(s),c.appendChild(t)})),l.appendChild(c),o.appendChild(l);const d=(0,n.createElement)("li","");d.appendChild(o),s.appendChild(d);const u=(0,n.createElement)("a");u.href="https://github.com/pengzhendong/ipyaudio",u.target="_blank";const h=(0,n.createElement)("img","img-fluid me-3");return h.src="https://img.shields.io/github/stars/pengzhendong/ipyaudio.svg",u.appendChild(h),t.appendChild(u),t.appendChild(i),t.appendChild(s),t}},3385:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e"},4274:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e"},4364:function(e,t,i){var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,a){function r(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,o)}l((n=n.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PlayerView=t.PlayerModel=void 0;const a=s(i(5364)),r=i(3983),o=i(1797),l=s(i(9155));i(6378),i(1463);class c extends r.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:c.model_name,_model_module:c.model_module,_model_module_version:c.model_module_version,_view_name:c.view_name,_view_module:c.view_module,_view_module_version:c.view_module_version})}}t.PlayerModel=c,c.serializers=Object.assign({},r.DOMWidgetModel.serializers),c.model_name="PlayerModel",c.model_module=o.MODULE_NAME,c.model_module_version=o.MODULE_VERSION,c.view_name="PlayerView",c.view_module=o.MODULE_NAME,c.view_module_version=o.MODULE_VERSION;class d extends r.DOMWidgetView{render(){super.render(),this.displayed.then((()=>n(this,void 0,void 0,(function*(){const e={isStreaming:this.model.get("is_streaming"),language:this.model.get("language")};this._player=l.default.create((0,a.default)({},this.model.get("config"),e)),this.el.appendChild(this._player.el),this.model.on("change:audio",(()=>{this._player.sampleRate=this.model.get("rate"),this._player.load(this.model.get("audio"))})),this.model.on("change:is_done",(()=>{this._player.setDone()}))}))))}}t.PlayerView=d},4718:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e"},4914:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708%27/%3e%3c/svg%3e"},4930:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(1601),s=i.n(n),a=i(6314),r=i.n(a)()(s());r.push([e.id,".waveform {\n background-color: black;\n cursor: pointer;\n position: relative;\n width: 100%;\n}\n\n.duration, .time {\n background: rgba(0, 0, 0, 0.75);\n color: #DDDD;\n font-size: 11px;\n position: absolute;\n bottom: 0;\n z-index: 11;\n}\n\n.duration { right: 0 }\n\n.time { left: 0 }\n\n.dropdown-menu {\n width: 500px;\n position: relative !important;\n transform: translateY(10px) !important;\n}\n",""]);const o=r},5372:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e"},5419:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e"},5531:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},5782:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e"},5967:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414%27/%3e%3c/svg%3e"},6366:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e"},7115:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e"},7154:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e"},7997:(e,t)=>{function i(e){const t=e.numFrames,i=e.numChannels||2,n=e.sampleRate||44100,s=e.isFloat?4:2,a=e.isFloat?3:1,r=i*s,o=n*r,l=t*r,c=new ArrayBuffer(44),d=new DataView(c);let u=0;function h(e){for(let t=0;t<e.length;t++)d.setUint8(u+t,e.charCodeAt(t));u+=e.length}function m(e){d.setUint32(u,e,!0),u+=4}function p(e){d.setUint16(u,e,!0),u+=2}return h("RIFF"),m(l+36),h("WAVE"),h("fmt "),m(16),p(a),p(i),m(n),m(o),p(r),p(8*s),h("data"),m(l),new Uint8Array(c)}function n(e,t){if(!e)return new Uint8Array;let n,s;e instanceof ArrayBuffer?(n=i({isFloat:!1,numChannels:t.numChannels,sampleRate:t.sampleRate,numFrames:e.byteLength/Int16Array.BYTES_PER_ELEMENT}),s=new Uint8Array(e)):(n=i({isFloat:!1,numChannels:e.numberOfChannels,sampleRate:e.sampleRate,numFrames:e.length}),s=new Uint8Array(function(e){const{numberOfChannels:t,length:i}=e,n=new Int16Array(i*t);for(let s=0;s<t;s++){const a=e.getChannelData(s),r=a instanceof Float32Array;for(let e=0;e<i;e++)n[e*t+s]=r?32767*a[e]:a[e]}return n}(e).buffer));const a=new Uint8Array(n.length+s.length);return a.set(n,0),a.set(s,n.length),a}Object.defineProperty(t,"__esModule",{value:!0}),t.createObjectURL=t.formatTime=t.createElement=void 0,t.createElement=(e,t="",i="")=>{const n=document.createElement(e);return n.className=t,n.innerHTML=i,n},t.formatTime=e=>`${Math.floor(e/60)}:${("0"+Math.round(e)%60).slice(-2)}`,t.createObjectURL=(e,t={numChannels:1,sampleRate:44100})=>{let i;return i=e instanceof AudioBuffer?n(e,{numChannels:e.numberOfChannels,sampleRate:e.sampleRate}):n(e,t),URL.createObjectURL(new Blob([i],{type:"audio/wav"}))}},8020:function(e,t,i){var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,a){function r(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,o)}l((n=n.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const a=s(i(423)),r=s(i(8429)),o=s(i(9155)),l=i(7997);class c{constructor(e,t){this.el=(0,l.createElement)("div","lm-Widget"),this._container=(0,l.createElement)("div","waveform"),this._currentTime=(0,l.createElement)("div","time","0:00"),this._container.append(this._currentTime),this._config=e,this._player=o.default.create(t)}get sampleRate(){return this._wavesurfer.options.sampleRate}get timeSlice(){var e;return null===(e=this._config.recordOptions)||void 0===e?void 0:e.mediaRecorderTimeslice}set sampleRate(e){this._wavesurfer.options.sampleRate=e,this._player.sampleRate=e}createWaveSurfer(){this._wavesurfer=a.default.create(Object.assign(Object.assign({},this._config.options),{container:this._container}))}createRateSelect(){this._rateSelect=(0,l.createElement)("select","form-select-sm d-inline-block me-3 my-3 w-25"),[8e3,16e3,22050,24e3,44100,48e3].forEach((e=>{const t=document.createElement("option");t.value=e.toString(),t.text=`${e} Hz`,16e3===e&&(t.selected=!0),this._rateSelect.appendChild(t)}))}createMicSelect(){this._micSelect=(0,l.createElement)("select","form-select-sm d-inline-block me-3 my-3 w-50"),navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then((e=>{r.default.getAvailableAudioDevices().then((e=>{e.forEach((e=>{const t=document.createElement("option");t.value=e.deviceId,t.text=e.label||e.deviceId,this._micSelect.appendChild(t)}))}))})).catch((e=>{const t="zh"===this._config.language?"访问麦克风失败":"Error accessing the microphone: ";throw new Error(t+e.message)}))}createPauseButton(){this._pauseButton=(0,l.createElement)("button","btn btn-outline-danger me-3 my-3",'<i class="fa fa-pause"></i>'),this._pauseButton.disabled=!0,this._pauseButton.onclick=()=>{this._recorder.isRecording()?(this._recorder.pauseRecording(),this._pauseButton.innerHTML='<i class="fa fa-play"></i>',this._container.style.display="none",this._player.el.style.display="block"):(this._recorder.resumeRecording(),this._pauseButton.innerHTML='<i class="fa fa-pause"></i>',this._container.style.display="block",this._player.el.style.display="none")}}createRecordButton(){this._recordButton=(0,l.createElement)("button","btn btn-danger me-3 my-3",'<i class="fa fa-microphone"></i>'),this._recordButton.onclick=()=>{this._recorder.isRecording()||this._recorder.isPaused()?(this._recorder.stopRecording(),this._container.style.display="none",this._player.el.style.display="block"):(this._wavesurfer.options.normalize=!1,this.sampleRate=parseInt(this._rateSelect.value),this._recorder.startRecording({deviceId:this._micSelect.value}).then((()=>{this._pauseButton.disabled=!1,this._rateSelect.disabled=!0,this._micSelect.disabled=!0,this._pauseButton.innerHTML='<i class="fa fa-pause"></i>',this._recordButton.innerHTML='<i class="fa fa-stop"></i>',this._container.style.display="block",this._player.el.style.display="none"})))}}onRecordStart(e){this._recorder.on("record-start",(()=>{e()}))}onRecordChunk(e){this._recorder.on("record-data-available",(t=>{e(t)}))}onRecordEnd(e){this._recorder.on("record-end",(t=>n(this,void 0,void 0,(function*(){this._player.load(URL.createObjectURL(t)),this._recordButton.disabled=!0,this._pauseButton.disabled=!0,yield e(t),this._recordButton.disabled=!1,this._pauseButton.disabled=!0,this._rateSelect.disabled=!1,this._micSelect.disabled=!1,this._pauseButton.innerHTML='<i class="fa fa-play"></i>',this._recordButton.innerHTML='<i class="fa fa-microphone"></i>'}))))}createRecorder(){this._wavesurfer.toggleInteraction(!1),this._recorder=this._wavesurfer.registerPlugin(r.default.create(this._config.recordOptions)),this.createRateSelect(),this.createMicSelect(),this.createPauseButton(),this.createRecordButton(),this._container.style.display="none",this._player.el.style.display="none",this.el.append(this._recordButton,this._pauseButton,this._rateSelect,this._micSelect,this._container,this._player.el),this._recorder.on("record-pause",(e=>{this._player.load(URL.createObjectURL(e))})),this._recorder.on("record-progress",(e=>{this._currentTime.textContent=(0,l.formatTime)(e/1e3)}))}static create(e,t){const i=new c(e,t);return i.createWaveSurfer(),i.createRecorder(),i}}t.default=c},8078:function(e,t,i){var n=this&&this.__awaiter||function(e,t,i,n){return new(i||(i=Promise))((function(s,a){function r(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(r,o)}l((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PCMPlayer=void 0;const s=i(7997);class a{constructor(e){this._isDone=!1,this._isPlaying=!0,this._samples=new Int16Array(0),this._allSamples=new Int16Array(0),this._options=Object.assign({channels:1,sampleRate:16e3,flushTime:100,language:"en"},e),this.playButton=(0,s.createElement)("button","btn btn-danger me-3 my-3",'<i class="fa fa-pause"></i>'),this.playButton.onclick=()=>{this._isPlaying=!this._isPlaying,this._isPlaying?this.play():this.pause(),this.playButton.innerHTML=`<i class="fa fa-${this._isPlaying?"pause":"play"}"></i>`},this._interval=window.setInterval(this.flush.bind(this),this._options.flushTime),this._audioCtx=new(window.AudioContext||window.webkitAudioContext),this._gainNode=this._audioCtx.createGain(),this._gainNode.gain.value=1,this._gainNode.connect(this._audioCtx.destination),this._startTime=this._audioCtx.currentTime}set sampleRate(e){this._options.sampleRate=e}setDone(){this._isDone=!0}feed(e){const t=atob(e),i=new ArrayBuffer(t.length),n=new Uint8Array(i);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);const s=new Int16Array(i);this._samples=new Int16Array([...this._samples,...s]),this._allSamples=new Int16Array([...this._allSamples,...s])}get url(){return(0,s.createObjectURL)(this._allSamples.buffer,{numChannels:this._options.channels,sampleRate:this._options.sampleRate})}flush(){if(!this._samples.length)return;const e=this._isDone,t=this._audioCtx.createBufferSource(),i=this._samples.length/this._options.channels,n=this._audioCtx.createBuffer(this._options.channels,i,this._options.sampleRate);for(let e=0;e<this._options.channels;e++){const t=n.getChannelData(e);let s=e;for(let e=0;e<i;e++)t[e]=this._samples[s]/32768,s+=this._options.channels}this._startTime=Math.max(this._startTime,this._audioCtx.currentTime),t.buffer=n,t.connect(this._gainNode),t.start(this._startTime),t.onended=()=>{this.playButton.disabled=!!e},this._startTime+=n.duration,this._samples=new Int16Array(0)}play(){return n(this,void 0,void 0,(function*(){yield this._audioCtx.resume()}))}pause(){return n(this,void 0,void 0,(function*(){yield this._audioCtx.suspend()}))}volume(e){this._gainNode.gain.value=e}destroy(){this._interval&&clearInterval(this._interval),this._samples=new Int16Array(0),this._audioCtx.close()}}t.PCMPlayer=a,t.default=a},8330:e=>{e.exports=JSON.parse('{"name":"ipyaudio","version":"0.1.19","description":"A Custom Jupyter Widget Library","keywords":["jupyter","jupyterlab","jupyterlab-extension","widgets"],"files":["lib/**/*.js","dist/*.js","css/*.css"],"homepage":"https://github.com/pengzhendong/ipyaudio","bugs":{"url":"https://github.com/pengzhendong/ipyaudio/issues"},"license":"BSD-3-Clause","author":{"name":"Zhendong Peng","email":"pzd17@tsinghua.org.cn"},"main":"lib/index.js","types":"./lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/pengzhendong/ipyaudio.git"},"scripts":{"build":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension:dev","build:prod":"jlpm run build:lib && jlpm run build:nbextension && jlpm run build:labextension","build:labextension":"jupyter labextension build .","build:labextension:dev":"jupyter labextension build --development True .","build:lib":"tsc","build:nbextension":"webpack","clean":"jlpm run clean:lib && jlpm run clean:nbextension && jlpm run clean:labextension","clean:lib":"rimraf lib","clean:labextension":"rimraf ipyaudio/labextension","clean:nbextension":"rimraf ipyaudio/nbextension/static/index.js","lint":"eslint . --ext .ts,.tsx --fix","lint:check":"eslint . --ext .ts,.tsx","prepack":"jlpm run build:lib","test":"jest","watch":"npm-run-all -p \\"watch:*\\"","watch:lib":"tsc -w","watch:nbextension":"webpack --watch --mode=development","watch:labextension":"jupyter labextension watch ."},"dependencies":{"@jupyter-widgets/base":"^1.1.10 || ^2 || ^3 || ^4 || ^5 || ^6","bootstrap":"^5.3.5","jupyter-dataserializers":"^3.0.1","lodash.merge":"^4.6.2"},"devDependencies":{"@babel/core":"^7.23.7","@babel/preset-env":"^7.23.8","@jupyter-widgets/base-manager":"^1.0.7","@jupyterlab/builder":"^4.0.11","@lumino/application":"^2.3.0","@lumino/widgets":"^2.3.1","@types/jest":"^29.5.11","@types/webpack-env":"^1.18.4","@typescript-eslint/eslint-plugin":"^6.19.1","@typescript-eslint/parser":"^6.19.1","acorn":"^8.11.3","css-loader":"^6.9.1","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","fs-extra":"^11.2.0","identity-obj-proxy":"^3.0.0","jest":"^29.7.0","mkdirp":"^3.0.1","npm-run-all":"^4.1.5","prettier":"^3.2.4","rimraf":"^5.0.5","source-map-loader":"^5.0.0","style-loader":"^3.3.4","ts-jest":"^29.1.2","ts-loader":"^9.5.1","typescript":"~5.3.3","wavesurfer.js":"^7.9.1","webpack":"^5.90.0","webpack-cli":"^5.1.4"},"devDependenciesComments":{"@jupyterlab/builder":"pinned to the latest JupyterLab 3.x release","@lumino/application":"pinned to the latest Lumino 1.x release","@lumino/widgets":"pinned to the latest Lumino 1.x release"},"jupyterlab":{"extension":"lib/plugin","outputDir":"ipyaudio/labextension/","sharedPackages":{"@jupyter-widgets/base":{"bundled":false,"singleton":true}}}}')},8661:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1%27/%3e%3c/svg%3e"},8734:e=>{e.exports="data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e"},9155:function(e,t,i){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=n(i(423)),a=n(i(980)),r=n(i(8659)),o=n(i(8541)),l=n(i(1427)),c=n(i(3875)),d=n(i(8078)),u=i(2465),h=i(7997);class m{constructor(e){this.el=(0,h.createElement)("div","lm-Widget"),this._container=(0,h.createElement)("div","waveform"),this._duration=(0,h.createElement)("div","duration","0:00"),this._currentTime=(0,h.createElement)("div","time","0:00"),this._container.append(this._duration,this._currentTime),this.el.append(this._container),this._config=e}get url(){return this._config.isStreaming?this._pcmPlayer.url:(0,h.createObjectURL)(this._wavesurfer.getDecodedData())}set sampleRate(e){this._config.isStreaming&&(this._pcmPlayer.sampleRate=e),this._wavesurfer.options.sampleRate=e}load(e){this._config.isStreaming?(this._pcmPlayer.feed(e),this._wavesurfer.load(this.url)):this._wavesurfer.load(e)}setDone(){this._pcmPlayer.setDone()}createPCMPlayer(){this._config.isStreaming&&(this._pcmPlayer=new d.default({channels:1,sampleRate:this._config.options.sampleRate}),this.el.append(this._pcmPlayer.playButton))}createDownloadButton(){const e=(0,h.createElement)("button","btn btn-success my-3"),t="zh"===this._config.language?"下载":"Download";e.innerHTML=`${t} <i class="fa fa-download"></i>`,e.onclick=()=>{const e=document.createElement("a");e.href=this.url,e.download="audio.wav",e.click()},this.el.append(e)}static createPlugins(e){var t;const i={hover:()=>{var t;return a.default.create(null===(t=e.pluginOptions)||void 0===t?void 0:t.hover)},minimap:()=>{var t,i;return r.default.create(Object.assign(Object.assign({},null===(t=e.pluginOptions)||void 0===t?void 0:t.minimap),{plugins:[a.default.create(Object.assign(Object.assign({},null===(i=e.pluginOptions)||void 0===i?void 0:i.hover),{lineWidth:1}))]}))},spectrogram:()=>{var t;return o.default.create(null===(t=e.pluginOptions)||void 0===t?void 0:t.spectrogram)},timeline:()=>{var t;return l.default.create(null===(t=e.pluginOptions)||void 0===t?void 0:t.timeline)},zoom:()=>{var t;return c.default.create(null===(t=e.pluginOptions)||void 0===t?void 0:t.zoom)}};return Array.from(null!==(t=e.plugins)&&void 0!==t?t:[]).map((e=>{var t;return null===(t=i[e])||void 0===t?void 0:t.call(i)})).filter(Boolean)}createWaveSurfer(){this._wavesurfer=s.default.create(Object.assign(Object.assign({},this._config.options),{container:this._container,plugins:m.createPlugins(this._config)})),this._wavesurfer.on("interaction",(()=>this._wavesurfer.playPause())),this._wavesurfer.on("decode",(e=>this._duration.textContent=(0,h.formatTime)(e))),this._wavesurfer.on("timeupdate",(e=>this._currentTime.textContent=(0,h.formatTime)(e)))}static create(e){const t=new m(e);return t.createWaveSurfer(),t.createPCMPlayer(),t.createDownloadButton(),t.el.appendChild((0,u.createRewardDropdown)(e.language||"en")),t}}t.default=m}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkipyaudio=self.webpackChunkipyaudio||[]).push([[509],{8509:function(e,t,i){var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){void 0===r&&(r=i);var n=Object.getOwnPropertyDescriptor(t,i);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,n)}:function(e,t,i,r){void 0===r&&(r=i),e[r]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||r(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),n(i(4364),t),n(i(319),t),n(i(1797),t)}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 570.97f2a8196b7f1703e636.js.LICENSE.txt */
2
- (self.webpackChunkipyaudio=self.webpackChunkipyaudio||[]).push([[570],{1036:(t,e,r)=>{var n=r(2219),i=r(7206),a="undefined"!=typeof Float64Array;function s(t,e){return t[0]-e[0]}function o(){var t,e=this.stride,r=new Array(e.length);for(t=0;t<r.length;++t)r[t]=[Math.abs(e[t]),t];r.sort(s);var n=new Array(r.length);for(t=0;t<n.length;++t)n[t]=r[t][1];return n}function l(t,e){var r=["View",e,"d",t].join("");e<0&&(r="View_Nil"+t);var i="generic"===t;if(-1===e){var a="function "+r+"(a){this.data=a;};var proto="+r+".prototype;proto.dtype='"+t+"';proto.index=function(){return -1};proto.size=0;proto.dimension=-1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function(){return new "+r+"(this.data);};proto.get=proto.set=function(){};proto.pick=function(){return null};return function construct_"+r+"(a){return new "+r+"(a);}";return new Function(a)()}if(0===e)return a="function "+r+"(a,d) {this.data = a;this.offset = d};var proto="+r+".prototype;proto.dtype='"+t+"';proto.index=function(){return this.offset};proto.dimension=0;proto.size=1;proto.shape=proto.stride=proto.order=[];proto.lo=proto.hi=proto.transpose=proto.step=function "+r+"_copy() {return new "+r+"(this.data,this.offset)};proto.pick=function "+r+"_pick(){return TrivialArray(this.data);};proto.valueOf=proto.get=function "+r+"_get(){return "+(i?"this.data.get(this.offset)":"this.data[this.offset]")+"};proto.set=function "+r+"_set(v){return "+(i?"this.data.set(this.offset,v)":"this.data[this.offset]=v")+"};return function construct_"+r+"(a,b,c,d){return new "+r+"(a,d)}",new Function("TrivialArray",a)(d[t][0]);a=["'use strict'"];var s=n(e),l=s.map((function(t){return"i"+t})),h="this.offset+"+s.map((function(t){return"this.stride["+t+"]*i"+t})).join("+"),u=s.map((function(t){return"b"+t})).join(","),_=s.map((function(t){return"c"+t})).join(",");a.push("function "+r+"(a,"+u+","+_+",d){this.data=a","this.shape=["+u+"]","this.stride=["+_+"]","this.offset=d|0}","var proto="+r+".prototype","proto.dtype='"+t+"'","proto.dimension="+e),a.push("Object.defineProperty(proto,'size',{get:function "+r+"_size(){return "+s.map((function(t){return"this.shape["+t+"]"})).join("*"),"}})"),1===e?a.push("proto.order=[0]"):(a.push("Object.defineProperty(proto,'order',{get:"),e<4?(a.push("function "+r+"_order(){"),2===e?a.push("return (Math.abs(this.stride[0])>Math.abs(this.stride[1]))?[1,0]:[0,1]}})"):3===e&&a.push("var s0=Math.abs(this.stride[0]),s1=Math.abs(this.stride[1]),s2=Math.abs(this.stride[2]);if(s0>s1){if(s1>s2){return [2,1,0];}else if(s0>s2){return [1,2,0];}else{return [1,0,2];}}else if(s0>s2){return [2,0,1];}else if(s2>s1){return [0,1,2];}else{return [0,2,1];}}})")):a.push("ORDER})")),a.push("proto.set=function "+r+"_set("+l.join(",")+",v){"),i?a.push("return this.data.set("+h+",v)}"):a.push("return this.data["+h+"]=v}"),a.push("proto.get=function "+r+"_get("+l.join(",")+"){"),i?a.push("return this.data.get("+h+")}"):a.push("return this.data["+h+"]}"),a.push("proto.index=function "+r+"_index(",l.join(),"){return "+h+"}"),a.push("proto.hi=function "+r+"_hi("+l.join(",")+"){return new "+r+"(this.data,"+s.map((function(t){return["(typeof i",t,"!=='number'||i",t,"<0)?this.shape[",t,"]:i",t,"|0"].join("")})).join(",")+","+s.map((function(t){return"this.stride["+t+"]"})).join(",")+",this.offset)}");var f=s.map((function(t){return"a"+t+"=this.shape["+t+"]"})),c=s.map((function(t){return"c"+t+"=this.stride["+t+"]"}));a.push("proto.lo=function "+r+"_lo("+l.join(",")+"){var b=this.offset,d=0,"+f.join(",")+","+c.join(","));for(var p=0;p<e;++p)a.push("if(typeof i"+p+"==='number'&&i"+p+">=0){d=i"+p+"|0;b+=c"+p+"*d;a"+p+"-=d}");for(a.push("return new "+r+"(this.data,"+s.map((function(t){return"a"+t})).join(",")+","+s.map((function(t){return"c"+t})).join(",")+",b)}"),a.push("proto.step=function "+r+"_step("+l.join(",")+"){var "+s.map((function(t){return"a"+t+"=this.shape["+t+"]"})).join(",")+","+s.map((function(t){return"b"+t+"=this.stride["+t+"]"})).join(",")+",c=this.offset,d=0,ceil=Math.ceil"),p=0;p<e;++p)a.push("if(typeof i"+p+"==='number'){d=i"+p+"|0;if(d<0){c+=b"+p+"*(a"+p+"-1);a"+p+"=ceil(-a"+p+"/d)}else{a"+p+"=ceil(a"+p+"/d)}b"+p+"*=d}");a.push("return new "+r+"(this.data,"+s.map((function(t){return"a"+t})).join(",")+","+s.map((function(t){return"b"+t})).join(",")+",c)}");var w=new Array(e),b=new Array(e);for(p=0;p<e;++p)w[p]="a[i"+p+"]",b[p]="b[i"+p+"]";for(a.push("proto.transpose=function "+r+"_transpose("+l+"){"+l.map((function(t,e){return t+"=("+t+"===undefined?"+e+":"+t+"|0)"})).join(";"),"var a=this.shape,b=this.stride;return new "+r+"(this.data,"+w.join(",")+","+b.join(",")+",this.offset)}"),a.push("proto.pick=function "+r+"_pick("+l+"){var a=[],b=[],c=this.offset"),p=0;p<e;++p)a.push("if(typeof i"+p+"==='number'&&i"+p+">=0){c=(c+this.stride["+p+"]*i"+p+")|0}else{a.push(this.shape["+p+"]);b.push(this.stride["+p+"])}");return a.push("var ctor=CTOR_LIST[a.length+1];return ctor(this.data,a,b,c)}"),a.push("return function construct_"+r+"(data,shape,stride,offset){return new "+r+"(data,"+s.map((function(t){return"shape["+t+"]"})).join(",")+","+s.map((function(t){return"stride["+t+"]"})).join(",")+",offset)}"),new Function("CTOR_LIST","ORDER",a.join("\n"))(d[t],o)}var d={float32:[],float64:[],int8:[],int16:[],int32:[],uint8:[],uint16:[],uint32:[],array:[],uint8_clamped:[],bigint64:[],biguint64:[],buffer:[],generic:[]};t.exports=function(t,e,r,n){if(void 0===t)return(0,d.array[0])([]);"number"==typeof t&&(t=[t]),void 0===e&&(e=[t.length]);var s=e.length;if(void 0===r){r=new Array(s);for(var o=s-1,h=1;o>=0;--o)r[o]=h,h*=e[o]}if(void 0===n)for(n=0,o=0;o<s;++o)r[o]<0&&(n-=(e[o]-1)*r[o]);for(var u=function(t){if(i(t))return"buffer";if(a)switch(Object.prototype.toString.call(t)){case"[object Float64Array]":return"float64";case"[object Float32Array]":return"float32";case"[object Int8Array]":return"int8";case"[object Int16Array]":return"int16";case"[object Int32Array]":return"int32";case"[object Uint8Array]":return"uint8";case"[object Uint16Array]":return"uint16";case"[object Uint32Array]":return"uint32";case"[object Uint8ClampedArray]":return"uint8_clamped";case"[object BigInt64Array]":return"bigint64";case"[object BigUint64Array]":return"biguint64"}return Array.isArray(t)?"array":"generic"}(t),_=d[u];_.length<=s+1;)_.push(l(u,_.length-1));return(0,_[s+1])(t,e,r,n)}},1447:(t,e,r)=>{"use strict";const n=r(3269),i=r(4823),a=r(7293),s=r(1998),{Z_FINISH:o,Z_BLOCK:l,Z_TREES:d,Z_OK:h,Z_STREAM_END:u,Z_NEED_DICT:_,Z_STREAM_ERROR:f,Z_DATA_ERROR:c,Z_MEM_ERROR:p,Z_BUF_ERROR:w,Z_DEFLATED:b}=r(9681),m=16180,g=16190,y=16191,v=16192,k=16194,x=16199,z=16200,A=16206,S=16209,T=16210,E=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function O(){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}const U=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<m||e.mode>16211?1:0},R=t=>{if(U(t))return f;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=m,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,h},N=t=>{if(U(t))return f;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,R(t)},Z=(t,e)=>{let r;if(U(t))return f;const n=t.state;return e<0?(r=0,e=-e):(r=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?f:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,N(t))},D=(t,e)=>{if(!t)return f;const r=new O;t.state=r,r.strm=t,r.window=null,r.mode=m;const n=Z(t,e);return n!==h&&(t.state=null),n};let j,I,F=!0;const B=t=>{if(F){j=new Int32Array(512),I=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,j,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,I,0,t.work,{bits:5}),F=!1}t.lencode=j,t.lenbits=9,t.distcode=I,t.distbits=5},L=(t,e,r,n)=>{let i;const a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),n>=a.wsize?(a.window.set(e.subarray(r-a.wsize,r),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),a.window.set(e.subarray(r-n,r-n+i),a.wnext),(n-=i)?(a.window.set(e.subarray(r-n,r),0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0};t.exports.inflateReset=N,t.exports.inflateReset2=Z,t.exports.inflateResetKeep=R,t.exports.inflateInit=t=>D(t,15),t.exports.inflateInit2=D,t.exports.inflate=(t,e)=>{let r,O,R,N,Z,D,j,I,F,M,C,J,P,H,K,W,Y,$,G,q,X,V,Q=0;const tt=new Uint8Array(4);let et,rt;const nt=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(U(t)||!t.output||!t.input&&0!==t.avail_in)return f;r=t.state,r.mode===y&&(r.mode=v),Z=t.next_out,R=t.output,j=t.avail_out,N=t.next_in,O=t.input,D=t.avail_in,I=r.hold,F=r.bits,M=D,C=j,V=h;t:for(;;)switch(r.mode){case m:if(0===r.wrap){r.mode=v;break}for(;F<16;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(2&r.wrap&&35615===I){0===r.wbits&&(r.wbits=15),r.check=0,tt[0]=255&I,tt[1]=I>>>8&255,r.check=i(r.check,tt,2,0),I=0,F=0,r.mode=16181;break}if(r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&I)<<8)+(I>>8))%31){t.msg="incorrect header check",r.mode=S;break}if((15&I)!==b){t.msg="unknown compression method",r.mode=S;break}if(I>>>=4,F-=4,X=8+(15&I),0===r.wbits&&(r.wbits=X),X>15||X>r.wbits){t.msg="invalid window size",r.mode=S;break}r.dmax=1<<r.wbits,r.flags=0,t.adler=r.check=1,r.mode=512&I?16189:y,I=0,F=0;break;case 16181:for(;F<16;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(r.flags=I,(255&r.flags)!==b){t.msg="unknown compression method",r.mode=S;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=S;break}r.head&&(r.head.text=I>>8&1),512&r.flags&&4&r.wrap&&(tt[0]=255&I,tt[1]=I>>>8&255,r.check=i(r.check,tt,2,0)),I=0,F=0,r.mode=16182;case 16182:for(;F<32;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}r.head&&(r.head.time=I),512&r.flags&&4&r.wrap&&(tt[0]=255&I,tt[1]=I>>>8&255,tt[2]=I>>>16&255,tt[3]=I>>>24&255,r.check=i(r.check,tt,4,0)),I=0,F=0,r.mode=16183;case 16183:for(;F<16;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}r.head&&(r.head.xflags=255&I,r.head.os=I>>8),512&r.flags&&4&r.wrap&&(tt[0]=255&I,tt[1]=I>>>8&255,r.check=i(r.check,tt,2,0)),I=0,F=0,r.mode=16184;case 16184:if(1024&r.flags){for(;F<16;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}r.length=I,r.head&&(r.head.extra_len=I),512&r.flags&&4&r.wrap&&(tt[0]=255&I,tt[1]=I>>>8&255,r.check=i(r.check,tt,2,0)),I=0,F=0}else r.head&&(r.head.extra=null);r.mode=16185;case 16185:if(1024&r.flags&&(J=r.length,J>D&&(J=D),J&&(r.head&&(X=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Uint8Array(r.head.extra_len)),r.head.extra.set(O.subarray(N,N+J),X)),512&r.flags&&4&r.wrap&&(r.check=i(r.check,O,J,N)),D-=J,N+=J,r.length-=J),r.length))break t;r.length=0,r.mode=16186;case 16186:if(2048&r.flags){if(0===D)break t;J=0;do{X=O[N+J++],r.head&&X&&r.length<65536&&(r.head.name+=String.fromCharCode(X))}while(X&&J<D);if(512&r.flags&&4&r.wrap&&(r.check=i(r.check,O,J,N)),D-=J,N+=J,X)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=16187;case 16187:if(4096&r.flags){if(0===D)break t;J=0;do{X=O[N+J++],r.head&&X&&r.length<65536&&(r.head.comment+=String.fromCharCode(X))}while(X&&J<D);if(512&r.flags&&4&r.wrap&&(r.check=i(r.check,O,J,N)),D-=J,N+=J,X)break t}else r.head&&(r.head.comment=null);r.mode=16188;case 16188:if(512&r.flags){for(;F<16;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(4&r.wrap&&I!==(65535&r.check)){t.msg="header crc mismatch",r.mode=S;break}I=0,F=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=y;break;case 16189:for(;F<32;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}t.adler=r.check=E(I),I=0,F=0,r.mode=g;case g:if(0===r.havedict)return t.next_out=Z,t.avail_out=j,t.next_in=N,t.avail_in=D,r.hold=I,r.bits=F,_;t.adler=r.check=1,r.mode=y;case y:if(e===l||e===d)break t;case v:if(r.last){I>>>=7&F,F-=7&F,r.mode=A;break}for(;F<3;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}switch(r.last=1&I,I>>>=1,F-=1,3&I){case 0:r.mode=16193;break;case 1:if(B(r),r.mode=x,e===d){I>>>=2,F-=2;break t}break;case 2:r.mode=16196;break;case 3:t.msg="invalid block type",r.mode=S}I>>>=2,F-=2;break;case 16193:for(I>>>=7&F,F-=7&F;F<32;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if((65535&I)!=(I>>>16^65535)){t.msg="invalid stored block lengths",r.mode=S;break}if(r.length=65535&I,I=0,F=0,r.mode=k,e===d)break t;case k:r.mode=16195;case 16195:if(J=r.length,J){if(J>D&&(J=D),J>j&&(J=j),0===J)break t;R.set(O.subarray(N,N+J),Z),D-=J,N+=J,j-=J,Z+=J,r.length-=J;break}r.mode=y;break;case 16196:for(;F<14;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(r.nlen=257+(31&I),I>>>=5,F-=5,r.ndist=1+(31&I),I>>>=5,F-=5,r.ncode=4+(15&I),I>>>=4,F-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=S;break}r.have=0,r.mode=16197;case 16197:for(;r.have<r.ncode;){for(;F<3;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}r.lens[nt[r.have++]]=7&I,I>>>=3,F-=3}for(;r.have<19;)r.lens[nt[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,et={bits:r.lenbits},V=s(0,r.lens,0,19,r.lencode,0,r.work,et),r.lenbits=et.bits,V){t.msg="invalid code lengths set",r.mode=S;break}r.have=0,r.mode=16198;case 16198:for(;r.have<r.nlen+r.ndist;){for(;Q=r.lencode[I&(1<<r.lenbits)-1],K=Q>>>24,W=Q>>>16&255,Y=65535&Q,!(K<=F);){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(Y<16)I>>>=K,F-=K,r.lens[r.have++]=Y;else{if(16===Y){for(rt=K+2;F<rt;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(I>>>=K,F-=K,0===r.have){t.msg="invalid bit length repeat",r.mode=S;break}X=r.lens[r.have-1],J=3+(3&I),I>>>=2,F-=2}else if(17===Y){for(rt=K+3;F<rt;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}I>>>=K,F-=K,X=0,J=3+(7&I),I>>>=3,F-=3}else{for(rt=K+7;F<rt;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}I>>>=K,F-=K,X=0,J=11+(127&I),I>>>=7,F-=7}if(r.have+J>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=S;break}for(;J--;)r.lens[r.have++]=X}}if(r.mode===S)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=S;break}if(r.lenbits=9,et={bits:r.lenbits},V=s(1,r.lens,0,r.nlen,r.lencode,0,r.work,et),r.lenbits=et.bits,V){t.msg="invalid literal/lengths set",r.mode=S;break}if(r.distbits=6,r.distcode=r.distdyn,et={bits:r.distbits},V=s(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,et),r.distbits=et.bits,V){t.msg="invalid distances set",r.mode=S;break}if(r.mode=x,e===d)break t;case x:r.mode=z;case z:if(D>=6&&j>=258){t.next_out=Z,t.avail_out=j,t.next_in=N,t.avail_in=D,r.hold=I,r.bits=F,a(t,C),Z=t.next_out,R=t.output,j=t.avail_out,N=t.next_in,O=t.input,D=t.avail_in,I=r.hold,F=r.bits,r.mode===y&&(r.back=-1);break}for(r.back=0;Q=r.lencode[I&(1<<r.lenbits)-1],K=Q>>>24,W=Q>>>16&255,Y=65535&Q,!(K<=F);){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(W&&!(240&W)){for($=K,G=W,q=Y;Q=r.lencode[q+((I&(1<<$+G)-1)>>$)],K=Q>>>24,W=Q>>>16&255,Y=65535&Q,!($+K<=F);){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}I>>>=$,F-=$,r.back+=$}if(I>>>=K,F-=K,r.back+=K,r.length=Y,0===W){r.mode=16205;break}if(32&W){r.back=-1,r.mode=y;break}if(64&W){t.msg="invalid literal/length code",r.mode=S;break}r.extra=15&W,r.mode=16201;case 16201:if(r.extra){for(rt=r.extra;F<rt;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}r.length+=I&(1<<r.extra)-1,I>>>=r.extra,F-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=16202;case 16202:for(;Q=r.distcode[I&(1<<r.distbits)-1],K=Q>>>24,W=Q>>>16&255,Y=65535&Q,!(K<=F);){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(!(240&W)){for($=K,G=W,q=Y;Q=r.distcode[q+((I&(1<<$+G)-1)>>$)],K=Q>>>24,W=Q>>>16&255,Y=65535&Q,!($+K<=F);){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}I>>>=$,F-=$,r.back+=$}if(I>>>=K,F-=K,r.back+=K,64&W){t.msg="invalid distance code",r.mode=S;break}r.offset=Y,r.extra=15&W,r.mode=16203;case 16203:if(r.extra){for(rt=r.extra;F<rt;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}r.offset+=I&(1<<r.extra)-1,I>>>=r.extra,F-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=S;break}r.mode=16204;case 16204:if(0===j)break t;if(J=C-j,r.offset>J){if(J=r.offset-J,J>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=S;break}J>r.wnext?(J-=r.wnext,P=r.wsize-J):P=r.wnext-J,J>r.length&&(J=r.length),H=r.window}else H=R,P=Z-r.offset,J=r.length;J>j&&(J=j),j-=J,r.length-=J;do{R[Z++]=H[P++]}while(--J);0===r.length&&(r.mode=z);break;case 16205:if(0===j)break t;R[Z++]=r.length,j--,r.mode=z;break;case A:if(r.wrap){for(;F<32;){if(0===D)break t;D--,I|=O[N++]<<F,F+=8}if(C-=j,t.total_out+=C,r.total+=C,4&r.wrap&&C&&(t.adler=r.check=r.flags?i(r.check,R,C,Z-C):n(r.check,R,C,Z-C)),C=j,4&r.wrap&&(r.flags?I:E(I))!==r.check){t.msg="incorrect data check",r.mode=S;break}I=0,F=0}r.mode=16207;case 16207:if(r.wrap&&r.flags){for(;F<32;){if(0===D)break t;D--,I+=O[N++]<<F,F+=8}if(4&r.wrap&&I!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=S;break}I=0,F=0}r.mode=16208;case 16208:V=u;break t;case S:V=c;break t;case T:return p;default:return f}return t.next_out=Z,t.avail_out=j,t.next_in=N,t.avail_in=D,r.hold=I,r.bits=F,(r.wsize||C!==t.avail_out&&r.mode<S&&(r.mode<A||e!==o))&&L(t,t.output,t.next_out,C-t.avail_out)?(r.mode=T,p):(M-=t.avail_in,C-=t.avail_out,t.total_in+=M,t.total_out+=C,r.total+=C,4&r.wrap&&C&&(t.adler=r.check=r.flags?i(r.check,R,C,t.next_out-C):n(r.check,R,C,t.next_out-C)),t.data_type=r.bits+(r.last?64:0)+(r.mode===y?128:0)+(r.mode===x||r.mode===k?256:0),(0===M&&0===C||e===o)&&V===h&&(V=w),V)},t.exports.inflateEnd=t=>{if(U(t))return f;let e=t.state;return e.window&&(e.window=null),t.state=null,h},t.exports.inflateGetHeader=(t,e)=>{if(U(t))return f;const r=t.state;return 2&r.wrap?(r.head=e,e.done=!1,h):f},t.exports.inflateSetDictionary=(t,e)=>{const r=e.length;let i,a,s;return U(t)?f:(i=t.state,0!==i.wrap&&i.mode!==g?f:i.mode===g&&(a=1,a=n(a,e,r,0),a!==i.check)?c:(s=L(t,e,r,r),s?(i.mode=T,p):(i.havedict=1,h)))},t.exports.inflateInfo="pako inflate (from Nodeca project)"},1668:(t,e,r)=>{"use strict";const{Deflate:n,deflate:i,deflateRaw:a,gzip:s}=r(3303),{Inflate:o,inflate:l,inflateRaw:d,ungzip:h}=r(7083),u=r(9681);t.exports.Deflate=n,t.exports.deflate=i,t.exports.deflateRaw=a,t.exports.gzip=s,t.exports.Inflate=o,t.exports.inflate=l,t.exports.inflateRaw=d,t.exports.ungzip=h,t.exports.constants=u},1996:t=>{"use strict";let e=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){e=!1}const r=new Uint8Array(256);for(let t=0;t<256;t++)r[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;r[254]=r[254]=1,t.exports.string2buf=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,r,n,i,a,s=t.length,o=0;for(i=0;i<s;i++)r=t.charCodeAt(i),55296==(64512&r)&&i+1<s&&(n=t.charCodeAt(i+1),56320==(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),i++)),o+=r<128?1:r<2048?2:r<65536?3:4;for(e=new Uint8Array(o),a=0,i=0;a<o;i++)r=t.charCodeAt(i),55296==(64512&r)&&i+1<s&&(n=t.charCodeAt(i+1),56320==(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?e[a++]=r:r<2048?(e[a++]=192|r>>>6,e[a++]=128|63&r):r<65536?(e[a++]=224|r>>>12,e[a++]=128|r>>>6&63,e[a++]=128|63&r):(e[a++]=240|r>>>18,e[a++]=128|r>>>12&63,e[a++]=128|r>>>6&63,e[a++]=128|63&r);return e},t.exports.buf2string=(t,n)=>{const i=n||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,n));let a,s;const o=new Array(2*i);for(s=0,a=0;a<i;){let e=t[a++];if(e<128){o[s++]=e;continue}let n=r[e];if(n>4)o[s++]=65533,a+=n-1;else{for(e&=2===n?31:3===n?15:7;n>1&&a<i;)e=e<<6|63&t[a++],n--;n>1?o[s++]=65533:e<65536?o[s++]=e:(e-=65536,o[s++]=55296|e>>10&1023,o[s++]=56320|1023&e)}}return((t,r)=>{if(r<65534&&t.subarray&&e)return String.fromCharCode.apply(null,t.length===r?t:t.subarray(0,r));let n="";for(let e=0;e<r;e++)n+=String.fromCharCode(t[e]);return n})(o,s)},t.exports.utf8border=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let n=e-1;for(;n>=0&&128==(192&t[n]);)n--;return n<0||0===n?e:n+r[t[n]]>e?n:e}},1998:t=>{"use strict";const e=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),r=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),n=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),i=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);t.exports=(t,a,s,o,l,d,h,u)=>{const _=u.bits;let f,c,p,w,b,m,g=0,y=0,v=0,k=0,x=0,z=0,A=0,S=0,T=0,E=0,O=null;const U=new Uint16Array(16),R=new Uint16Array(16);let N,Z,D,j=null;for(g=0;g<=15;g++)U[g]=0;for(y=0;y<o;y++)U[a[s+y]]++;for(x=_,k=15;k>=1&&0===U[k];k--);if(x>k&&(x=k),0===k)return l[d++]=20971520,l[d++]=20971520,u.bits=1,0;for(v=1;v<k&&0===U[v];v++);for(x<v&&(x=v),S=1,g=1;g<=15;g++)if(S<<=1,S-=U[g],S<0)return-1;if(S>0&&(0===t||1!==k))return-1;for(R[1]=0,g=1;g<15;g++)R[g+1]=R[g]+U[g];for(y=0;y<o;y++)0!==a[s+y]&&(h[R[a[s+y]]++]=y);if(0===t?(O=j=h,m=20):1===t?(O=e,j=r,m=257):(O=n,j=i,m=0),E=0,y=0,g=v,b=d,z=x,A=0,p=-1,T=1<<x,w=T-1,1===t&&T>852||2===t&&T>592)return 1;for(;;){N=g-A,h[y]+1<m?(Z=0,D=h[y]):h[y]>=m?(Z=j[h[y]-m],D=O[h[y]-m]):(Z=96,D=0),f=1<<g-A,c=1<<z,v=c;do{c-=f,l[b+(E>>A)+c]=N<<24|Z<<16|D}while(0!==c);for(f=1<<g-1;E&f;)f>>=1;if(0!==f?(E&=f-1,E+=f):E=0,y++,0==--U[g]){if(g===k)break;g=a[s+h[y]]}if(g>x&&(E&w)!==p){for(0===A&&(A=x),b+=v,z=g-A,S=1<<z;z+A<k&&(S-=U[z+A],!(S<=0));)z++,S<<=1;if(T+=1<<z,1===t&&T>852||2===t&&T>592)return 1;p=E&w,l[p]=x<<24|z<<16|b-d}}return 0!==E&&(l[b+E]=g-A<<24|64<<16),u.bits=x,0}},2219:t=>{"use strict";t.exports=function(t){for(var e=new Array(t),r=0;r<t;++r)e[r]=r;return e}},2620:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arraysEqual=void 0,e.arraysEqual=function(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}},2653:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.data_union_simple_serialization=e.JSONToSimpleUnion=e.data_union_typedarray_serialization=e.JSONToUnionTypedArray=e.data_union_serialization=e.data_union_array_serialization=e.listenToUnion=e.unionToJSON=e.JSONToUnionArray=e.JSONToUnion=void 0;const n=r(6413),i=r(8589),a=r(7133);async function s(t,e){return"string"==typeof t?(0,n.unpack_models)(t,e):Promise.resolve((0,i.JSONToArray)(t,e))}async function o(t,e){return(0,a.getArray)(await s(t,e))}function l(t,e){return t instanceof n.WidgetModel?t.toJSON(void 0):(0,i.arrayToJSON)(t,e)}function d(t,e){return"string"==typeof t?(0,n.unpack_models)(t,e).then((t=>{const e=t.getNDArray();return null===e?e:e.data})):Promise.resolve((0,i.JSONToTypedArray)(t,e))}function h(t,e){return"string"==typeof t?(0,n.unpack_models)(t,e).then((t=>{const e=t.getNDArray();return null===e?null:{array:e.data,shape:e.shape}})):Promise.resolve((0,i.JSONToSimple)(t,e))}e.JSONToUnion=s,e.JSONToUnionArray=o,e.unionToJSON=l,e.listenToUnion=function(t,e,r,i){function a(e){e instanceof n.WidgetModel&&t.listenTo(e,"change",r)}function s(s,o,l){const d=t.previous(e)||[],h=o||[];d instanceof n.WidgetModel?t.stopListening(d):!i||h instanceof n.WidgetModel||r(s,l),i&&d instanceof n.WidgetModel!=h instanceof n.WidgetModel&&r(s,l),a(h)}return a(t.get(e)),t.on("change:"+e,s),function(){const r=t.get(e);r instanceof n.WidgetModel&&t.stopListening(r),t.off("change:"+e,s)}},e.data_union_array_serialization={deserialize:o,serialize:l},e.data_union_serialization={deserialize:s,serialize:l},e.JSONToUnionTypedArray=d,e.data_union_typedarray_serialization={deserialize:d,serialize:i.typedArrayToJSON},e.JSONToSimpleUnion=h,e.data_union_simple_serialization={deserialize:h,serialize:i.simpleToJSON}},3269:t=>{"use strict";t.exports=(t,e,r,n)=>{let i=65535&t,a=t>>>16&65535,s=0;for(;0!==r;){s=r>2e3?2e3:r,r-=s;do{i=i+e[n++]|0,a=a+i|0}while(--s);i%=65521,a%=65521}return i|a<<16}},3303:(t,e,r)=>{"use strict";const n=r(8411),i=r(9805),a=r(1996),s=r(4674),o=r(4442),l=Object.prototype.toString,{Z_NO_FLUSH:d,Z_SYNC_FLUSH:h,Z_FULL_FLUSH:u,Z_FINISH:_,Z_OK:f,Z_STREAM_END:c,Z_DEFAULT_COMPRESSION:p,Z_DEFAULT_STRATEGY:w,Z_DEFLATED:b}=r(9681);function m(t){this.options=i.assign({level:p,method:b,chunkSize:16384,windowBits:15,memLevel:8,strategy:w},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;let r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==f)throw new Error(s[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?a.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,r=n.deflateSetDictionary(this.strm,t),r!==f)throw new Error(s[r]);this._dict_set=!0}}function g(t,e){const r=new m(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}m.prototype.push=function(t,e){const r=this.strm,i=this.options.chunkSize;let s,o;if(this.ended)return!1;for(o=e===~~e?e:!0===e?_:d,"string"==typeof t?r.input=a.string2buf(t):"[object ArrayBuffer]"===l.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(o===h||o===u)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(s=n.deflate(r,o),s===c)return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),s=n.deflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===f;if(0!==r.avail_out){if(o>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},m.prototype.onData=function(t){this.chunks.push(t)},m.prototype.onEnd=function(t){t===f&&(this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},t.exports.Deflate=m,t.exports.deflate=g,t.exports.deflateRaw=function(t,e){return(e=e||{}).raw=!0,g(t,e)},t.exports.gzip=function(t,e){return(e=e||{}).gzip=!0,g(t,e)},t.exports.constants=r(9681)},3665:t=>{"use strict";function e(t){let e=t.length;for(;--e>=0;)t[e]=0}const r=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]),n=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]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),a=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);e(s);const o=new Array(60);e(o);const l=new Array(512);e(l);const d=new Array(256);e(d);const h=new Array(29);e(h);const u=new Array(30);function _(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}let f,c,p;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(u);const b=t=>t<256?l[t]:l[256+(t>>>7)],m=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,r)=>{t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,m(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)},y=(t,e,r)=>{g(t,r[2*e],r[2*e+1])},v=(t,e)=>{let r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1},k=(t,e,r)=>{const n=new Array(16);let i,a,s=0;for(i=1;i<=15;i++)s=s+r[i-1]<<1,n[i]=s;for(a=0;a<=e;a++){let e=t[2*a+1];0!==e&&(t[2*a]=v(n[e]++,e))}},x=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},z=t=>{t.bi_valid>8?m(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=(t,e,r,n)=>{const i=2*e,a=2*r;return t[i]<t[a]||t[i]===t[a]&&n[e]<=n[r]},S=(t,e,r)=>{const n=t.heap[r];let i=r<<1;for(;i<=t.heap_len&&(i<t.heap_len&&A(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!A(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n},T=(t,e,i)=>{let a,s,o,l,_=0;if(0!==t.sym_next)do{a=255&t.pending_buf[t.sym_buf+_++],a+=(255&t.pending_buf[t.sym_buf+_++])<<8,s=t.pending_buf[t.sym_buf+_++],0===a?y(t,s,e):(o=d[s],y(t,o+256+1,e),l=r[o],0!==l&&(s-=h[o],g(t,s,l)),a--,o=b(a),y(t,o,i),l=n[o],0!==l&&(a-=u[o],g(t,a,l)))}while(_<t.sym_next);y(t,256,e)},E=(t,e)=>{const r=e.dyn_tree,n=e.stat_desc.static_tree,i=e.stat_desc.has_stree,a=e.stat_desc.elems;let s,o,l,d=-1;for(t.heap_len=0,t.heap_max=573,s=0;s<a;s++)0!==r[2*s]?(t.heap[++t.heap_len]=d=s,t.depth[s]=0):r[2*s+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=d<2?++d:0,r[2*l]=1,t.depth[l]=0,t.opt_len--,i&&(t.static_len-=n[2*l+1]);for(e.max_code=d,s=t.heap_len>>1;s>=1;s--)S(t,r,s);l=a;do{s=t.heap[1],t.heap[1]=t.heap[t.heap_len--],S(t,r,1),o=t.heap[1],t.heap[--t.heap_max]=s,t.heap[--t.heap_max]=o,r[2*l]=r[2*s]+r[2*o],t.depth[l]=(t.depth[s]>=t.depth[o]?t.depth[s]:t.depth[o])+1,r[2*s+1]=r[2*o+1]=l,t.heap[1]=l++,S(t,r,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const r=e.dyn_tree,n=e.max_code,i=e.stat_desc.static_tree,a=e.stat_desc.has_stree,s=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let d,h,u,_,f,c,p=0;for(_=0;_<=15;_++)t.bl_count[_]=0;for(r[2*t.heap[t.heap_max]+1]=0,d=t.heap_max+1;d<573;d++)h=t.heap[d],_=r[2*r[2*h+1]+1]+1,_>l&&(_=l,p++),r[2*h+1]=_,h>n||(t.bl_count[_]++,f=0,h>=o&&(f=s[h-o]),c=r[2*h],t.opt_len+=c*(_+f),a&&(t.static_len+=c*(i[2*h+1]+f)));if(0!==p){do{for(_=l-1;0===t.bl_count[_];)_--;t.bl_count[_]--,t.bl_count[_+1]+=2,t.bl_count[l]--,p-=2}while(p>0);for(_=l;0!==_;_--)for(h=t.bl_count[_];0!==h;)u=t.heap[--d],u>n||(r[2*u+1]!==_&&(t.opt_len+=(_-r[2*u+1])*r[2*u],r[2*u+1]=_),h--)}})(t,e),k(r,d,t.bl_count)},O=(t,e,r)=>{let n,i,a=-1,s=e[1],o=0,l=7,d=4;for(0===s&&(l=138,d=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=s,s=e[2*(n+1)+1],++o<l&&i===s||(o<d?t.bl_tree[2*i]+=o:0!==i?(i!==a&&t.bl_tree[2*i]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,a=i,0===s?(l=138,d=3):i===s?(l=6,d=3):(l=7,d=4))},U=(t,e,r)=>{let n,i,a=-1,s=e[1],o=0,l=7,d=4;for(0===s&&(l=138,d=3),n=0;n<=r;n++)if(i=s,s=e[2*(n+1)+1],!(++o<l&&i===s)){if(o<d)do{y(t,i,t.bl_tree)}while(0!=--o);else 0!==i?(i!==a&&(y(t,i,t.bl_tree),o--),y(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(y(t,17,t.bl_tree),g(t,o-3,3)):(y(t,18,t.bl_tree),g(t,o-11,7));o=0,a=i,0===s?(l=138,d=3):i===s?(l=6,d=3):(l=7,d=4)}};let R=!1;const N=(t,e,r,n)=>{g(t,0+(n?1:0),3),z(t),m(t,r),m(t,~r),r&&t.pending_buf.set(t.window.subarray(e,e+r),t.pending),t.pending+=r};t.exports._tr_init=t=>{R||((()=>{let t,e,a,w,b;const m=new Array(16);for(a=0,w=0;w<28;w++)for(h[w]=a,t=0;t<1<<r[w];t++)d[a++]=w;for(d[a-1]=w,b=0,w=0;w<16;w++)for(u[w]=b,t=0;t<1<<n[w];t++)l[b++]=w;for(b>>=7;w<30;w++)for(u[w]=b<<7,t=0;t<1<<n[w]-7;t++)l[256+b++]=w;for(e=0;e<=15;e++)m[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,m[8]++;for(;t<=255;)s[2*t+1]=9,t++,m[9]++;for(;t<=279;)s[2*t+1]=7,t++,m[7]++;for(;t<=287;)s[2*t+1]=8,t++,m[8]++;for(k(s,287,m),t=0;t<30;t++)o[2*t+1]=5,o[2*t]=v(t,5);f=new _(s,r,257,286,15),c=new _(o,n,0,30,15),p=new _(new Array(0),i,0,19,7)})(),R=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,p),t.bi_buf=0,t.bi_valid=0,x(t)},t.exports._tr_stored_block=N,t.exports._tr_flush_block=(t,e,r,n)=>{let i,l,d=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),E(t,t.l_desc),E(t,t.d_desc),d=(t=>{let e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),E(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*a[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),i=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=i&&(i=l)):i=l=r+5,r+4<=i&&-1!==e?N(t,e,r,n):4===t.strategy||l===i?(g(t,2+(n?1:0),3),T(t,s,o)):(g(t,4+(n?1:0),3),((t,e,r,n)=>{let i;for(g(t,e-257,5),g(t,r-1,5),g(t,n-4,4),i=0;i<n;i++)g(t,t.bl_tree[2*a[i]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,r-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,d+1),T(t,t.dyn_ltree,t.dyn_dtree)),x(t),n&&z(t)},t.exports._tr_tally=(t,e,r)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=r,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(d[r]+256+1)]++,t.dyn_dtree[2*b(e)]++),t.sym_next===t.sym_end),t.exports._tr_align=t=>{g(t,2,3),y(t,256,s),(t=>{16===t.bi_valid?(m(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}},4442:t=>{"use strict";t.exports=function(){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}},4674:t=>{"use strict";t.exports={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"}},4823:t=>{"use strict";const e=new Uint32Array((()=>{let t,e=[];for(var r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e})());t.exports=(t,r,n,i)=>{const a=e,s=i+n;t^=-1;for(let e=i;e<s;e++)t=t>>>8^a[255&(t^r[e])];return~t}},6777:t=>{"use strict";t.exports={version:"3.0.1"}},7083:(t,e,r)=>{"use strict";const n=r(1447),i=r(9805),a=r(1996),s=r(4674),o=r(4442),l=r(7414),d=Object.prototype.toString,{Z_NO_FLUSH:h,Z_FINISH:u,Z_OK:_,Z_STREAM_END:f,Z_NEED_DICT:c,Z_STREAM_ERROR:p,Z_DATA_ERROR:w,Z_MEM_ERROR:b}=r(9681);function m(t){this.options=i.assign({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(15&e.windowBits||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;let r=n.inflateInit2(this.strm,e.windowBits);if(r!==_)throw new Error(s[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=a.string2buf(e.dictionary):"[object ArrayBuffer]"===d.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=n.inflateSetDictionary(this.strm,e.dictionary),r!==_)))throw new Error(s[r])}function g(t,e){const r=new m(e);if(r.push(t),r.err)throw r.msg||s[r.err];return r.result}m.prototype.push=function(t,e){const r=this.strm,i=this.options.chunkSize,s=this.options.dictionary;let o,l,m;if(this.ended)return!1;for(l=e===~~e?e:!0===e?u:h,"[object ArrayBuffer]"===d.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;){for(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),o=n.inflate(r,l),o===c&&s&&(o=n.inflateSetDictionary(r,s),o===_?o=n.inflate(r,l):o===w&&(o=c));r.avail_in>0&&o===f&&r.state.wrap>0&&0!==t[r.next_in];)n.inflateReset(r),o=n.inflate(r,l);switch(o){case p:case w:case c:case b:return this.onEnd(o),this.ended=!0,!1}if(m=r.avail_out,r.next_out&&(0===r.avail_out||o===f))if("string"===this.options.to){let t=a.utf8border(r.output,r.next_out),e=r.next_out-t,n=a.buf2string(r.output,t);r.next_out=e,r.avail_out=i-e,e&&r.output.set(r.output.subarray(t,t+e),0),this.onData(n)}else this.onData(r.output.length===r.next_out?r.output:r.output.subarray(0,r.next_out));if(o!==_||0!==m){if(o===f)return o=n.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(0===r.avail_in)break}}return!0},m.prototype.onData=function(t){this.chunks.push(t)},m.prototype.onEnd=function(t){t===_&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},t.exports.Inflate=m,t.exports.inflate=g,t.exports.inflateRaw=function(t,e){return(e=e||{}).raw=!0,g(t,e)},t.exports.ungzip=g,t.exports.constants=r(9681)},7133:(t,e)=>{"use strict";function r(t){return t&&"function"==typeof t.getNDArray}function n(t){return t&&"function"==typeof t.setNDArray}Object.defineProperty(e,"__esModule",{value:!0}),e.setArray=e.getArray=e.isDataWriteBack=e.isDataSource=void 0,e.isDataSource=r,e.isDataWriteBack=n,e.getArray=function(t,e){return r(t)?t.getNDArray(e):t},e.setArray=function(t,e,r,i){const a=t.get(e);n(a)&&a.canWriteBack()?a.setNDArray(r,void 0,i):t.set(e,r,i)}},7189:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,i(r(8589),e),i(r(7133),e),i(r(2653),e),e.version=r(6777).version},7206:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},7293:t=>{"use strict";const e=16209;t.exports=function(t,r){let n,i,a,s,o,l,d,h,u,_,f,c,p,w,b,m,g,y,v,k,x,z,A,S;const T=t.state;n=t.next_in,A=t.input,i=n+(t.avail_in-5),a=t.next_out,S=t.output,s=a-(r-t.avail_out),o=a+(t.avail_out-257),l=T.dmax,d=T.wsize,h=T.whave,u=T.wnext,_=T.window,f=T.hold,c=T.bits,p=T.lencode,w=T.distcode,b=(1<<T.lenbits)-1,m=(1<<T.distbits)-1;t:do{c<15&&(f+=A[n++]<<c,c+=8,f+=A[n++]<<c,c+=8),g=p[f&b];e:for(;;){if(y=g>>>24,f>>>=y,c-=y,y=g>>>16&255,0===y)S[a++]=65535&g;else{if(!(16&y)){if(64&y){if(32&y){T.mode=16191;break t}t.msg="invalid literal/length code",T.mode=e;break t}g=p[(65535&g)+(f&(1<<y)-1)];continue e}for(v=65535&g,y&=15,y&&(c<y&&(f+=A[n++]<<c,c+=8),v+=f&(1<<y)-1,f>>>=y,c-=y),c<15&&(f+=A[n++]<<c,c+=8,f+=A[n++]<<c,c+=8),g=w[f&m];;){if(y=g>>>24,f>>>=y,c-=y,y=g>>>16&255,16&y){if(k=65535&g,y&=15,c<y&&(f+=A[n++]<<c,c+=8,c<y&&(f+=A[n++]<<c,c+=8)),k+=f&(1<<y)-1,k>l){t.msg="invalid distance too far back",T.mode=e;break t}if(f>>>=y,c-=y,y=a-s,k>y){if(y=k-y,y>h&&T.sane){t.msg="invalid distance too far back",T.mode=e;break t}if(x=0,z=_,0===u){if(x+=d-y,y<v){v-=y;do{S[a++]=_[x++]}while(--y);x=a-k,z=S}}else if(u<y){if(x+=d+u-y,y-=u,y<v){v-=y;do{S[a++]=_[x++]}while(--y);if(x=0,u<v){y=u,v-=y;do{S[a++]=_[x++]}while(--y);x=a-k,z=S}}}else if(x+=u-y,y<v){v-=y;do{S[a++]=_[x++]}while(--y);x=a-k,z=S}for(;v>2;)S[a++]=z[x++],S[a++]=z[x++],S[a++]=z[x++],v-=3;v&&(S[a++]=z[x++],v>1&&(S[a++]=z[x++]))}else{x=a-k;do{S[a++]=S[x++],S[a++]=S[x++],S[a++]=S[x++],v-=3}while(v>2);v&&(S[a++]=S[x++],v>1&&(S[a++]=S[x++]))}break}if(64&y){t.msg="invalid distance code",T.mode=e;break t}g=w[(65535&g)+(f&(1<<y)-1)]}}break}}while(n<i&&a<o);v=c>>3,n-=v,c-=v<<3,f&=(1<<c)-1,t.next_in=n,t.next_out=a,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=a<o?o-a+257:257-(a-o),T.hold=f,T.bits=c}},7414:t=>{"use strict";t.exports=function(){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}},8168:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decompress=e.compress=void 0;const n=r(1668);e.compress=function(t,e){return n.deflate(new Uint8Array(t),{level:e})},e.decompress=function(t){return n.inflate(new Uint8Array(t)).buffer}},8411:(t,e,r)=>{"use strict";const{_tr_init:n,_tr_stored_block:i,_tr_flush_block:a,_tr_tally:s,_tr_align:o}=r(3665),l=r(3269),d=r(4823),h=r(4674),{Z_NO_FLUSH:u,Z_PARTIAL_FLUSH:_,Z_FULL_FLUSH:f,Z_FINISH:c,Z_BLOCK:p,Z_OK:w,Z_STREAM_END:b,Z_STREAM_ERROR:m,Z_DATA_ERROR:g,Z_BUF_ERROR:y,Z_DEFAULT_COMPRESSION:v,Z_FILTERED:k,Z_HUFFMAN_ONLY:x,Z_RLE:z,Z_FIXED:A,Z_DEFAULT_STRATEGY:S,Z_UNKNOWN:T,Z_DEFLATED:E}=r(9681),O=258,U=262,R=42,N=113,Z=666,D=(t,e)=>(t.msg=h[e],e),j=t=>2*t-(t>4?9:0),I=t=>{let e=t.length;for(;--e>=0;)t[e]=0},F=t=>{let e,r,n,i=t.w_size;e=t.hash_size,n=e;do{r=t.head[--n],t.head[n]=r>=i?r-i:0}while(--e);e=i,n=e;do{r=t.prev[--n],t.prev[n]=r>=i?r-i:0}while(--e)};let B=(t,e,r)=>(e<<t.hash_shift^r)&t.hash_mask;const L=t=>{const e=t.state;let r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+r),t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))},M=(t,e)=>{a(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)},C=(t,e)=>{t.pending_buf[t.pending++]=e},J=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},P=(t,e,r,n)=>{let i=t.avail_in;return i>n&&(i=n),0===i?0:(t.avail_in-=i,e.set(t.input.subarray(t.next_in,t.next_in+i),r),1===t.state.wrap?t.adler=l(t.adler,e,i,r):2===t.state.wrap&&(t.adler=d(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i)},H=(t,e)=>{let r,n,i=t.max_chain_length,a=t.strstart,s=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-U?t.strstart-(t.w_size-U):0,d=t.window,h=t.w_mask,u=t.prev,_=t.strstart+O;let f=d[a+s-1],c=d[a+s];t.prev_length>=t.good_match&&(i>>=2),o>t.lookahead&&(o=t.lookahead);do{if(r=e,d[r+s]===c&&d[r+s-1]===f&&d[r]===d[a]&&d[++r]===d[a+1]){a+=2,r++;do{}while(d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&d[++a]===d[++r]&&a<_);if(n=O-(_-a),a=_-O,n>s){if(t.match_start=e,s=n,n>=o)break;f=d[a+s-1],c=d[a+s]}}}while((e=u[e&h])>l&&0!=--i);return s<=t.lookahead?s:t.lookahead},K=t=>{const e=t.w_size;let r,n,i;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-U)&&(t.window.set(t.window.subarray(e,e+e-n),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),F(t),n+=e),0===t.strm.avail_in)break;if(r=P(t.strm,t.window,t.strstart+t.lookahead,n),t.lookahead+=r,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=B(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=B(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<U&&0!==t.strm.avail_in)},W=(t,e)=>{let r,n,a,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,o=0,l=t.strm.avail_in;do{if(r=65535,a=t.bi_valid+42>>3,t.strm.avail_out<a)break;if(a=t.strm.avail_out-a,n=t.strstart-t.block_start,r>n+t.strm.avail_in&&(r=n+t.strm.avail_in),r>a&&(r=a),r<s&&(0===r&&e!==c||e===u||r!==n+t.strm.avail_in))break;o=e===c&&r===n+t.strm.avail_in?1:0,i(t,0,0,o),t.pending_buf[t.pending-4]=r,t.pending_buf[t.pending-3]=r>>8,t.pending_buf[t.pending-2]=~r,t.pending_buf[t.pending-1]=~r>>8,L(t.strm),n&&(n>r&&(n=r),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+n),t.strm.next_out),t.strm.next_out+=n,t.strm.avail_out-=n,t.strm.total_out+=n,t.block_start+=n,r-=n),r&&(P(t.strm,t.strm.output,t.strm.next_out,r),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r)}while(0===o);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_water<t.strstart&&(t.high_water=t.strstart),o?4:e!==u&&e!==c&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(a=t.window_size-t.strstart,t.strm.avail_in>a&&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++,a+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),a>t.strm.avail_in&&(a=t.strm.avail_in),a&&(P(t.strm,t.window,t.strstart,a),t.strstart+=a,t.insert+=a>t.w_size-t.insert?t.w_size-t.insert:a),t.high_water<t.strstart&&(t.high_water=t.strstart),a=t.bi_valid+42>>3,a=t.pending_buf_size-a>65535?65535:t.pending_buf_size-a,s=a>t.w_size?t.w_size:a,n=t.strstart-t.block_start,(n>=s||(n||e===c)&&e!==u&&0===t.strm.avail_in&&n<=a)&&(r=n>a?a:n,o=e===c&&0===t.strm.avail_in&&r===n?1:0,i(t,t.block_start,r,o),t.block_start+=r,L(t.strm)),o?3:1)},Y=(t,e)=>{let r,n;for(;;){if(t.lookahead<U){if(K(t),t.lookahead<U&&e===u)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=B(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-U&&(t.match_length=H(t,r)),t.match_length>=3)if(n=s(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=B(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=B(t,t.ins_h,t.window[t.strstart+1]);else n=s(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(M(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===c?(M(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(M(t,!1),0===t.strm.avail_out)?1:2},$=(t,e)=>{let r,n,i;for(;;){if(t.lookahead<U){if(K(t),t.lookahead<U&&e===u)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=B(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-U&&(t.match_length=H(t,r),t.match_length<=5&&(t.strategy===k||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=s(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=B(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(M(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(n=s(t,0,t.window[t.strstart-1]),n&&M(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=s(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===c?(M(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(M(t,!1),0===t.strm.avail_out)?1:2};function G(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}const q=[new G(0,0,0,0,W),new G(4,4,8,4,Y),new G(4,5,16,8,Y),new G(4,6,32,32,Y),new G(4,4,16,16,$),new G(8,16,32,32,$),new G(8,16,128,128,$),new G(8,32,128,256,$),new G(32,128,258,1024,$),new G(32,258,258,4096,$)];function X(){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=E,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.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(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),I(this.dyn_ltree),I(this.dyn_dtree),I(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),I(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),I(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}const V=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.status!==R&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&e.status!==N&&e.status!==Z?1:0},Q=t=>{if(V(t))return D(t,m);t.total_in=t.total_out=0,t.data_type=T;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?R:N,t.adler=2===e.wrap?0:1,e.last_flush=-2,n(e),w},tt=t=>{const e=Q(t);var r;return e===w&&((r=t.state).window_size=2*r.w_size,I(r.head),r.max_lazy_match=q[r.level].max_lazy,r.good_match=q[r.level].good_length,r.nice_match=q[r.level].nice_length,r.max_chain_length=q[r.level].max_chain,r.strstart=0,r.block_start=0,r.lookahead=0,r.insert=0,r.match_length=r.prev_length=2,r.match_available=0,r.ins_h=0),e},et=(t,e,r,n,i,a)=>{if(!t)return m;let s=1;if(e===v&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),i<1||i>9||r!==E||n<8||n>15||e<0||e>9||a<0||a>A||8===n&&1!==s)return D(t,m);8===n&&(n=9);const o=new X;return t.state=o,o.strm=t,o.status=R,o.wrap=s,o.gzhead=null,o.w_bits=n,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=a,o.method=r,tt(t)};t.exports.deflateInit=(t,e)=>et(t,e,E,15,8,S),t.exports.deflateInit2=et,t.exports.deflateReset=tt,t.exports.deflateResetKeep=Q,t.exports.deflateSetHeader=(t,e)=>V(t)||2!==t.state.wrap?m:(t.state.gzhead=e,w),t.exports.deflate=(t,e)=>{if(V(t)||e>p||e<0)return t?D(t,m):m;const r=t.state;if(!t.output||0!==t.avail_in&&!t.input||r.status===Z&&e!==c)return D(t,0===t.avail_out?y:m);const n=r.last_flush;if(r.last_flush=e,0!==r.pending){if(L(t),0===t.avail_out)return r.last_flush=-1,w}else if(0===t.avail_in&&j(e)<=j(n)&&e!==c)return D(t,y);if(r.status===Z&&0!==t.avail_in)return D(t,y);if(r.status===R&&0===r.wrap&&(r.status=N),r.status===R){let e=E+(r.w_bits-8<<4)<<8,n=-1;if(n=r.strategy>=x||r.level<2?0:r.level<6?1:6===r.level?2:3,e|=n<<6,0!==r.strstart&&(e|=32),e+=31-e%31,J(r,e),0!==r.strstart&&(J(r,t.adler>>>16),J(r,65535&t.adler)),t.adler=1,r.status=N,L(t),0!==r.pending)return r.last_flush=-1,w}if(57===r.status)if(t.adler=0,C(r,31),C(r,139),C(r,8),r.gzhead)C(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),C(r,255&r.gzhead.time),C(r,r.gzhead.time>>8&255),C(r,r.gzhead.time>>16&255),C(r,r.gzhead.time>>24&255),C(r,9===r.level?2:r.strategy>=x||r.level<2?4:0),C(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(C(r,255&r.gzhead.extra.length),C(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=d(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69;else if(C(r,0),C(r,0),C(r,0),C(r,0),C(r,0),C(r,9===r.level?2:r.strategy>=x||r.level<2?4:0),C(r,3),r.status=N,L(t),0!==r.pending)return r.last_flush=-1,w;if(69===r.status){if(r.gzhead.extra){let e=r.pending,n=(65535&r.gzhead.extra.length)-r.gzindex;for(;r.pending+n>r.pending_buf_size;){let i=r.pending_buf_size-r.pending;if(r.pending_buf.set(r.gzhead.extra.subarray(r.gzindex,r.gzindex+i),r.pending),r.pending=r.pending_buf_size,r.gzhead.hcrc&&r.pending>e&&(t.adler=d(t.adler,r.pending_buf,r.pending-e,e)),r.gzindex+=i,L(t),0!==r.pending)return r.last_flush=-1,w;e=0,n-=i}let i=new Uint8Array(r.gzhead.extra);r.pending_buf.set(i.subarray(r.gzindex,r.gzindex+n),r.pending),r.pending+=n,r.gzhead.hcrc&&r.pending>e&&(t.adler=d(t.adler,r.pending_buf,r.pending-e,e)),r.gzindex=0}r.status=73}if(73===r.status){if(r.gzhead.name){let e,n=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>n&&(t.adler=d(t.adler,r.pending_buf,r.pending-n,n)),L(t),0!==r.pending)return r.last_flush=-1,w;n=0}e=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,C(r,e)}while(0!==e);r.gzhead.hcrc&&r.pending>n&&(t.adler=d(t.adler,r.pending_buf,r.pending-n,n)),r.gzindex=0}r.status=91}if(91===r.status){if(r.gzhead.comment){let e,n=r.pending;do{if(r.pending===r.pending_buf_size){if(r.gzhead.hcrc&&r.pending>n&&(t.adler=d(t.adler,r.pending_buf,r.pending-n,n)),L(t),0!==r.pending)return r.last_flush=-1,w;n=0}e=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,C(r,e)}while(0!==e);r.gzhead.hcrc&&r.pending>n&&(t.adler=d(t.adler,r.pending_buf,r.pending-n,n))}r.status=103}if(103===r.status){if(r.gzhead.hcrc){if(r.pending+2>r.pending_buf_size&&(L(t),0!==r.pending))return r.last_flush=-1,w;C(r,255&t.adler),C(r,t.adler>>8&255),t.adler=0}if(r.status=N,L(t),0!==r.pending)return r.last_flush=-1,w}if(0!==t.avail_in||0!==r.lookahead||e!==u&&r.status!==Z){let n=0===r.level?W(r,e):r.strategy===x?((t,e)=>{let r;for(;;){if(0===t.lookahead&&(K(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=s(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(M(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===c?(M(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(M(t,!1),0===t.strm.avail_out)?1:2})(r,e):r.strategy===z?((t,e)=>{let r,n,i,a;const o=t.window;for(;;){if(t.lookahead<=O){if(K(t),t.lookahead<=O&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(i=t.strstart-1,n=o[i],n===o[++i]&&n===o[++i]&&n===o[++i])){a=t.strstart+O;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);t.match_length=O-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=s(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=s(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(M(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===c?(M(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(M(t,!1),0===t.strm.avail_out)?1:2})(r,e):q[r.level].func(r,e);if(3!==n&&4!==n||(r.status=Z),1===n||3===n)return 0===t.avail_out&&(r.last_flush=-1),w;if(2===n&&(e===_?o(r):e!==p&&(i(r,0,0,!1),e===f&&(I(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),L(t),0===t.avail_out))return r.last_flush=-1,w}return e!==c?w:r.wrap<=0?b:(2===r.wrap?(C(r,255&t.adler),C(r,t.adler>>8&255),C(r,t.adler>>16&255),C(r,t.adler>>24&255),C(r,255&t.total_in),C(r,t.total_in>>8&255),C(r,t.total_in>>16&255),C(r,t.total_in>>24&255)):(J(r,t.adler>>>16),J(r,65535&t.adler)),L(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?w:b)},t.exports.deflateEnd=t=>{if(V(t))return m;const e=t.state.status;return t.state=null,e===N?D(t,g):w},t.exports.deflateSetDictionary=(t,e)=>{let r=e.length;if(V(t))return m;const n=t.state,i=n.wrap;if(2===i||1===i&&n.status!==R||n.lookahead)return m;if(1===i&&(t.adler=l(t.adler,e,r,0)),n.wrap=0,r>=n.w_size){0===i&&(I(n.head),n.strstart=0,n.block_start=0,n.insert=0);let t=new Uint8Array(n.w_size);t.set(e.subarray(r-n.w_size,r),0),e=t,r=n.w_size}const a=t.avail_in,s=t.next_in,o=t.input;for(t.avail_in=r,t.next_in=0,t.input=e,K(n);n.lookahead>=3;){let t=n.strstart,e=n.lookahead-2;do{n.ins_h=B(n,n.ins_h,n.window[t+3-1]),n.prev[t&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=t,t++}while(--e);n.strstart=t,n.lookahead=2,K(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=s,t.input=o,t.avail_in=a,n.wrap=i,w},t.exports.deflateInfo="pako deflate (from Nodeca project)"},8589:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fixed_shape_serialization=e.simplearray_serialization=e.simpleToJSON=e.JSONToSimple=e.typedarray_serialization=e.typedArrayToJSON=e.JSONToTypedArray=e.typedArrayToType=e.compressed_array_serialization=e.arrayToCompressedJSON=e.compressedJSONToArray=e.typesToArray=e.array_serialization=e.arrayToJSON=e.JSONToArray=e.ensureSerializableDtype=void 0;const n=r(2620),i=r(8168),a=r(1036);function s(t){if("array"===t||"buffer"===t||"generic"===t||"bigint64"===t||"biguint64"===t)throw new Error(`Cannot serialize ndarray with dtype: ${t}.`);return"uint8_clamped"===t&&(t="uint8"),t}function o(t,r){return null===t?null:a(new e.typesToArray[t.dtype](t.buffer.buffer),t.shape)}function l(t,e){if(null===t)return null;let r=s(t.dtype);return{shape:t.shape,dtype:r,buffer:t.data}}function d(t,r){if(null===t)return null;let n;return n=void 0!==t.compressed_buffer?(0,i.decompress)(t.compressed_buffer.buffer):t.buffer.buffer,a(new e.typesToArray[t.dtype](n),t.shape)}function h(t,e){if(null===t)return null;let r=s(t.dtype);const n=e?e.get("compression_level"):0;if(void 0!==n&&n>0){const e=(0,i.compress)(t.data.buffer,n);return{shape:t.shape,dtype:r,compressed_buffer:e}}return{shape:t.shape,dtype:r,buffer:t.data}}function u(t){if(t instanceof Int8Array)return"int8";if(t instanceof Int16Array)return"int16";if(t instanceof Int32Array)return"int32";if(t instanceof Uint8Array)return"uint8";if(t instanceof Uint8ClampedArray)return"uint8";if(t instanceof Uint16Array)return"uint16";if(t instanceof Uint32Array)return"uint32";if(t instanceof Float32Array)return"float32";if(t instanceof Float64Array)return"float64";throw new Error(`Unknown TypedArray type: ${t}`)}function _(t,r){return null===t?null:new e.typesToArray[t.dtype](t.buffer.buffer)}function f(t,e){return null===t?null:{shape:[t.length],dtype:u(t),buffer:t}}function c(t,r){return null===t?null:{array:new e.typesToArray[t.dtype](t.buffer.buffer),shape:t.shape}}function p(t,e){return null===t?null:{shape:t.shape,dtype:u(t.array),buffer:t.array}}e.ensureSerializableDtype=s,e.JSONToArray=o,e.arrayToJSON=l,e.array_serialization={deserialize:o,serialize:l},e.typesToArray={int8:Int8Array,int16:Int16Array,int32:Int32Array,uint8:Uint8Array,uint8_clamped:Uint8ClampedArray,uint16:Uint16Array,uint32:Uint32Array,float32:Float32Array,float64:Float64Array},e.compressedJSONToArray=d,e.arrayToCompressedJSON=h,e.compressed_array_serialization={deserialize:d,serialize:h},e.typedArrayToType=u,e.JSONToTypedArray=_,e.typedArrayToJSON=f,e.typedarray_serialization={deserialize:_,serialize:f},e.JSONToSimple=c,e.simpleToJSON=p,e.simplearray_serialization={deserialize:c,serialize:p},e.fixed_shape_serialization=function(t){let r=1;for(let e of t)r*=e;return{deserialize:function(r,i){if(null===r)return null;if(!(0,n.arraysEqual)(r.shape,t))throw new Error(`Incoming data unexpected shape: ${r.shape}, expected ${t}`);return new e.typesToArray[r.dtype](r.buffer.buffer)},serialize:function(e,n){if(null===e)return null;if(e.length!==r)throw new Error(`Data has wrong size for fixed shape serialization! Expected ${r} elements, got ${e.length}.`);return{shape:t,dtype:u(e),buffer:e}}}}},9681:t=>{"use strict";t.exports={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}},9805:t=>{"use strict";const e=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);t.exports.assign=function(t){const r=Array.prototype.slice.call(arguments,1);for(;r.length;){const n=r.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(const r in n)e(n,r)&&(t[r]=n[r])}}return t},t.exports.flattenChunks=t=>{let e=0;for(let r=0,n=t.length;r<n;r++)e+=t[r].length;const r=new Uint8Array(e);for(let e=0,n=0,i=t.length;e<i;e++){let i=t[e];r.set(i,n),n+=i.length}return r}}}]);
@@ -1,6 +0,0 @@
1
- /*!
2
- * Determine if an object is a Buffer
3
- *
4
- * @author Feross Aboukhadijeh <https://feross.org>
5
- * @license MIT
6
- */