From b02ea5c23c830c1ac7e2b44d54df01d5038833a2 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Fri, 19 Jul 2024 12:55:39 +0200 Subject: [PATCH] Bundled xcube viewer 1.3.0-dev.0 --- pyproject.toml | 2 +- .../viewer/data/assets/index-33yKabNZ.css | 1 - .../viewer/data/assets/index-B9WF1pEE.js | 3724 ----------------- .../viewer/data/assets/python-bw-BV0FRHt1.png | Bin 14231 -> 0 bytes .../roboto-cyrillic-300-normal-D6mjswgs.woff2 | Bin 9576 -> 0 bytes .../roboto-cyrillic-300-normal-UX5PCucy.woff | Bin 8428 -> 0 bytes .../roboto-cyrillic-400-normal-DCQqOlfN.woff | Bin 8392 -> 0 bytes .../roboto-cyrillic-400-normal-DVDTZtmW.woff2 | Bin 9628 -> 0 bytes .../roboto-cyrillic-500-normal-DAkZhMOh.woff2 | Bin 9840 -> 0 bytes .../roboto-cyrillic-500-normal-QpWeYsca.woff | Bin 8700 -> 0 bytes .../roboto-cyrillic-700-normal-B5ZBKWCH.woff2 | Bin 9644 -> 0 bytes .../roboto-cyrillic-700-normal-DAIxw5xX.woff | Bin 8660 -> 0 bytes ...boto-cyrillic-ext-300-normal-C7AGhuC_.woff | Bin 13548 -> 0 bytes ...oto-cyrillic-ext-300-normal-TzZWIuiO.woff2 | Bin 15000 -> 0 bytes ...boto-cyrillic-ext-400-normal--KougVX-.woff | Bin 13468 -> 0 bytes ...oto-cyrillic-ext-400-normal-DORK9bGA.woff2 | Bin 15344 -> 0 bytes ...oto-cyrillic-ext-500-normal-G9W8hgzQ.woff2 | Bin 14968 -> 0 bytes ...boto-cyrillic-ext-500-normal-sraxM_lR.woff | Bin 13448 -> 0 bytes ...oto-cyrillic-ext-700-normal-CsrCEJIc.woff2 | Bin 14684 -> 0 bytes ...boto-cyrillic-ext-700-normal-dDOtDc5i.woff | Bin 13432 -> 0 bytes .../roboto-greek-300-normal-Dgbe-dnN.woff | Bin 6444 -> 0 bytes .../roboto-greek-300-normal-ndiuWqED.woff2 | Bin 7120 -> 0 bytes .../roboto-greek-400-normal-BRWHCUYo.woff2 | Bin 7112 -> 0 bytes .../roboto-greek-400-normal-BnGNaKeW.woff | Bin 6348 -> 0 bytes .../roboto-greek-500-normal-CVjdsdX9.woff | Bin 6324 -> 0 bytes .../roboto-greek-500-normal-CpESfwfG.woff2 | Bin 7016 -> 0 bytes .../roboto-greek-700-normal-Cc2Tq8FV.woff2 | Bin 6936 -> 0 bytes .../roboto-greek-700-normal-CjuTpGfE.woff | Bin 6300 -> 0 bytes .../roboto-latin-300-normal-Cs84CNT2.woff | Bin 14956 -> 0 bytes .../roboto-latin-300-normal-ThHrQhYb.woff2 | Bin 15740 -> 0 bytes .../roboto-latin-400-normal-BU1SoK4h.woff | Bin 14384 -> 0 bytes .../roboto-latin-400-normal-mTIRXP6Y.woff2 | Bin 15744 -> 0 bytes .../roboto-latin-500-normal-Dcm-rhWF.woff | Bin 14424 -> 0 bytes .../roboto-latin-500-normal-Dxdx3aXO.woff2 | Bin 15920 -> 0 bytes .../roboto-latin-700-normal-Bh431LEL.woff | Bin 14420 -> 0 bytes .../roboto-latin-700-normal-CeM5gOv8.woff2 | Bin 15860 -> 0 bytes .../roboto-latin-ext-300-normal-CaUuWeqj.woff | Bin 10360 -> 0 bytes ...roboto-latin-ext-300-normal-DEsNdRC-.woff2 | Bin 11796 -> 0 bytes ...roboto-latin-ext-400-normal-4bLplyDh.woff2 | Bin 11872 -> 0 bytes .../roboto-latin-ext-400-normal-ABAIaefi.woff | Bin 10540 -> 0 bytes .../roboto-latin-ext-500-normal-B9pAx_JH.woff | Bin 10184 -> 0 bytes ...roboto-latin-ext-500-normal-BWKy6SgX.woff2 | Bin 11800 -> 0 bytes ...roboto-latin-ext-700-normal-BYGCo3Go.woff2 | Bin 11824 -> 0 bytes .../roboto-latin-ext-700-normal-DwUXTeTv.woff | Bin 10168 -> 0 bytes ...oboto-vietnamese-300-normal-CnPrVvBs.woff2 | Bin 5468 -> 0 bytes ...roboto-vietnamese-300-normal-DOxDZ6bW.woff | Bin 4768 -> 0 bytes ...roboto-vietnamese-400-normal-BkEBOAV9.woff | Bin 4752 -> 0 bytes ...oboto-vietnamese-400-normal-kCRe3VZk.woff2 | Bin 5560 -> 0 bytes ...roboto-vietnamese-500-normal-Bwg8Dbh6.woff | Bin 4728 -> 0 bytes ...oboto-vietnamese-500-normal-CcijQRVW.woff2 | Bin 5604 -> 0 bytes ...roboto-vietnamese-700-normal-Mc0c6qif.woff | Bin 4728 -> 0 bytes ...oboto-vietnamese-700-normal-SekShQfT.woff2 | Bin 5548 -> 0 bytes .../viewer/data/docs/add-layer-wms.de.md | 8 - .../viewer/data/docs/add-layer-wms.en.md | 8 - .../viewer/data/docs/add-layer-wms.se.md | 8 - .../viewer/data/docs/add-layer-xyz.de.md | 16 - .../viewer/data/docs/add-layer-xyz.en.md | 16 - .../viewer/data/docs/add-layer-xyz.se.md | 16 - .../viewer/data/docs/color-mappings.de.md | 26 - .../viewer/data/docs/color-mappings.en.md | 28 - .../viewer/data/docs/color-mappings.se.md | 24 - xcube/webapi/viewer/data/docs/imprint.md | 179 - .../viewer/data/docs/privacy-note.de.md | 10 - .../viewer/data/docs/privacy-note.en.md | 9 - .../viewer/data/docs/privacy-note.se.md | 10 - xcube/webapi/viewer/data/images/favicon.ico | Bin 23919 -> 0 bytes xcube/webapi/viewer/data/images/logo.png | Bin 51379 -> 0 bytes xcube/webapi/viewer/data/images/logo192.png | Bin 13276 -> 0 bytes xcube/webapi/viewer/data/images/logo512.png | Bin 62846 -> 0 bytes .../viewer/data/images/textures/cm_gray.png | Bin 75 -> 0 bytes .../data/images/textures/cm_viridis.png | Bin 238 -> 0 bytes xcube/webapi/viewer/data/index.html | 48 - xcube/webapi/viewer/data/manifest.json | 25 - xcube/webapi/viewer/data/robots.txt | 2 - xcube/webapi/viewer/routes.py | 2 +- 75 files changed, 2 insertions(+), 4160 deletions(-) delete mode 100644 xcube/webapi/viewer/data/assets/index-33yKabNZ.css delete mode 100644 xcube/webapi/viewer/data/assets/index-B9WF1pEE.js delete mode 100644 xcube/webapi/viewer/data/assets/python-bw-BV0FRHt1.png delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-300-normal-UX5PCucy.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-400-normal-DCQqOlfN.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-400-normal-DVDTZtmW.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-500-normal-DAkZhMOh.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-500-normal-QpWeYsca.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-700-normal-B5ZBKWCH.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-700-normal-DAIxw5xX.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-300-normal-C7AGhuC_.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-400-normal--KougVX-.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-400-normal-DORK9bGA.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-500-normal-G9W8hgzQ.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-500-normal-sraxM_lR.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-700-normal-dDOtDc5i.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-300-normal-Dgbe-dnN.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-300-normal-ndiuWqED.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-400-normal-BRWHCUYo.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-400-normal-BnGNaKeW.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-500-normal-CVjdsdX9.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-500-normal-CpESfwfG.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-700-normal-Cc2Tq8FV.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-greek-700-normal-CjuTpGfE.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-300-normal-Cs84CNT2.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-300-normal-ThHrQhYb.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-400-normal-BU1SoK4h.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-400-normal-mTIRXP6Y.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-500-normal-Dcm-rhWF.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-500-normal-Dxdx3aXO.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-700-normal-Bh431LEL.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-700-normal-CeM5gOv8.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-300-normal-CaUuWeqj.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-300-normal-DEsNdRC-.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-400-normal-4bLplyDh.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-400-normal-ABAIaefi.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-500-normal-B9pAx_JH.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-500-normal-BWKy6SgX.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-700-normal-BYGCo3Go.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-latin-ext-700-normal-DwUXTeTv.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-300-normal-CnPrVvBs.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-300-normal-DOxDZ6bW.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-400-normal-BkEBOAV9.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-400-normal-kCRe3VZk.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-500-normal-Bwg8Dbh6.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-500-normal-CcijQRVW.woff2 delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-700-normal-Mc0c6qif.woff delete mode 100644 xcube/webapi/viewer/data/assets/roboto-vietnamese-700-normal-SekShQfT.woff2 delete mode 100644 xcube/webapi/viewer/data/docs/add-layer-wms.de.md delete mode 100644 xcube/webapi/viewer/data/docs/add-layer-wms.en.md delete mode 100644 xcube/webapi/viewer/data/docs/add-layer-wms.se.md delete mode 100644 xcube/webapi/viewer/data/docs/add-layer-xyz.de.md delete mode 100644 xcube/webapi/viewer/data/docs/add-layer-xyz.en.md delete mode 100644 xcube/webapi/viewer/data/docs/add-layer-xyz.se.md delete mode 100644 xcube/webapi/viewer/data/docs/color-mappings.de.md delete mode 100644 xcube/webapi/viewer/data/docs/color-mappings.en.md delete mode 100644 xcube/webapi/viewer/data/docs/color-mappings.se.md delete mode 100644 xcube/webapi/viewer/data/docs/imprint.md delete mode 100644 xcube/webapi/viewer/data/docs/privacy-note.de.md delete mode 100644 xcube/webapi/viewer/data/docs/privacy-note.en.md delete mode 100644 xcube/webapi/viewer/data/docs/privacy-note.se.md delete mode 100644 xcube/webapi/viewer/data/images/favicon.ico delete mode 100644 xcube/webapi/viewer/data/images/logo.png delete mode 100644 xcube/webapi/viewer/data/images/logo192.png delete mode 100644 xcube/webapi/viewer/data/images/logo512.png delete mode 100644 xcube/webapi/viewer/data/images/textures/cm_gray.png delete mode 100644 xcube/webapi/viewer/data/images/textures/cm_viridis.png delete mode 100644 xcube/webapi/viewer/data/index.html delete mode 100644 xcube/webapi/viewer/data/manifest.json delete mode 100644 xcube/webapi/viewer/data/robots.txt diff --git a/pyproject.toml b/pyproject.toml index 68b6c83f5..df4f373cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ xcube = "xcube.plugin:init_plugin" "data/openapi.html", ] "xcube.webapi.viewer" = [ - "data/*", "data/**/*", + "dist/*", "dist/**/*", ] [tool.setuptools.dynamic] diff --git a/xcube/webapi/viewer/data/assets/index-33yKabNZ.css b/xcube/webapi/viewer/data/assets/index-33yKabNZ.css deleted file mode 100644 index d98166e41..000000000 --- a/xcube/webapi/viewer/data/assets/index-33yKabNZ.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2) format("woff2"),url(./roboto-cyrillic-ext-300-normal-C7AGhuC_.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-cyrillic-300-normal-D6mjswgs.woff2) format("woff2"),url(./roboto-cyrillic-300-normal-UX5PCucy.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXIABIAAAAACfAAAAVrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhYCYM8EQwKg3yDWwsQABIUATYCJAMcBCAFgnwHIAyCOhuKCFFUkNIAfhzkZNGn0qdP43KKULZY+sdzG0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veMiDZ6OS7l4OccVWnwcVxX/Om6w5ccUS8ybhBsBV+4Y+nTpSYY5VgoI8TEsiDjhiSaEkmGddaXoh08qJzz1nvEUsRzlu2xYZtWqFD0IOZCwQz2kyloitB+PHgOGjHHXiPOz2rlZshQzoiO9kPA4EMsnZX39LAmBsiE3xXwidKfcYcmCKTNWbPS20W66fypGNRAAAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-greek-300-normal-ndiuWqED.woff2) format("woff2"),url(./roboto-greek-300-normal-Dgbe-dnN.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-vietnamese-300-normal-CnPrVvBs.woff2) format("woff2"),url(./roboto-vietnamese-300-normal-DOxDZ6bW.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-latin-ext-300-normal-DEsNdRC-.woff2) format("woff2"),url(./roboto-latin-ext-300-normal-CaUuWeqj.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-latin-300-normal-ThHrQhYb.woff2) format("woff2"),url(./roboto-latin-300-normal-Cs84CNT2.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-cyrillic-ext-400-normal-DORK9bGA.woff2) format("woff2"),url(./roboto-cyrillic-ext-400-normal--KougVX-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-cyrillic-400-normal-DVDTZtmW.woff2) format("woff2"),url(./roboto-cyrillic-400-normal-DCQqOlfN.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAXMABIAAAAACeAAAAVwAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhUCYM8EQwKg2iDSgsQABIUATYCJAMcBCAFgnQHIAyCSRt8CAieB2WbnmbLuYAwwpK8+iIe4P3r89wHDZaakNWCmB8R66SEWr+ILhpijnTqf6QAyyF8GVAOAPOWtmNg6llFXANTaQXCgXMubThOj6JRPCJsEWW3o1/4wX411uruvta/9FF8Zz50qenu3hVxmf4QIi1dRSzhkcR0SqA1QoiwzI2uAUbffgtBpA0YCssEQRChiaaAgMpAFvDsmKQshIEEer1l/u1J0Sbi8P6OJsQc3VHd6N0nlHe1MAhFbvPNcXJVWKNNekPqCYVx/lj8nqMi5BY4Pd6hectSY5E2Lll8SMf/HJXfEKEOfCtEMjEFBEHtpSkbjBK4aB1MIEjT/t9z/+W3j8FgVyeNWdDn7wh7b19l7pQoyFW8FXcx+P9D4NE2ErMMk4kskmVMCiwyG5ZhhyC7qZ19JoMatwj00/I0GG/uexT/v7K+Ysx9JXVwiRoC1yHR9VGAy9QQcXVQbqOGmOvEACWZm5EnyicLnfULjlggc0ldeRXQEqImnlS9kL8XAZndegK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EBNQEhAyj9PALENv7u/roBDOQCA/7+AQL9/QWw+qQFB/19Anf7EQJ4/V4CXogCXgAAAgB2/+wFCQXEABEAHwAAARQCBCMiJAInNTQSJDMyBBIVJxACIyICBxUUEjMyEjcFCZD++LCs/vaTApIBC6yvAQuQv9C7ttED07m6zAMCqdb+waipATnOadIBQqup/r/VAgEDARX+6/Zr+/7hAQ/9AAIAbwRwAskF1gAFAA0AAAETMxUDIwEzFRYXByY1AZF0xN9Z/t6oA1BJsgSUAUIV/sMBUlt7VTtfu////jL/7AVPBdYAJgAERgAABwAF/cMAAAABAAAAAiMS6JlwgF8PPPUAGQgAAAAAAMTwES4AAAAA1QFS9Pob/dUJMAhzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwOn5S/qfF6cBUAQVsAMAb4UEbwADjABkAAAAAAAAAAAB+wAABYAAdgMgAG8Fxv4yAAAAKQApACkAKQBhAH4AigABAAAABwCPABYAVAAFAAEAAAAAAA4AAAIAAiQABgABeNpdjgNyAwAURF/tXqAcdVQbgzo2hrFtXSYHyemyMeabu8A2SdZYWd8BgjDOV9gnOM5XOSQ7ztfm+utz+QYXtMf5Jsd0x/khXnr8UKJMhyoZUqSpc849t9xJzjFQkqTIk1BlokiMa2Vf5CXnuKdXtWGVoCar0pSPc61OiaisLtOUFA3yRKjiH+7VyFCiOMS85o4HXviYMnhZuL9a+iBUSZl3biStoVxrUpbFNE2oKlElpWmejHoJitRIyG6wYuKHP+x45K+G+Ld9LnwzhgAAAHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-greek-400-normal-BRWHCUYo.woff2) format("woff2"),url(./roboto-greek-400-normal-BnGNaKeW.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-vietnamese-400-normal-kCRe3VZk.woff2) format("woff2"),url(./roboto-vietnamese-400-normal-BkEBOAV9.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-latin-ext-400-normal-4bLplyDh.woff2) format("woff2"),url(./roboto-latin-ext-400-normal-ABAIaefi.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-latin-400-normal-mTIRXP6Y.woff2) format("woff2"),url(./roboto-latin-400-normal-BU1SoK4h.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-cyrillic-ext-500-normal-G9W8hgzQ.woff2) format("woff2"),url(./roboto-cyrillic-ext-500-normal-sraxM_lR.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-cyrillic-500-normal-DAkZhMOh.woff2) format("woff2"),url(./roboto-cyrillic-500-normal-QpWeYsca.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAAXcABIAAAAACgQAAAWAAA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QS9AAOMAGQAAAAAAAAAAAH+AAAFhgBmAywAZwXM/hwAAAApACkAKQApAGAAfQCJAAEAAAAHAI8AFgBOAAUAAQAAAAAADgAAAgACMAAGAAF42mJgYOBgSGNgZmBk4QSy44AYwmZkkALyIGwmBj6GCiibGUmcBYnNyqDG0AZlswHF10DYQJ0hDMcAVc5DdkQBFATQu5S/gNiYxLbGUdvu3n1qEp16ZjnU0TXTV1NRNVRYsWQ5KJzqBBVNJYVzbR8WFPY1g8LDz9ZAMiWDaN849tNCKh3v0WG0cC1VNSMtmVVJ1PSm70UpdqCmoy0MLFi2atPuD5/Nf9fm/10Lg6Brx2IwEVjwphv9SLeUrKOvkm5TLbWStnCNLrpy7tCxG4+x8/Ld0hcoDzX0AAAAeNpjYGYAg/9ZDCkMWAAAKh8B0QA=) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-greek-500-normal-CpESfwfG.woff2) format("woff2"),url(./roboto-greek-500-normal-CVjdsdX9.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-vietnamese-500-normal-CcijQRVW.woff2) format("woff2"),url(./roboto-vietnamese-500-normal-Bwg8Dbh6.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-latin-ext-500-normal-BWKy6SgX.woff2) format("woff2"),url(./roboto-latin-ext-500-normal-B9pAx_JH.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-latin-500-normal-Dxdx3aXO.woff2) format("woff2"),url(./roboto-latin-500-normal-Dcm-rhWF.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2) format("woff2"),url(./roboto-cyrillic-ext-700-normal-dDOtDc5i.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-cyrillic-700-normal-B5ZBKWCH.woff2) format("woff2"),url(./roboto-cyrillic-700-normal-DAIxw5xX.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAAWYABIAAAAACaAAAAU6AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhICYM8EQwKg0iDLwsQABIUATYCJAMcBCAFgn4HIAyCKRs/CCCOk6WSgeIPHr5v07+zgm5MOS1LaB1tnYpB0tQU4l4R44nbhKf+Z+rA83jrYWYTqhht1N+qejHd/3+v6r03UxOKrgn+E6X7M/bo3iAFjdE7pc3d2I0bvEIF4uomIlFn2f7i2quz7wH+LRAoZAMAxQgsCAQCBTAAAwEIwEE+hYho5bJ1GABoAJnMI+ZRjEETjWzdtbmPis7N7b3d0Ne8dcAFAFu08HxVu0l5BB30S/XJINx9j/oyHRWYFOB8KTuq7soqTPdyvZeFNDrGpQom4ioALaJLTEzUVVCdL0RFsE7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gnA+SY7Fi3cCgAITMAAhDCuUAAAB42mNgYGACYmYgFgGSjGCahUEBSLMAIZAv7/v/P4R8sBMszwAAVmAGzQAAAAABAAIACAAC//8ADwAFAGQAAAMoBbAAAwAGAAkADAAPAAAhIREhAxEBAREBAyEBNQEhAyj9PALENv7u/roBDOQCA/7+AQL9/QWw+qQFB/19Anf7EQJ4/V4CXogCXgAAAgBW/+wFLgXEABAAHgAAARQCBCMiJAInNTQSJCAEEhUlNCYjIgYHFRQWMzI2NwUumP7lt7X+5JwBmwEbAWwBG5v+0KSYl6QBpJqXogECt9f+vLCuAUPSSNcBR6+v/rnWAeXu6+NH3/bt4wAAAgBbBG8CywXXAAUADgAAARMzFQMjATMVFhcHJiY1AYlv0+Zc/tKtAUxTSl0EmwE8Ff7BAVRefDhWI4ldAP///hf/7AV0BdcAJgAERgAABwAF/bwAAAABAAAAAiMSfSJFaF8PPPUAGQgAAAAAAMTwES4AAAAA1QFS1vow/dUJhwhzAAEACQACAAAAAAAAeNpjYGRgYM/5x8PAwNn1y+CfKWc7UAQVsAMAfH0FBwADjABkAAAAAAAAAAAB/gAABYYAVgMfAFsFzP4XAAAAKQApACkAKQBfAH4AigABAAAABwCPABYATgAFAAEAAAAAAA4AAAIAAjIABgABeNpNjoEGwmAUhb+qUiRAAAYCalWIApUkEioBomqtZbbZpvQGPU1P0YN18Js5zvXdw3EvUONGiUK5DhzBcIEGR8NFajwMl2gRGy7nuEKbj+Gq8q/hJnt+zAmJeBPj4XInxWJAj75ksSSUXHwcbSsCLnRFU3zJYpu1ErThkMgxT80rXSUhZzmVZ7KvNJ9ZWXpAPbU97QH6Qe0+Q0ZMMB+J891O1tV9KWKMLb2Q1D4RyRfuONpCYlxsfDxlDgH6VLZZs2LOgg07zQ66TO8Pnw41VHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-greek-700-normal-Cc2Tq8FV.woff2) format("woff2"),url(./roboto-greek-700-normal-CjuTpGfE.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-vietnamese-700-normal-SekShQfT.woff2) format("woff2"),url(./roboto-vietnamese-700-normal-Mc0c6qif.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-latin-ext-700-normal-BYGCo3Go.woff2) format("woff2"),url(./roboto-latin-ext-700-normal-DwUXTeTv.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-latin-700-normal-CeM5gOv8.woff2) format("woff2"),url(./roboto-latin-700-normal-Bh431LEL.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{margin:0;padding:0;width:100vw;height:100vh;overflow:hidden;font-family:Roboto,Segoe UI,"sans-serif"}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid rgb(179,197,219);background-color:#fff6}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:#003c884d;border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-singlebar-even{background-color:#000}.ol-scale-singlebar-odd{background-color:#fff}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-index:11;color:#000;text-shadow:-2px 0 #FFFFFF,0 2px #FFFFFF,2px 0 #FFFFFF,0 -2px #FFFFFF}.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #FFFFFF,0 2px #FFFFFF,2px 0 #FFFFFF,0 -2px #FFFFFF}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid black}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:#fff6;border-radius:4px;padding:2px}.ol-control:hover{background-color:#fff9}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:#003c8880;border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;background-color:#003c88b3}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:#003c88b3;text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:#000;text-shadow:0 0 2px #fff;font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:#fffc}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:2px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:#fffc}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.map{height:100%}@keyframes hint{0%,to{opacity:20%}10%{opacity:100%}90%{opacity:100%}}.hint_wrap{animation:hint 4s linear none;opacity:20%;transition:all .3s ease-in-out;color:orange;position:absolute;bottom:8px;right:16px;z-index:10}.hint_wrap:hover{opacity:100%} diff --git a/xcube/webapi/viewer/data/assets/index-B9WF1pEE.js b/xcube/webapi/viewer/data/assets/index-B9WF1pEE.js deleted file mode 100644 index d542f8a31..000000000 --- a/xcube/webapi/viewer/data/assets/index-B9WF1pEE.js +++ /dev/null @@ -1,3724 +0,0 @@ -var Vve=Object.defineProperty;var Gve=(t,e,n)=>e in t?Vve(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Ut=(t,e,n)=>(Gve(t,typeof e!="symbol"?e+"":e,n),n);function Hve(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wa(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var LZ={exports:{}},D_={};/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var QU=Object.getOwnPropertySymbols,qve=Object.prototype.hasOwnProperty,Xve=Object.prototype.propertyIsEnumerable;function Qve(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function Yve(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(o){return e[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var $Z=Yve()?Object.assign:function(t,e){for(var n,r=Qve(t),i,o=1;o"u"||typeof MessageChannel!="function"){var l=null,c=null,u=function(){if(l!==null)try{var N=t.unstable_now();l(!0,N),l=null}catch(L){throw setTimeout(u,0),L}};e=function(N){l!==null?setTimeout(e,0,N):(l=N,setTimeout(u,0))},n=function(N,L){c=setTimeout(N,L)},r=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if(typeof console<"u"){var h=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof h!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var p=!1,m=null,g=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},i=function(){},t.unstable_forceFrameRate=function(N){0>N||125>>1,Y=N[q];if(Y!==void 0&&0C(se,A))te!==void 0&&0>C(te,se)?(N[q]=te,N[ee]=A,q=ee):(N[q]=se,N[K]=A,q=K);else if(te!==void 0&&0>C(te,A))N[q]=te,N[ee]=A,q=ee;else break e}}return L}return null}function C(N,L){var A=N.sortIndex-L.sortIndex;return A!==0?A:N.id-L.id}var E=[],M=[],I=1,P=null,R=3,T=!1,D=!1,U=!1;function B(N){for(var L=S(M);L!==null;){if(L.callback===null)O(M);else if(L.startTime<=N)O(M),L.sortIndex=L.expirationTime,_(E,L);else break;L=S(M)}}function W(N){if(U=!1,B(N),!D)if(S(E)!==null)D=!0,e(z);else{var L=S(M);L!==null&&n(W,L.startTime-N)}}function z(N,L){D=!1,U&&(U=!1,r()),T=!0;var A=R;try{for(B(L),P=S(E);P!==null&&(!(P.expirationTime>L)||N&&!t.unstable_shouldYield());){var q=P.callback;if(typeof q=="function"){P.callback=null,R=P.priorityLevel;var Y=q(P.expirationTime<=L);L=t.unstable_now(),typeof Y=="function"?P.callback=Y:P===S(E)&&O(E),B(L)}else O(E);P=S(E)}if(P!==null)var K=!0;else{var se=S(M);se!==null&&n(W,se.startTime-L),K=!1}return K}finally{P=null,R=A,T=!1}}var $=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(N){N.callback=null},t.unstable_continueExecution=function(){D||T||(D=!0,e(z))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(E)},t.unstable_next=function(N){switch(R){case 1:case 2:case 3:var L=3;break;default:L=R}var A=R;R=L;try{return N()}finally{R=A}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=$,t.unstable_runWithPriority=function(N,L){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var A=R;R=N;try{return L()}finally{R=A}},t.unstable_scheduleCallback=function(N,L,A){var q=t.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0q?(N.sortIndex=A,_(M,N),S(E)===null&&N===S(M)&&(U?r():U=!0,n(W,A-q))):(N.sortIndex=Y,_(E,N),D||T||(D=!0,e(z))),N},t.unstable_wrapCallback=function(N){var L=R;return function(){var A=R;R=L;try{return N.apply(this,arguments)}finally{R=A}}}})(tJ);eJ.exports=tJ;var aye=eJ.exports;/** @license React v17.0.2 - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fP=k,fr=$Z,li=aye;function Xe(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sye=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,JU=Object.prototype.hasOwnProperty,e6={},t6={};function lye(t){return JU.call(t6,t)?!0:JU.call(e6,t)?!1:sye.test(t)?t6[t]=!0:(e6[t]=!0,!1)}function cye(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function uye(t,e,n,r){if(e===null||typeof e>"u"||cye(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function vo(t,e,n,r,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var Ii={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Ii[t]=new vo(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Ii[e]=new vo(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Ii[t]=new vo(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Ii[t]=new vo(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){Ii[t]=new vo(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Ii[t]=new vo(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Ii[t]=new vo(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Ii[t]=new vo(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Ii[t]=new vo(t,5,!1,t.toLowerCase(),null,!1,!1)});var eF=/[\-:]([a-z])/g;function tF(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(eF,tF);Ii[e]=new vo(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(eF,tF);Ii[e]=new vo(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(eF,tF);Ii[e]=new vo(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Ii[t]=new vo(t,1,!1,t.toLowerCase(),null,!1,!1)});Ii.xlinkHref=new vo("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Ii[t]=new vo(t,1,!1,t.toLowerCase(),null,!0,!0)});function nF(t,e,n,r){var i=Ii.hasOwnProperty(e)?Ii[e]:null,o=i!==null?i.type===0:r?!1:!(!(2s||i[a]!==o[s])return` -`+i[a].replace(" at new "," at ");while(1<=a&&0<=s);break}}}finally{mk=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?A0(t):""}function fye(t){switch(t.tag){case 5:return A0(t.type);case 16:return A0("Lazy");case 13:return A0("Suspense");case 19:return A0("SuspenseList");case 0:case 2:case 15:return t=xw(t.type,!1),t;case 11:return t=xw(t.type.render,!1),t;case 22:return t=xw(t.type._render,!1),t;case 1:return t=xw(t.type,!0),t;default:return""}}function Km(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ef:return"Fragment";case Yd:return"Portal";case Z0:return"Profiler";case rF:return"StrictMode";case J0:return"Suspense";case MC:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case oF:return(t.displayName||"Context")+".Consumer";case iF:return(t._context.displayName||"Context")+".Provider";case dP:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case hP:return Km(t.type);case sF:return Km(t._render);case aF:e=t._payload,t=t._init;try{return Km(t(e))}catch{}}return null}function $f(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function iJ(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function dye(t){var e=iJ(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function bw(t){t._valueTracker||(t._valueTracker=dye(t))}function oJ(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=iJ(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function kC(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function iD(t,e){var n=e.checked;return fr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function r6(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=$f(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function aJ(t,e){e=e.checked,e!=null&&nF(t,"checked",e,!1)}function oD(t,e){aJ(t,e);var n=$f(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?aD(t,e.type,n):e.hasOwnProperty("defaultValue")&&aD(t,e.type,$f(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function i6(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function aD(t,e,n){(e!=="number"||kC(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function hye(t){var e="";return fP.Children.forEach(t,function(n){n!=null&&(e+=n)}),e}function sD(t,e){return t=fr({children:void 0},e),(e=hye(e.children))&&(t.children=e),t}function Zm(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i=n.length))throw Error(Xe(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:$f(n)}}function sJ(t,e){var n=$f(e.value),r=$f(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function a6(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}var cD={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lJ(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function uD(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?lJ(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var _w,cJ=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!==cD.svg||"innerHTML"in t)t.innerHTML=e;else{for(_w=_w||document.createElement("div"),_w.innerHTML=""+e.valueOf().toString()+"",e=_w.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Wx(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var ex={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pye=["Webkit","ms","Moz","O"];Object.keys(ex).forEach(function(t){pye.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ex[e]=ex[t]})});function uJ(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||ex.hasOwnProperty(t)&&ex[t]?(""+e).trim():e+"px"}function fJ(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=uJ(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var mye=fr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fD(t,e){if(e){if(mye[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Xe(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Xe(60));if(!(typeof e.dangerouslySetInnerHTML=="object"&&"__html"in e.dangerouslySetInnerHTML))throw Error(Xe(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Xe(62))}}function dD(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function uF(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var hD=null,Jm=null,eg=null;function s6(t){if(t=N_(t)){if(typeof hD!="function")throw Error(Xe(280));var e=t.stateNode;e&&(e=xP(e),hD(t.stateNode,t.type,e))}}function dJ(t){Jm?eg?eg.push(t):eg=[t]:Jm=t}function hJ(){if(Jm){var t=Jm,e=eg;if(eg=Jm=null,s6(t),e)for(t=0;tr?0:1<n;n++)e.push(t);return e}function mP(t,e,n){t.pendingLanes|=e;var r=e-1;t.suspendedLanes&=r,t.pingedLanes&=r,t=t.eventTimes,e=31-Nf(e),t[e]=n}var Nf=Math.clz32?Math.clz32:Aye,Mye=Math.log,kye=Math.LN2;function Aye(t){return t===0?32:31-(Mye(t)/kye|0)|0}var Rye=li.unstable_UserBlockingPriority,Iye=li.unstable_runWithPriority,UO=!0;function Dye(t,e,n,r){Kd||dF();var i=vF,o=Kd;Kd=!0;try{pJ(i,t,e,n,r)}finally{(Kd=o)||hF()}}function Lye(t,e,n,r){Iye(Rye,vF.bind(null,t,e,n,r))}function vF(t,e,n,r){if(UO){var i;if((i=(e&4)===0)&&0=nx),v6=" ",y6=!1;function AJ(t,e){switch(t){case"keyup":return i0e.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function RJ(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Am=!1;function a0e(t,e){switch(t){case"compositionend":return RJ(e);case"keypress":return e.which!==32?null:(y6=!0,v6);case"textInput":return t=e.data,t===v6&&y6?null:t;default:return null}}function s0e(t,e){if(Am)return t==="compositionend"||!wF&&AJ(t,e)?(t=MJ(),WO=xF=rf=null,Am=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=w6(n)}}function $J(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?$J(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function O6(){for(var t=window,e=kC();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=kC(t.document)}return e}function yD(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var v0e=Zc&&"documentMode"in document&&11>=document.documentMode,Rm=null,xD=null,ix=null,bD=!1;function C6(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bD||Rm==null||Rm!==kC(r)||(r=Rm,"selectionStart"in r&&yD(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ix&&Qx(ix,r)||(ix=r,r=DC(xD,"onSelect"),0Dm||(t.current=wD[Dm],wD[Dm]=null,Dm--)}function yr(t,e){Dm++,wD[Dm]=t.current,t.current=e}var Ff={},Zi=Zf(Ff),Io=Zf(!1),Ah=Ff;function Mg(t,e){var n=t.type.contextTypes;if(!n)return Ff;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Do(t){return t=t.childContextTypes,t!=null}function NC(){Zn(Io),Zn(Zi)}function D6(t,e,n){if(Zi.current!==Ff)throw Error(Xe(168));yr(Zi,e),yr(Io,n)}function VJ(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Xe(108,Km(e)||"Unknown",i));return fr({},n,r)}function GO(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ff,Ah=Zi.current,yr(Zi,t),yr(Io,Io.current),!0}function L6(t,e,n){var r=t.stateNode;if(!r)throw Error(Xe(169));n?(t=VJ(t,e,Ah),r.__reactInternalMemoizedMergedChildContext=t,Zn(Io),Zn(Zi),yr(Zi,t)):Zn(Io),yr(Io,n)}var OF=null,gh=null,b0e=li.unstable_runWithPriority,CF=li.unstable_scheduleCallback,SD=li.unstable_cancelCallback,_0e=li.unstable_shouldYield,$6=li.unstable_requestPaint,OD=li.unstable_now,w0e=li.unstable_getCurrentPriorityLevel,bP=li.unstable_ImmediatePriority,GJ=li.unstable_UserBlockingPriority,HJ=li.unstable_NormalPriority,qJ=li.unstable_LowPriority,XJ=li.unstable_IdlePriority,Pk={},S0e=$6!==void 0?$6:function(){},Sc=null,HO=null,Mk=!1,N6=OD(),Yi=1e4>N6?OD:function(){return OD()-N6};function kg(){switch(w0e()){case bP:return 99;case GJ:return 98;case HJ:return 97;case qJ:return 96;case XJ:return 95;default:throw Error(Xe(332))}}function QJ(t){switch(t){case 99:return bP;case 98:return GJ;case 97:return HJ;case 96:return qJ;case 95:return XJ;default:throw Error(Xe(332))}}function Rh(t,e){return t=QJ(t),b0e(t,e)}function Kx(t,e,n){return t=QJ(t),CF(t,e,n)}function Xl(){if(HO!==null){var t=HO;HO=null,SD(t)}YJ()}function YJ(){if(!Mk&&Sc!==null){Mk=!0;var t=0;try{var e=Sc;Rh(99,function(){for(;tO?(C=S,S=null):C=S.sibling;var E=d(g,S,y[O],x);if(E===null){S===null&&(S=C);break}t&&S&&E.alternate===null&&e(g,S),v=o(E,v,O),_===null?b=E:_.sibling=E,_=E,S=C}if(O===y.length)return n(g,S),b;if(S===null){for(;OO?(C=S,S=null):C=S.sibling;var M=d(g,S,E.value,x);if(M===null){S===null&&(S=C);break}t&&S&&M.alternate===null&&e(g,S),v=o(M,v,O),_===null?b=M:_.sibling=M,_=M,S=C}if(E.done)return n(g,S),b;if(S===null){for(;!E.done;O++,E=y.next())E=f(g,E.value,x),E!==null&&(v=o(E,v,O),_===null?b=E:_.sibling=E,_=E);return b}for(S=r(g,S);!E.done;O++,E=y.next())E=h(S,g,O,E.value,x),E!==null&&(t&&E.alternate!==null&&S.delete(E.key===null?O:E.key),v=o(E,v,O),_===null?b=E:_.sibling=E,_=E);return t&&S.forEach(function(I){return e(g,I)}),b}return function(g,v,y,x){var b=typeof y=="object"&&y!==null&&y.type===ef&&y.key===null;b&&(y=y.props.children);var _=typeof y=="object"&&y!==null;if(_)switch(y.$$typeof){case k0:e:{for(_=y.key,b=v;b!==null;){if(b.key===_){switch(b.tag){case 7:if(y.type===ef){n(g,b.sibling),v=i(b,y.props.children),v.return=g,g=v;break e}break;default:if(b.elementType===y.type){n(g,b.sibling),v=i(b,y.props),v.ref=Dy(g,b,y),v.return=g,g=v;break e}}n(g,b);break}else e(g,b);b=b.sibling}y.type===ef?(v=ag(y.props.children,g.mode,x,y.key),v.return=g,g=v):(x=YO(y.type,y.key,y.props,null,g.mode,x),x.ref=Dy(g,v,y),x.return=g,g=x)}return a(g);case Yd:e:{for(b=y.key;v!==null;){if(v.key===b)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(g,v.sibling),v=i(v,y.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else e(g,v);v=v.sibling}v=Lk(y,g.mode,x),v.return=g,g=v}return a(g)}if(typeof y=="string"||typeof y=="number")return y=""+y,v!==null&&v.tag===6?(n(g,v.sibling),v=i(v,y),v.return=g,g=v):(n(g,v),v=Dk(y,g.mode,x),v.return=g,g=v),a(g);if(Ow(y))return p(g,v,y,x);if(Py(y))return m(g,v,y,x);if(_&&Cw(g,y),typeof y>"u"&&!b)switch(g.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Xe(152,Km(g.type)||"Component"))}return n(g,v)}}var UC=tee(!0),nee=tee(!1),F_={},kl=Zf(F_),Jx=Zf(F_),eb=Zf(F_);function Jd(t){if(t===F_)throw Error(Xe(174));return t}function TD(t,e){switch(yr(eb,e),yr(Jx,t),yr(kl,F_),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:uD(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=uD(e,t)}Zn(kl),yr(kl,e)}function Ag(){Zn(kl),Zn(Jx),Zn(eb)}function U6(t){Jd(eb.current);var e=Jd(kl.current),n=uD(e,t.type);e!==n&&(yr(Jx,t),yr(kl,n))}function MF(t){Jx.current===t&&(Zn(kl),Zn(Jx))}var vr=Zf(0);function WC(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&64)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Dc=null,af=null,Al=!1;function ree(t,e){var n=Fa(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.flags=8,t.lastEffect!==null?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function W6(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,!0):!1;case 13:return!1;default:return!1}}function ED(t){if(Al){var e=af;if(e){var n=e;if(!W6(t,e)){if(e=tg(n.nextSibling),!e||!W6(t,e)){t.flags=t.flags&-1025|2,Al=!1,Dc=t;return}ree(Dc,n)}Dc=t,af=tg(e.firstChild)}else t.flags=t.flags&-1025|2,Al=!1,Dc=t}}function V6(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Dc=t}function Tw(t){if(t!==Dc)return!1;if(!Al)return V6(t),Al=!0,!1;var e=t.type;if(t.tag!==5||e!=="head"&&e!=="body"&&!_D(e,t.memoizedProps))for(e=af;e;)ree(t,e),e=tg(e.nextSibling);if(V6(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(Xe(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){af=tg(t.nextSibling);break e}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}af=null}}else af=Dc?tg(t.stateNode.nextSibling):null;return!0}function kk(){af=Dc=null,Al=!1}var rg=[];function kF(){for(var t=0;to))throw Error(Xe(301));o+=1,_i=Vi=null,e.updateQueue=null,ox.current=P0e,t=n(r,i)}while(ax)}if(ox.current=XC,e=Vi!==null&&Vi.next!==null,tb=0,_i=Vi=Er=null,VC=!1,e)throw Error(Xe(300));return t}function eh(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _i===null?Er.memoizedState=_i=t:_i=_i.next=t,_i}function ap(){if(Vi===null){var t=Er.alternate;t=t!==null?t.memoizedState:null}else t=Vi.next;var e=_i===null?Er.memoizedState:_i.next;if(e!==null)_i=e,Vi=t;else{if(t===null)throw Error(Xe(310));Vi=t,t={memoizedState:Vi.memoizedState,baseState:Vi.baseState,baseQueue:Vi.baseQueue,queue:Vi.queue,next:null},_i===null?Er.memoizedState=_i=t:_i=_i.next=t}return _i}function xl(t,e){return typeof e=="function"?e(t):e}function Ly(t){var e=ap(),n=e.queue;if(n===null)throw Error(Xe(311));n.lastRenderedReducer=t;var r=Vi,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){i=i.next,r=r.baseState;var s=a=o=null,l=i;do{var c=l.lane;if((tb&c)===c)s!==null&&(s=s.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===t?l.eagerState:t(r,l.action);else{var u={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};s===null?(a=s=u,o=r):s=s.next=u,Er.lanes|=c,j_|=c}l=l.next}while(l!==null&&l!==i);s===null?o=r:s.next=a,Na(r,e.memoizedState)||($s=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function $y(t){var e=ap(),n=e.queue;if(n===null)throw Error(Xe(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=t(o,a.action),a=a.next;while(a!==i);Na(o,e.memoizedState)||($s=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function G6(t,e,n){var r=e._getVersion;r=r(e._source);var i=e._workInProgressVersionPrimary;if(i!==null?t=i===r:(t=t.mutableReadLanes,(t=(tb&t)===t)&&(e._workInProgressVersionPrimary=r,rg.push(e))),t)return n(e._source);throw rg.push(e),Error(Xe(350))}function iee(t,e,n,r){var i=uo;if(i===null)throw Error(Xe(349));var o=e._getVersion,a=o(e._source),s=ox.current,l=s.useState(function(){return G6(i,e,n)}),c=l[1],u=l[0];l=_i;var f=t.memoizedState,d=f.refs,h=d.getSnapshot,p=f.source;f=f.subscribe;var m=Er;return t.memoizedState={refs:d,source:e,subscribe:r},s.useEffect(function(){d.getSnapshot=n,d.setSnapshot=c;var g=o(e._source);if(!Na(a,g)){g=n(e._source),Na(u,g)||(c(g),g=Sf(m),i.mutableReadLanes|=g&i.pendingLanes),g=i.mutableReadLanes,i.entangledLanes|=g;for(var v=i.entanglements,y=g;0n?98:n,function(){t(!0)}),Rh(97<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=a.createElement(n,{is:r.is}):(t=a.createElement(n),n==="select"&&(a=t,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):t=a.createElementNS(t,n),t[of]=e,t[$C]=r,hee(t,e,!1,!1),e.stateNode=t,a=dD(n,r),n){case"dialog":Gn("cancel",t),Gn("close",t),i=r;break;case"iframe":case"object":case"embed":Gn("load",t),i=r;break;case"video":case"audio":for(i=0;iND&&(e.flags|=64,o=!0,Fy(r,!1),e.lanes=33554432)}else{if(!o)if(t=WC(a),t!==null){if(e.flags|=64,o=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Fy(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!Al)return e=e.lastEffect=r.lastEffect,e!==null&&(e.nextEffect=null),null}else 2*Yi()-r.renderingStartTime>ND&&n!==1073741824&&(e.flags|=64,o=!0,Fy(r,!1),e.lanes=33554432);r.isBackwards?(a.sibling=e.child,e.child=a):(n=r.last,n!==null?n.sibling=a:e.child=a,r.last=a)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=Yi(),n.sibling=null,e=vr.current,yr(vr,o?e&1|2:e&1),n):null;case 23:case 24:return BF(),t!==null&&t.memoizedState!==null!=(e.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(e.flags|=4),null}throw Error(Xe(156,e.tag))}function A0e(t){switch(t.tag){case 1:Do(t.type)&&NC();var e=t.flags;return e&4096?(t.flags=e&-4097|64,t):null;case 3:if(Ag(),Zn(Io),Zn(Zi),kF(),e=t.flags,e&64)throw Error(Xe(285));return t.flags=e&-4097|64,t;case 5:return MF(t),null;case 13:return Zn(vr),e=t.flags,e&4096?(t.flags=e&-4097|64,t):null;case 19:return Zn(vr),null;case 4:return Ag(),null;case 10:return EF(t),null;case 23:case 24:return BF(),null;default:return null}}function $F(t,e){try{var n="",r=e;do n+=fye(r),r=r.return;while(r);var i=n}catch(o){i=` -Error generating stack: `+o.message+` -`+o.stack}return{value:t,source:e,stack:i}}function RD(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var R0e=typeof WeakMap=="function"?WeakMap:Map;function gee(t,e,n){n=_f(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){YC||(YC=!0,FD=r),RD(t,e)},n}function vee(t,e,n){n=_f(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;n.payload=function(){return RD(t,e),r(i)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(bl===null?bl=new Set([this]):bl.add(this),RD(t,e));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),n}var I0e=typeof WeakSet=="function"?WeakSet:Set;function iW(t){var e=t.ref;if(e!==null)if(typeof e=="function")try{e(null)}catch(n){Cf(t,n)}else e.current=null}function D0e(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(e.flags&256&&t!==null){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e=t.getSnapshotBeforeUpdate(e.elementType===e.type?n:Ms(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:e.flags&256&&SF(e.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Xe(163))}function L0e(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:if(e=n.updateQueue,e=e!==null?e.lastEffect:null,e!==null){t=e=e.next;do{if((t.tag&3)===3){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}if(e=n.updateQueue,e=e!==null?e.lastEffect:null,e!==null){t=e=e.next;do{var i=t;r=i.next,i=i.tag,i&4&&i&1&&(Tee(n,t),W0e(n,t)),t=r}while(t!==e)}return;case 1:t=n.stateNode,n.flags&4&&(e===null?t.componentDidMount():(r=n.elementType===n.type?e.memoizedProps:Ms(n.type,e.memoizedProps),t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate))),e=n.updateQueue,e!==null&&j6(n,e,t);return;case 3:if(e=n.updateQueue,e!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}j6(n,e,t)}return;case 5:t=n.stateNode,e===null&&n.flags&4&&UJ(n.type,n.memoizedProps)&&t.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&_J(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Xe(163))}function oW(t,e){for(var n=t;;){if(n.tag===5){var r=n.stateNode;if(e)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,r.style.display=uJ("display",i)}}else if(n.tag===6)n.stateNode.nodeValue=e?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function aW(t,e){if(gh&&typeof gh.onCommitFiberUnmount=="function")try{gh.onCommitFiberUnmount(OF,e)}catch{}switch(e.tag){case 0:case 11:case 14:case 15:case 22:if(t=e.updateQueue,t!==null&&(t=t.lastEffect,t!==null)){var n=t=t.next;do{var r=n,i=r.destroy;if(r=r.tag,i!==void 0)if(r&4)Tee(e,n);else{r=e;try{i()}catch(o){Cf(r,o)}}n=n.next}while(n!==t)}break;case 1:if(iW(e),t=e.stateNode,typeof t.componentWillUnmount=="function")try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(o){Cf(e,o)}break;case 5:iW(e);break;case 4:yee(t,e)}}function sW(t){t.alternate=null,t.child=null,t.dependencies=null,t.firstEffect=null,t.lastEffect=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.return=null,t.updateQueue=null}function lW(t){return t.tag===5||t.tag===3||t.tag===4}function cW(t){e:{for(var e=t.return;e!==null;){if(lW(e))break e;e=e.return}throw Error(Xe(160))}var n=e;switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:e=e.containerInfo,r=!0;break;case 4:e=e.containerInfo,r=!0;break;default:throw Error(Xe(161))}n.flags&16&&(Wx(e,""),n.flags&=-17);e:t:for(n=t;;){for(;n.sibling===null;){if(n.return===null||lW(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?ID(t,n,e):DD(t,n,e)}function ID(t,e,n){var r=t.tag,i=r===5||r===6;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=LC));else if(r!==4&&(t=t.child,t!==null))for(ID(t,e,n),t=t.sibling;t!==null;)ID(t,e,n),t=t.sibling}function DD(t,e,n){var r=t.tag,i=r===5||r===6;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(DD(t,e,n),t=t.sibling;t!==null;)DD(t,e,n),t=t.sibling}function yee(t,e){for(var n=e,r=!1,i,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(Xe(160));switch(i=r.stateNode,r.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var a=t,s=n,l=s;;)if(aW(a,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(a=i,s=n.stateNode,a.nodeType===8?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){i=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(aW(t,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Ik(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(t=r.destroy,r.destroy=void 0,t!==void 0&&t()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=e.stateNode,n!=null){r=e.memoizedProps;var i=t!==null?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,o!==null){for(n[$C]=r,t==="input"&&r.type==="radio"&&r.name!=null&&aJ(n,r),dD(t,i),e=dD(t,r),i=0;ii&&(i=a),n&=~o}if(n=i,n=Yi()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*N0e(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Si!==5&&(Si=2),l=$F(l,s),d=a;do{switch(d.tag){case 3:o=l,d.flags|=4096,e&=-e,d.lanes|=e;var _=gee(d,o,e);F6(d,_);break e;case 1:o=l;var S=d.type,O=d.stateNode;if(!(d.flags&64)&&(typeof S.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(bl===null||!bl.has(O)))){d.flags|=4096,e&=-e,d.lanes|=e;var C=vee(d,o,e);F6(d,C);break e}}d=d.return}while(d!==null)}Cee(n)}catch(E){e=E,Kr===n&&n!==null&&(Kr=n=n.return);continue}break}while(!0)}function See(){var t=QC.current;return QC.current=XC,t===null?XC:t}function D0(t,e){var n=Tt;Tt|=16;var r=See();uo===t&&Ki===e||og(t,e);do try{j0e();break}catch(i){wee(t,i)}while(!0);if(TF(),Tt=n,QC.current=r,Kr!==null)throw Error(Xe(261));return uo=null,Ki=0,Si}function j0e(){for(;Kr!==null;)Oee(Kr)}function B0e(){for(;Kr!==null&&!_0e();)Oee(Kr)}function Oee(t){var e=Eee(t.alternate,t,Ih);t.memoizedProps=t.pendingProps,e===null?Cee(t):Kr=e,NF.current=null}function Cee(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&2048){if(n=A0e(e),n!==null){n.flags&=2047,Kr=n;return}t!==null&&(t.firstEffect=t.lastEffect=null,t.flags|=2048)}else{if(n=k0e(n,e,Ih),n!==null){Kr=n;return}if(n=e,n.tag!==24&&n.tag!==23||n.memoizedState===null||Ih&1073741824||!(n.mode&4)){for(var r=0,i=n.child;i!==null;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}t!==null&&!(t.flags&2048)&&(t.firstEffect===null&&(t.firstEffect=e.firstEffect),e.lastEffect!==null&&(t.lastEffect!==null&&(t.lastEffect.nextEffect=e.firstEffect),t.lastEffect=e.lastEffect),1a&&(s=a,a=_,_=s),s=S6(y,_),o=S6(y,a),s&&o&&(b.rangeCount!==1||b.anchorNode!==s.node||b.anchorOffset!==s.offset||b.focusNode!==o.node||b.focusOffset!==o.offset)&&(x=x.createRange(),x.setStart(s.node,s.offset),b.removeAllRanges(),_>a?(b.addRange(x),b.extend(o.node,o.offset)):(x.setEnd(o.node,o.offset),b.addRange(x)))))),x=[],b=y;b=b.parentNode;)b.nodeType===1&&x.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yYi()-jF?og(t,0):FF|=n),es(t,e)}function H0e(t,e){var n=t.stateNode;n!==null&&n.delete(e),e=0,e===0&&(e=t.mode,e&2?e&4?(Pc===0&&(Pc=Mv),e=ym(62914560&~Pc),e===0&&(e=4194304)):e=kg()===99?1:2:e=1),n=pa(),t=SP(t,e),t!==null&&(mP(t,e,n),es(t,n))}var Eee;Eee=function(t,e,n){var r=e.lanes;if(t!==null)if(t.memoizedProps!==e.pendingProps||Io.current)$s=!0;else if(n&r)$s=!!(t.flags&16384);else{switch($s=!1,e.tag){case 3:K6(e),kk();break;case 5:U6(e);break;case 1:Do(e.type)&&GO(e);break;case 4:TD(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value;var i=e.type._context;yr(FC,i._currentValue),i._currentValue=r;break;case 13:if(e.memoizedState!==null)return n&e.child.childLanes?Z6(t,e,n):(yr(vr,vr.current&1),e=Lc(t,e,n),e!==null?e.sibling:null);yr(vr,vr.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&64){if(r)return rW(t,e,n);e.flags|=64}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),yr(vr,vr.current),r)break;return null;case 23:case 24:return e.lanes=0,Ak(t,e,n)}return Lc(t,e,n)}else $s=!1;switch(e.lanes=0,e.tag){case 2:if(r=e.type,t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=Mg(e,Zi.current),ng(e,n),i=RF(null,e,r,t,i,n),e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,Do(r)){var o=!0;GO(e)}else o=!1;e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,PF(e);var a=r.getDerivedStateFromProps;typeof a=="function"&&zC(e,r,a,t),i.updater=_P,e.stateNode=i,i._reactInternals=e,CD(e,r,t,n),e=kD(null,e,r,!0,o,n)}else e.tag=0,So(null,e,i,n),e=e.child;return e;case 16:i=e.elementType;e:{switch(t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,o=i._init,i=o(i._payload),e.type=i,o=e.tag=X0e(i),t=Ms(i,t),o){case 0:e=MD(null,e,i,t,n);break e;case 1:e=Y6(null,e,i,t,n);break e;case 11:e=X6(null,e,i,t,n);break e;case 14:e=Q6(null,e,i,Ms(i.type,t),r,n);break e}throw Error(Xe(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Ms(r,i),MD(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Ms(r,i),Y6(t,e,r,i,n);case 3:if(K6(e),r=e.updateQueue,t===null||r===null)throw Error(Xe(282));if(r=e.pendingProps,i=e.memoizedState,i=i!==null?i.element:null,ZJ(t,e),Zx(e,r,null,n),r=e.memoizedState.element,r===i)kk(),e=Lc(t,e,n);else{if(i=e.stateNode,(o=i.hydrate)&&(af=tg(e.stateNode.containerInfo.firstChild),Dc=e,o=Al=!0),o){if(t=i.mutableSourceEagerHydrationData,t!=null)for(i=0;i"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mee)}catch(t){console.error(t)}}Mee(),JZ.exports=cs;var Rv=JZ.exports;const kw=$t(Rv);var kee={exports:{}},txe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",nxe=txe,rxe=nxe;function Aee(){}function Ree(){}Ree.resetWarningCache=Aee;var ixe=function(){function t(r,i,o,a,s,l){if(l!==rxe){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:Ree,resetWarningCache:Aee};return n.PropTypes=n,n};kee.exports=ixe();var GF=kee.exports;const Qe=$t(GF);var Iee=ue.createContext(null);function oxe(t){t()}var Dee=oxe,axe=function(e){return Dee=e},sxe=function(){return Dee};function lxe(){var t=sxe(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t(function(){for(var i=e;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=e;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,a=n={callback:i,next:null,prev:n};return a.prev?a.prev.next=a:e=a,function(){!o||e===null||(o=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}var hW={notify:function(){},get:function(){return[]}};function Lee(t,e){var n,r=hW;function i(f){return l(),r.subscribe(f)}function o(){r.notify()}function a(){u.onStateChange&&u.onStateChange()}function s(){return!!n}function l(){n||(n=e?e.addNestedSub(a):t.subscribe(a),r=lxe())}function c(){n&&(n(),n=void 0,r.clear(),r=hW)}var u={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:c,getListeners:function(){return r}};return u}var $ee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?k.useLayoutEffect:k.useEffect;function cxe(t){var e=t.store,n=t.context,r=t.children,i=k.useMemo(function(){var s=Lee(e);return{store:e,subscription:s}},[e]),o=k.useMemo(function(){return e.getState()},[e]);$ee(function(){var s=i.subscription;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),function(){s.tryUnsubscribe(),s.onStateChange=null}},[i,o]);var a=n||Iee;return ue.createElement(a.Provider,{value:i},r)}function j(){return j=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}const fxe=Object.freeze(Object.defineProperty({__proto__:null,default:Ae},Symbol.toStringTag,{value:"Module"}));var Nee={exports:{}},En={};/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ui=typeof Symbol=="function"&&Symbol.for,HF=ui?Symbol.for("react.element"):60103,qF=ui?Symbol.for("react.portal"):60106,CP=ui?Symbol.for("react.fragment"):60107,TP=ui?Symbol.for("react.strict_mode"):60108,EP=ui?Symbol.for("react.profiler"):60114,PP=ui?Symbol.for("react.provider"):60109,MP=ui?Symbol.for("react.context"):60110,XF=ui?Symbol.for("react.async_mode"):60111,kP=ui?Symbol.for("react.concurrent_mode"):60111,AP=ui?Symbol.for("react.forward_ref"):60112,RP=ui?Symbol.for("react.suspense"):60113,dxe=ui?Symbol.for("react.suspense_list"):60120,IP=ui?Symbol.for("react.memo"):60115,DP=ui?Symbol.for("react.lazy"):60116,hxe=ui?Symbol.for("react.block"):60121,pxe=ui?Symbol.for("react.fundamental"):60117,mxe=ui?Symbol.for("react.responder"):60118,gxe=ui?Symbol.for("react.scope"):60119;function Oa(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case HF:switch(t=t.type,t){case XF:case kP:case CP:case EP:case TP:case RP:return t;default:switch(t=t&&t.$$typeof,t){case MP:case AP:case DP:case IP:case PP:return t;default:return e}}case qF:return e}}}function Fee(t){return Oa(t)===kP}En.AsyncMode=XF;En.ConcurrentMode=kP;En.ContextConsumer=MP;En.ContextProvider=PP;En.Element=HF;En.ForwardRef=AP;En.Fragment=CP;En.Lazy=DP;En.Memo=IP;En.Portal=qF;En.Profiler=EP;En.StrictMode=TP;En.Suspense=RP;En.isAsyncMode=function(t){return Fee(t)||Oa(t)===XF};En.isConcurrentMode=Fee;En.isContextConsumer=function(t){return Oa(t)===MP};En.isContextProvider=function(t){return Oa(t)===PP};En.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===HF};En.isForwardRef=function(t){return Oa(t)===AP};En.isFragment=function(t){return Oa(t)===CP};En.isLazy=function(t){return Oa(t)===DP};En.isMemo=function(t){return Oa(t)===IP};En.isPortal=function(t){return Oa(t)===qF};En.isProfiler=function(t){return Oa(t)===EP};En.isStrictMode=function(t){return Oa(t)===TP};En.isSuspense=function(t){return Oa(t)===RP};En.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===CP||t===kP||t===EP||t===TP||t===RP||t===dxe||typeof t=="object"&&t!==null&&(t.$$typeof===DP||t.$$typeof===IP||t.$$typeof===PP||t.$$typeof===MP||t.$$typeof===AP||t.$$typeof===pxe||t.$$typeof===mxe||t.$$typeof===gxe||t.$$typeof===hxe)};En.typeOf=Oa;Nee.exports=En;var vxe=Nee.exports,QF=vxe,yxe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},xxe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},bxe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jee={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},YF={};YF[QF.ForwardRef]=bxe;YF[QF.Memo]=jee;function pW(t){return QF.isMemo(t)?jee:YF[t.$$typeof]||yxe}var _xe=Object.defineProperty,wxe=Object.getOwnPropertyNames,mW=Object.getOwnPropertySymbols,Sxe=Object.getOwnPropertyDescriptor,Oxe=Object.getPrototypeOf,gW=Object.prototype;function Bee(t,e,n){if(typeof e!="string"){if(gW){var r=Oxe(e);r&&r!==gW&&Bee(t,r,n)}var i=wxe(e);mW&&(i=i.concat(mW(e)));for(var o=pW(t),a=pW(e),s=0;s=0;r--){var i=e[r](t);if(i)return i}return function(o,a){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+a.wrappedComponentName+".")}}function ube(t,e){return t===e}function fbe(t){var e=t===void 0?{}:t,n=e.connectHOC,r=n===void 0?Gxe:n,i=e.mapStateToPropsFactories,o=i===void 0?Jxe:i,a=e.mapDispatchToPropsFactories,s=a===void 0?Yxe:a,l=e.mergePropsFactories,c=l===void 0?ibe:l,u=e.selectorFactory,f=u===void 0?lbe:u;return function(h,p,m,g){g===void 0&&(g={});var v=g,y=v.pure,x=y===void 0?!0:y,b=v.areStatesEqual,_=b===void 0?ube:b,S=v.areOwnPropsEqual,O=S===void 0?Nk:S,C=v.areStatePropsEqual,E=C===void 0?Nk:C,M=v.areMergedPropsEqual,I=M===void 0?Nk:M,P=Ae(v,cbe),R=Fk(h,o,"mapStateToProps"),T=Fk(p,s,"mapDispatchToProps"),D=Fk(m,c,"mergeProps");return r(f,j({methodName:"connect",getDisplayName:function(B){return"Connect("+B+")"},shouldHandleStateChanges:!!h,initMapStateToProps:R,initMapDispatchToProps:T,initMergeProps:D,pure:x,areStatesEqual:_,areOwnPropsEqual:O,areStatePropsEqual:E,areMergedPropsEqual:I},P))}}const sn=fbe();axe(Rv.unstable_batchedUpdates);function Jc(t){"@babel/helpers - typeof";return Jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jc(t)}function dbe(t,e){if(Jc(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Jc(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Xee(t){var e=dbe(t,"string");return Jc(e)=="symbol"?e:e+""}function it(t,e,n){return e=Xee(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bW(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function _W(t){for(var e=1;e"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Zo(1));return n(Qee)(t,e)}if(typeof t!="function")throw new Error(Zo(2));var i=t,o=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(Zo(3));return o}function f(m){if(typeof m!="function")throw new Error(Zo(4));if(l)throw new Error(Zo(5));var g=!0;return c(),s.push(m),function(){if(g){if(l)throw new Error(Zo(6));g=!1,c();var y=s.indexOf(m);s.splice(y,1),a=null}}}function d(m){if(!hbe(m))throw new Error(Zo(7));if(typeof m.type>"u")throw new Error(Zo(8));if(l)throw new Error(Zo(9));try{l=!0,o=i(o,m)}finally{l=!1}for(var g=a=s,v=0;v"u"?"undefined":D(N);return L!=="object"?L:N===Math?"math":N===null?"null":Array.isArray(N)?"array":Object.prototype.toString.call(N)==="[object Date]"?"date":typeof N.toString=="function"&&/^\/.*\//.test(N.toString())?"regexp":"object"}function f(N,L,A,q,Y,K,se){Y=Y||[],se=se||[];var ee=Y.slice(0);if(typeof K<"u"){if(q){if(typeof q=="function"&&q(ee,K))return;if((typeof q>"u"?"undefined":D(q))==="object"){if(q.prefilter&&q.prefilter(ee,K))return;if(q.normalize){var te=q.normalize(ee,K,N,L);te&&(N=te[0],L=te[1])}}}ee.push(K)}u(N)==="regexp"&&u(L)==="regexp"&&(N=N.toString(),L=L.toString());var de=typeof N>"u"?"undefined":D(N),xe=typeof L>"u"?"undefined":D(L),ie=de!=="undefined"||se&&se[se.length-1].lhs&&se[se.length-1].lhs.hasOwnProperty(K),ve=xe!=="undefined"||se&&se[se.length-1].rhs&&se[se.length-1].rhs.hasOwnProperty(K);if(!ie&&ve)A(new a(ee,L));else if(!ve&&ie)A(new s(ee,N));else if(u(N)!==u(L))A(new o(ee,N,L));else if(u(N)==="date"&&N-L!==0)A(new o(ee,N,L));else if(de==="object"&&N!==null&&L!==null)if(se.filter(function(Q){return Q.lhs===N}).length)N!==L&&A(new o(ee,N,L));else{if(se.push({lhs:N,rhs:L}),Array.isArray(N)){var F;for(N.length,F=0;F=L.length?A(new l(ee,F,new s(void 0,N[F]))):f(N[F],L[F],A,q,ee,F,se);for(;F=0?(f(N[Q],L[Q],A,q,ee,Q,se),le=c(le,J)):f(N[Q],void 0,A,q,ee,Q,se)}),le.forEach(function(Q){f(void 0,L[Q],A,q,ee,Q,se)})}se.length=se.length-1}else N!==L&&(de==="number"&&isNaN(N)&&isNaN(L)||A(new o(ee,N,L)))}function d(N,L,A,q){return q=q||[],f(N,L,function(Y){Y&&q.push(Y)},A),q.length?q:void 0}function h(N,L,A){if(A.path&&A.path.length){var q,Y=N[L],K=A.path.length-1;for(q=0;q"u"&&(q[A.path[Y]]=typeof A.path[Y]=="number"?[]:{}),q=q[A.path[Y]];switch(A.kind){case"A":h(A.path?q[A.path[Y]]:q,A.index,A.item);break;case"D":delete q[A.path[Y]];break;case"E":case"N":q[A.path[Y]]=A.rhs}}}function m(N,L,A){if(A.path&&A.path.length){var q,Y=N[L],K=A.path.length-1;for(q=0;q"u"&&(K[A.path[q]]={}),K=K[A.path[q]];switch(A.kind){case"A":m(K[A.path[q]],A.index,A.item);break;case"D":K[A.path[q]]=A.lhs;break;case"E":K[A.path[q]]=A.lhs;break;case"N":delete K[A.path[q]]}}}function v(N,L,A){if(N&&L){var q=function(Y){A&&!A(N,L,Y)||p(N,L,Y)};f(N,L,q)}}function y(N){return"color: "+W[N].color+"; font-weight: bold"}function x(N){var L=N.kind,A=N.path,q=N.lhs,Y=N.rhs,K=N.index,se=N.item;switch(L){case"E":return[A.join("."),q,"→",Y];case"N":return[A.join("."),Y];case"D":return[A.join(".")];case"A":return[A.join(".")+"["+K+"]",se];default:return[]}}function b(N,L,A,q){var Y=d(N,L);try{q?A.groupCollapsed("diff"):A.group("diff")}catch{A.log("diff")}Y?Y.forEach(function(K){var se=K.kind,ee=x(K);A.log.apply(A,["%c "+W[se].text,y(se)].concat(U(ee)))}):A.log("—— no diff ——");try{A.groupEnd()}catch{A.log("—— diff end —— ")}}function _(N,L,A,q){switch(typeof N>"u"?"undefined":D(N)){case"object":return typeof N[q]=="function"?N[q].apply(N,U(A)):N[q];case"function":return N(L);default:return N}}function S(N){var L=N.timestamp,A=N.duration;return function(q,Y,K){var se=["action"];return se.push("%c"+String(q.type)),L&&se.push("%c@ "+Y),A&&se.push("%c(in "+K.toFixed(2)+" ms)"),se.join(" ")}}function O(N,L){var A=L.logger,q=L.actionTransformer,Y=L.titleFormatter,K=Y===void 0?S(L):Y,se=L.collapsed,ee=L.colors,te=L.level,de=L.diff,xe=typeof L.titleFormatter>"u";N.forEach(function(ie,ve){var F=ie.started,ce=ie.startedTime,le=ie.action,Q=ie.prevState,X=ie.error,J=ie.took,ge=ie.nextState,ye=N[ve+1];ye&&(ge=ye.prevState,J=ye.started-F);var V=q(le),H=typeof se=="function"?se(function(){return ge},le,ie):se,re=R(ce),he=ee.title?"color: "+ee.title(V)+";":"",we=["color: gray; font-weight: lighter;"];we.push(he),L.timestamp&&we.push("color: gray; font-weight: lighter;"),L.duration&&we.push("color: gray; font-weight: lighter;");var oe=K(V,re,J);try{H?ee.title&&xe?A.groupCollapsed.apply(A,["%c "+oe].concat(we)):A.groupCollapsed(oe):ee.title&&xe?A.group.apply(A,["%c "+oe].concat(we)):A.group(oe)}catch{A.log(oe)}var Z=_(te,V,[Q],"prevState"),G=_(te,V,[V],"action"),fe=_(te,V,[X,Q],"error"),_e=_(te,V,[ge],"nextState");if(Z)if(ee.prevState){var Me="color: "+ee.prevState(Q)+"; font-weight: bold";A[Z]("%c prev state",Me,Q)}else A[Z]("prev state",Q);if(G)if(ee.action){var me="color: "+ee.action(V)+"; font-weight: bold";A[G]("%c action ",me,V)}else A[G]("action ",V);if(X&&fe)if(ee.error){var Fe="color: "+ee.error(X,Q)+"; font-weight: bold;";A[fe]("%c error ",Fe,X)}else A[fe]("error ",X);if(_e)if(ee.nextState){var Pe="color: "+ee.nextState(ge)+"; font-weight: bold";A[_e]("%c next state",Pe,ge)}else A[_e]("next state",ge);de&&b(Q,ge,A,H);try{A.groupEnd()}catch{A.log("—— log end ——")}})}function C(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Object.assign({},z,N),A=L.logger,q=L.stateTransformer,Y=L.errorTransformer,K=L.predicate,se=L.logErrors,ee=L.diffPredicate;if(typeof A>"u")return function(){return function(de){return function(xe){return de(xe)}}};if(N.getState&&N.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware: -// Logger with default options -import { logger } from 'redux-logger' -const store = createStore( - reducer, - applyMiddleware(logger) -) -// Or you can create your own logger with custom options http://bit.ly/redux-logger-options -import createLogger from 'redux-logger' -const logger = createLogger({ - // ...options -}); -const store = createStore( - reducer, - applyMiddleware(logger) -) -`),function(){return function(de){return function(xe){return de(xe)}}};var te=[];return function(de){var xe=de.getState;return function(ie){return function(ve){if(typeof K=="function"&&!K(xe,ve))return ie(ve);var F={};te.push(F),F.started=T.now(),F.startedTime=new Date,F.prevState=q(xe()),F.action=ve;var ce=void 0;if(se)try{ce=ie(ve)}catch(Q){F.error=Y(Q)}else ce=ie(ve);F.took=T.now()-F.started,F.nextState=q(xe());var le=L.diff&&typeof ee=="function"?ee(xe,ve):L.diff;if(O(te,Object.assign({},L,{diff:le})),te.length=0,F.error)throw F.error;return ce}}}}var E,M,I=function(N,L){return new Array(L+1).join(N)},P=function(N,L){return I("0",L-N.toString().length)+N},R=function(N){return P(N.getHours(),2)+":"+P(N.getMinutes(),2)+":"+P(N.getSeconds(),2)+"."+P(N.getMilliseconds(),3)},T=typeof performance<"u"&&performance!==null&&typeof performance.now=="function"?performance:Date,D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},U=function(N){if(Array.isArray(N)){for(var L=0,A=Array(N.length);L"u"?"undefined":D(Yn))==="object"&&Yn?Yn:typeof window<"u"?window:{},M=E.DeepDiff,M&&B.push(function(){typeof M<"u"&&E.DeepDiff===d&&(E.DeepDiff=M,M=void 0)}),r(o,i),r(a,i),r(s,i),r(l,i),Object.defineProperties(d,{diff:{value:d,enumerable:!0},observableDiff:{value:f,enumerable:!0},applyDiff:{value:v,enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:g,enumerable:!0},isConflict:{value:function(){return typeof M<"u"},enumerable:!0},noConflict:{value:function(){return B&&(B.forEach(function(N){N()}),B=null),d},enumerable:!0}});var W={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},z={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(N){return N},actionTransformer:function(N){return N},errorTransformer:function(N){return N},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},$=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=N.dispatch,A=N.getState;return typeof L=="function"||typeof A=="function"?C()({dispatch:L,getState:A}):void console.error(` -[redux-logger v3] BREAKING CHANGE -[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings. -[redux-logger v3] Change -[redux-logger v3] import createLogger from 'redux-logger' -[redux-logger v3] to -[redux-logger v3] import { createLogger } from 'redux-logger' -`)};n.defaults=z,n.createLogger=C,n.logger=$,n.default=$,Object.defineProperty(n,"__esModule",{value:!0})})})(VD,VD.exports);var gbe=VD.exports;function Yee(t){var e=function(r){var i=r.dispatch,o=r.getState;return function(a){return function(s){return typeof s=="function"?s(i,o,t):a(s)}}};return e}var Kee=Yee();Kee.withExtraArgument=Yee;const vbe=Kee,ybe={black:"#000",white:"#fff"},nb=ybe,xbe={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Vu=xbe,bbe={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},Zee=bbe,_be={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Gu=_be,wbe={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},Sbe=wbe,Obe={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Jee=Obe,Cbe={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Rd=Cbe,Tbe={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Hu=Tbe,Ebe={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},ete=Ebe,Pbe={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Mbe=Pbe,kbe={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Oc=kbe,Abe={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},Rbe=Abe,Ibe={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},tte=Ibe,Dbe={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},nte=Dbe,Lbe={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},rte=Lbe,$be={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ud=$be,vh={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},Nbe={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},ite=Nbe,Fbe={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ote=Fbe,jbe={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"},Bbe=jbe;function eu(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n0?wi(Iv,--Bo):0,Rg--,Lr===10&&(Rg=1,FP--),Lr}function ma(){return Lr=Bo2||ib(Lr)>3?"":" "}function r_e(t,e){for(;--e&&ma()&&!(Lr<48||Lr>102||Lr>57&&Lr<65||Lr>70&&Lr<97););return Y_(t,KO()+(e<6&&Rl()==32&&ma()==32))}function HD(t){for(;ma();)switch(Lr){case t:return Bo;case 34:case 39:t!==34&&t!==39&&HD(Lr);break;case 40:t===41&&HD(t);break;case 92:ma();break}return Bo}function i_e(t,e){for(;ma()&&t+Lr!==57;)if(t+Lr===84&&Rl()===47)break;return"/*"+Y_(e,Bo-1)+"*"+NP(t===47?t:ma())}function o_e(t){for(;!ib(Rl());)ma();return Y_(t,Bo)}function a_e(t){return dte(JO("",null,null,null,[""],t=fte(t),0,[0],t))}function JO(t,e,n,r,i,o,a,s,l){for(var c=0,u=0,f=a,d=0,h=0,p=0,m=1,g=1,v=1,y=0,x="",b=i,_=o,S=r,O=x;g;)switch(p=y,y=ma()){case 40:if(p!=108&&wi(O,f-1)==58){GD(O+=gn(ZO(y),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:O+=ZO(y);break;case 9:case 10:case 13:case 32:O+=n_e(p);break;case 92:O+=r_e(KO()-1,7);continue;case 47:switch(Rl()){case 42:case 47:Aw(s_e(i_e(ma(),KO()),e,n),l);break;default:O+="/"}break;case 123*m:s[c++]=ll(O)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:v==-1&&(O=gn(O,/\f/g,"")),h>0&&ll(O)-f&&Aw(h>32?CW(O+";",r,n,f-1):CW(gn(O," ","")+";",r,n,f-2),l);break;case 59:O+=";";default:if(Aw(S=OW(O,e,n,c,u,i,s,x,b=[],_=[],f),o),y===123)if(u===0)JO(O,e,S,S,b,o,f,s,_);else switch(d===99&&wi(O,3)===110?100:d){case 100:case 108:case 109:case 115:JO(t,S,S,r&&Aw(OW(t,S,S,0,0,i,s,x,i,b=[],f),_),i,_,f,s,r?b:_);break;default:JO(O,S,S,S,[""],_,0,s,_)}}c=u=h=0,m=v=1,x=O="",f=a;break;case 58:f=1+ll(O),h=p;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&t_e()==125)continue}switch(O+=NP(y),y*m){case 38:v=u>0?1:(O+="\f",-1);break;case 44:s[c++]=(ll(O)-1)*v,v=1;break;case 64:Rl()===45&&(O+=ZO(ma())),d=Rl(),u=f=ll(x=O+=o_e(KO())),y++;break;case 45:p===45&&ll(O)==2&&(m=0)}}return o}function OW(t,e,n,r,i,o,a,s,l,c,u){for(var f=i-1,d=i===0?o:[""],h=tj(d),p=0,m=0,g=0;p0?d[v]+" "+y:gn(y,/&\f/g,d[v])))&&(l[g++]=x);return jP(t,e,n,i===0?JF:s,l,c,u)}function s_e(t,e,n){return jP(t,e,n,ste,NP(e_e()),rb(t,2,-2),0)}function CW(t,e,n,r){return jP(t,e,n,ej,rb(t,0,r),rb(t,r+1,-1),r)}function sg(t,e){for(var n="",r=tj(t),i=0;i6)switch(wi(t,e+1)){case 109:if(wi(t,e+4)!==45)break;case 102:return gn(t,/(.+:)(.+)-([^]+)/,"$1"+pn+"$2-$3$1"+ZC+(wi(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~GD(t,"stretch")?hte(gn(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(wi(t,e+1)!==115)break;case 6444:switch(wi(t,ll(t)-3-(~GD(t,"!important")&&10))){case 107:return gn(t,":",":"+pn)+t;case 101:return gn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pn+(wi(t,14)===45?"inline-":"")+"box$3$1"+pn+"$2$3$1"+ji+"$2box$3")+t}break;case 5936:switch(wi(t,e+11)){case 114:return pn+t+ji+gn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return pn+t+ji+gn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return pn+t+ji+gn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return pn+t+ji+t+t}return t}var g_e=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case ej:e.return=hte(e.value,e.length);break;case lte:return sg([By(e,{value:gn(e.value,"@","@"+pn)})],i);case JF:if(e.length)return Jbe(e.props,function(o){switch(Zbe(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return sg([By(e,{props:[gn(o,/:(read-\w+)/,":"+ZC+"$1")]})],i);case"::placeholder":return sg([By(e,{props:[gn(o,/:(plac\w+)/,":"+pn+"input-$1")]}),By(e,{props:[gn(o,/:(plac\w+)/,":"+ZC+"$1")]}),By(e,{props:[gn(o,/:(plac\w+)/,ji+"input-$1")]})],i)}return""})}},v_e=[g_e],pte=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var g=m.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=e.stylisPlugins||v_e,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),v=1;v=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var __e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},w_e=/[A-Z]|^ms/g,S_e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vte=function(e){return e.charCodeAt(1)===45},EW=function(e){return e!=null&&typeof e!="boolean"},Bk=ate(function(t){return vte(t)?t:t.replace(w_e,"-$&").toLowerCase()}),PW=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(S_e,function(r,i,o){return cl={name:i,styles:o,next:cl},i})}return __e[e]!==1&&!vte(e)&&typeof n=="number"&&n!==0?n+"px":n};function ob(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return cl={name:n.name,styles:n.styles,next:cl},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)cl={name:r.name,styles:r.styles,next:cl},r=r.next;var i=n.styles+";";return i}return O_e(t,e,n)}case"function":{if(t!==void 0){var o=cl,a=n(t);return cl=o,ob(t,e,a)}break}}if(e==null)return n;var s=e[n];return s!==void 0?s:n}function O_e(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?M_e:k_e},RW=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(a){return e.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},A_e=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return mte(n,r,i),T_e(function(){return gte(n,r,i)}),null},R_e=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,a;n!==void 0&&(o=n.label,a=n.target);var s=RW(e,n,r),l=s||AW(i),c=!l("as");return function(){var u=arguments,f=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var d=u.length,h=1;he(D_e(i)?n:i):e;return w.jsx(P_e,{styles:r})}function rj(t,e){return qD(t,e)}const Ste=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},L_e=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:wte,StyledEngineProvider:_te,ThemeContext:K_,css:BP,default:rj,internal_processStyles:Ste,keyframes:Dv},Symbol.toStringTag,{value:"Module"}));function Mc(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Ote(t){if(!Mc(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Ote(t[n])}),e}function Ri(t,e,n={clone:!0}){const r=n.clone?j({},t):t;return Mc(t)&&Mc(e)&&Object.keys(e).forEach(i=>{i!=="__proto__"&&(Mc(e[i])&&i in t&&Mc(t[i])?r[i]=Ri(t[i],e[i],n):n.clone?r[i]=Mc(e[i])?Ote(e[i]):e[i]:r[i]=e[i])}),r}const $_e=Object.freeze(Object.defineProperty({__proto__:null,default:Ri,isPlainObject:Mc},Symbol.toStringTag,{value:"Module"})),N_e=["values","unit","step"],F_e=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>j({},n,{[r.key]:r.val}),{})};function Cte(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=t,i=Ae(t,N_e),o=F_e(e),a=Object.keys(o);function s(d){return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof e[d]=="number"?e[d]:d)-r/100}${n})`}function c(d,h){const p=a.indexOf(h);return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n}) and (max-width:${(p!==-1&&typeof e[a[p]]=="number"?e[a[p]]:h)-r/100}${n})`}function u(d){return a.indexOf(d)+1`@media (min-width:${ij[t]}px)`};function zo(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||IW;return e.reduce((a,s,l)=>(a[o.up(o.keys[l])]=n(e[l]),a),{})}if(typeof e=="object"){const o=r.breakpoints||IW;return Object.keys(e).reduce((a,s)=>{if(Object.keys(o.values||ij).indexOf(s)!==-1){const l=o.up(s);a[l]=n(e[s],s)}else{const l=s;a[l]=e[l]}return a},{})}return n(e)}function Tte(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function Ete(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function z_e(t,...e){const n=Tte(t),r=[n,...e].reduce((i,o)=>Ri(i,o),{});return Ete(Object.keys(n),r)}function U_e(t,e){if(typeof t!="object")return{};const n={},r=Object.keys(e);return Array.isArray(t)?r.forEach((i,o)=>{o{t[i]!=null&&(n[i]=!0)}),n}function yh({values:t,breakpoints:e,base:n}){const r=n||U_e(t,e),i=Object.keys(r);if(i.length===0)return t;let o;return i.reduce((a,s,l)=>(Array.isArray(t)?(a[s]=t[l]!=null?t[l]:t[o],o=l):typeof t=="object"?(a[s]=t[s]!=null?t[s]:t[o],o=s):a[s]=t,a),{})}function De(t){if(typeof t!="string")throw new Error(eu(7));return t.charAt(0).toUpperCase()+t.slice(1)}const W_e=Object.freeze(Object.defineProperty({__proto__:null,default:De},Symbol.toStringTag,{value:"Module"}));function Ig(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function JC(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=Ig(t,n)||r,e&&(i=e(i,r,t)),i}function Mr(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=a=>{if(a[e]==null)return null;const s=a[e],l=a.theme,c=Ig(l,r)||{};return zo(a,s,f=>{let d=JC(c,i,f);return f===d&&typeof f=="string"&&(d=JC(c,i,`${e}${f==="default"?"":De(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[e],o}function V_e(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const G_e={m:"margin",p:"padding"},H_e={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},DW={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},q_e=V_e(t=>{if(t.length>2)if(DW[t])t=DW[t];else return[t];const[e,n]=t.split(""),r=G_e[e],i=H_e[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),oj=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],aj=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...oj,...aj];function Z_(t,e,n,r){var i;const o=(i=Ig(t,e,!1))!=null?i:n;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function sj(t){return Z_(t,"spacing",8)}function Lh(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),r=t(n);return e>=0?r:typeof r=="number"?-r:`-${r}`}function X_e(t,e){return n=>t.reduce((r,i)=>(r[i]=Lh(e,n),r),{})}function Q_e(t,e,n,r){if(e.indexOf(n)===-1)return null;const i=q_e(n),o=X_e(i,r),a=t[n];return zo(t,a,o)}function Pte(t,e){const n=sj(t.theme);return Object.keys(t).map(r=>Q_e(t,e,r,n)).reduce(ux,{})}function pr(t){return Pte(t,oj)}pr.propTypes={};pr.filterProps=oj;function mr(t){return Pte(t,aj)}mr.propTypes={};mr.filterProps=aj;function Y_e(t=8){if(t.mui)return t;const e=sj({spacing:t}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const a=e(o);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function zP(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?ux(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Da(t){return typeof t!="number"?t:`${t}px solid`}function us(t,e){return Mr({prop:t,themeKey:"borders",transform:e})}const K_e=us("border",Da),Z_e=us("borderTop",Da),J_e=us("borderRight",Da),e1e=us("borderBottom",Da),t1e=us("borderLeft",Da),n1e=us("borderColor"),r1e=us("borderTopColor"),i1e=us("borderRightColor"),o1e=us("borderBottomColor"),a1e=us("borderLeftColor"),s1e=us("outline",Da),l1e=us("outlineColor"),UP=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Z_(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:Lh(e,r)});return zo(t,t.borderRadius,n)}return null};UP.propTypes={};UP.filterProps=["borderRadius"];zP(K_e,Z_e,J_e,e1e,t1e,n1e,r1e,i1e,o1e,a1e,UP,s1e,l1e);const WP=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Z_(t.theme,"spacing",8),n=r=>({gap:Lh(e,r)});return zo(t,t.gap,n)}return null};WP.propTypes={};WP.filterProps=["gap"];const VP=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Z_(t.theme,"spacing",8),n=r=>({columnGap:Lh(e,r)});return zo(t,t.columnGap,n)}return null};VP.propTypes={};VP.filterProps=["columnGap"];const GP=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Z_(t.theme,"spacing",8),n=r=>({rowGap:Lh(e,r)});return zo(t,t.rowGap,n)}return null};GP.propTypes={};GP.filterProps=["rowGap"];const c1e=Mr({prop:"gridColumn"}),u1e=Mr({prop:"gridRow"}),f1e=Mr({prop:"gridAutoFlow"}),d1e=Mr({prop:"gridAutoColumns"}),h1e=Mr({prop:"gridAutoRows"}),p1e=Mr({prop:"gridTemplateColumns"}),m1e=Mr({prop:"gridTemplateRows"}),g1e=Mr({prop:"gridTemplateAreas"}),v1e=Mr({prop:"gridArea"});zP(WP,VP,GP,c1e,u1e,f1e,d1e,h1e,p1e,m1e,g1e,v1e);function lg(t,e){return e==="grey"?e:t}const y1e=Mr({prop:"color",themeKey:"palette",transform:lg}),x1e=Mr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:lg}),b1e=Mr({prop:"backgroundColor",themeKey:"palette",transform:lg});zP(y1e,x1e,b1e);function aa(t){return t<=1&&t!==0?`${t*100}%`:t}const _1e=Mr({prop:"width",transform:aa}),lj=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var r,i;const o=((r=t.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||ij[n];return o?((i=t.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${t.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:aa(n)}};return zo(t,t.maxWidth,e)}return null};lj.filterProps=["maxWidth"];const w1e=Mr({prop:"minWidth",transform:aa}),S1e=Mr({prop:"height",transform:aa}),O1e=Mr({prop:"maxHeight",transform:aa}),C1e=Mr({prop:"minHeight",transform:aa});Mr({prop:"size",cssProperty:"width",transform:aa});Mr({prop:"size",cssProperty:"height",transform:aa});const T1e=Mr({prop:"boxSizing"});zP(_1e,lj,w1e,S1e,O1e,C1e,T1e);const E1e={border:{themeKey:"borders",transform:Da},borderTop:{themeKey:"borders",transform:Da},borderRight:{themeKey:"borders",transform:Da},borderBottom:{themeKey:"borders",transform:Da},borderLeft:{themeKey:"borders",transform:Da},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Da},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:UP},color:{themeKey:"palette",transform:lg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:lg},backgroundColor:{themeKey:"palette",transform:lg},p:{style:mr},pt:{style:mr},pr:{style:mr},pb:{style:mr},pl:{style:mr},px:{style:mr},py:{style:mr},padding:{style:mr},paddingTop:{style:mr},paddingRight:{style:mr},paddingBottom:{style:mr},paddingLeft:{style:mr},paddingX:{style:mr},paddingY:{style:mr},paddingInline:{style:mr},paddingInlineStart:{style:mr},paddingInlineEnd:{style:mr},paddingBlock:{style:mr},paddingBlockStart:{style:mr},paddingBlockEnd:{style:mr},m:{style:pr},mt:{style:pr},mr:{style:pr},mb:{style:pr},ml:{style:pr},mx:{style:pr},my:{style:pr},margin:{style:pr},marginTop:{style:pr},marginRight:{style:pr},marginBottom:{style:pr},marginLeft:{style:pr},marginX:{style:pr},marginY:{style:pr},marginInline:{style:pr},marginInlineStart:{style:pr},marginInlineEnd:{style:pr},marginBlock:{style:pr},marginBlockStart:{style:pr},marginBlockEnd:{style:pr},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:WP},rowGap:{style:GP},columnGap:{style:VP},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:aa},maxWidth:{style:lj},minWidth:{transform:aa},height:{transform:aa},maxHeight:{transform:aa},minHeight:{transform:aa},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},J_=E1e;function P1e(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function M1e(t,e){return typeof t=="function"?t(e):t}function Mte(){function t(n,r,i,o){const a={[n]:r,theme:i},s=o[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:f}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const d=Ig(i,c)||{};return f?f(a):zo(a,r,p=>{let m=JC(d,u,p);return p===m&&typeof p=="string"&&(m=JC(d,u,`${n}${p==="default"?"":De(p)}`,p)),l===!1?m:{[l]:m}})}function e(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const a=(r=o.unstable_sxConfig)!=null?r:J_;function s(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=Tte(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(c).forEach(h=>{const p=M1e(c[h],o);if(p!=null)if(typeof p=="object")if(a[h])d=ux(d,t(h,p,o,a));else{const m=zo({theme:o},p,g=>({[h]:g}));P1e(m,p)?d[h]=e({sx:p,theme:o}):d=ux(d,m)}else d=ux(d,t(h,p,o,a))}),Ete(f,d)}return Array.isArray(i)?i.map(s):s(i)}return e}const kte=Mte();kte.filterProps=["sx"];const e1=kte;function Ate(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const k1e=["breakpoints","palette","spacing","shape"];function t1(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=t,a=Ae(t,k1e),s=Cte(n),l=Y_e(i);let c=Ri({breakpoints:s,direction:"ltr",components:{},palette:j({mode:"light"},r),spacing:l,shape:j({},B_e,o)},a);return c.applyStyles=Ate,c=e.reduce((u,f)=>Ri(u,f),c),c.unstable_sxConfig=j({},J_,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return e1({sx:f,theme:this})},c}const A1e=Object.freeze(Object.defineProperty({__proto__:null,default:t1,private_createBreakpoints:Cte,unstable_applyStyles:Ate},Symbol.toStringTag,{value:"Module"}));function R1e(t){return Object.keys(t).length===0}function cj(t=null){const e=k.useContext(K_);return!e||R1e(e)?t:e}const I1e=t1();function sp(t=I1e){return cj(t)}function D1e({styles:t,themeId:e,defaultTheme:n={}}){const r=sp(n),i=typeof t=="function"?t(e&&r[e]||r):t;return w.jsx(wte,{styles:i})}const L1e=["sx"],$1e=t=>{var e,n;const r={systemProps:{},otherProps:{}},i=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:J_;return Object.keys(t).forEach(o=>{i[o]?r.systemProps[o]=t[o]:r.otherProps[o]=t[o]}),r};function n1(t){const{sx:e}=t,n=Ae(t,L1e),{systemProps:r,otherProps:i}=$1e(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...a)=>{const s=e(...a);return Mc(s)?j({},r,s):r}:o=j({},r,e),j({},i,{sx:o})}const N1e=Object.freeze(Object.defineProperty({__proto__:null,default:e1,extendSxProp:n1,unstable_createStyleFunctionSx:Mte,unstable_defaultSxConfig:J_},Symbol.toStringTag,{value:"Module"})),LW=t=>t,F1e=()=>{let t=LW;return{configure(e){t=e},generate(e){return t(e)},reset(){t=LW}}},j1e=F1e(),uj=j1e;function Rte(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;es!=="theme"&&s!=="sx"&&s!=="as"})(e1);return k.forwardRef(function(l,c){const u=sp(n),f=n1(l),{className:d,component:h="div"}=f,p=Ae(f,B1e);return w.jsx(o,j({as:h,ref:c,className:ke(d,i?i(r):r),theme:e&&u[e]||u},p))})}const Ite={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function We(t,e,n="Mui"){const r=Ite[e];return r?`${n}-${r}`:`${uj.generate(t)}-${e}`}function Ve(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=We(t,i,n)}),r}var Dte={exports:{}},Pn={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var fj=Symbol.for("react.element"),dj=Symbol.for("react.portal"),HP=Symbol.for("react.fragment"),qP=Symbol.for("react.strict_mode"),XP=Symbol.for("react.profiler"),QP=Symbol.for("react.provider"),YP=Symbol.for("react.context"),U1e=Symbol.for("react.server_context"),KP=Symbol.for("react.forward_ref"),ZP=Symbol.for("react.suspense"),JP=Symbol.for("react.suspense_list"),eM=Symbol.for("react.memo"),tM=Symbol.for("react.lazy"),W1e=Symbol.for("react.offscreen"),Lte;Lte=Symbol.for("react.module.reference");function fs(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case fj:switch(t=t.type,t){case HP:case XP:case qP:case ZP:case JP:return t;default:switch(t=t&&t.$$typeof,t){case U1e:case YP:case KP:case tM:case eM:case QP:return t;default:return e}}case dj:return e}}}Pn.ContextConsumer=YP;Pn.ContextProvider=QP;Pn.Element=fj;Pn.ForwardRef=KP;Pn.Fragment=HP;Pn.Lazy=tM;Pn.Memo=eM;Pn.Portal=dj;Pn.Profiler=XP;Pn.StrictMode=qP;Pn.Suspense=ZP;Pn.SuspenseList=JP;Pn.isAsyncMode=function(){return!1};Pn.isConcurrentMode=function(){return!1};Pn.isContextConsumer=function(t){return fs(t)===YP};Pn.isContextProvider=function(t){return fs(t)===QP};Pn.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===fj};Pn.isForwardRef=function(t){return fs(t)===KP};Pn.isFragment=function(t){return fs(t)===HP};Pn.isLazy=function(t){return fs(t)===tM};Pn.isMemo=function(t){return fs(t)===eM};Pn.isPortal=function(t){return fs(t)===dj};Pn.isProfiler=function(t){return fs(t)===XP};Pn.isStrictMode=function(t){return fs(t)===qP};Pn.isSuspense=function(t){return fs(t)===ZP};Pn.isSuspenseList=function(t){return fs(t)===JP};Pn.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===HP||t===XP||t===qP||t===ZP||t===JP||t===W1e||typeof t=="object"&&t!==null&&(t.$$typeof===tM||t.$$typeof===eM||t.$$typeof===QP||t.$$typeof===YP||t.$$typeof===KP||t.$$typeof===Lte||t.getModuleId!==void 0)};Pn.typeOf=fs;Dte.exports=Pn;var QD=Dte.exports;const V1e=$t(QD),G1e=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function $te(t){const e=`${t}`.match(G1e);return e&&e[1]||""}function Nte(t,e=""){return t.displayName||t.name||$te(t)||e}function $W(t,e,n){const r=Nte(e);return t.displayName||(r!==""?`${n}(${r})`:n)}function H1e(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="function")return Nte(t,"Component");if(typeof t=="object")switch(t.$$typeof){case QD.ForwardRef:return $W(t,t.render,"ForwardRef");case QD.Memo:return $W(t,t.type,"memo");default:return}}}const q1e=Object.freeze(Object.defineProperty({__proto__:null,default:H1e,getFunctionName:$te},Symbol.toStringTag,{value:"Module"})),X1e=["ownerState"],Q1e=["variants"],Y1e=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function K1e(t){return Object.keys(t).length===0}function Z1e(t){return typeof t=="string"&&t.charCodeAt(0)>96}function zk(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const J1e=t1(),ewe=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function Rw({defaultTheme:t,theme:e,themeId:n}){return K1e(e)?t:e[n]||e}function twe(t){return t?(e,n)=>n[t]:null}function eC(t,e){let{ownerState:n}=e,r=Ae(e,X1e);const i=typeof t=="function"?t(j({ownerState:n},r)):t;if(Array.isArray(i))return i.flatMap(o=>eC(o,j({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=Ae(i,Q1e);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props(j({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style(j({ownerState:n},r,n)):l.style))}),s}return i}function nwe(t={}){const{themeId:e,defaultTheme:n=J1e,rootShouldForwardProp:r=zk,slotShouldForwardProp:i=zk}=t,o=a=>e1(j({},a,{theme:Rw(j({},a,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(a,s={})=>{Ste(a,_=>_.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=twe(ewe(c))}=s,h=Ae(s,Y1e),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=f||!1;let g,v=zk;c==="Root"||c==="root"?v=r:c?v=i:Z1e(a)&&(v=void 0);const y=rj(a,j({shouldForwardProp:v,label:g},h)),x=_=>typeof _=="function"&&_.__emotion_real!==_||Mc(_)?S=>eC(_,j({},S,{theme:Rw({theme:S.theme,defaultTheme:n,themeId:e})})):_,b=(_,...S)=>{let O=x(_);const C=S?S.map(x):[];l&&d&&C.push(I=>{const P=Rw(j({},I,{defaultTheme:n,themeId:e}));if(!P.components||!P.components[l]||!P.components[l].styleOverrides)return null;const R=P.components[l].styleOverrides,T={};return Object.entries(R).forEach(([D,U])=>{T[D]=eC(U,j({},I,{theme:P}))}),d(I,T)}),l&&!p&&C.push(I=>{var P;const R=Rw(j({},I,{defaultTheme:n,themeId:e})),T=R==null||(P=R.components)==null||(P=P[l])==null?void 0:P.variants;return eC({variants:T},j({},I,{theme:R}))}),m||C.push(o);const E=C.length-S.length;if(Array.isArray(_)&&E>0){const I=new Array(E).fill("");O=[..._,...I],O.raw=[..._.raw,...I]}const M=y(O,...C);return a.muiName&&(M.muiName=a.muiName),M};return y.withConfig&&(b.withConfig=y.withConfig),b}}const fi=nwe();function nM(t,e){const n=j({},e);return Object.keys(t).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=j({},t[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=t[r]||{},o=e[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=j({},o),Object.keys(i).forEach(a=>{n[r][a]=nM(i[a],o[a])}))}else n[r]===void 0&&(n[r]=t[r])}),n}function Fte(t){const{theme:e,name:n,props:r}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?r:nM(e.components[n].defaultProps,r)}function jte({props:t,name:e,defaultTheme:n,themeId:r}){let i=sp(n);return r&&(i=i[r]||i),Fte({theme:i,name:e,props:t})}const Ur=typeof window<"u"?k.useLayoutEffect:k.useEffect;function rwe(t,e,n,r,i){const[o,a]=k.useState(()=>i&&n?n(t).matches:r?r(t).matches:e);return Ur(()=>{let s=!0;if(!n)return;const l=n(t),c=()=>{s&&a(l.matches)};return c(),l.addListener(c),()=>{s=!1,l.removeListener(c)}},[t,n]),o}const Bte=k.useSyncExternalStore;function iwe(t,e,n,r,i){const o=k.useCallback(()=>e,[e]),a=k.useMemo(()=>{if(i&&n)return()=>n(t).matches;if(r!==null){const{matches:u}=r(t);return()=>u}return o},[o,t,r,i,n]),[s,l]=k.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const u=n(t);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[o,n,t]);return Bte(l,s,a)}function owe(t,e={}){const n=cj(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=Fte({name:"MuiUseMediaQuery",props:e,theme:n});let l=typeof t=="function"?t(n):t;return l=l.replace(/^@media( ?)/m,""),(Bte!==void 0?iwe:rwe)(l,i,o,a,s)}function Wd(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const awe=Object.freeze(Object.defineProperty({__proto__:null,default:Wd},Symbol.toStringTag,{value:"Module"}));function hj(t,e=0,n=1){return Wd(t,e,n)}function swe(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function rM(t){if(t.type)return t;if(t.charAt(0)==="#")return rM(swe(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(eu(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(eu(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function pj(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function $c(t,e){return t=rM(t),e=hj(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,pj(t)}function zte(t,e){if(t=rM(t),e=hj(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return pj(t)}function Ute(t,e){if(t=rM(t),e=hj(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return pj(t)}function eT(...t){return t.reduce((e,n)=>n==null?e:function(...i){e.apply(this,i),n.apply(this,i)},()=>{})}function Lv(t,e=166){let n;function r(...i){const o=()=>{t.apply(this,i)};clearTimeout(n),n=setTimeout(o,e)}return r.clear=()=>{clearTimeout(n)},r}function lwe(t,e){return()=>null}function fx(t,e){var n,r;return k.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(r=t.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Dn(t){return t&&t.ownerDocument||document}function ts(t){return Dn(t).defaultView||window}function cwe(t,e){return()=>null}function tT(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let NW=0;function uwe(t){const[e,n]=k.useState(t),r=t||e;return k.useEffect(()=>{e==null&&(NW+=1,n(`mui-${NW}`))},[e]),r}const FW=nD.useId;function ed(t){if(FW!==void 0){const e=FW();return t??e}return uwe(t)}function fwe(t,e,n,r,i){return null}function Bs({controlled:t,default:e,name:n,state:r="value"}){const{current:i}=k.useRef(t!==void 0),[o,a]=k.useState(e),s=i?t:o,l=k.useCallback(c=>{i||a(c)},[]);return[s,l]}function xr(t){const e=k.useRef(t);return Ur(()=>{e.current=t}),k.useRef((...n)=>(0,e.current)(...n)).current}function Kt(...t){return k.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{tT(n,e)})},t)}const jW={};function dwe(t,e){const n=k.useRef(jW);return n.current===jW&&(n.current=t(e)),n}const hwe=[];function pwe(t){k.useEffect(t,hwe)}class r1{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new r1}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function sf(){const t=dwe(r1.create).current;return pwe(t.disposeEffect),t}let iM=!0,YD=!1;const mwe=new r1,gwe={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function vwe(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&gwe[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function ywe(t){t.metaKey||t.altKey||t.ctrlKey||(iM=!0)}function Uk(){iM=!1}function xwe(){this.visibilityState==="hidden"&&YD&&(iM=!0)}function bwe(t){t.addEventListener("keydown",ywe,!0),t.addEventListener("mousedown",Uk,!0),t.addEventListener("pointerdown",Uk,!0),t.addEventListener("touchstart",Uk,!0),t.addEventListener("visibilitychange",xwe,!0)}function _we(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return iM||vwe(e)}function i1(){const t=k.useCallback(i=>{i!=null&&bwe(i.ownerDocument)},[]),e=k.useRef(!1);function n(){return e.current?(YD=!0,mwe.start(100,()=>{YD=!1}),e.current=!1,!0):!1}function r(i){return _we(i)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:r,onBlur:n,ref:t}}function Wte(t){const e=t.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}let $p;function Vte(){if($p)return $p;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),$p="reverse",t.scrollLeft>0?$p="default":(t.scrollLeft=1,t.scrollLeft===0&&($p="negative")),document.body.removeChild(t),$p}function wwe(t,e){const n=t.scrollLeft;if(e!=="rtl")return n;switch(Vte()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function Swe(t){return k.Children.toArray(t).filter(e=>k.isValidElement(e))}const Owe={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Cwe=Owe;function Ue(t,e,n=void 0){const r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((o,a)=>{if(a){const s=e(a);s!==""&&o.push(s),n&&n[a]&&o.push(n[a])}return o},[]).join(" ")}),r}const Twe=k.createContext(null),Gte=Twe;function mj(){return k.useContext(Gte)}const Ewe=typeof Symbol=="function"&&Symbol.for,Hte=Ewe?Symbol.for("mui.nested"):"__THEME_NESTED__";function Pwe(t,e){return typeof e=="function"?e(t):j({},t,e)}function Mwe(t){const{children:e,theme:n}=t,r=mj(),i=k.useMemo(()=>{const o=r===null?n:Pwe(r,n);return o!=null&&(o[Hte]=r!==null),o},[n,r]);return w.jsx(Gte.Provider,{value:i,children:e})}const kwe=["value"],qte=k.createContext();function Awe(t){let{value:e}=t,n=Ae(t,kwe);return w.jsx(qte.Provider,j({value:e??!0},n))}const o1=()=>{const t=k.useContext(qte);return t??!1},BW={};function zW(t,e,n,r=!1){return k.useMemo(()=>{const i=t&&e[t]||e;if(typeof n=="function"){const o=n(i),a=t?j({},e,{[t]:o}):o;return r?()=>a:a}return t?j({},e,{[t]:n}):j({},e,n)},[t,e,n,r])}function Rwe(t){const{children:e,theme:n,themeId:r}=t,i=cj(BW),o=mj()||BW,a=zW(r,i,n),s=zW(r,o,n,!0),l=a.direction==="rtl";return w.jsx(Mwe,{theme:s,children:w.jsx(K_.Provider,{value:a,children:w.jsx(Awe,{value:l,children:e})})})}const Iwe=["component","direction","spacing","divider","children","className","useFlexGap"],Dwe=t1(),Lwe=fi("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function $we(t){return jte({props:t,name:"MuiStack",defaultTheme:Dwe})}function Nwe(t,e){const n=k.Children.toArray(t).filter(Boolean);return n.reduce((r,i,o)=>(r.push(i),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],jwe=({ownerState:t,theme:e})=>{let n=j({display:"flex",flexDirection:"column"},zo({theme:e},yh({values:t.direction,breakpoints:e.breakpoints.values}),r=>({flexDirection:r})));if(t.spacing){const r=sj(e),i=Object.keys(e.breakpoints.values).reduce((l,c)=>((typeof t.spacing=="object"&&t.spacing[c]!=null||typeof t.direction=="object"&&t.direction[c]!=null)&&(l[c]=!0),l),{}),o=yh({values:t.direction,base:i}),a=yh({values:t.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,c,u)=>{if(!o[l]){const d=c>0?o[u[c-1]]:"column";o[l]=d}}),n=Ri(n,zo({theme:e},a,(l,c)=>t.useFlexGap?{gap:Lh(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Fwe(c?o[c]:t.direction)}`]:Lh(r,l)}}))}return n=z_e(e.breakpoints,n),n};function Bwe(t={}){const{createStyledComponent:e=Lwe,useThemeProps:n=$we,componentName:r="MuiStack"}=t,i=()=>Ue({root:["root"]},l=>We(r,l),{}),o=e(jwe);return k.forwardRef(function(l,c){const u=n(l),f=n1(u),{component:d="div",direction:h="column",spacing:p=0,divider:m,children:g,className:v,useFlexGap:y=!1}=f,x=Ae(f,Iwe),b={direction:h,spacing:p,useFlexGap:y},_=i();return w.jsx(o,j({as:d,ownerState:b,ref:c,className:ke(_.root,v)},x,{children:m?Nwe(g,m):g}))})}function zwe(t,e){return j({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var kr={},Xte={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(Xte);var pt=Xte.exports;const Uwe=wa(zbe),Wwe=wa(awe);var Qte=pt;Object.defineProperty(kr,"__esModule",{value:!0});var kt=kr.alpha=Jte;kr.blend=tSe;kr.colorChannel=void 0;var ab=kr.darken=vj;kr.decomposeColor=ns;var Vwe=kr.emphasize=ene,Gwe=kr.getContrastRatio=Ywe;kr.getLuminance=nT;kr.hexToRgb=Yte;kr.hslToRgb=Zte;var sb=kr.lighten=yj;kr.private_safeAlpha=Kwe;kr.private_safeColorChannel=void 0;kr.private_safeDarken=Zwe;kr.private_safeEmphasize=eSe;kr.private_safeLighten=Jwe;kr.recomposeColor=$v;kr.rgbToHex=Qwe;var UW=Qte(Uwe),Hwe=Qte(Wwe);function gj(t,e=0,n=1){return(0,Hwe.default)(t,e,n)}function Yte(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function qwe(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function ns(t){if(t.type)return t;if(t.charAt(0)==="#")return ns(Yte(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,UW.default)(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,UW.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const Kte=t=>{const e=ns(t);return e.values.slice(0,3).map((n,r)=>e.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};kr.colorChannel=Kte;const Xwe=(t,e)=>{try{return Kte(t)}catch{return t}};kr.private_safeColorChannel=Xwe;function $v(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function Qwe(t){if(t.indexOf("#")===0)return t;const{values:e}=ns(t);return`#${e.map((n,r)=>qwe(r===3?Math.round(255*n):n)).join("")}`}function Zte(t){t=ns(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return t.type==="hsla"&&(s+="a",l.push(e[3])),$v({type:s,values:l})}function nT(t){t=ns(t);let e=t.type==="hsl"||t.type==="hsla"?ns(Zte(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function Ywe(t,e){const n=nT(t),r=nT(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Jte(t,e){return t=ns(t),e=gj(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,$v(t)}function Kwe(t,e,n){try{return Jte(t,e)}catch{return t}}function vj(t,e){if(t=ns(t),e=gj(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return $v(t)}function Zwe(t,e,n){try{return vj(t,e)}catch{return t}}function yj(t,e){if(t=ns(t),e=gj(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return $v(t)}function Jwe(t,e,n){try{return yj(t,e)}catch{return t}}function ene(t,e=.15){return nT(t)>.5?vj(t,e):yj(t,e)}function eSe(t,e,n){try{return ene(t,e)}catch{return t}}function tSe(t,e,n,r=1){const i=(l,c)=>Math.round((l**(1/r)*(1-n)+c**(1/r)*n)**r),o=ns(t),a=ns(e),s=[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])];return $v({type:"rgb",values:s})}const nSe=["mode","contrastThreshold","tonalOffset"],WW={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:nb.white,default:nb.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Wk={text:{primary:nb.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:nb.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function VW(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=sb(t.main,i):e==="dark"&&(t.dark=ab(t.main,o)))}function rSe(t="light"){return t==="dark"?{main:Rd[200],light:Rd[50],dark:Rd[400]}:{main:Rd[700],light:Rd[400],dark:Rd[800]}}function iSe(t="light"){return t==="dark"?{main:Gu[200],light:Gu[50],dark:Gu[400]}:{main:Gu[500],light:Gu[300],dark:Gu[700]}}function oSe(t="light"){return t==="dark"?{main:Vu[500],light:Vu[300],dark:Vu[700]}:{main:Vu[700],light:Vu[400],dark:Vu[800]}}function aSe(t="light"){return t==="dark"?{main:Hu[400],light:Hu[300],dark:Hu[700]}:{main:Hu[700],light:Hu[500],dark:Hu[900]}}function sSe(t="light"){return t==="dark"?{main:Oc[400],light:Oc[300],dark:Oc[700]}:{main:Oc[800],light:Oc[500],dark:Oc[900]}}function lSe(t="light"){return t==="dark"?{main:Ud[400],light:Ud[300],dark:Ud[700]}:{main:"#ed6c02",light:Ud[500],dark:Ud[900]}}function cSe(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2}=t,i=Ae(t,nSe),o=t.primary||rSe(e),a=t.secondary||iSe(e),s=t.error||oSe(e),l=t.info||aSe(e),c=t.success||sSe(e),u=t.warning||lSe(e);function f(m){return Gwe(m,Wk.text.primary)>=n?Wk.text.primary:WW.text.primary}const d=({color:m,name:g,mainShade:v=500,lightShade:y=300,darkShade:x=700})=>{if(m=j({},m),!m.main&&m[v]&&(m.main=m[v]),!m.hasOwnProperty("main"))throw new Error(eu(11,g?` (${g})`:"",v));if(typeof m.main!="string")throw new Error(eu(12,g?` (${g})`:"",JSON.stringify(m.main)));return VW(m,"light",y,r),VW(m,"dark",x,r),m.contrastText||(m.contrastText=f(m.main)),m},h={dark:Wk,light:WW};return Ri(j({common:j({},nb),mode:e,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:ote,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},h[e]),i)}const uSe=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function fSe(t){return Math.round(t*1e5)/1e5}const GW={textTransform:"uppercase"},HW='"Roboto", "Helvetica", "Arial", sans-serif';function dSe(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:r=HW,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=n,d=Ae(n,uSe),h=i/14,p=f||(v=>`${v/c*h}rem`),m=(v,y,x,b,_)=>j({fontFamily:r,fontWeight:v,fontSize:p(y),lineHeight:x},r===HW?{letterSpacing:`${fSe(b/y)}em`}:{},_,u),g={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,GW),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,GW),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ri(j({htmlFontSize:c,pxToRem:p,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),d,{clone:!1})}const hSe=.2,pSe=.14,mSe=.12;function rr(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${hSe})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${pSe})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${mSe})`].join(",")}const gSe=["none",rr(0,2,1,-1,0,1,1,0,0,1,3,0),rr(0,3,1,-2,0,2,2,0,0,1,5,0),rr(0,3,3,-2,0,3,4,0,0,1,8,0),rr(0,2,4,-1,0,4,5,0,0,1,10,0),rr(0,3,5,-1,0,5,8,0,0,1,14,0),rr(0,3,5,-1,0,6,10,0,0,1,18,0),rr(0,4,5,-2,0,7,10,1,0,2,16,1),rr(0,5,5,-3,0,8,10,1,0,3,14,2),rr(0,5,6,-3,0,9,12,1,0,3,16,2),rr(0,6,6,-3,0,10,14,1,0,4,18,3),rr(0,6,7,-4,0,11,15,1,0,4,20,3),rr(0,7,8,-4,0,12,17,2,0,5,22,4),rr(0,7,8,-4,0,13,19,2,0,5,24,4),rr(0,7,9,-4,0,14,21,2,0,5,26,4),rr(0,8,9,-5,0,15,22,2,0,6,28,5),rr(0,8,10,-5,0,16,24,2,0,6,30,5),rr(0,8,11,-5,0,17,26,2,0,6,32,5),rr(0,9,11,-5,0,18,28,2,0,7,34,6),rr(0,9,12,-6,0,19,29,2,0,7,36,6),rr(0,10,13,-6,0,20,31,3,0,8,38,7),rr(0,10,13,-6,0,21,33,3,0,8,40,7),rr(0,10,14,-6,0,22,35,3,0,8,42,7),rr(0,11,14,-7,0,23,36,3,0,9,44,8),rr(0,11,15,-7,0,24,38,3,0,9,46,8)],vSe=["duration","easing","delay"],ySe={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},tne={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function qW(t){return`${Math.round(t)}ms`}function xSe(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function bSe(t){const e=j({},ySe,t.easing),n=j({},tne,t.duration);return j({getAutoHeightDuration:xSe,create:(i=["all"],o={})=>{const{duration:a=n.standard,easing:s=e.easeInOut,delay:l=0}=o;return Ae(o,vSe),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof a=="string"?a:qW(a)} ${s} ${typeof l=="string"?l:qW(l)}`).join(",")}},t,{easing:e,duration:n})}const _Se={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},wSe=_Se,SSe=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function xj(t={},...e){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=t,a=Ae(t,SSe);if(t.vars)throw new Error(eu(18));const s=cSe(r),l=t1(t);let c=Ri(l,{mixins:zwe(l.breakpoints,n),palette:s,shadows:gSe.slice(),typography:dSe(s,o),transitions:bSe(i),zIndex:j({},wSe)});return c=Ri(c,a),c=e.reduce((u,f)=>Ri(u,f),c),c.unstable_sxConfig=j({},J_,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return e1({sx:f,theme:this})},c}const OSe=xj(),oM=OSe;function Wo(){const t=sp(oM);return t[Dh]||t}function qe({props:t,name:e}){return jte({props:t,name:e,defaultTheme:oM,themeId:Dh})}var a1={};const CSe=wa(uxe),TSe=wa(fxe),nne=wa(L_e),ESe=wa($_e),PSe=wa(W_e),MSe=wa(q1e),kSe=wa(A1e),ASe=wa(N1e);var Nv=pt;Object.defineProperty(a1,"__esModule",{value:!0});var RSe=a1.default=GSe;a1.shouldForwardProp=tC;a1.systemDefaultTheme=void 0;var Ra=Nv(CSe),KD=Nv(TSe),XW=jSe(nne),ISe=ESe;Nv(PSe);Nv(MSe);var DSe=Nv(kSe),LSe=Nv(ASe);const $Se=["ownerState"],NSe=["variants"],FSe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function rne(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(rne=function(r){return r?n:e})(t)}function jSe(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=rne(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function BSe(t){return Object.keys(t).length===0}function zSe(t){return typeof t=="string"&&t.charCodeAt(0)>96}function tC(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const USe=a1.systemDefaultTheme=(0,DSe.default)(),WSe=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function Iw({defaultTheme:t,theme:e,themeId:n}){return BSe(e)?t:e[n]||e}function VSe(t){return t?(e,n)=>n[t]:null}function nC(t,e){let{ownerState:n}=e,r=(0,KD.default)(e,$Se);const i=typeof t=="function"?t((0,Ra.default)({ownerState:n},r)):t;if(Array.isArray(i))return i.flatMap(o=>nC(o,(0,Ra.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=(0,KD.default)(i,NSe);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,Ra.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,Ra.default)({ownerState:n},r,n)):l.style))}),s}return i}function GSe(t={}){const{themeId:e,defaultTheme:n=USe,rootShouldForwardProp:r=tC,slotShouldForwardProp:i=tC}=t,o=a=>(0,LSe.default)((0,Ra.default)({},a,{theme:Iw((0,Ra.default)({},a,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(a,s={})=>{(0,XW.internal_processStyles)(a,_=>_.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=VSe(WSe(c))}=s,h=(0,KD.default)(s,FSe),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=f||!1;let g,v=tC;c==="Root"||c==="root"?v=r:c?v=i:zSe(a)&&(v=void 0);const y=(0,XW.default)(a,(0,Ra.default)({shouldForwardProp:v,label:g},h)),x=_=>typeof _=="function"&&_.__emotion_real!==_||(0,ISe.isPlainObject)(_)?S=>nC(_,(0,Ra.default)({},S,{theme:Iw({theme:S.theme,defaultTheme:n,themeId:e})})):_,b=(_,...S)=>{let O=x(_);const C=S?S.map(x):[];l&&d&&C.push(I=>{const P=Iw((0,Ra.default)({},I,{defaultTheme:n,themeId:e}));if(!P.components||!P.components[l]||!P.components[l].styleOverrides)return null;const R=P.components[l].styleOverrides,T={};return Object.entries(R).forEach(([D,U])=>{T[D]=nC(U,(0,Ra.default)({},I,{theme:P}))}),d(I,T)}),l&&!p&&C.push(I=>{var P;const R=Iw((0,Ra.default)({},I,{defaultTheme:n,themeId:e})),T=R==null||(P=R.components)==null||(P=P[l])==null?void 0:P.variants;return nC({variants:T},(0,Ra.default)({},I,{theme:R}))}),m||C.push(o);const E=C.length-S.length;if(Array.isArray(_)&&E>0){const I=new Array(E).fill("");O=[..._,...I],O.raw=[..._.raw,...I]}const M=y(O,...C);return a.muiName&&(M.muiName=a.muiName),M};return y.withConfig&&(b.withConfig=y.withConfig),b}}function aM(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const HSe=t=>aM(t)&&t!=="classes",di=HSe,be=RSe({themeId:Dh,defaultTheme:oM,rootShouldForwardProp:di}),qSe=["theme"];function XSe(t){let{theme:e}=t,n=Ae(t,qSe);const r=e[Dh];return w.jsx(Rwe,j({},n,{themeId:r?Dh:void 0,theme:r||e}))}const QW=t=>{let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)};function QSe(t){return We("MuiSvgIcon",t)}Ve("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const YSe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],KSe=t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root",e!=="inherit"&&`color${De(e)}`,`fontSize${De(n)}`]};return Ue(i,QSe,r)},ZSe=be("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${De(n.color)}`],e[`fontSize${De(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,r,i,o,a,s,l,c,u,f,d,h,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=t.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=t.typography)==null||(a=o.pxToRem)==null?void 0:a.call(o,20))||"1.25rem",medium:((s=t.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=t.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[e.fontSize],color:(f=(d=(t.vars||t).palette)==null||(d=d[e.color])==null?void 0:d.main)!=null?f:{action:(h=(t.vars||t).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(p=(t.vars||t).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[e.color]}}),ZD=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,h=Ae(r,YSe),p=k.isValidElement(i)&&i.type==="svg",m=j({},r,{color:a,component:s,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:p}),g={};u||(g.viewBox=d);const v=KSe(m);return w.jsxs(ZSe,j({as:s,className:ke(v.root,o),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},g,h,p&&i.props,{ownerState:m,children:[p?i.props.children:i,f?w.jsx("title",{children:f}):null]}))});ZD.muiName="SvgIcon";function Jr(t,e){function n(r,i){return w.jsx(ZD,j({"data-testid":`${e}Icon`,ref:i},r,{children:t}))}return n.muiName=ZD.muiName,k.memo(k.forwardRef(n))}const JSe={configure:t=>{uj.configure(t)}},eOe=Object.freeze(Object.defineProperty({__proto__:null,capitalize:De,createChainedFunction:eT,createSvgIcon:Jr,debounce:Lv,deprecatedPropType:lwe,isMuiElement:fx,ownerDocument:Dn,ownerWindow:ts,requirePropFactory:cwe,setRef:tT,unstable_ClassNameGenerator:JSe,unstable_useEnhancedEffect:Ur,unstable_useId:ed,unsupportedProp:fwe,useControlled:Bs,useEventCallback:xr,useForkRef:Kt,useIsFocusVisible:i1},Symbol.toStringTag,{value:"Module"}));function bj(t){return qe}function rT(t,e){return rT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},rT(t,e)}function s1(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,rT(t,e)}function tOe(t,e){return t.classList?!!e&&t.classList.contains(e):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")!==-1}function nOe(t,e){t.classList?t.classList.add(e):tOe(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function YW(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function rOe(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=YW(t.className,e):t.setAttribute("class",YW(t.className&&t.className.baseVal||"",e))}const KW={disabled:!1},iT=ue.createContext(null);var ine=function(e){return e.scrollTop},L0="unmounted",Id="exited",Dd="entering",xm="entered",JD="exiting",fu=function(t){s1(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Id,o.appearStatus=Dd):l=xm:r.unmountOnExit||r.mountOnEnter?l=L0:l=Id,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===L0?{status:Id}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Dd&&a!==xm&&(o=Dd):(a===Dd||a===xm)&&(o=JD)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Dd){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:kw.findDOMNode(this);a&&ine(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Id&&this.setState({status:L0})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[kw.findDOMNode(this),s],c=l[0],u=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!i&&!a||KW.disabled){this.safeSetState({status:xm},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Dd},function(){o.props.onEntering(c,u),o.onTransitionEnd(d,function(){o.safeSetState({status:xm},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:kw.findDOMNode(this);if(!o||KW.disabled){this.safeSetState({status:Id},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:JD},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Id},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:kw.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===L0)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=Ae(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ue.createElement(iT.Provider,{value:null},typeof a=="function"?a(i,s):ue.cloneElement(ue.Children.only(a),s))},e}(ue.Component);fu.contextType=iT;fu.propTypes={};function Np(){}fu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Np,onEntering:Np,onEntered:Np,onExit:Np,onExiting:Np,onExited:Np};fu.UNMOUNTED=L0;fu.EXITED=Id;fu.ENTERING=Dd;fu.ENTERED=xm;fu.EXITING=JD;const l1=fu;var iOe=function(e,n){return e&&n&&n.split(" ").forEach(function(r){return nOe(e,r)})},Vk=function(e,n){return e&&n&&n.split(" ").forEach(function(r){return rOe(e,r)})},_j=function(t){s1(e,t);function e(){for(var r,i=arguments.length,o=new Array(i),a=0;at.scrollTop;function zf(t,e){var n,r;const{timeout:i,easing:o,style:a={}}=t;return{duration:(n=a.transitionDuration)!=null?n:typeof i=="number"?i:i[e.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof o=="object"?o[e.mode]:o,delay:a.transitionDelay}}function fOe(t){return We("MuiCollapse",t)}Ve("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const dOe=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],hOe=t=>{const{orientation:e,classes:n}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return Ue(r,fOe,n)},pOe=be("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>j({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&j({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),mOe=be("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>j({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),gOe=be("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>j({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),one=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCollapse"}),{addEndListener:i,children:o,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:f,onEntered:d,onEntering:h,onExit:p,onExited:m,onExiting:g,orientation:v="vertical",style:y,timeout:x=tne.standard,TransitionComponent:b=l1}=r,_=Ae(r,dOe),S=j({},r,{orientation:v,collapsedSize:s}),O=hOe(S),C=Wo(),E=sf(),M=k.useRef(null),I=k.useRef(),P=typeof s=="number"?`${s}px`:s,R=v==="horizontal",T=R?"width":"height",D=k.useRef(null),U=Kt(n,D),B=K=>se=>{if(K){const ee=D.current;se===void 0?K(ee):K(ee,se)}},W=()=>M.current?M.current[R?"clientWidth":"clientHeight"]:0,z=B((K,se)=>{M.current&&R&&(M.current.style.position="absolute"),K.style[T]=P,f&&f(K,se)}),$=B((K,se)=>{const ee=W();M.current&&R&&(M.current.style.position="");const{duration:te,easing:de}=zf({style:y,timeout:x,easing:c},{mode:"enter"});if(x==="auto"){const xe=C.transitions.getAutoHeightDuration(ee);K.style.transitionDuration=`${xe}ms`,I.current=xe}else K.style.transitionDuration=typeof te=="string"?te:`${te}ms`;K.style[T]=`${ee}px`,K.style.transitionTimingFunction=de,h&&h(K,se)}),N=B((K,se)=>{K.style[T]="auto",d&&d(K,se)}),L=B(K=>{K.style[T]=`${W()}px`,p&&p(K)}),A=B(m),q=B(K=>{const se=W(),{duration:ee,easing:te}=zf({style:y,timeout:x,easing:c},{mode:"exit"});if(x==="auto"){const de=C.transitions.getAutoHeightDuration(se);K.style.transitionDuration=`${de}ms`,I.current=de}else K.style.transitionDuration=typeof ee=="string"?ee:`${ee}ms`;K.style[T]=P,K.style.transitionTimingFunction=te,g&&g(K)}),Y=K=>{x==="auto"&&E.start(I.current||0,K),i&&i(D.current,K)};return w.jsx(b,j({in:u,onEnter:z,onEntered:N,onEntering:$,onExit:L,onExited:A,onExiting:q,addEndListener:Y,nodeRef:D,timeout:x==="auto"?null:x},_,{children:(K,se)=>w.jsx(pOe,j({as:l,className:ke(O.root,a,{entered:O.entered,exited:!u&&P==="0px"&&O.hidden}[K]),style:j({[R?"minWidth":"minHeight"]:P},y),ref:U},se,{ownerState:j({},S,{state:K}),children:w.jsx(mOe,{ownerState:j({},S,{state:K}),className:O.wrapper,ref:M,children:w.jsx(gOe,{ownerState:j({},S,{state:K}),className:O.wrapperInner,children:o})})}))}))});one.muiSupportAuto=!0;const ane=one;function vOe(t){return We("MuiPaper",t)}Ve("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const yOe=["className","component","elevation","square","variant"],xOe=t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return Ue(o,vOe,i)},bOe=be("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return j({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&j({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",QW(e.elevation))}, ${kt("#fff",QW(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),_Oe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,c=Ae(r,yOe),u=j({},r,{component:o,elevation:a,square:s,variant:l}),f=xOe(u);return w.jsx(bOe,j({as:o,ownerState:u,className:ke(f.root,i),ref:n},c))}),Di=_Oe;function Il(t){return typeof t=="string"}function $m(t,e,n){return t===void 0||Il(t)?e:j({},e,{ownerState:j({},e.ownerState,n)})}function wOe(t,e,n=(r,i)=>r===i){return t.length===e.length&&t.every((r,i)=>n(r,e[i]))}const SOe={disableDefaultClasses:!1},OOe=k.createContext(SOe);function COe(t){const{disableDefaultClasses:e}=k.useContext(OOe);return n=>e?"":t(n)}function xh(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(r=>r.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function sne(t,e,n){return typeof t=="function"?t(e,n):t}function ZW(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function lne(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const h=ke(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),p=j({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=j({},n,i,r);return h.length>0&&(m.className=h),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:void 0}}const a=xh(j({},i,r)),s=ZW(r),l=ZW(i),c=e(a),u=ke(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),f=j({},c==null?void 0:c.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),d=j({},c,n,l,s);return u.length>0&&(d.className=u),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:c.ref}}const TOe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Dr(t){var e;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=t,a=Ae(t,TOe),s=o?{}:sne(r,i),{props:l,internalRef:c}=lne(j({},a,{externalSlotProps:s})),u=Kt(c,s==null?void 0:s.ref,(e=t.additionalProps)==null?void 0:e.ref);return $m(n,j({},l,{ref:u}),i)}const EOe=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],POe=["component","slots","slotProps"],MOe=["component"];function kOe(t,e){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:a,internalForwardedProps:s}=e,l=Ae(e,EOe),{component:c,slots:u={[t]:void 0},slotProps:f={[t]:void 0}}=o,d=Ae(o,POe),h=u[t]||r,p=sne(f[t],i),m=lne(j({className:n},l,{externalForwardedProps:t==="root"?d:void 0,externalSlotProps:p})),{props:{component:g},internalRef:v}=m,y=Ae(m.props,MOe),x=Kt(v,p==null?void 0:p.ref,e.ref),b=a?a(y):{},_=j({},i,b),S=t==="root"?g||c:g,O=$m(h,j({},t==="root"&&!c&&!u[t]&&s,t!=="root"&&!u[t]&&s,y,S&&{as:S},{ref:x}),_);return Object.keys(b).forEach(C=>{delete O[C]}),[h,O]}function AOe(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:c}=t,[u,f]=k.useState(!1),d=ke(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},p=ke(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&f(!0),k.useEffect(()=>{if(!s&&l!=null){const m=setTimeout(l,c);return()=>{clearTimeout(m)}}},[l,s,c]),w.jsx("span",{className:d,style:h,children:w.jsx("span",{className:p})})}const Ia=Ve("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ROe=["center","classes","className"];let sM=t=>t,JW,eV,tV,nV;const eL=550,IOe=80,DOe=Dv(JW||(JW=sM` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),LOe=Dv(eV||(eV=sM` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),$Oe=Dv(tV||(tV=sM` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),NOe=be("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),FOe=be(AOe,{name:"MuiTouchRipple",slot:"Ripple"})(nV||(nV=sM` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),Ia.rippleVisible,DOe,eL,({theme:t})=>t.transitions.easing.easeInOut,Ia.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,Ia.child,Ia.childLeaving,LOe,eL,({theme:t})=>t.transitions.easing.easeInOut,Ia.childPulsate,$Oe,({theme:t})=>t.transitions.easing.easeInOut),jOe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=r,s=Ae(r,ROe),[l,c]=k.useState([]),u=k.useRef(0),f=k.useRef(null);k.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=k.useRef(!1),h=sf(),p=k.useRef(null),m=k.useRef(null),g=k.useCallback(b=>{const{pulsate:_,rippleX:S,rippleY:O,rippleSize:C,cb:E}=b;c(M=>[...M,w.jsx(FOe,{classes:{ripple:ke(o.ripple,Ia.ripple),rippleVisible:ke(o.rippleVisible,Ia.rippleVisible),ripplePulsate:ke(o.ripplePulsate,Ia.ripplePulsate),child:ke(o.child,Ia.child),childLeaving:ke(o.childLeaving,Ia.childLeaving),childPulsate:ke(o.childPulsate,Ia.childPulsate)},timeout:eL,pulsate:_,rippleX:S,rippleY:O,rippleSize:C},u.current)]),u.current+=1,f.current=E},[o]),v=k.useCallback((b={},_={},S=()=>{})=>{const{pulsate:O=!1,center:C=i||_.pulsate,fakeElement:E=!1}=_;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const M=E?null:m.current,I=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let P,R,T;if(C||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)P=Math.round(I.width/2),R=Math.round(I.height/2);else{const{clientX:D,clientY:U}=b.touches&&b.touches.length>0?b.touches[0]:b;P=Math.round(D-I.left),R=Math.round(U-I.top)}if(C)T=Math.sqrt((2*I.width**2+I.height**2)/3),T%2===0&&(T+=1);else{const D=Math.max(Math.abs((M?M.clientWidth:0)-P),P)*2+2,U=Math.max(Math.abs((M?M.clientHeight:0)-R),R)*2+2;T=Math.sqrt(D**2+U**2)}b!=null&&b.touches?p.current===null&&(p.current=()=>{g({pulsate:O,rippleX:P,rippleY:R,rippleSize:T,cb:S})},h.start(IOe,()=>{p.current&&(p.current(),p.current=null)})):g({pulsate:O,rippleX:P,rippleY:R,rippleSize:T,cb:S})},[i,g,h]),y=k.useCallback(()=>{v({},{pulsate:!0})},[v]),x=k.useCallback((b,_)=>{if(h.clear(),(b==null?void 0:b.type)==="touchend"&&p.current){p.current(),p.current=null,h.start(0,()=>{x(b,_)});return}p.current=null,c(S=>S.length>0?S.slice(1):S),f.current=_},[h]);return k.useImperativeHandle(n,()=>({pulsate:y,start:v,stop:x}),[y,v,x]),w.jsx(NOe,j({className:ke(Ia.root,o.root,a),ref:m},s,{children:w.jsx(Oj,{component:null,exit:!0,children:l})}))}),BOe=jOe;function zOe(t){return We("MuiButtonBase",t)}const UOe=Ve("MuiButtonBase",["root","disabled","focusVisible"]),WOe=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],VOe=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,a=Ue({root:["root",e&&"disabled",n&&"focusVisible"]},zOe,i);return n&&r&&(a.root+=` ${r}`),a},GOe=be("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${UOe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),HOe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:h="a",onBlur:p,onClick:m,onContextMenu:g,onDragLeave:v,onFocus:y,onFocusVisible:x,onKeyDown:b,onKeyUp:_,onMouseDown:S,onMouseLeave:O,onMouseUp:C,onTouchEnd:E,onTouchMove:M,onTouchStart:I,tabIndex:P=0,TouchRippleProps:R,touchRippleRef:T,type:D}=r,U=Ae(r,WOe),B=k.useRef(null),W=k.useRef(null),z=Kt(W,T),{isFocusVisibleRef:$,onFocus:N,onBlur:L,ref:A}=i1(),[q,Y]=k.useState(!1);c&&q&&Y(!1),k.useImperativeHandle(i,()=>({focusVisible:()=>{Y(!0),B.current.focus()}}),[]);const[K,se]=k.useState(!1);k.useEffect(()=>{se(!0)},[]);const ee=K&&!u&&!c;k.useEffect(()=>{q&&d&&!u&&K&&W.current.pulsate()},[u,d,q,K]);function te(G,fe,_e=f){return xr(Me=>(fe&&fe(Me),!_e&&W.current&&W.current[G](Me),!0))}const de=te("start",S),xe=te("stop",g),ie=te("stop",v),ve=te("stop",C),F=te("stop",G=>{q&&G.preventDefault(),O&&O(G)}),ce=te("start",I),le=te("stop",E),Q=te("stop",M),X=te("stop",G=>{L(G),$.current===!1&&Y(!1),p&&p(G)},!1),J=xr(G=>{B.current||(B.current=G.currentTarget),N(G),$.current===!0&&(Y(!0),x&&x(G)),y&&y(G)}),ge=()=>{const G=B.current;return l&&l!=="button"&&!(G.tagName==="A"&&G.href)},ye=k.useRef(!1),V=xr(G=>{d&&!ye.current&&q&&W.current&&G.key===" "&&(ye.current=!0,W.current.stop(G,()=>{W.current.start(G)})),G.target===G.currentTarget&&ge()&&G.key===" "&&G.preventDefault(),b&&b(G),G.target===G.currentTarget&&ge()&&G.key==="Enter"&&!c&&(G.preventDefault(),m&&m(G))}),H=xr(G=>{d&&G.key===" "&&W.current&&q&&!G.defaultPrevented&&(ye.current=!1,W.current.stop(G,()=>{W.current.pulsate(G)})),_&&_(G),m&&G.target===G.currentTarget&&ge()&&G.key===" "&&!G.defaultPrevented&&m(G)});let re=l;re==="button"&&(U.href||U.to)&&(re=h);const he={};re==="button"?(he.type=D===void 0?"button":D,he.disabled=c):(!U.href&&!U.to&&(he.role="button"),c&&(he["aria-disabled"]=c));const we=Kt(n,A,B),oe=j({},r,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:d,tabIndex:P,focusVisible:q}),Z=VOe(oe);return w.jsxs(GOe,j({as:re,className:ke(Z.root,s),ownerState:oe,onBlur:X,onClick:m,onContextMenu:xe,onFocus:J,onKeyDown:V,onKeyUp:H,onMouseDown:de,onMouseLeave:F,onMouseUp:ve,onDragLeave:ie,onTouchEnd:le,onTouchMove:Q,onTouchStart:ce,ref:we,tabIndex:c?-1:P,type:D},he,U,{children:[a,ee?w.jsx(BOe,j({ref:z,center:o},R)):null]}))}),rs=HOe;function qOe(t){return We("MuiIconButton",t)}const XOe=Ve("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),QOe=["edge","children","className","color","disabled","disableFocusRipple","size"],YOe=t=>{const{classes:e,disabled:n,color:r,edge:i,size:o}=t,a={root:["root",n&&"disabled",r!=="default"&&`color${De(r)}`,i&&`edge${De(i)}`,`size${De(o)}`]};return Ue(a,qOe,e)},KOe=be(rs,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${De(n.color)}`],n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})(({theme:t,ownerState:e})=>j({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const r=(n=(t.vars||t).palette)==null?void 0:n[e.color];return j({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&j({color:r==null?void 0:r.main},!e.disableRipple&&{"&:hover":j({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${XOe.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),ZOe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,f=Ae(r,QOe),d=j({},r,{edge:i,color:s,disabled:l,disableFocusRipple:c,size:u}),h=YOe(d);return w.jsx(KOe,j({className:ke(h.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n},f,{ownerState:d,children:o}))}),Et=ZOe;function JOe(t){return We("MuiTypography",t)}Ve("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const eCe=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],tCe=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=t,s={root:["root",o,t.align!=="inherit"&&`align${De(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Ue(s,JOe,a)},nCe=be("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${De(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>j({margin:0},e.variant==="inherit"&&{font:"inherit"},e.variant!=="inherit"&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),rV={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},rCe={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},iCe=t=>rCe[t]||t,oCe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTypography"}),i=iCe(r.color),o=n1(j({},r,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:f=!1,variant:d="body1",variantMapping:h=rV}=o,p=Ae(o,eCe),m=j({},o,{align:a,color:i,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:f,variant:d,variantMapping:h}),g=l||(f?"p":h[d]||rV[d])||"span",v=tCe(m);return w.jsx(nCe,j({as:g,ref:n,ownerState:m,className:ke(v.root,s)},p))}),zt=oCe;function aCe(t){return We("MuiAppBar",t)}Ve("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const sCe=["className","color","enableColorOnDark","position"],lCe=t=>{const{color:e,position:n,classes:r}=t,i={root:["root",`color${De(e)}`,`position${De(n)}`]};return Ue(i,aCe,r)},Dw=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,cCe=be(Di,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${De(n.position)}`],e[`color${De(n.color)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[900];return j({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},e.position==="fixed"&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},e.position==="absolute"&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},e.position==="sticky"&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},e.position==="static"&&{position:"static"},e.position==="relative"&&{position:"relative"},!t.vars&&j({},e.color==="default"&&{backgroundColor:n,color:t.palette.getContrastText(n)},e.color&&e.color!=="default"&&e.color!=="inherit"&&e.color!=="transparent"&&{backgroundColor:t.palette[e.color].main,color:t.palette[e.color].contrastText},e.color==="inherit"&&{color:"inherit"},t.palette.mode==="dark"&&!e.enableColorOnDark&&{backgroundColor:null,color:null},e.color==="transparent"&&j({backgroundColor:"transparent",color:"inherit"},t.palette.mode==="dark"&&{backgroundImage:"none"})),t.vars&&j({},e.color==="default"&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette.AppBar.defaultBg:Dw(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":e.enableColorOnDark?t.vars.palette.text.primary:Dw(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},e.color&&!e.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette[e.color].main:Dw(t.vars.palette.AppBar.darkBg,t.vars.palette[e.color].main),"--AppBar-color":e.enableColorOnDark?t.vars.palette[e.color].contrastText:Dw(t.vars.palette.AppBar.darkColor,t.vars.palette[e.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:e.color==="inherit"?"inherit":"var(--AppBar-color)"},e.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),uCe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:a=!1,position:s="fixed"}=r,l=Ae(r,sCe),c=j({},r,{color:o,position:s,enableColorOnDark:a}),u=lCe(c);return w.jsx(cCe,j({square:!0,component:"header",ownerState:c,elevation:4,className:ke(u.root,i,s==="fixed"&&"mui-fixed"),ref:n},l))}),cne=uCe,une="base";function fCe(t){return`${une}--${t}`}function dCe(t,e){return`${une}-${t}-${e}`}function fne(t,e){const n=Ite[e];return n?fCe(n):dCe(t,e)}function hCe(t,e){const n={};return e.forEach(r=>{n[r]=fne(t,r)}),n}function iV(t){return t.substring(2).toLowerCase()}function pCe(t,e){return e.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Kt(e.ref,s),f=xr(p=>{const m=c.current;c.current=!1;const g=Dn(s.current);if(!l.current||!s.current||"clientX"in p&&pCe(p,g))return;if(a.current){a.current=!1;return}let v;p.composedPath?v=p.composedPath().indexOf(s.current)>-1:v=!g.documentElement.contains(p.target)||s.current.contains(p.target),!v&&(n||!m)&&i(p)}),d=p=>m=>{c.current=!0;const g=e.props[p];g&&g(m)},h={ref:u};return o!==!1&&(h[o]=d(o)),k.useEffect(()=>{if(o!==!1){const p=iV(o),m=Dn(s.current),g=()=>{a.current=!0};return m.addEventListener(p,f),m.addEventListener("touchmove",g),()=>{m.removeEventListener(p,f),m.removeEventListener("touchmove",g)}}},[f,o]),r!==!1&&(h[r]=d(r)),k.useEffect(()=>{if(r!==!1){const p=iV(r),m=Dn(s.current);return m.addEventListener(p,f),()=>{m.removeEventListener(p,f)}}},[f,r]),w.jsx(k.Fragment,{children:k.cloneElement(e,h)})}const gCe=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function vCe(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function yCe(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}function xCe(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||yCe(t))}function bCe(t){const e=[],n=[];return Array.from(t.querySelectorAll(gCe)).forEach((r,i)=>{const o=vCe(r);o===-1||!xCe(r)||(o===0?e.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(e)}function _Ce(){return!0}function dne(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=bCe,isEnabled:a=_Ce,open:s}=t,l=k.useRef(!1),c=k.useRef(null),u=k.useRef(null),f=k.useRef(null),d=k.useRef(null),h=k.useRef(!1),p=k.useRef(null),m=Kt(e.ref,p),g=k.useRef(null);k.useEffect(()=>{!s||!p.current||(h.current=!n)},[n,s]),k.useEffect(()=>{if(!s||!p.current)return;const x=Dn(p.current);return p.current.contains(x.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),k.useEffect(()=>{if(!s||!p.current)return;const x=Dn(p.current),b=O=>{g.current=O,!(r||!a()||O.key!=="Tab")&&x.activeElement===p.current&&O.shiftKey&&(l.current=!0,u.current&&u.current.focus())},_=()=>{const O=p.current;if(O===null)return;if(!x.hasFocus()||!a()||l.current){l.current=!1;return}if(O.contains(x.activeElement)||r&&x.activeElement!==c.current&&x.activeElement!==u.current)return;if(x.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!h.current)return;let C=[];if((x.activeElement===c.current||x.activeElement===u.current)&&(C=o(p.current)),C.length>0){var E,M;const I=!!((E=g.current)!=null&&E.shiftKey&&((M=g.current)==null?void 0:M.key)==="Tab"),P=C[0],R=C[C.length-1];typeof P!="string"&&typeof R!="string"&&(I?R.focus():P.focus())}else O.focus()};x.addEventListener("focusin",_),x.addEventListener("keydown",b,!0);const S=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&_()},50);return()=>{clearInterval(S),x.removeEventListener("focusin",_),x.removeEventListener("keydown",b,!0)}},[n,r,i,a,s,o]);const v=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0,d.current=x.target;const b=e.props.onFocus;b&&b(x)},y=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0};return w.jsxs(k.Fragment,{children:[w.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),k.cloneElement(e,{ref:m,onFocus:v}),w.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function wCe(t){return typeof t=="function"?t():t}const hne=k.forwardRef(function(e,n){const{children:r,container:i,disablePortal:o=!1}=e,[a,s]=k.useState(null),l=Kt(k.isValidElement(r)?r.ref:null,n);if(Ur(()=>{o||s(wCe(i)||document.body)},[i,o]),Ur(()=>{if(a&&!o)return tT(n,a),()=>{tT(n,null)}},[n,a,o]),o){if(k.isValidElement(r)){const c={ref:l};return k.cloneElement(r,c)}return w.jsx(k.Fragment,{children:r})}return w.jsx(k.Fragment,{children:a&&Rv.createPortal(r,a)})});function SCe(t){const e=Dn(t);return e.body===t?ts(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function dx(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function oV(t){return parseInt(ts(t).getComputedStyle(t).paddingRight,10)||0}function OCe(t){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName)!==-1,r=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return n||r}function aV(t,e,n,r,i){const o=[e,n,...r];[].forEach.call(t.children,a=>{const s=o.indexOf(a)===-1,l=!OCe(a);s&&l&&dx(a,i)})}function Gk(t,e){let n=-1;return t.some((r,i)=>e(r)?(n=i,!0):!1),n}function CCe(t,e){const n=[],r=t.container;if(!e.disableScrollLock){if(SCe(r)){const a=Wte(Dn(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${oV(r)+a}px`;const s=Dn(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${oV(l)+a}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Dn(r).body;else{const a=r.parentElement,s=ts(r);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function TCe(t){const e=[];return[].forEach.call(t.children,n=>{n.getAttribute("aria-hidden")==="true"&&e.push(n)}),e}class ECe{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,n){let r=this.modals.indexOf(e);if(r!==-1)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&dx(e.modalRef,!1);const i=TCe(n);aV(n,e.mount,e.modalRef,i,!0);const o=Gk(this.containers,a=>a.container===n);return o!==-1?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),r)}mount(e,n){const r=Gk(this.containers,o=>o.modals.indexOf(e)!==-1),i=this.containers[r];i.restore||(i.restore=CCe(i,n))}remove(e,n=!0){const r=this.modals.indexOf(e);if(r===-1)return r;const i=Gk(this.containers,a=>a.modals.indexOf(e)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),e.modalRef&&dx(e.modalRef,n),aV(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&dx(a.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}function PCe(t){return typeof t=="function"?t():t}function MCe(t){return t?t.props.hasOwnProperty("in"):!1}const kCe=new ECe;function ACe(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=kCe,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:f}=t,d=k.useRef({}),h=k.useRef(null),p=k.useRef(null),m=Kt(p,f),[g,v]=k.useState(!u),y=MCe(l);let x=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(x=!1);const b=()=>Dn(h.current),_=()=>(d.current.modalRef=p.current,d.current.mount=h.current,d.current),S=()=>{i.mount(_(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},O=xr(()=>{const U=PCe(e)||b().body;i.add(_(),U),p.current&&S()}),C=k.useCallback(()=>i.isTopModal(_()),[i]),E=xr(U=>{h.current=U,U&&(u&&C()?S():p.current&&dx(p.current,x))}),M=k.useCallback(()=>{i.remove(_(),x)},[x,i]);k.useEffect(()=>()=>{M()},[M]),k.useEffect(()=>{u?O():(!y||!o)&&M()},[u,M,y,o,O]);const I=U=>B=>{var W;(W=U.onKeyDown)==null||W.call(U,B),!(B.key!=="Escape"||B.which===229||!C())&&(n||(B.stopPropagation(),c&&c(B,"escapeKeyDown")))},P=U=>B=>{var W;(W=U.onClick)==null||W.call(U,B),B.target===B.currentTarget&&c&&c(B,"backdropClick")};return{getRootProps:(U={})=>{const B=xh(t);delete B.onTransitionEnter,delete B.onTransitionExited;const W=j({},B,U);return j({role:"presentation"},W,{onKeyDown:I(W),ref:m})},getBackdropProps:(U={})=>{const B=U;return j({"aria-hidden":!0},B,{onClick:P(B),open:u})},getTransitionProps:()=>{const U=()=>{v(!1),a&&a()},B=()=>{v(!0),s&&s(),o&&M()};return{onEnter:eT(U,l==null?void 0:l.props.onEnter),onExited:eT(B,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:E,isTopModal:C,exited:g,hasTransition:y}}var Lo="top",is="bottom",os="right",$o="left",Tj="auto",c1=[Lo,is,os,$o],Dg="start",lb="end",RCe="clippingParents",pne="viewport",zy="popper",ICe="reference",sV=c1.reduce(function(t,e){return t.concat([e+"-"+Dg,e+"-"+lb])},[]),mne=[].concat(c1,[Tj]).reduce(function(t,e){return t.concat([e,e+"-"+Dg,e+"-"+lb])},[]),DCe="beforeRead",LCe="read",$Ce="afterRead",NCe="beforeMain",FCe="main",jCe="afterMain",BCe="beforeWrite",zCe="write",UCe="afterWrite",WCe=[DCe,LCe,$Ce,NCe,FCe,jCe,BCe,zCe,UCe];function Ul(t){return t?(t.nodeName||"").toLowerCase():null}function ya(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function $h(t){var e=ya(t).Element;return t instanceof e||t instanceof Element}function Ha(t){var e=ya(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Ej(t){if(typeof ShadowRoot>"u")return!1;var e=ya(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function VCe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!Ha(o)||!Ul(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function GCe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!Ha(i)||!Ul(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const HCe={name:"applyStyles",enabled:!0,phase:"write",fn:VCe,effect:GCe,requires:["computeStyles"]};function Dl(t){return t.split("-")[0]}var bh=Math.max,oT=Math.min,Lg=Math.round;function tL(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function gne(){return!/^((?!chrome|android).)*safari/i.test(tL())}function $g(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&Ha(t)&&(i=t.offsetWidth>0&&Lg(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Lg(r.height)/t.offsetHeight||1);var a=$h(t)?ya(t):window,s=a.visualViewport,l=!gne()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,u=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Pj(t){var e=$g(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function vne(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Ej(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function tu(t){return ya(t).getComputedStyle(t)}function qCe(t){return["table","td","th"].indexOf(Ul(t))>=0}function td(t){return(($h(t)?t.ownerDocument:t.document)||window.document).documentElement}function lM(t){return Ul(t)==="html"?t:t.assignedSlot||t.parentNode||(Ej(t)?t.host:null)||td(t)}function lV(t){return!Ha(t)||tu(t).position==="fixed"?null:t.offsetParent}function XCe(t){var e=/firefox/i.test(tL()),n=/Trident/i.test(tL());if(n&&Ha(t)){var r=tu(t);if(r.position==="fixed")return null}var i=lM(t);for(Ej(i)&&(i=i.host);Ha(i)&&["html","body"].indexOf(Ul(i))<0;){var o=tu(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function u1(t){for(var e=ya(t),n=lV(t);n&&qCe(n)&&tu(n).position==="static";)n=lV(n);return n&&(Ul(n)==="html"||Ul(n)==="body"&&tu(n).position==="static")?e:n||XCe(t)||e}function Mj(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function hx(t,e,n){return bh(t,oT(e,n))}function QCe(t,e,n){var r=hx(t,e,n);return r>n?n:r}function yne(){return{top:0,right:0,bottom:0,left:0}}function xne(t){return Object.assign({},yne(),t)}function bne(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var YCe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,xne(typeof e!="number"?e:bne(e,c1))};function KCe(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Dl(n.placement),l=Mj(s),c=[$o,os].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var f=YCe(i.padding,n),d=Pj(o),h=l==="y"?Lo:$o,p=l==="y"?is:os,m=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],v=u1(o),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,x=m/2-g/2,b=f[h],_=y-d[u]-f[p],S=y/2-d[u]/2+x,O=hx(b,S,_),C=l;n.modifiersData[r]=(e={},e[C]=O,e.centerOffset=O-S,e)}}function ZCe(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||vne(e.elements.popper,i)&&(e.elements.arrow=i))}const JCe={name:"arrow",enabled:!0,phase:"main",fn:KCe,effect:ZCe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ng(t){return t.split("-")[1]}var eTe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tTe(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:Lg(n*i)/i||0,y:Lg(r*i)/i||0}}function cV(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,m=p===void 0?0:p,g=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=$o,b=Lo,_=window;if(c){var S=u1(n),O="clientHeight",C="clientWidth";if(S===ya(n)&&(S=td(n),tu(S).position!=="static"&&s==="absolute"&&(O="scrollHeight",C="scrollWidth")),S=S,i===Lo||(i===$o||i===os)&&o===lb){b=is;var E=f&&S===_&&_.visualViewport?_.visualViewport.height:S[O];m-=E-r.height,m*=l?1:-1}if(i===$o||(i===Lo||i===is)&&o===lb){x=os;var M=f&&S===_&&_.visualViewport?_.visualViewport.width:S[C];h-=M-r.width,h*=l?1:-1}}var I=Object.assign({position:s},c&&eTe),P=u===!0?tTe({x:h,y:m},ya(n)):{x:h,y:m};if(h=P.x,m=P.y,l){var R;return Object.assign({},I,(R={},R[b]=y?"0":"",R[x]=v?"0":"",R.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",R))}return Object.assign({},I,(e={},e[b]=y?m+"px":"",e[x]=v?h+"px":"",e.transform="",e))}function nTe(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Dl(e.placement),variation:Ng(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,cV(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,cV(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const rTe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nTe,data:{}};var Lw={passive:!0};function iTe(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=ya(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Lw)}),s&&l.addEventListener("resize",n.update,Lw),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Lw)}),s&&l.removeEventListener("resize",n.update,Lw)}}const oTe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:iTe,data:{}};var aTe={left:"right",right:"left",bottom:"top",top:"bottom"};function rC(t){return t.replace(/left|right|bottom|top/g,function(e){return aTe[e]})}var sTe={start:"end",end:"start"};function uV(t){return t.replace(/start|end/g,function(e){return sTe[e]})}function kj(t){var e=ya(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Aj(t){return $g(td(t)).left+kj(t).scrollLeft}function lTe(t,e){var n=ya(t),r=td(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=gne();(c||!c&&e==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Aj(t),y:l}}function cTe(t){var e,n=td(t),r=kj(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=bh(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=bh(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Aj(t),l=-r.scrollTop;return tu(i||n).direction==="rtl"&&(s+=bh(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Rj(t){var e=tu(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function _ne(t){return["html","body","#document"].indexOf(Ul(t))>=0?t.ownerDocument.body:Ha(t)&&Rj(t)?t:_ne(lM(t))}function px(t,e){var n;e===void 0&&(e=[]);var r=_ne(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=ya(r),a=i?[o].concat(o.visualViewport||[],Rj(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(px(lM(a)))}function nL(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function uTe(t,e){var n=$g(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function fV(t,e,n){return e===pne?nL(lTe(t,n)):$h(e)?uTe(e,n):nL(cTe(td(t)))}function fTe(t){var e=px(lM(t)),n=["absolute","fixed"].indexOf(tu(t).position)>=0,r=n&&Ha(t)?u1(t):t;return $h(r)?e.filter(function(i){return $h(i)&&vne(i,r)&&Ul(i)!=="body"}):[]}function dTe(t,e,n,r){var i=e==="clippingParents"?fTe(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var u=fV(t,c,r);return l.top=bh(u.top,l.top),l.right=oT(u.right,l.right),l.bottom=oT(u.bottom,l.bottom),l.left=bh(u.left,l.left),l},fV(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function wne(t){var e=t.reference,n=t.element,r=t.placement,i=r?Dl(r):null,o=r?Ng(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,l;switch(i){case Lo:l={x:a,y:e.y-n.height};break;case is:l={x:a,y:e.y+e.height};break;case os:l={x:e.x+e.width,y:s};break;case $o:l={x:e.x-n.width,y:s};break;default:l={x:e.x,y:e.y}}var c=i?Mj(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Dg:l[c]=l[c]-(e[u]/2-n[u]/2);break;case lb:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function cb(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,l=s===void 0?RCe:s,c=n.rootBoundary,u=c===void 0?pne:c,f=n.elementContext,d=f===void 0?zy:f,h=n.altBoundary,p=h===void 0?!1:h,m=n.padding,g=m===void 0?0:m,v=xne(typeof g!="number"?g:bne(g,c1)),y=d===zy?ICe:zy,x=t.rects.popper,b=t.elements[p?y:d],_=dTe($h(b)?b:b.contextElement||td(t.elements.popper),l,u,a),S=$g(t.elements.reference),O=wne({reference:S,element:x,strategy:"absolute",placement:i}),C=nL(Object.assign({},x,O)),E=d===zy?C:S,M={top:_.top-E.top+v.top,bottom:E.bottom-_.bottom+v.bottom,left:_.left-E.left+v.left,right:E.right-_.right+v.right},I=t.modifiersData.offset;if(d===zy&&I){var P=I[i];Object.keys(M).forEach(function(R){var T=[os,is].indexOf(R)>=0?1:-1,D=[Lo,is].indexOf(R)>=0?"y":"x";M[R]+=P[D]*T})}return M}function hTe(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?mne:l,u=Ng(r),f=u?s?sV:sV.filter(function(p){return Ng(p)===u}):c1,d=f.filter(function(p){return c.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,m){return p[m]=cb(t,{placement:m,boundary:i,rootBoundary:o,padding:a})[Dl(m)],p},{});return Object.keys(h).sort(function(p,m){return h[p]-h[m]})}function pTe(t){if(Dl(t)===Tj)return[];var e=rC(t);return[uV(t),e,uV(e)]}function mTe(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,m=n.allowedAutoPlacements,g=e.options.placement,v=Dl(g),y=v===g,x=l||(y||!p?[rC(g)]:pTe(g)),b=[g].concat(x).reduce(function(q,Y){return q.concat(Dl(Y)===Tj?hTe(e,{placement:Y,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):Y)},[]),_=e.rects.reference,S=e.rects.popper,O=new Map,C=!0,E=b[0],M=0;M=0,D=T?"width":"height",U=cb(e,{placement:I,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),B=T?R?os:$o:R?is:Lo;_[D]>S[D]&&(B=rC(B));var W=rC(B),z=[];if(o&&z.push(U[P]<=0),s&&z.push(U[B]<=0,U[W]<=0),z.every(function(q){return q})){E=I,C=!1;break}O.set(I,z)}if(C)for(var $=p?3:1,N=function(Y){var K=b.find(function(se){var ee=O.get(se);if(ee)return ee.slice(0,Y).every(function(te){return te})});if(K)return E=K,"break"},L=$;L>0;L--){var A=N(L);if(A==="break")break}e.placement!==E&&(e.modifiersData[r]._skip=!0,e.placement=E,e.reset=!0)}}const gTe={name:"flip",enabled:!0,phase:"main",fn:mTe,requiresIfExists:["offset"],data:{_skip:!1}};function dV(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function hV(t){return[Lo,os,is,$o].some(function(e){return t[e]>=0})}function vTe(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=cb(e,{elementContext:"reference"}),s=cb(e,{altBoundary:!0}),l=dV(a,r),c=dV(s,i,o),u=hV(l),f=hV(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const yTe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:vTe};function xTe(t,e,n){var r=Dl(t),i=[$o,Lo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[$o,os].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function bTe(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=mne.reduce(function(u,f){return u[f]=xTe(f,e.rects,o),u},{}),s=a[e.placement],l=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}const _Te={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bTe};function wTe(t){var e=t.state,n=t.name;e.modifiersData[n]=wne({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const STe={name:"popperOffsets",enabled:!0,phase:"read",fn:wTe,data:{}};function OTe(t){return t==="x"?"y":"x"}function CTe(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,m=p===void 0?0:p,g=cb(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),v=Dl(e.placement),y=Ng(e.placement),x=!y,b=Mj(v),_=OTe(b),S=e.modifiersData.popperOffsets,O=e.rects.reference,C=e.rects.popper,E=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,M=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(S){if(o){var R,T=b==="y"?Lo:$o,D=b==="y"?is:os,U=b==="y"?"height":"width",B=S[b],W=B+g[T],z=B-g[D],$=h?-C[U]/2:0,N=y===Dg?O[U]:C[U],L=y===Dg?-C[U]:-O[U],A=e.elements.arrow,q=h&&A?Pj(A):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:yne(),K=Y[T],se=Y[D],ee=hx(0,O[U],q[U]),te=x?O[U]/2-$-ee-K-M.mainAxis:N-ee-K-M.mainAxis,de=x?-O[U]/2+$+ee+se+M.mainAxis:L+ee+se+M.mainAxis,xe=e.elements.arrow&&u1(e.elements.arrow),ie=xe?b==="y"?xe.clientTop||0:xe.clientLeft||0:0,ve=(R=I==null?void 0:I[b])!=null?R:0,F=B+te-ve-ie,ce=B+de-ve,le=hx(h?oT(W,F):W,B,h?bh(z,ce):z);S[b]=le,P[b]=le-B}if(s){var Q,X=b==="x"?Lo:$o,J=b==="x"?is:os,ge=S[_],ye=_==="y"?"height":"width",V=ge+g[X],H=ge-g[J],re=[Lo,$o].indexOf(v)!==-1,he=(Q=I==null?void 0:I[_])!=null?Q:0,we=re?V:ge-O[ye]-C[ye]-he+M.altAxis,oe=re?ge+O[ye]+C[ye]-he-M.altAxis:H,Z=h&&re?QCe(we,ge,oe):hx(h?we:V,ge,h?oe:H);S[_]=Z,P[_]=Z-ge}e.modifiersData[r]=P}}const TTe={name:"preventOverflow",enabled:!0,phase:"main",fn:CTe,requiresIfExists:["offset"]};function ETe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function PTe(t){return t===ya(t)||!Ha(t)?kj(t):ETe(t)}function MTe(t){var e=t.getBoundingClientRect(),n=Lg(e.width)/t.offsetWidth||1,r=Lg(e.height)/t.offsetHeight||1;return n!==1||r!==1}function kTe(t,e,n){n===void 0&&(n=!1);var r=Ha(e),i=Ha(e)&&MTe(e),o=td(e),a=$g(t,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ul(e)!=="body"||Rj(o))&&(s=PTe(e)),Ha(e)?(l=$g(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Aj(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ATe(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=e.get(s);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function RTe(t){var e=ATe(t);return WCe.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function ITe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function DTe(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var pV={placement:"bottom",modifiers:[],strategy:"absolute"};function mV(){for(var t=arguments.length,e=new Array(t),n=0;nUe({root:["root"]},COe(FTe)),VTe={},GTe=k.forwardRef(function(e,n){var r;const{anchorEl:i,children:o,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:f,popperRef:d,slotProps:h={},slots:p={},TransitionProps:m}=e,g=Ae(e,jTe),v=k.useRef(null),y=Kt(v,n),x=k.useRef(null),b=Kt(x,d),_=k.useRef(b);Ur(()=>{_.current=b},[b]),k.useImperativeHandle(d,()=>x.current,[]);const S=zTe(u,a),[O,C]=k.useState(S),[E,M]=k.useState(rL(i));k.useEffect(()=>{x.current&&x.current.forceUpdate()}),k.useEffect(()=>{i&&M(rL(i))},[i]),Ur(()=>{if(!E||!c)return;const D=W=>{C(W.placement)};let U=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:W})=>{D(W)}}];l!=null&&(U=U.concat(l)),f&&f.modifiers!=null&&(U=U.concat(f.modifiers));const B=NTe(E,v.current,j({placement:S},f,{modifiers:U}));return _.current(B),()=>{B.destroy(),_.current(null)}},[E,s,l,c,f,S]);const I={placement:O};m!==null&&(I.TransitionProps=m);const P=WTe(),R=(r=p.root)!=null?r:"div",T=Dr({elementType:R,externalSlotProps:h.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:P.root});return w.jsx(R,j({},T,{children:typeof o=="function"?o(I):o}))}),HTe=k.forwardRef(function(e,n){const{anchorEl:r,children:i,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:f="bottom",popperOptions:d=VTe,popperRef:h,style:p,transition:m=!1,slotProps:g={},slots:v={}}=e,y=Ae(e,BTe),[x,b]=k.useState(!0),_=()=>{b(!1)},S=()=>{b(!0)};if(!l&&!u&&(!m||x))return null;let O;if(o)O=o;else if(r){const M=rL(r);O=M&&UTe(M)?Dn(M).body:Dn(null).body}const C=!u&&l&&(!m||x)?"none":void 0,E=m?{in:u,onEnter:_,onExited:S}:void 0;return w.jsx(hne,{disablePortal:s,container:O,children:w.jsx(GTe,j({anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:m?!x:u,placement:f,popperOptions:d,popperRef:h,slotProps:g,slots:v},y,{style:j({position:"fixed",top:0,left:0,display:C},p),TransitionProps:E,children:i}))})}),qTe=2;function One(t,e){return t-e}function gV(t,e){var n;const{index:r}=(n=t.reduce((i,o,a)=>{const s=Math.abs(e-o);return i===null||s({left:`${t}%`}),leap:t=>({width:`${t}%`})},"horizontal-reverse":{offset:t=>({right:`${t}%`}),leap:t=>({width:`${t}%`})},vertical:{offset:t=>({bottom:`${t}%`}),leap:t=>({height:`${t}%`})}},ZTe=t=>t;let jw;function yV(){return jw===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?jw=CSS.supports("touch-action","none"):jw=!0),jw}function JTe(t){const{"aria-labelledby":e,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:o=!1,marks:a=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:f,orientation:d="horizontal",rootRef:h,scale:p=ZTe,step:m=1,shiftStep:g=10,tabIndex:v,value:y}=t,x=k.useRef(),[b,_]=k.useState(-1),[S,O]=k.useState(-1),[C,E]=k.useState(!1),M=k.useRef(0),[I,P]=Bs({controlled:y,default:n??l,name:"Slider"}),R=u&&((Z,G,fe)=>{const _e=Z.nativeEvent||Z,Me=new _e.constructor(_e.type,_e);Object.defineProperty(Me,"target",{writable:!0,value:{value:G,name:c}}),u(Me,G,fe)}),T=Array.isArray(I);let D=T?I.slice().sort(One):[I];D=D.map(Z=>Z==null?l:Wd(Z,l,s));const U=a===!0&&m!==null?[...Array(Math.floor((s-l)/m)+1)].map((Z,G)=>({value:l+m*G})):a||[],B=U.map(Z=>Z.value),{isFocusVisibleRef:W,onBlur:z,onFocus:$,ref:N}=i1(),[L,A]=k.useState(-1),q=k.useRef(),Y=Kt(N,q),K=Kt(h,Y),se=Z=>G=>{var fe;const _e=Number(G.currentTarget.getAttribute("data-index"));$(G),W.current===!0&&A(_e),O(_e),Z==null||(fe=Z.onFocus)==null||fe.call(Z,G)},ee=Z=>G=>{var fe;z(G),W.current===!1&&A(-1),O(-1),Z==null||(fe=Z.onBlur)==null||fe.call(Z,G)},te=(Z,G)=>{const fe=Number(Z.currentTarget.getAttribute("data-index")),_e=D[fe],Me=B.indexOf(_e);let me=G;if(U&&m==null){const Fe=B[B.length-1];me>Fe?me=Fe:meG=>{var fe;if(m!==null){const _e=Number(G.currentTarget.getAttribute("data-index")),Me=D[_e];let me=null;(G.key==="ArrowLeft"||G.key==="ArrowDown")&&G.shiftKey||G.key==="PageDown"?me=Math.max(Me-g,l):((G.key==="ArrowRight"||G.key==="ArrowUp")&&G.shiftKey||G.key==="PageUp")&&(me=Math.min(Me+g,s)),me!==null&&(te(G,me),G.preventDefault())}Z==null||(fe=Z.onKeyDown)==null||fe.call(Z,G)};Ur(()=>{if(r&&q.current.contains(document.activeElement)){var Z;(Z=document.activeElement)==null||Z.blur()}},[r]),r&&b!==-1&&_(-1),r&&L!==-1&&A(-1);const xe=Z=>G=>{var fe;(fe=Z.onChange)==null||fe.call(Z,G),te(G,G.target.valueAsNumber)},ie=k.useRef();let ve=d;o&&d==="horizontal"&&(ve+="-reverse");const F=({finger:Z,move:G=!1})=>{const{current:fe}=q,{width:_e,height:Me,bottom:me,left:Fe}=fe.getBoundingClientRect();let Pe;ve.indexOf("vertical")===0?Pe=(me-Z.y)/Me:Pe=(Z.x-Fe)/_e,ve.indexOf("-reverse")!==-1&&(Pe=1-Pe);let Re;if(Re=XTe(Pe,l,s),m)Re=YTe(Re,m,l);else{const Le=gV(B,Re);Re=B[Le]}Re=Wd(Re,l,s);let ae=0;if(T){G?ae=ie.current:ae=gV(D,Re),i&&(Re=Wd(Re,D[ae-1]||-1/0,D[ae+1]||1/0));const Le=Re;Re=vV({values:D,newValue:Re,index:ae}),i&&G||(ae=Re.indexOf(Le),ie.current=ae)}return{newValue:Re,activeIndex:ae}},ce=xr(Z=>{const G=$w(Z,x);if(!G)return;if(M.current+=1,Z.type==="mousemove"&&Z.buttons===0){le(Z);return}const{newValue:fe,activeIndex:_e}=F({finger:G,move:!0});Nw({sliderRef:q,activeIndex:_e,setActive:_}),P(fe),!C&&M.current>qTe&&E(!0),R&&!Fw(fe,I)&&R(Z,fe,_e)}),le=xr(Z=>{const G=$w(Z,x);if(E(!1),!G)return;const{newValue:fe}=F({finger:G,move:!0});_(-1),Z.type==="touchend"&&O(-1),f&&f(Z,fe),x.current=void 0,X()}),Q=xr(Z=>{if(r)return;yV()||Z.preventDefault();const G=Z.changedTouches[0];G!=null&&(x.current=G.identifier);const fe=$w(Z,x);if(fe!==!1){const{newValue:Me,activeIndex:me}=F({finger:fe});Nw({sliderRef:q,activeIndex:me,setActive:_}),P(Me),R&&!Fw(Me,I)&&R(Z,Me,me)}M.current=0;const _e=Dn(q.current);_e.addEventListener("touchmove",ce,{passive:!0}),_e.addEventListener("touchend",le,{passive:!0})}),X=k.useCallback(()=>{const Z=Dn(q.current);Z.removeEventListener("mousemove",ce),Z.removeEventListener("mouseup",le),Z.removeEventListener("touchmove",ce),Z.removeEventListener("touchend",le)},[le,ce]);k.useEffect(()=>{const{current:Z}=q;return Z.addEventListener("touchstart",Q,{passive:yV()}),()=>{Z.removeEventListener("touchstart",Q),X()}},[X,Q]),k.useEffect(()=>{r&&X()},[r,X]);const J=Z=>G=>{var fe;if((fe=Z.onMouseDown)==null||fe.call(Z,G),r||G.defaultPrevented||G.button!==0)return;G.preventDefault();const _e=$w(G,x);if(_e!==!1){const{newValue:me,activeIndex:Fe}=F({finger:_e});Nw({sliderRef:q,activeIndex:Fe,setActive:_}),P(me),R&&!Fw(me,I)&&R(G,me,Fe)}M.current=0;const Me=Dn(q.current);Me.addEventListener("mousemove",ce,{passive:!0}),Me.addEventListener("mouseup",le)},ge=aT(T?D[0]:l,l,s),ye=aT(D[D.length-1],l,s)-ge,V=(Z={})=>{const G=xh(Z),fe={onMouseDown:J(G||{})},_e=j({},G,fe);return j({},Z,{ref:K},_e)},H=Z=>G=>{var fe;(fe=Z.onMouseOver)==null||fe.call(Z,G);const _e=Number(G.currentTarget.getAttribute("data-index"));O(_e)},re=Z=>G=>{var fe;(fe=Z.onMouseLeave)==null||fe.call(Z,G),O(-1)};return{active:b,axis:ve,axisProps:KTe,dragging:C,focusedThumbIndex:L,getHiddenInputProps:(Z={})=>{var G;const fe=xh(Z),_e={onChange:xe(fe||{}),onFocus:se(fe||{}),onBlur:ee(fe||{}),onKeyDown:de(fe||{})},Me=j({},fe,_e);return j({tabIndex:v,"aria-labelledby":e,"aria-orientation":d,"aria-valuemax":p(s),"aria-valuemin":p(l),name:c,type:"range",min:t.min,max:t.max,step:t.step===null&&t.marks?"any":(G=t.step)!=null?G:void 0,disabled:r},Z,Me,{style:j({},Cwe,{direction:o?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:V,getThumbProps:(Z={})=>{const G=xh(Z),fe={onMouseOver:H(G||{}),onMouseLeave:re(G||{})};return j({},Z,G,fe)},marks:U,open:S,range:T,rootRef:K,trackLeap:ye,trackOffset:ge,values:D,getThumbStyle:Z=>({pointerEvents:b!==-1&&b!==Z?"none":void 0})}}function eEe(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:o}=t,a=sf();k.useEffect(()=>{if(!i)return;function v(y){y.defaultPrevented||(y.key==="Escape"||y.key==="Esc")&&(r==null||r(y,"escapeKeyDown"))}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[i,r]);const s=xr((v,y)=>{r==null||r(v,y)}),l=xr(v=>{!r||v==null||a.start(v,()=>{s(null,"timeout")})});k.useEffect(()=>(i&&l(e),a.clear),[i,e,l,a]);const c=v=>{r==null||r(v,"clickaway")},u=a.clear,f=k.useCallback(()=>{e!=null&&l(o??e*.5)},[e,o,l]),d=v=>y=>{const x=v.onBlur;x==null||x(y),f()},h=v=>y=>{const x=v.onFocus;x==null||x(y),u()},p=v=>y=>{const x=v.onMouseEnter;x==null||x(y),u()},m=v=>y=>{const x=v.onMouseLeave;x==null||x(y),f()};return k.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",f),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",u)}},[n,i,f,u]),{getRootProps:(v={})=>{const y=j({},xh(t),xh(v));return j({role:"presentation"},v,y,{onBlur:d(y),onFocus:h(y),onMouseEnter:p(y),onMouseLeave:m(y)})},onClickAway:c}}const tEe=["onChange","maxRows","minRows","style","value"];function Bw(t){return parseInt(t,10)||0}const nEe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function rEe(t){return t==null||Object.keys(t).length===0||t.outerHeightStyle===0&&!t.overflowing}const iEe=k.forwardRef(function(e,n){const{onChange:r,maxRows:i,minRows:o=1,style:a,value:s}=e,l=Ae(e,tEe),{current:c}=k.useRef(s!=null),u=k.useRef(null),f=Kt(n,u),d=k.useRef(null),h=k.useCallback(()=>{const g=u.current,y=ts(g).getComputedStyle(g);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const x=d.current;x.style.width=y.width,x.value=g.value||e.placeholder||"x",x.value.slice(-1)===` -`&&(x.value+=" ");const b=y.boxSizing,_=Bw(y.paddingBottom)+Bw(y.paddingTop),S=Bw(y.borderBottomWidth)+Bw(y.borderTopWidth),O=x.scrollHeight;x.value="x";const C=x.scrollHeight;let E=O;o&&(E=Math.max(Number(o)*C,E)),i&&(E=Math.min(Number(i)*C,E)),E=Math.max(E,C);const M=E+(b==="border-box"?_+S:0),I=Math.abs(E-O)<=1;return{outerHeightStyle:M,overflowing:I}},[i,o,e.placeholder]),p=k.useCallback(()=>{const g=h();if(rEe(g))return;const v=u.current;v.style.height=`${g.outerHeightStyle}px`,v.style.overflow=g.overflowing?"hidden":""},[h]);Ur(()=>{const g=()=>{p()};let v;const y=Lv(g),x=u.current,b=ts(x);b.addEventListener("resize",y);let _;return typeof ResizeObserver<"u"&&(_=new ResizeObserver(g),_.observe(x)),()=>{y.clear(),cancelAnimationFrame(v),b.removeEventListener("resize",y),_&&_.disconnect()}},[h,p]),Ur(()=>{p()});const m=g=>{c||p(),r&&r(g)};return w.jsxs(k.Fragment,{children:[w.jsx("textarea",j({value:s,onChange:m,ref:f,rows:o,style:a},l)),w.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:j({},nEe.shadow,a,{paddingTop:0,paddingBottom:0})})]})});var Ij={};Object.defineProperty(Ij,"__esModule",{value:!0});var Cne=Ij.default=void 0,oEe=sEe(k),aEe=nne;function Tne(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Tne=function(r){return r?n:e})(t)}function sEe(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=Tne(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function lEe(t){return Object.keys(t).length===0}function cEe(t=null){const e=oEe.useContext(aEe.ThemeContext);return!e||lEe(e)?t:e}Cne=Ij.default=cEe;const uEe=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],fEe=be(HTe,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),dEe=k.forwardRef(function(e,n){var r;const i=Cne(),o=qe({props:e,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:f,keepMounted:d,modifiers:h,open:p,placement:m,popperOptions:g,popperRef:v,transition:y,slots:x,slotProps:b}=o,_=Ae(o,uEe),S=(r=x==null?void 0:x.root)!=null?r:l==null?void 0:l.Root,O=j({anchorEl:a,container:u,disablePortal:f,keepMounted:d,modifiers:h,open:p,placement:m,popperOptions:g,popperRef:v,transition:y},_);return w.jsx(fEe,j({as:s,direction:i==null?void 0:i.direction,slots:{root:S},slotProps:b??c},O,{ref:n}))}),Dj=dEe,hEe=Jr(w.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function pEe(t){return We("MuiChip",t)}const mEe=Ve("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),un=mEe,gEe=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],vEe=t=>{const{classes:e,disabled:n,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=t,c={root:["root",l,n&&"disabled",`size${De(r)}`,`color${De(i)}`,s&&"clickable",s&&`clickableColor${De(i)}`,a&&"deletable",a&&`deletableColor${De(i)}`,`${l}${De(i)}`],label:["label",`label${De(r)}`],avatar:["avatar",`avatar${De(r)}`,`avatarColor${De(i)}`],icon:["icon",`icon${De(r)}`,`iconColor${De(o)}`],deleteIcon:["deleteIcon",`deleteIcon${De(r)}`,`deleteIconColor${De(i)}`,`deleteIcon${De(l)}Color${De(i)}`]};return Ue(c,pEe,e)},yEe=be("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=n;return[{[`& .${un.avatar}`]:e.avatar},{[`& .${un.avatar}`]:e[`avatar${De(s)}`]},{[`& .${un.avatar}`]:e[`avatarColor${De(r)}`]},{[`& .${un.icon}`]:e.icon},{[`& .${un.icon}`]:e[`icon${De(s)}`]},{[`& .${un.icon}`]:e[`iconColor${De(i)}`]},{[`& .${un.deleteIcon}`]:e.deleteIcon},{[`& .${un.deleteIcon}`]:e[`deleteIcon${De(s)}`]},{[`& .${un.deleteIcon}`]:e[`deleteIconColor${De(r)}`]},{[`& .${un.deleteIcon}`]:e[`deleteIcon${De(l)}Color${De(r)}`]},e.root,e[`size${De(s)}`],e[`color${De(r)}`],o&&e.clickable,o&&r!=="default"&&e[`clickableColor${De(r)})`],a&&e.deletable,a&&r!=="default"&&e[`deletableColor${De(r)}`],e[l],e[`${l}${De(r)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return j({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${un.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${un.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${un.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${un.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${un.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${un.icon}`]:j({marginLeft:5,marginRight:-6},e.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&j({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},e.color!=="default"&&{color:"inherit"})),[`& .${un.deleteIcon}`]:j({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:kt(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:kt(t.palette.text.primary,.4)}},e.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},e.color!=="default"&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:kt(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},e.size==="small"&&{height:24},e.color!=="default"&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${un.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&e.color!=="default"&&{[`&.${un.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})},({theme:t,ownerState:e})=>j({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${un.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&e.color!=="default"&&{[`&:hover, &.${un.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}}),({theme:t,ownerState:e})=>j({},e.variant==="outlined"&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${un.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${un.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${un.avatar}`]:{marginLeft:4},[`& .${un.avatarSmall}`]:{marginLeft:2},[`& .${un.icon}`]:{marginLeft:4},[`& .${un.iconSmall}`]:{marginLeft:2},[`& .${un.deleteIcon}`]:{marginRight:5},[`& .${un.deleteIconSmall}`]:{marginRight:3}},e.variant==="outlined"&&e.color!=="default"&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:kt(t.palette[e.color].main,.7)}`,[`&.${un.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${un.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:kt(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${un.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:kt(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}})),xEe=be("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:r}=n;return[e.label,e[`label${De(r)}`]]}})(({ownerState:t})=>j({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},t.variant==="outlined"&&{paddingLeft:11,paddingRight:11},t.size==="small"&&{paddingLeft:8,paddingRight:8},t.size==="small"&&t.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function xV(t){return t.key==="Backspace"||t.key==="Delete"}const bEe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:d,onClick:h,onDelete:p,onKeyDown:m,onKeyUp:g,size:v="medium",variant:y="filled",tabIndex:x,skipFocusWhenDisabled:b=!1}=r,_=Ae(r,gEe),S=k.useRef(null),O=Kt(S,n),C=z=>{z.stopPropagation(),p&&p(z)},E=z=>{z.currentTarget===z.target&&xV(z)&&z.preventDefault(),m&&m(z)},M=z=>{z.currentTarget===z.target&&(p&&xV(z)?p(z):z.key==="Escape"&&S.current&&S.current.blur()),g&&g(z)},I=a!==!1&&h?!0:a,P=I||p?rs:l||"div",R=j({},r,{component:P,disabled:u,size:v,color:s,iconColor:k.isValidElement(f)&&f.props.color||s,onDelete:!!p,clickable:I,variant:y}),T=vEe(R),D=P===rs?j({component:l||"div",focusVisibleClassName:T.focusVisible},p&&{disableRipple:!0}):{};let U=null;p&&(U=c&&k.isValidElement(c)?k.cloneElement(c,{className:ke(c.props.className,T.deleteIcon),onClick:C}):w.jsx(hEe,{className:ke(T.deleteIcon),onClick:C}));let B=null;i&&k.isValidElement(i)&&(B=k.cloneElement(i,{className:ke(T.avatar,i.props.className)}));let W=null;return f&&k.isValidElement(f)&&(W=k.cloneElement(f,{className:ke(T.icon,f.props.className)})),w.jsxs(yEe,j({as:P,className:ke(T.root,o),disabled:I&&u?!0:void 0,onClick:h,onKeyDown:E,onKeyUp:M,ref:O,tabIndex:b&&u?-1:x,ownerState:R},D,_,{children:[B||W,w.jsx(xEe,{className:ke(T.label),ownerState:R,children:d}),U]}))}),bV=bEe;function nd({props:t,states:e,muiFormControl:n}){return e.reduce((r,i)=>(r[i]=t[i],n&&typeof t[i]>"u"&&(r[i]=n[i]),r),{})}const _Ee=k.createContext(void 0),cM=_Ee;function Ql(){return k.useContext(cM)}function Ene(t){return w.jsx(D1e,j({},t,{defaultTheme:oM,themeId:Dh}))}function _V(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function sT(t,e=!1){return t&&(_V(t.value)&&t.value!==""||e&&_V(t.defaultValue)&&t.defaultValue!=="")}function wEe(t){return t.startAdornment}function SEe(t){return We("MuiInputBase",t)}const OEe=Ve("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Fg=OEe,CEe=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],uM=(t,e)=>{const{ownerState:n}=t;return[e.root,n.formControl&&e.formControl,n.startAdornment&&e.adornedStart,n.endAdornment&&e.adornedEnd,n.error&&e.error,n.size==="small"&&e.sizeSmall,n.multiline&&e.multiline,n.color&&e[`color${De(n.color)}`],n.fullWidth&&e.fullWidth,n.hiddenLabel&&e.hiddenLabel]},fM=(t,e)=>{const{ownerState:n}=t;return[e.input,n.size==="small"&&e.inputSizeSmall,n.multiline&&e.inputMultiline,n.type==="search"&&e.inputTypeSearch,n.startAdornment&&e.inputAdornedStart,n.endAdornment&&e.inputAdornedEnd,n.hiddenLabel&&e.inputHiddenLabel]},TEe=t=>{const{classes:e,color:n,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:f,size:d,startAdornment:h,type:p}=t,m={root:["root",`color${De(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&d!=="medium"&&`size${De(d)}`,u&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",d==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return Ue(m,SEe,e)},dM=be("div",{name:"MuiInputBase",slot:"Root",overridesResolver:uM})(({theme:t,ownerState:e})=>j({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Fg.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},e.multiline&&j({padding:"4px 0 5px"},e.size==="small"&&{paddingTop:1}),e.fullWidth&&{width:"100%"})),hM=be("input",{name:"MuiInputBase",slot:"Input",overridesResolver:fM})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light",r=j({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),i={opacity:"0 !important"},o=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return j({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Fg.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Fg.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},e.size==="small"&&{paddingTop:1},e.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},e.type==="search"&&{MozAppearance:"textfield"})}),EEe=w.jsx(Ene,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),PEe=k.forwardRef(function(e,n){var r;const i=qe({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:m=!1,id:g,inputComponent:v="input",inputProps:y={},inputRef:x,maxRows:b,minRows:_,multiline:S=!1,name:O,onBlur:C,onChange:E,onClick:M,onFocus:I,onKeyDown:P,onKeyUp:R,placeholder:T,readOnly:D,renderSuffix:U,rows:B,slotProps:W={},slots:z={},startAdornment:$,type:N="text",value:L}=i,A=Ae(i,CEe),q=y.value!=null?y.value:L,{current:Y}=k.useRef(q!=null),K=k.useRef(),se=k.useCallback(Z=>{},[]),ee=Kt(K,x,y.ref,se),[te,de]=k.useState(!1),xe=Ql(),ie=nd({props:i,muiFormControl:xe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ie.focused=xe?xe.focused:te,k.useEffect(()=>{!xe&&d&&te&&(de(!1),C&&C())},[xe,d,te,C]);const ve=xe&&xe.onFilled,F=xe&&xe.onEmpty,ce=k.useCallback(Z=>{sT(Z)?ve&&ve():F&&F()},[ve,F]);Ur(()=>{Y&&ce({value:q})},[q,ce,Y]);const le=Z=>{if(ie.disabled){Z.stopPropagation();return}I&&I(Z),y.onFocus&&y.onFocus(Z),xe&&xe.onFocus?xe.onFocus(Z):de(!0)},Q=Z=>{C&&C(Z),y.onBlur&&y.onBlur(Z),xe&&xe.onBlur?xe.onBlur(Z):de(!1)},X=(Z,...G)=>{if(!Y){const fe=Z.target||K.current;if(fe==null)throw new Error(eu(1));ce({value:fe.value})}y.onChange&&y.onChange(Z,...G),E&&E(Z,...G)};k.useEffect(()=>{ce(K.current)},[]);const J=Z=>{K.current&&Z.currentTarget===Z.target&&K.current.focus(),M&&M(Z)};let ge=v,ye=y;S&&ge==="input"&&(B?ye=j({type:void 0,minRows:B,maxRows:B},ye):ye=j({type:void 0,maxRows:b,minRows:_},ye),ge=iEe);const V=Z=>{ce(Z.animationName==="mui-auto-fill-cancel"?K.current:{value:"x"})};k.useEffect(()=>{xe&&xe.setAdornedStart(!!$)},[xe,$]);const H=j({},i,{color:ie.color||"primary",disabled:ie.disabled,endAdornment:p,error:ie.error,focused:ie.focused,formControl:xe,fullWidth:m,hiddenLabel:ie.hiddenLabel,multiline:S,size:ie.size,startAdornment:$,type:N}),re=TEe(H),he=z.root||c.Root||dM,we=W.root||u.root||{},oe=z.input||c.Input||hM;return ye=j({},ye,(r=W.input)!=null?r:u.input),w.jsxs(k.Fragment,{children:[!h&&EEe,w.jsxs(he,j({},we,!Il(he)&&{ownerState:j({},H,we.ownerState)},{ref:n,onClick:J},A,{className:ke(re.root,we.className,l,D&&"MuiInputBase-readOnly"),children:[$,w.jsx(cM.Provider,{value:null,children:w.jsx(oe,j({ownerState:H,"aria-invalid":ie.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:f,disabled:ie.disabled,id:g,onAnimationStart:V,name:O,placeholder:T,readOnly:D,required:ie.required,rows:B,value:q,onKeyDown:P,onKeyUp:R,type:N},ye,!Il(oe)&&{as:ge,ownerState:j({},H,ye.ownerState)},{ref:ee,className:ke(re.input,ye.className,D&&"MuiInputBase-readOnly"),onBlur:Q,onChange:X,onFocus:le}))}),p,U?U(j({},ie,{startAdornment:$})):null]}))]})}),Lj=PEe;function MEe(t){return We("MuiInput",t)}const kEe=j({},Fg,Ve("MuiInput",["root","underline","input"])),Uy=kEe;function AEe(t){return We("MuiOutlinedInput",t)}const REe=j({},Fg,Ve("MuiOutlinedInput",["root","notchedOutline","input"])),vu=REe;function IEe(t){return We("MuiFilledInput",t)}const DEe=j({},Fg,Ve("MuiFilledInput",["root","underline","input"])),bd=DEe,LEe=Jr(w.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),$Ee=Jr(w.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function NEe(t){return We("MuiAvatar",t)}Ve("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const FEe=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],jEe=bj(),BEe=t=>{const{classes:e,variant:n,colorDefault:r}=t;return Ue({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},NEe,e)},zEe=be("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],n.colorDefault&&e.colorDefault]}})(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:j({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:j({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]})),UEe=be("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,e)=>e.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),WEe=be($Ee,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,e)=>e.fallback})({width:"75%",height:"75%"});function VEe({crossOrigin:t,referrerPolicy:e,src:n,srcSet:r}){const[i,o]=k.useState(!1);return k.useEffect(()=>{if(!n&&!r)return;o(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&o("loaded")},s.onerror=()=>{a&&o("error")},s.crossOrigin=t,s.referrerPolicy=e,s.src=n,r&&(s.srcset=r),()=>{a=!1}},[t,e,n,r]),i}const GEe=k.forwardRef(function(e,n){const r=jEe({props:e,name:"MuiAvatar"}),{alt:i,children:o,className:a,component:s="div",slots:l={},slotProps:c={},imgProps:u,sizes:f,src:d,srcSet:h,variant:p="circular"}=r,m=Ae(r,FEe);let g=null;const v=VEe(j({},u,{src:d,srcSet:h})),y=d||h,x=y&&v!=="error",b=j({},r,{colorDefault:!x,component:s,variant:p}),_=BEe(b),[S,O]=kOe("img",{className:_.img,elementType:UEe,externalForwardedProps:{slots:l,slotProps:{img:j({},u,c.img)}},additionalProps:{alt:i,src:d,srcSet:h,sizes:f},ownerState:b});return x?g=w.jsx(S,j({},O)):o||o===0?g=o:y&&i?g=i[0]:g=w.jsx(WEe,{ownerState:b,className:_.fallback}),w.jsx(zEe,j({as:s,ownerState:b,className:ke(_.root,a),ref:n},m,{children:g}))}),Hk=GEe,HEe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],qEe={entering:{opacity:1},entered:{opacity:1}},XEe=k.forwardRef(function(e,n){const r=Wo(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:f,onEntering:d,onExit:h,onExited:p,onExiting:m,style:g,timeout:v=i,TransitionComponent:y=l1}=e,x=Ae(e,HEe),b=k.useRef(null),_=Kt(b,s.ref,n),S=T=>D=>{if(T){const U=b.current;D===void 0?T(U):T(U,D)}},O=S(d),C=S((T,D)=>{Cj(T);const U=zf({style:g,timeout:v,easing:l},{mode:"enter"});T.style.webkitTransition=r.transitions.create("opacity",U),T.style.transition=r.transitions.create("opacity",U),u&&u(T,D)}),E=S(f),M=S(m),I=S(T=>{const D=zf({style:g,timeout:v,easing:l},{mode:"exit"});T.style.webkitTransition=r.transitions.create("opacity",D),T.style.transition=r.transitions.create("opacity",D),h&&h(T)}),P=S(p),R=T=>{o&&o(b.current,T)};return w.jsx(y,j({appear:a,in:c,nodeRef:b,onEnter:C,onEntered:E,onEntering:O,onExit:I,onExited:P,onExiting:M,addEndListener:R,timeout:v},x,{children:(T,D)=>k.cloneElement(s,j({style:j({opacity:0,visibility:T==="exited"&&!c?"hidden":void 0},qEe[T],g,s.props.style),ref:_},D))}))}),pM=XEe;function QEe(t){return We("MuiBackdrop",t)}Ve("MuiBackdrop",["root","invisible"]);const YEe=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],KEe=t=>{const{classes:e,invisible:n}=t;return Ue({root:["root",n&&"invisible"]},QEe,e)},ZEe=be("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})(({ownerState:t})=>j({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})),JEe=k.forwardRef(function(e,n){var r,i,o;const a=qe({props:e,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:f={},invisible:d=!1,open:h,slotProps:p={},slots:m={},TransitionComponent:g=pM,transitionDuration:v}=a,y=Ae(a,YEe),x=j({},a,{component:c,invisible:d}),b=KEe(x),_=(r=p.root)!=null?r:f.root;return w.jsx(g,j({in:h,timeout:v},y,{children:w.jsx(ZEe,j({"aria-hidden":!0},_,{as:(i=(o=m.root)!=null?o:u.Root)!=null?i:c,className:ke(b.root,l,_==null?void 0:_.className),ownerState:j({},x,_==null?void 0:_.ownerState),classes:b,ref:n,children:s}))}))}),Pne=JEe,ePe=Ve("MuiBox",["root"]),tPe=ePe,nPe=xj(),rPe=z1e({themeId:Dh,defaultTheme:nPe,defaultClassName:tPe.root,generateClassName:uj.generate}),tt=rPe;function iPe(t){return We("MuiButton",t)}const oPe=Ve("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),zw=oPe,aPe=k.createContext({}),sPe=aPe,lPe=k.createContext(void 0),cPe=lPe,uPe=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],fPe=t=>{const{color:e,disableElevation:n,fullWidth:r,size:i,variant:o,classes:a}=t,s={root:["root",o,`${o}${De(e)}`,`size${De(i)}`,`${o}Size${De(i)}`,`color${De(e)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${De(i)}`],endIcon:["icon","endIcon",`iconSize${De(i)}`]},l=Ue(s,iPe,a);return j({},a,l)},Mne=t=>j({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),dPe=be(rs,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${De(n.color)}`],e[`size${De(n.size)}`],e[`${n.variant}Size${De(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var n,r;const i=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],o=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return j({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":j({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":j({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${zw.focusVisible}`]:j({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${zw.disabled}`]:j({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${kt(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(n=(r=t.palette).getContrastText)==null?void 0:n.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:i,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${zw.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${zw.disabled}`]:{boxShadow:"none"}}),hPe=be("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${De(n.size)}`]]}})(({ownerState:t})=>j({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},Mne(t))),pPe=be("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${De(n.size)}`]]}})(({ownerState:t})=>j({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},Mne(t))),mPe=k.forwardRef(function(e,n){const r=k.useContext(sPe),i=k.useContext(cPe),o=nM(r,e),a=qe({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:h=!1,endIcon:p,focusVisibleClassName:m,fullWidth:g=!1,size:v="medium",startIcon:y,type:x,variant:b="text"}=a,_=Ae(a,uPe),S=j({},a,{color:l,component:c,disabled:f,disableElevation:d,disableFocusRipple:h,fullWidth:g,size:v,type:x,variant:b}),O=fPe(S),C=y&&w.jsx(hPe,{className:O.startIcon,ownerState:S,children:y}),E=p&&w.jsx(pPe,{className:O.endIcon,ownerState:S,children:p}),M=i||"";return w.jsxs(dPe,j({ownerState:S,className:ke(r.className,O.root,u,M),component:c,disabled:f,focusRipple:!h,focusVisibleClassName:ke(O.focusVisible,m),ref:n,type:x},_,{classes:O,children:[C,s,E]}))}),Jn=mPe;function gPe(t){return We("MuiCard",t)}Ve("MuiCard",["root"]);const vPe=["className","raised"],yPe=t=>{const{classes:e}=t;return Ue({root:["root"]},gPe,e)},xPe=be(Di,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"})),bPe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCard"}),{className:i,raised:o=!1}=r,a=Ae(r,vPe),s=j({},r,{raised:o}),l=yPe(s);return w.jsx(xPe,j({className:ke(l.root,i),elevation:o?8:void 0,ref:n,ownerState:s},a))}),kne=bPe;function _Pe(t){return We("MuiCardActions",t)}Ve("MuiCardActions",["root","spacing"]);const wPe=["disableSpacing","className"],SPe=t=>{const{classes:e,disableSpacing:n}=t;return Ue({root:["root",!n&&"spacing"]},_Pe,e)},OPe=be("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})(({ownerState:t})=>j({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),CPe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardActions"}),{disableSpacing:i=!1,className:o}=r,a=Ae(r,wPe),s=j({},r,{disableSpacing:i}),l=SPe(s);return w.jsx(OPe,j({className:ke(l.root,o),ownerState:s,ref:n},a))}),Ane=CPe;function TPe(t){return We("MuiCardContent",t)}Ve("MuiCardContent",["root"]);const EPe=["className","component"],PPe=t=>{const{classes:e}=t;return Ue({root:["root"]},TPe,e)},MPe=be("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),kPe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardContent"}),{className:i,component:o="div"}=r,a=Ae(r,EPe),s=j({},r,{component:o}),l=PPe(s);return w.jsx(MPe,j({as:o,className:ke(l.root,i),ownerState:s,ref:n},a))}),Rne=kPe;function APe(t){return We("MuiCardHeader",t)}const RPe=Ve("MuiCardHeader",["root","avatar","action","content","title","subheader"]),wV=RPe,IPe=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],DPe=t=>{const{classes:e}=t;return Ue({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},APe,e)},LPe=be("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,e)=>j({[`& .${wV.title}`]:e.title,[`& .${wV.subheader}`]:e.subheader},e.root)})({display:"flex",alignItems:"center",padding:16}),$Pe=be("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,e)=>e.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),NPe=be("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,e)=>e.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),FPe=be("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,e)=>e.content})({flex:"1 1 auto"}),jPe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardHeader"}),{action:i,avatar:o,className:a,component:s="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:u,title:f,titleTypographyProps:d}=r,h=Ae(r,IPe),p=j({},r,{component:s,disableTypography:l}),m=DPe(p);let g=f;g!=null&&g.type!==zt&&!l&&(g=w.jsx(zt,j({variant:o?"body2":"h5",className:m.title,component:"span",display:"block"},d,{children:g})));let v=c;return v!=null&&v.type!==zt&&!l&&(v=w.jsx(zt,j({variant:o?"body2":"body1",className:m.subheader,color:"text.secondary",component:"span",display:"block"},u,{children:v}))),w.jsxs(LPe,j({className:ke(m.root,a),as:s,ref:n,ownerState:p},h,{children:[o&&w.jsx($Pe,{className:m.avatar,ownerState:p,children:o}),w.jsxs(FPe,{className:m.content,ownerState:p,children:[g,v]}),i&&w.jsx(NPe,{className:m.action,ownerState:p,children:i})]}))}),BPe=jPe;function zPe(t){return We("MuiCardMedia",t)}Ve("MuiCardMedia",["root","media","img"]);const UPe=["children","className","component","image","src","style"],WPe=t=>{const{classes:e,isMediaComponent:n,isImageComponent:r}=t;return Ue({root:["root",n&&"media",r&&"img"]},zPe,e)},VPe=be("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{isMediaComponent:r,isImageComponent:i}=n;return[e.root,r&&e.media,i&&e.img]}})(({ownerState:t})=>j({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},t.isMediaComponent&&{width:"100%"},t.isImageComponent&&{objectFit:"cover"})),GPe=["video","audio","picture","iframe","img"],HPe=["picture","img"],qPe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardMedia"}),{children:i,className:o,component:a="div",image:s,src:l,style:c}=r,u=Ae(r,UPe),f=GPe.indexOf(a)!==-1,d=!f&&s?j({backgroundImage:`url("${s}")`},c):c,h=j({},r,{component:a,isMediaComponent:f,isImageComponent:HPe.indexOf(a)!==-1}),p=WPe(h);return w.jsx(VPe,j({className:ke(p.root,o),as:a,role:!f&&s?"img":void 0,ref:n,style:d,ownerState:h,src:f?s||l:void 0},u,{children:i}))}),XPe=qPe;function QPe(t){return We("PrivateSwitchBase",t)}Ve("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const YPe=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],KPe=t=>{const{classes:e,checked:n,disabled:r,edge:i}=t,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${De(i)}`],input:["input"]};return Ue(o,QPe,e)},ZPe=be(rs)(({ownerState:t})=>j({padding:9,borderRadius:"50%"},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12})),JPe=be("input",{shouldForwardProp:di})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),eMe=k.forwardRef(function(e,n){const{autoFocus:r,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:f,id:d,inputProps:h,inputRef:p,name:m,onBlur:g,onChange:v,onFocus:y,readOnly:x,required:b=!1,tabIndex:_,type:S,value:O}=e,C=Ae(e,YPe),[E,M]=Bs({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),I=Ql(),P=z=>{y&&y(z),I&&I.onFocus&&I.onFocus(z)},R=z=>{g&&g(z),I&&I.onBlur&&I.onBlur(z)},T=z=>{if(z.nativeEvent.defaultPrevented)return;const $=z.target.checked;M($),v&&v(z,$)};let D=l;I&&typeof D>"u"&&(D=I.disabled);const U=S==="checkbox"||S==="radio",B=j({},e,{checked:E,disabled:D,disableFocusRipple:c,edge:u}),W=KPe(B);return w.jsxs(ZPe,j({component:"span",className:ke(W.root,a),centerRipple:!0,focusRipple:!c,disabled:D,tabIndex:null,role:void 0,onFocus:P,onBlur:R,ownerState:B,ref:n},C,{children:[w.jsx(JPe,j({autoFocus:r,checked:i,defaultChecked:s,className:W.input,disabled:D,id:U?d:void 0,name:m,onChange:T,readOnly:x,ref:p,required:b,ownerState:B,tabIndex:_,type:S},S==="checkbox"&&O===void 0?{}:{value:O},h)),E?o:f]}))}),$j=eMe,tMe=Jr(w.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),nMe=Jr(w.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),rMe=Jr(w.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function iMe(t){return We("MuiCheckbox",t)}const oMe=Ve("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),qk=oMe,aMe=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],sMe=t=>{const{classes:e,indeterminate:n,color:r,size:i}=t,o={root:["root",n&&"indeterminate",`color${De(r)}`,`size${De(i)}`]},a=Ue(o,iMe,e);return j({},e,a)},lMe=be($j,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.indeterminate&&e.indeterminate,e[`size${De(n.size)}`],n.color!=="default"&&e[`color${De(n.color)}`]]}})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${e.color==="default"?t.vars.palette.action.activeChannel:t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(e.color==="default"?t.palette.action.active:t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.color!=="default"&&{[`&.${qk.checked}, &.${qk.indeterminate}`]:{color:(t.vars||t).palette[e.color].main},[`&.${qk.disabled}`]:{color:(t.vars||t).palette.action.disabled}})),cMe=w.jsx(nMe,{}),uMe=w.jsx(tMe,{}),fMe=w.jsx(rMe,{}),dMe=k.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiCheckbox"}),{checkedIcon:a=cMe,color:s="primary",icon:l=uMe,indeterminate:c=!1,indeterminateIcon:u=fMe,inputProps:f,size:d="medium",className:h}=o,p=Ae(o,aMe),m=c?u:l,g=c?u:a,v=j({},o,{color:s,indeterminate:c,size:d}),y=sMe(v);return w.jsx(lMe,j({type:"checkbox",inputProps:j({"data-indeterminate":c},f),icon:k.cloneElement(m,{fontSize:(r=m.props.fontSize)!=null?r:d}),checkedIcon:k.cloneElement(g,{fontSize:(i=g.props.fontSize)!=null?i:d}),ownerState:v,ref:n,className:ke(y.root,h)},p,{classes:y}))}),iL=dMe;function hMe(t){return We("MuiCircularProgress",t)}Ve("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const pMe=["className","color","disableShrink","size","style","thickness","value","variant"];let mM=t=>t,SV,OV,CV,TV;const yu=44,mMe=Dv(SV||(SV=mM` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),gMe=Dv(OV||(OV=mM` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),vMe=t=>{const{classes:e,variant:n,color:r,disableShrink:i}=t,o={root:["root",n,`color${De(r)}`],svg:["svg"],circle:["circle",`circle${De(n)}`,i&&"circleDisableShrink"]};return Ue(o,hMe,e)},yMe=be("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`color${De(n.color)}`]]}})(({ownerState:t,theme:e})=>j({display:"inline-block"},t.variant==="determinate"&&{transition:e.transitions.create("transform")},t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main}),({ownerState:t})=>t.variant==="indeterminate"&&BP(CV||(CV=mM` - animation: ${0} 1.4s linear infinite; - `),mMe)),xMe=be("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),bMe=be("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.circle,e[`circle${De(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})(({ownerState:t,theme:e})=>j({stroke:"currentColor"},t.variant==="determinate"&&{transition:e.transitions.create("stroke-dashoffset")},t.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink&&BP(TV||(TV=mM` - animation: ${0} 1.4s ease-in-out infinite; - `),gMe)),_Me=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:f="indeterminate"}=r,d=Ae(r,pMe),h=j({},r,{color:o,disableShrink:a,size:s,thickness:c,value:u,variant:f}),p=vMe(h),m={},g={},v={};if(f==="determinate"){const y=2*Math.PI*((yu-c)/2);m.strokeDasharray=y.toFixed(3),v["aria-valuenow"]=Math.round(u),m.strokeDashoffset=`${((100-u)/100*y).toFixed(3)}px`,g.transform="rotate(-90deg)"}return w.jsx(yMe,j({className:ke(p.root,i),style:j({width:s,height:s},g,l),ownerState:h,ref:n,role:"progressbar"},v,d,{children:w.jsx(xMe,{className:p.svg,ownerState:h,viewBox:`${yu/2} ${yu/2} ${yu} ${yu}`,children:w.jsx(bMe,{className:p.circle,style:m,ownerState:h,cx:yu,cy:yu,r:(yu-c)/2,fill:"none",strokeWidth:c})})}))}),Fv=_Me,wMe=(t,e)=>j({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),SMe=t=>j({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),OMe=(t,e=!1)=>{var n;const r={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([a,s])=>{var l;r[t.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let i=j({html:wMe(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:j({margin:0},SMe(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},r);const o=(n=t.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return o&&(i=[i,o]),i};function CMe(t){const e=qe({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=e;return w.jsxs(k.Fragment,{children:[w.jsx(Ene,{styles:i=>OMe(i,r)}),n]})}function TMe(t){return We("MuiModal",t)}Ve("MuiModal",["root","hidden","backdrop"]);const EMe=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],PMe=t=>{const{open:e,exited:n,classes:r}=t;return Ue({root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]},TMe,r)},MMe=be("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})(({theme:t,ownerState:e})=>j({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&e.exited&&{visibility:"hidden"})),kMe=be(Pne,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),AMe=k.forwardRef(function(e,n){var r,i,o,a,s,l;const c=qe({name:"MuiModal",props:e}),{BackdropComponent:u=kMe,BackdropProps:f,className:d,closeAfterTransition:h=!1,children:p,container:m,component:g,components:v={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:_=!1,disablePortal:S=!1,disableRestoreFocus:O=!1,disableScrollLock:C=!1,hideBackdrop:E=!1,keepMounted:M=!1,onBackdropClick:I,open:P,slotProps:R,slots:T}=c,D=Ae(c,EMe),U=j({},c,{closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:b,disableEscapeKeyDown:_,disablePortal:S,disableRestoreFocus:O,disableScrollLock:C,hideBackdrop:E,keepMounted:M}),{getRootProps:B,getBackdropProps:W,getTransitionProps:z,portalRef:$,isTopModal:N,exited:L,hasTransition:A}=ACe(j({},U,{rootRef:n})),q=j({},U,{exited:L}),Y=PMe(q),K={};if(p.props.tabIndex===void 0&&(K.tabIndex="-1"),A){const{onEnter:ve,onExited:F}=z();K.onEnter=ve,K.onExited=F}const se=(r=(i=T==null?void 0:T.root)!=null?i:v.Root)!=null?r:MMe,ee=(o=(a=T==null?void 0:T.backdrop)!=null?a:v.Backdrop)!=null?o:u,te=(s=R==null?void 0:R.root)!=null?s:y.root,de=(l=R==null?void 0:R.backdrop)!=null?l:y.backdrop,xe=Dr({elementType:se,externalSlotProps:te,externalForwardedProps:D,getSlotProps:B,additionalProps:{ref:n,as:g},ownerState:q,className:ke(d,te==null?void 0:te.className,Y==null?void 0:Y.root,!q.open&&q.exited&&(Y==null?void 0:Y.hidden))}),ie=Dr({elementType:ee,externalSlotProps:de,additionalProps:f,getSlotProps:ve=>W(j({},ve,{onClick:F=>{I&&I(F),ve!=null&&ve.onClick&&ve.onClick(F)}})),className:ke(de==null?void 0:de.className,f==null?void 0:f.className,Y==null?void 0:Y.backdrop),ownerState:q});return!M&&!P&&(!A||L)?null:w.jsx(hne,{ref:$,container:m,disablePortal:S,children:w.jsxs(se,j({},xe,{children:[!E&&u?w.jsx(ee,j({},ie)):null,w.jsx(dne,{disableEnforceFocus:b,disableAutoFocus:x,disableRestoreFocus:O,isEnabled:N,open:P,children:k.cloneElement(p,K)})]}))})}),Ine=AMe;function RMe(t){return We("MuiDialog",t)}const IMe=Ve("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),mx=IMe,DMe=k.createContext({}),Dne=DMe,LMe=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],$Me=be(Pne,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),NMe=t=>{const{classes:e,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}=t,a={root:["root"],container:["container",`scroll${De(n)}`],paper:["paper",`paperScroll${De(n)}`,`paperWidth${De(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Ue(a,RMe,e)},FMe=be(Ine,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),jMe=be("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.container,e[`scroll${De(n.scroll)}`]]}})(({ownerState:t})=>j({height:"100%","@media print":{height:"auto"},outline:0},t.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},t.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),BMe=be(Di,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.paper,e[`scrollPaper${De(n.scroll)}`],e[`paperWidth${De(String(n.maxWidth))}`],n.fullWidth&&e.paperFullWidth,n.fullScreen&&e.paperFullScreen]}})(({theme:t,ownerState:e})=>j({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},e.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},e.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!e.maxWidth&&{maxWidth:"calc(100% - 64px)"},e.maxWidth==="xs"&&{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${mx.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},e.maxWidth&&e.maxWidth!=="xs"&&{maxWidth:`${t.breakpoints.values[e.maxWidth]}${t.breakpoints.unit}`,[`&.${mx.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},e.fullWidth&&{width:"calc(100% - 64px)"},e.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${mx.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),zMe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialog"}),i=Wo(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:f,disableEscapeKeyDown:d=!1,fullScreen:h=!1,fullWidth:p=!1,maxWidth:m="sm",onBackdropClick:g,onClose:v,open:y,PaperComponent:x=Di,PaperProps:b={},scroll:_="paper",TransitionComponent:S=pM,transitionDuration:O=o,TransitionProps:C}=r,E=Ae(r,LMe),M=j({},r,{disableEscapeKeyDown:d,fullScreen:h,fullWidth:p,maxWidth:m,scroll:_}),I=NMe(M),P=k.useRef(),R=B=>{P.current=B.target===B.currentTarget},T=B=>{P.current&&(P.current=null,g&&g(B),v&&v(B,"backdropClick"))},D=ed(s),U=k.useMemo(()=>({titleId:D}),[D]);return w.jsx(FMe,j({className:ke(I.root,f),closeAfterTransition:!0,components:{Backdrop:$Me},componentsProps:{backdrop:j({transitionDuration:O,as:l},c)},disableEscapeKeyDown:d,onClose:v,open:y,ref:n,onClick:T,ownerState:M},E,{children:w.jsx(S,j({appear:!0,in:y,timeout:O,role:"presentation"},C,{children:w.jsx(jMe,{className:ke(I.container),onMouseDown:R,ownerState:M,children:w.jsx(BMe,j({as:x,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":D},b,{className:ke(I.paper,b.className),ownerState:M,children:w.jsx(Dne.Provider,{value:U,children:u})}))})}))}))}),qs=zMe;function UMe(t){return We("MuiDialogActions",t)}Ve("MuiDialogActions",["root","spacing"]);const WMe=["className","disableSpacing"],VMe=t=>{const{classes:e,disableSpacing:n}=t;return Ue({root:["root",!n&&"spacing"]},UMe,e)},GMe=be("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})(({ownerState:t})=>j({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),HMe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=r,a=Ae(r,WMe),s=j({},r,{disableSpacing:o}),l=VMe(s);return w.jsx(GMe,j({className:ke(l.root,i),ownerState:s,ref:n},a))}),lp=HMe;function qMe(t){return We("MuiDialogContent",t)}Ve("MuiDialogContent",["root","dividers"]);function XMe(t){return We("MuiDialogTitle",t)}const QMe=Ve("MuiDialogTitle",["root"]),YMe=QMe,KMe=["className","dividers"],ZMe=t=>{const{classes:e,dividers:n}=t;return Ue({root:["root",n&&"dividers"]},qMe,e)},JMe=be("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dividers&&e.dividers]}})(({theme:t,ownerState:e})=>j({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},e.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${YMe.root} + &`]:{paddingTop:0}})),e2e=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=r,a=Ae(r,KMe),s=j({},r,{dividers:o}),l=ZMe(s);return w.jsx(JMe,j({className:ke(l.root,i),ownerState:s,ref:n},a))}),zs=e2e;function t2e(t){return We("MuiDialogContentText",t)}Ve("MuiDialogContentText",["root"]);const n2e=["children","className"],r2e=t=>{const{classes:e}=t,r=Ue({root:["root"]},t2e,e);return j({},e,r)},i2e=be(zt,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,e)=>e.root})({}),o2e=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogContentText"}),{className:i}=r,o=Ae(r,n2e),a=r2e(o);return w.jsx(i2e,j({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:o,className:ke(a.root,i)},r,{classes:a}))}),a2e=o2e,s2e=["className","id"],l2e=t=>{const{classes:e}=t;return Ue({root:["root"]},XMe,e)},c2e=be(zt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),u2e=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogTitle"}),{className:i,id:o}=r,a=Ae(r,s2e),s=r,l=l2e(s),{titleId:c=o}=k.useContext(Dne);return w.jsx(c2e,j({component:"h2",className:ke(l.root,i),ownerState:s,ref:n,variant:"h6",id:o??c},a))}),rd=u2e;function f2e(t){return We("MuiDivider",t)}const d2e=Ve("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),EV=d2e,h2e=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],p2e=t=>{const{absolute:e,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:l}=t;return Ue({root:["root",e&&"absolute",l,o&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},f2e,r)},m2e=be("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>j({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:kt(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>j({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>j({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}}),({theme:t,ownerState:e})=>j({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}}),({ownerState:t})=>j({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),g2e=be("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>j({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),Lne=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDivider"}),{absolute:i=!1,children:o,className:a,component:s=o?"div":"hr",flexItem:l=!1,light:c=!1,orientation:u="horizontal",role:f=s!=="hr"?"separator":void 0,textAlign:d="center",variant:h="fullWidth"}=r,p=Ae(r,h2e),m=j({},r,{absolute:i,component:s,flexItem:l,light:c,orientation:u,role:f,textAlign:d,variant:h}),g=p2e(m);return w.jsx(m2e,j({as:s,className:ke(g.root,a),role:f,ref:n,ownerState:m},p,{children:o?w.jsx(g2e,{className:g.wrapper,ownerState:m,children:o}):null}))});Lne.muiSkipListHighlight=!0;const cg=Lne,v2e=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function y2e(t,e,n){const r=e.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=ts(e);let a;if(e.fakeTransform)a=e.fakeTransform;else{const c=o.getComputedStyle(e);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const c=a.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),l=parseInt(c[5],10)}return t==="left"?i?`translateX(${i.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:t==="right"?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:t==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function x2e(t){return typeof t=="function"?t():t}function Uw(t,e,n){const r=x2e(n),i=y2e(t,e,r);i&&(e.style.webkitTransform=i,e.style.transform=i)}const b2e=k.forwardRef(function(e,n){const r=Wo(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:f=i,in:d,onEnter:h,onEntered:p,onEntering:m,onExit:g,onExited:v,onExiting:y,style:x,timeout:b=o,TransitionComponent:_=l1}=e,S=Ae(e,v2e),O=k.useRef(null),C=Kt(l.ref,O,n),E=W=>z=>{W&&(z===void 0?W(O.current):W(O.current,z))},M=E((W,z)=>{Uw(u,W,c),Cj(W),h&&h(W,z)}),I=E((W,z)=>{const $=zf({timeout:b,style:x,easing:f},{mode:"enter"});W.style.webkitTransition=r.transitions.create("-webkit-transform",j({},$)),W.style.transition=r.transitions.create("transform",j({},$)),W.style.webkitTransform="none",W.style.transform="none",m&&m(W,z)}),P=E(p),R=E(y),T=E(W=>{const z=zf({timeout:b,style:x,easing:f},{mode:"exit"});W.style.webkitTransition=r.transitions.create("-webkit-transform",z),W.style.transition=r.transitions.create("transform",z),Uw(u,W,c),g&&g(W)}),D=E(W=>{W.style.webkitTransition="",W.style.transition="",v&&v(W)}),U=W=>{a&&a(O.current,W)},B=k.useCallback(()=>{O.current&&Uw(u,O.current,c)},[u,c]);return k.useEffect(()=>{if(d||u==="down"||u==="right")return;const W=Lv(()=>{O.current&&Uw(u,O.current,c)}),z=ts(O.current);return z.addEventListener("resize",W),()=>{W.clear(),z.removeEventListener("resize",W)}},[u,d,c]),k.useEffect(()=>{d||B()},[d,B]),w.jsx(_,j({nodeRef:O,onEnter:M,onEntered:P,onEntering:I,onExit:T,onExited:D,onExiting:R,addEndListener:U,appear:s,in:d,timeout:b},S,{children:(W,z)=>k.cloneElement(l,j({ref:C,style:j({visibility:W==="exited"&&!d?"hidden":void 0},x,l.props.style)},z))}))}),_2e=b2e,w2e=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],S2e=t=>{const{classes:e,disableUnderline:n}=t,i=Ue({root:["root",!n&&"underline"],input:["input"]},IEe,e);return j({},e,i)},O2e=be(dM,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...uM(t,e),!n.disableUnderline&&e.underline]}})(({theme:t,ownerState:e})=>{var n;const r=t.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return j({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o}},[`&.${bd.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o},[`&.${bd.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:s}},!e.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(n=(t.vars||t).palette[e.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${bd.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${bd.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${bd.disabled}, .${bd.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${bd.disabled}:before`]:{borderBottomStyle:"dotted"}},e.startAdornment&&{paddingLeft:12},e.endAdornment&&{paddingRight:12},e.multiline&&j({padding:"25px 12px 8px"},e.size==="small"&&{paddingTop:21,paddingBottom:4},e.hiddenLabel&&{paddingTop:16,paddingBottom:17},e.hiddenLabel&&e.size==="small"&&{paddingTop:8,paddingBottom:9}))}),C2e=be(hM,{name:"MuiFilledInput",slot:"Input",overridesResolver:fM})(({theme:t,ownerState:e})=>j({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},e.size==="small"&&{paddingTop:21,paddingBottom:4},e.hiddenLabel&&{paddingTop:16,paddingBottom:17},e.startAdornment&&{paddingLeft:0},e.endAdornment&&{paddingRight:0},e.hiddenLabel&&e.size==="small"&&{paddingTop:8,paddingBottom:9},e.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),$ne=k.forwardRef(function(e,n){var r,i,o,a;const s=qe({props:e,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:f="input",multiline:d=!1,slotProps:h,slots:p={},type:m="text"}=s,g=Ae(s,w2e),v=j({},s,{fullWidth:u,inputComponent:f,multiline:d,type:m}),y=S2e(s),x={root:{ownerState:v},input:{ownerState:v}},b=h??c?Ri(x,h??c):x,_=(r=(i=p.root)!=null?i:l.Root)!=null?r:O2e,S=(o=(a=p.input)!=null?a:l.Input)!=null?o:C2e;return w.jsx(Lj,j({slots:{root:_,input:S},componentsProps:b,fullWidth:u,inputComponent:f,multiline:d,ref:n,type:m},g,{classes:y}))});$ne.muiName="Input";const Nne=$ne;function T2e(t){return We("MuiFormControl",t)}Ve("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const E2e=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],P2e=t=>{const{classes:e,margin:n,fullWidth:r}=t,i={root:["root",n!=="none"&&`margin${De(n)}`,r&&"fullWidth"]};return Ue(i,T2e,e)},M2e=be("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},e)=>j({},e.root,e[`margin${De(t.margin)}`],t.fullWidth&&e.fullWidth)})(({ownerState:t})=>j({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},t.margin==="normal"&&{marginTop:16,marginBottom:8},t.margin==="dense"&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})),k2e=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:f=!1,hiddenLabel:d=!1,margin:h="none",required:p=!1,size:m="medium",variant:g="outlined"}=r,v=Ae(r,E2e),y=j({},r,{color:a,component:s,disabled:l,error:c,fullWidth:f,hiddenLabel:d,margin:h,required:p,size:m,variant:g}),x=P2e(y),[b,_]=k.useState(()=>{let R=!1;return i&&k.Children.forEach(i,T=>{if(!fx(T,["Input","Select"]))return;const D=fx(T,["Select"])?T.props.input:T;D&&wEe(D.props)&&(R=!0)}),R}),[S,O]=k.useState(()=>{let R=!1;return i&&k.Children.forEach(i,T=>{fx(T,["Input","Select"])&&(sT(T.props,!0)||sT(T.props.inputProps,!0))&&(R=!0)}),R}),[C,E]=k.useState(!1);l&&C&&E(!1);const M=u!==void 0&&!l?u:C;let I;const P=k.useMemo(()=>({adornedStart:b,setAdornedStart:_,color:a,disabled:l,error:c,filled:S,focused:M,fullWidth:f,hiddenLabel:d,size:m,onBlur:()=>{E(!1)},onEmpty:()=>{O(!1)},onFilled:()=>{O(!0)},onFocus:()=>{E(!0)},registerEffect:I,required:p,variant:g}),[b,a,l,c,S,M,f,d,I,p,m,g]);return w.jsx(cM.Provider,{value:P,children:w.jsx(M2e,j({as:s,ownerState:y,className:ke(x.root,o),ref:n},v,{children:i}))})}),jv=k2e,A2e=Bwe({createStyledComponent:be("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>qe({props:t,name:"MuiStack"})}),R2e=A2e;function I2e(t){return We("MuiFormControlLabel",t)}const D2e=Ve("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),$0=D2e,L2e=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],$2e=t=>{const{classes:e,disabled:n,labelPlacement:r,error:i,required:o}=t,a={root:["root",n&&"disabled",`labelPlacement${De(r)}`,i&&"error",o&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return Ue(a,I2e,e)},N2e=be("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${$0.label}`]:e.label},e.root,e[`labelPlacement${De(n.labelPlacement)}`]]}})(({theme:t,ownerState:e})=>j({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${$0.disabled}`]:{cursor:"default"}},e.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},e.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},e.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${$0.label}`]:{[`&.${$0.disabled}`]:{color:(t.vars||t).palette.text.disabled}}})),F2e=be("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(({theme:t})=>({[`&.${$0.error}`]:{color:(t.vars||t).palette.error.main}})),j2e=k.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:c,disableTypography:u,label:f,labelPlacement:d="end",required:h,slotProps:p={}}=o,m=Ae(o,L2e),g=Ql(),v=(r=c??l.props.disabled)!=null?r:g==null?void 0:g.disabled,y=h??l.props.required,x={disabled:v,required:y};["checked","name","onChange","value","inputRef"].forEach(E=>{typeof l.props[E]>"u"&&typeof o[E]<"u"&&(x[E]=o[E])});const b=nd({props:o,muiFormControl:g,states:["error"]}),_=j({},o,{disabled:v,labelPlacement:d,required:y,error:b.error}),S=$2e(_),O=(i=p.typography)!=null?i:s.typography;let C=f;return C!=null&&C.type!==zt&&!u&&(C=w.jsx(zt,j({component:"span"},O,{className:ke(S.label,O==null?void 0:O.className),children:C}))),w.jsxs(N2e,j({className:ke(S.root,a),ownerState:_,ref:n},m,{children:[k.cloneElement(l,x),y?w.jsxs(R2e,{display:"block",children:[C,w.jsxs(F2e,{ownerState:_,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):C]}))}),gx=j2e;function B2e(t){return We("MuiFormGroup",t)}Ve("MuiFormGroup",["root","row","error"]);const z2e=["className","row"],U2e=t=>{const{classes:e,row:n,error:r}=t;return Ue({root:["root",n&&"row",r&&"error"]},B2e,e)},W2e=be("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.row&&e.row]}})(({ownerState:t})=>j({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})),V2e=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormGroup"}),{className:i,row:o=!1}=r,a=Ae(r,z2e),s=Ql(),l=nd({props:r,muiFormControl:s,states:["error"]}),c=j({},r,{row:o,error:l.error}),u=U2e(c);return w.jsx(W2e,j({className:ke(u.root,i),ownerState:c,ref:n},a))}),G2e=V2e;function H2e(t){return We("MuiFormHelperText",t)}const q2e=Ve("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),PV=q2e;var MV;const X2e=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Q2e=t=>{const{classes:e,contained:n,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=t,c={root:["root",i&&"disabled",o&&"error",r&&`size${De(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Ue(c,H2e,e)},Y2e=be("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size&&e[`size${De(n.size)}`],n.contained&&e.contained,n.filled&&e.filled]}})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${PV.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${PV.error}`]:{color:(t.vars||t).palette.error.main}},e.size==="small"&&{marginTop:4},e.contained&&{marginLeft:14,marginRight:14})),K2e=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=r,s=Ae(r,X2e),l=Ql(),c=nd({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=j({},r,{component:a,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=Q2e(u);return w.jsx(Y2e,j({as:a,ownerState:u,className:ke(f.root,o),ref:n},s,{children:i===" "?MV||(MV=w.jsx("span",{className:"notranslate",children:"​"})):i}))}),Fne=K2e;function Z2e(t){return We("MuiFormLabel",t)}const J2e=Ve("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),vx=J2e,eke=["children","className","color","component","disabled","error","filled","focused","required"],tke=t=>{const{classes:e,color:n,focused:r,disabled:i,error:o,filled:a,required:s}=t,l={root:["root",`color${De(n)}`,i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Ue(l,Z2e,e)},nke=be("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},e)=>j({},e.root,t.color==="secondary"&&e.colorSecondary,t.filled&&e.filled)})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${vx.focused}`]:{color:(t.vars||t).palette[e.color].main},[`&.${vx.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${vx.error}`]:{color:(t.vars||t).palette.error.main}})),rke=be("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(({theme:t})=>({[`&.${vx.error}`]:{color:(t.vars||t).palette.error.main}})),ike=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=r,s=Ae(r,eke),l=Ql(),c=nd({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=j({},r,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=tke(u);return w.jsxs(nke,j({as:a,ownerState:u,className:ke(f.root,o),ref:n},s,{children:[i,c.required&&w.jsxs(rke,{ownerState:u,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),oke=ike,ake=k.createContext(),kV=ake;function ske(t){return We("MuiGrid",t)}const lke=[0,1,2,3,4,5,6,7,8,9,10],cke=["column-reverse","column","row-reverse","row"],uke=["nowrap","wrap-reverse","wrap"],Wy=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ub=Ve("MuiGrid",["root","container","item","zeroMinWidth",...lke.map(t=>`spacing-xs-${t}`),...cke.map(t=>`direction-xs-${t}`),...uke.map(t=>`wrap-xs-${t}`),...Wy.map(t=>`grid-xs-${t}`),...Wy.map(t=>`grid-sm-${t}`),...Wy.map(t=>`grid-md-${t}`),...Wy.map(t=>`grid-lg-${t}`),...Wy.map(t=>`grid-xl-${t}`)]),fke=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function ug(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function dke({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((r,i)=>{let o={};if(e[i]&&(n=e[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=yh({values:e.columns,breakpoints:t.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return r;const l=`${Math.round(n/s*1e8)/1e6}%`;let c={};if(e.container&&e.item&&e.columnSpacing!==0){const u=t.spacing(e.columnSpacing);if(u!=="0px"){const f=`calc(${l} + ${ug(u)})`;c={flexBasis:f,maxWidth:f}}}o=j({flexBasis:l,flexGrow:0,maxWidth:l},c)}return t.breakpoints.values[i]===0?Object.assign(r,o):r[t.breakpoints.up(i)]=o,r},{})}function hke({theme:t,ownerState:e}){const n=yh({values:e.direction,breakpoints:t.breakpoints.values});return zo({theme:t},n,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${ub.item}`]={maxWidth:"none"}),i})}function jne({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(i=>{n===""&&e[i]!==0&&(n=i)});const r=Object.keys(t).sort((i,o)=>t[i]-t[o]);return r.slice(0,r.indexOf(n))}function pke({theme:t,ownerState:e}){const{container:n,rowSpacing:r}=e;let i={};if(n&&r!==0){const o=yh({values:r,breakpoints:t.breakpoints.values});let a;typeof o=="object"&&(a=jne({breakpoints:t.breakpoints.values,values:o})),i=zo({theme:t},o,(s,l)=>{var c;const u=t.spacing(s);return u!=="0px"?{marginTop:`-${ug(u)}`,[`& > .${ub.item}`]:{paddingTop:ug(u)}}:(c=a)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${ub.item}`]:{paddingTop:0}}})}return i}function mke({theme:t,ownerState:e}){const{container:n,columnSpacing:r}=e;let i={};if(n&&r!==0){const o=yh({values:r,breakpoints:t.breakpoints.values});let a;typeof o=="object"&&(a=jne({breakpoints:t.breakpoints.values,values:o})),i=zo({theme:t},o,(s,l)=>{var c;const u=t.spacing(s);return u!=="0px"?{width:`calc(100% + ${ug(u)})`,marginLeft:`-${ug(u)}`,[`& > .${ub.item}`]:{paddingLeft:ug(u)}}:(c=a)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${ub.item}`]:{paddingLeft:0}}})}return i}function gke(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const r=[];return e.forEach(i=>{const o=t[i];Number(o)>0&&r.push(n[`spacing-${i}-${String(o)}`])}),r}const vke=be("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:r,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=gke(a,c,e));const f=[];return c.forEach(d=>{const h=n[d];h&&f.push(e[`grid-${d}-${String(h)}`])}),[e.root,r&&e.container,o&&e.item,l&&e.zeroMinWidth,...u,i!=="row"&&e[`direction-xs-${String(i)}`],s!=="wrap"&&e[`wrap-xs-${String(s)}`],...f]}})(({ownerState:t})=>j({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),hke,pke,mke,dke);function yke(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(r=>{const i=t[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;n.push(o)}}),n}const xke=t=>{const{classes:e,container:n,direction:r,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=t;let c=[];n&&(c=yke(o,l));const u=[];l.forEach(d=>{const h=t[d];h&&u.push(`grid-${d}-${String(h)}`)});const f={root:["root",n&&"container",i&&"item",s&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...u]};return Ue(f,ske,e)},bke=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiGrid"}),{breakpoints:i}=Wo(),o=n1(r),{className:a,columns:s,columnSpacing:l,component:c="div",container:u=!1,direction:f="row",item:d=!1,rowSpacing:h,spacing:p=0,wrap:m="wrap",zeroMinWidth:g=!1}=o,v=Ae(o,fke),y=h||p,x=l||p,b=k.useContext(kV),_=u?s||12:b,S={},O=j({},v);i.keys.forEach(M=>{v[M]!=null&&(S[M]=v[M],delete O[M])});const C=j({},o,{columns:_,container:u,direction:f,item:d,rowSpacing:y,columnSpacing:x,wrap:m,zeroMinWidth:g,spacing:p},S,{breakpoints:i.keys}),E=xke(C);return w.jsx(kV.Provider,{value:_,children:w.jsx(vke,j({ownerState:C,className:ke(E.root,a),as:c,ref:n},O))})}),iC=bke,_ke=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function oL(t){return`scale(${t}, ${t**2})`}const wke={entering:{opacity:1,transform:oL(1)},entered:{opacity:1,transform:"none"}},Xk=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Bne=k.forwardRef(function(e,n){const{addEndListener:r,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:f,onExited:d,onExiting:h,style:p,timeout:m="auto",TransitionComponent:g=l1}=e,v=Ae(e,_ke),y=sf(),x=k.useRef(),b=Wo(),_=k.useRef(null),S=Kt(_,o.ref,n),O=D=>U=>{if(D){const B=_.current;U===void 0?D(B):D(B,U)}},C=O(u),E=O((D,U)=>{Cj(D);const{duration:B,delay:W,easing:z}=zf({style:p,timeout:m,easing:a},{mode:"enter"});let $;m==="auto"?($=b.transitions.getAutoHeightDuration(D.clientHeight),x.current=$):$=B,D.style.transition=[b.transitions.create("opacity",{duration:$,delay:W}),b.transitions.create("transform",{duration:Xk?$:$*.666,delay:W,easing:z})].join(","),l&&l(D,U)}),M=O(c),I=O(h),P=O(D=>{const{duration:U,delay:B,easing:W}=zf({style:p,timeout:m,easing:a},{mode:"exit"});let z;m==="auto"?(z=b.transitions.getAutoHeightDuration(D.clientHeight),x.current=z):z=U,D.style.transition=[b.transitions.create("opacity",{duration:z,delay:B}),b.transitions.create("transform",{duration:Xk?z:z*.666,delay:Xk?B:B||z*.333,easing:W})].join(","),D.style.opacity=0,D.style.transform=oL(.75),f&&f(D)}),R=O(d),T=D=>{m==="auto"&&y.start(x.current||0,D),r&&r(_.current,D)};return w.jsx(g,j({appear:i,in:s,nodeRef:_,onEnter:E,onEntered:M,onEntering:C,onExit:P,onExited:R,onExiting:I,addEndListener:T,timeout:m==="auto"?null:m},v,{children:(D,U)=>k.cloneElement(o,j({style:j({opacity:0,transform:oL(.75),visibility:D==="exited"&&!s?"hidden":void 0},wke[D],p,o.props.style),ref:S},U))}))});Bne.muiSupportAuto=!0;const fb=Bne,Ske=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Oke=t=>{const{classes:e,disableUnderline:n}=t,i=Ue({root:["root",!n&&"underline"],input:["input"]},MEe,e);return j({},e,i)},Cke=be(dM,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...uM(t,e),!n.disableUnderline&&e.underline]}})(({theme:t,ownerState:e})=>{let r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(r=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),j({position:"relative"},e.formControl&&{"label + &":{marginTop:16}},!e.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[e.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Uy.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Uy.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Uy.disabled}, .${Uy.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Uy.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Tke=be(hM,{name:"MuiInput",slot:"Input",overridesResolver:fM})({}),zne=k.forwardRef(function(e,n){var r,i,o,a;const s=qe({props:e,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:f=!1,inputComponent:d="input",multiline:h=!1,slotProps:p,slots:m={},type:g="text"}=s,v=Ae(s,Ske),y=Oke(s),b={root:{ownerState:{disableUnderline:l}}},_=p??u?Ri(p??u,b):b,S=(r=(i=m.root)!=null?i:c.Root)!=null?r:Cke,O=(o=(a=m.input)!=null?a:c.Input)!=null?o:Tke;return w.jsx(Lj,j({slots:{root:S,input:O},slotProps:_,fullWidth:f,inputComponent:d,multiline:h,ref:n,type:g},v,{classes:y}))});zne.muiName="Input";const cp=zne;function Eke(t){return We("MuiInputAdornment",t)}const Pke=Ve("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),AV=Pke;var RV;const Mke=["children","className","component","disablePointerEvents","disableTypography","position","variant"],kke=(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${De(n.position)}`],n.disablePointerEvents===!0&&e.disablePointerEvents,e[n.variant]]},Ake=t=>{const{classes:e,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:a}=t,s={root:["root",n&&"disablePointerEvents",i&&`position${De(i)}`,a,r&&"hiddenLabel",o&&`size${De(o)}`]};return Ue(s,Eke,e)},Rke=be("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:kke})(({theme:t,ownerState:e})=>j({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},e.variant==="filled"&&{[`&.${AV.positionStart}&:not(.${AV.hiddenLabel})`]:{marginTop:16}},e.position==="start"&&{marginRight:8},e.position==="end"&&{marginLeft:8},e.disablePointerEvents===!0&&{pointerEvents:"none"})),Ike=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiInputAdornment"}),{children:i,className:o,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=r,f=Ae(r,Mke),d=Ql()||{};let h=u;u&&d.variant,d&&!h&&(h=d.variant);const p=j({},r,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:s,position:c,variant:h}),m=Ake(p);return w.jsx(cM.Provider,{value:null,children:w.jsx(Rke,j({as:a,ownerState:p,className:ke(m.root,o),ref:n},f,{children:typeof i=="string"&&!l?w.jsx(zt,{color:"text.secondary",children:i}):w.jsxs(k.Fragment,{children:[c==="start"?RV||(RV=w.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})}),Dke=Ike;function Lke(t){return We("MuiInputLabel",t)}Ve("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const $ke=["disableAnimation","margin","shrink","variant","className"],Nke=t=>{const{classes:e,formControl:n,size:r,shrink:i,disableAnimation:o,variant:a,required:s}=t,l={root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${De(r)}`,a],asterisk:[s&&"asterisk"]},c=Ue(l,Lke,e);return j({},e,c)},Fke=be(oke,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${vx.asterisk}`]:e.asterisk},e.root,n.formControl&&e.formControl,n.size==="small"&&e.sizeSmall,n.shrink&&e.shrink,!n.disableAnimation&&e.animated,n.focused&&e.focused,e[n.variant]]}})(({theme:t,ownerState:e})=>j({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},e.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},e.size==="small"&&{transform:"translate(0, 17px) scale(1)"},e.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!e.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},e.variant==="filled"&&j({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},e.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},e.shrink&&j({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},e.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),e.variant==="outlined"&&j({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},e.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},e.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),jke=k.forwardRef(function(e,n){const r=qe({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:o,className:a}=r,s=Ae(r,$ke),l=Ql();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=nd({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),f=j({},r,{disableAnimation:i,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),d=Nke(f);return w.jsx(Fke,j({"data-shrink":c,ownerState:f,ref:n,className:ke(d.root,a)},s,{classes:d}))}),Bv=jke;function Bke(t){return We("MuiLink",t)}const zke=Ve("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Uke=zke,Une={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Wke=t=>Une[t]||t,Vke=({theme:t,ownerState:e})=>{const n=Wke(e.color),r=Ig(t,`palette.${n}`,!1)||e.color,i=Ig(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:kt(r,.4)},Gke=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Hke=t=>{const{classes:e,component:n,focusVisible:r,underline:i}=t,o={root:["root",`underline${De(i)}`,n==="button"&&"button",r&&"focusVisible"]};return Ue(o,Bke,e)},qke=be(zt,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${De(n.underline)}`],n.component==="button"&&e.button]}})(({theme:t,ownerState:e})=>j({},e.underline==="none"&&{textDecoration:"none"},e.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},e.underline==="always"&&j({textDecoration:"underline"},e.color!=="inherit"&&{textDecorationColor:Vke({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),e.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Uke.focusVisible}`]:{outline:"auto"}})),Xke=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiLink"}),{className:i,color:o="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:f="inherit",sx:d}=r,h=Ae(r,Gke),{isFocusVisibleRef:p,onBlur:m,onFocus:g,ref:v}=i1(),[y,x]=k.useState(!1),b=Kt(n,v),_=E=>{m(E),p.current===!1&&x(!1),s&&s(E)},S=E=>{g(E),p.current===!0&&x(!0),l&&l(E)},O=j({},r,{color:o,component:a,focusVisible:y,underline:u,variant:f}),C=Hke(O);return w.jsx(qke,j({color:o,className:ke(C.root,i),classes:c,component:a,onBlur:_,onFocus:S,ref:b,ownerState:O,variant:f,sx:[...Object.keys(Une).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},h))}),Qke=Xke,Yke=k.createContext({}),js=Yke;function Kke(t){return We("MuiList",t)}Ve("MuiList",["root","padding","dense","subheader"]);const Zke=["children","className","component","dense","disablePadding","subheader"],Jke=t=>{const{classes:e,disablePadding:n,dense:r,subheader:i}=t;return Ue({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},Kke,e)},eAe=be("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>j({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),tAe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=r,u=Ae(r,Zke),f=k.useMemo(()=>({dense:s}),[s]),d=j({},r,{component:a,dense:s,disablePadding:l}),h=Jke(d);return w.jsx(js.Provider,{value:f,children:w.jsxs(eAe,j({as:a,className:ke(h.root,o),ref:n,ownerState:d},u,{children:[c,i]}))})}),gM=tAe;function nAe(t){return We("MuiListItem",t)}const rAe=Ve("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),bm=rAe;function iAe(t){return We("MuiListItemButton",t)}const oAe=Ve("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),_m=oAe,aAe=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],sAe=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]},lAe=t=>{const{alignItems:e,classes:n,dense:r,disabled:i,disableGutters:o,divider:a,selected:s}=t,c=Ue({root:["root",r&&"dense",!o&&"gutters",a&&"divider",i&&"disabled",e==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},iAe,n);return j({},n,c)},cAe=be(rs,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:sAe})(({theme:t,ownerState:e})=>j({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${_m.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${_m.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${_m.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${_m.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${_m.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.alignItems==="flex-start"&&{alignItems:"flex-start"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.dense&&{paddingTop:4,paddingBottom:4})),uAe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:a="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:f,selected:d=!1,className:h}=r,p=Ae(r,aAe),m=k.useContext(js),g=k.useMemo(()=>({dense:l||m.dense||!1,alignItems:i,disableGutters:c}),[i,m.dense,l,c]),v=k.useRef(null);Ur(()=>{o&&v.current&&v.current.focus()},[o]);const y=j({},r,{alignItems:i,dense:g.dense,disableGutters:c,divider:u,selected:d}),x=lAe(y),b=Kt(v,n);return w.jsx(js.Provider,{value:g,children:w.jsx(cAe,j({ref:b,href:p.href||p.to,component:(p.href||p.to)&&a==="div"?"button":a,focusVisibleClassName:ke(x.focusVisible,f),ownerState:y,className:ke(x.root,h)},p,{classes:x,children:s}))})}),Wne=uAe;function fAe(t){return We("MuiListItemSecondaryAction",t)}Ve("MuiListItemSecondaryAction",["root","disableGutters"]);const dAe=["className"],hAe=t=>{const{disableGutters:e,classes:n}=t;return Ue({root:["root",e&&"disableGutters"]},fAe,n)},pAe=be("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>j({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),Vne=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemSecondaryAction"}),{className:i}=r,o=Ae(r,dAe),a=k.useContext(js),s=j({},r,{disableGutters:a.disableGutters}),l=hAe(s);return w.jsx(pAe,j({className:ke(l.root,i),ownerState:s,ref:n},o))});Vne.muiName="ListItemSecondaryAction";const lT=Vne,mAe=["className"],gAe=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],vAe=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},yAe=t=>{const{alignItems:e,button:n,classes:r,dense:i,disabled:o,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=t;return Ue({root:["root",i&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",o&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},nAe,r)},xAe=be("div",{name:"MuiListItem",slot:"Root",overridesResolver:vAe})(({theme:t,ownerState:e})=>j({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&j({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${_m.root}`]:{paddingRight:48}},{[`&.${bm.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${bm.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${bm.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${bm.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${bm.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),bAe=be("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),_Ae=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItem"}),{alignItems:i="center",autoFocus:o=!1,button:a=!1,children:s,className:l,component:c,components:u={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:h}={},dense:p=!1,disabled:m=!1,disableGutters:g=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:x,secondaryAction:b,selected:_=!1,slotProps:S={},slots:O={}}=r,C=Ae(r.ContainerProps,mAe),E=Ae(r,gAe),M=k.useContext(js),I=k.useMemo(()=>({dense:p||M.dense||!1,alignItems:i,disableGutters:g}),[i,M.dense,p,g]),P=k.useRef(null);Ur(()=>{o&&P.current&&P.current.focus()},[o]);const R=k.Children.toArray(s),T=R.length&&fx(R[R.length-1],["ListItemSecondaryAction"]),D=j({},r,{alignItems:i,autoFocus:o,button:a,dense:I.dense,disabled:m,disableGutters:g,disablePadding:v,divider:y,hasSecondaryAction:T,selected:_}),U=yAe(D),B=Kt(P,n),W=O.root||u.Root||xAe,z=S.root||f.root||{},$=j({className:ke(U.root,z.className,l),disabled:m},E);let N=c||"li";return a&&($.component=c||"div",$.focusVisibleClassName=ke(bm.focusVisible,x),N=rs),T?(N=!$.component&&!c?"div":N,d==="li"&&(N==="li"?N="div":$.component==="li"&&($.component="div")),w.jsx(js.Provider,{value:I,children:w.jsxs(bAe,j({as:d,className:ke(U.container,h),ref:B,ownerState:D},C,{children:[w.jsx(W,j({},z,!Il(W)&&{as:N,ownerState:j({},D,z.ownerState)},$,{children:R})),R.pop()]}))})):w.jsx(js.Provider,{value:I,children:w.jsxs(W,j({},z,{as:N,ref:B},!Il(W)&&{ownerState:j({},D,z.ownerState)},$,{children:[R,b&&w.jsx(lT,{children:b})]}))})}),yx=_Ae;function wAe(t){return We("MuiListItemIcon",t)}const SAe=Ve("MuiListItemIcon",["root","alignItemsFlexStart"]),IV=SAe,OAe=["className"],CAe=t=>{const{alignItems:e,classes:n}=t;return Ue({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},wAe,n)},TAe=be("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(({theme:t,ownerState:e})=>j({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},e.alignItems==="flex-start"&&{marginTop:8})),EAe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemIcon"}),{className:i}=r,o=Ae(r,OAe),a=k.useContext(js),s=j({},r,{alignItems:a.alignItems}),l=CAe(s);return w.jsx(TAe,j({className:ke(l.root,i),ownerState:s,ref:n},o))}),Gne=EAe;function PAe(t){return We("MuiListItemText",t)}const MAe=Ve("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),cT=MAe,kAe=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],AAe=t=>{const{classes:e,inset:n,primary:r,secondary:i,dense:o}=t;return Ue({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},PAe,e)},RAe=be("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${cT.primary}`]:e.primary},{[`& .${cT.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})(({ownerState:t})=>j({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),IAe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:f}=r,d=Ae(r,kAe),{dense:h}=k.useContext(js);let p=l??i,m=u;const g=j({},r,{disableTypography:a,inset:s,primary:!!p,secondary:!!m,dense:h}),v=AAe(g);return p!=null&&p.type!==zt&&!a&&(p=w.jsx(zt,j({variant:h?"body2":"body1",className:v.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:p}))),m!=null&&m.type!==zt&&!a&&(m=w.jsx(zt,j({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},f,{children:m}))),w.jsxs(RAe,j({className:ke(v.root,o),ownerState:g,ref:n},d,{children:[p,m]}))}),qa=IAe,DAe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Qk(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function DV(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function Hne(t,e){if(e===void 0)return!0;let n=t.innerText;return n===void 0&&(n=t.textContent),n=n.trim().toLowerCase(),n.length===0?!1:e.repeating?n[0]===e.keys[0]:n.indexOf(e.keys.join(""))===0}function Vy(t,e,n,r,i,o){let a=!1,s=i(t,e,e?n:!1);for(;s;){if(s===t.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!Hne(s,o)||l)s=i(t,s,n);else return s.focus(),!0}return!1}const LAe=k.forwardRef(function(e,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:f="selectedMenu"}=e,d=Ae(e,DAe),h=k.useRef(null),p=k.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ur(()=>{i&&h.current.focus()},[i]),k.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(x,{direction:b})=>{const _=!h.current.style.width;if(x.clientHeight{const b=h.current,_=x.key,S=Dn(b).activeElement;if(_==="ArrowDown")x.preventDefault(),Vy(b,S,c,l,Qk);else if(_==="ArrowUp")x.preventDefault(),Vy(b,S,c,l,DV);else if(_==="Home")x.preventDefault(),Vy(b,null,c,l,Qk);else if(_==="End")x.preventDefault(),Vy(b,null,c,l,DV);else if(_.length===1){const O=p.current,C=_.toLowerCase(),E=performance.now();O.keys.length>0&&(E-O.lastTime>500?(O.keys=[],O.repeating=!0,O.previousKeyMatched=!0):O.repeating&&C!==O.keys[0]&&(O.repeating=!1)),O.lastTime=E,O.keys.push(C);const M=S&&!O.repeating&&Hne(S,O);O.previousKeyMatched&&(M||Vy(b,S,!1,l,Qk,O))?x.preventDefault():O.previousKeyMatched=!1}u&&u(x)},g=Kt(h,n);let v=-1;k.Children.forEach(a,(x,b)=>{if(!k.isValidElement(x)){v===b&&(v+=1,v>=a.length&&(v=-1));return}x.props.disabled||(f==="selectedMenu"&&x.props.selected||v===-1)&&(v=b),v===b&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(v+=1,v>=a.length&&(v=-1))});const y=k.Children.map(a,(x,b)=>{if(b===v){const _={};return o&&(_.autoFocus=!0),x.props.tabIndex===void 0&&f==="selectedMenu"&&(_.tabIndex=0),k.cloneElement(x,_)}return x});return w.jsx(gM,j({role:"menu",ref:g,className:s,onKeyDown:m,tabIndex:i?0:-1},d,{children:y}))}),qne=LAe;function $Ae(t){return We("MuiPopover",t)}Ve("MuiPopover",["root","paper"]);const NAe=["onEntering"],FAe=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],jAe=["slotProps"];function LV(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.height/2:e==="bottom"&&(n=t.height),n}function $V(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.width/2:e==="right"&&(n=t.width),n}function NV(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function Yk(t){return typeof t=="function"?t():t}const BAe=t=>{const{classes:e}=t;return Ue({root:["root"],paper:["paper"]},$Ae,e)},zAe=be(Ine,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Xne=be(Di,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),UAe=k.forwardRef(function(e,n){var r,i,o;const a=qe({props:e,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:d,className:h,container:p,elevation:m=8,marginThreshold:g=16,open:v,PaperProps:y={},slots:x,slotProps:b,transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:S=fb,transitionDuration:O="auto",TransitionProps:{onEntering:C}={},disableScrollLock:E=!1}=a,M=Ae(a.TransitionProps,NAe),I=Ae(a,FAe),P=(r=b==null?void 0:b.paper)!=null?r:y,R=k.useRef(),T=Kt(R,P.ref),D=j({},a,{anchorOrigin:c,anchorReference:f,elevation:m,marginThreshold:g,externalPaperSlotProps:P,transformOrigin:_,TransitionComponent:S,transitionDuration:O,TransitionProps:M}),U=BAe(D),B=k.useCallback(()=>{if(f==="anchorPosition")return u;const ve=Yk(l),ce=(ve&&ve.nodeType===1?ve:Dn(R.current).body).getBoundingClientRect();return{top:ce.top+LV(ce,c.vertical),left:ce.left+$V(ce,c.horizontal)}},[l,c.horizontal,c.vertical,u,f]),W=k.useCallback(ve=>({vertical:LV(ve,_.vertical),horizontal:$V(ve,_.horizontal)}),[_.horizontal,_.vertical]),z=k.useCallback(ve=>{const F={width:ve.offsetWidth,height:ve.offsetHeight},ce=W(F);if(f==="none")return{top:null,left:null,transformOrigin:NV(ce)};const le=B();let Q=le.top-ce.vertical,X=le.left-ce.horizontal;const J=Q+F.height,ge=X+F.width,ye=ts(Yk(l)),V=ye.innerHeight-g,H=ye.innerWidth-g;if(g!==null&&QV){const re=J-V;Q-=re,ce.vertical+=re}if(g!==null&&XH){const re=ge-H;X-=re,ce.horizontal+=re}return{top:`${Math.round(Q)}px`,left:`${Math.round(X)}px`,transformOrigin:NV(ce)}},[l,f,B,W,g]),[$,N]=k.useState(v),L=k.useCallback(()=>{const ve=R.current;if(!ve)return;const F=z(ve);F.top!==null&&(ve.style.top=F.top),F.left!==null&&(ve.style.left=F.left),ve.style.transformOrigin=F.transformOrigin,N(!0)},[z]);k.useEffect(()=>(E&&window.addEventListener("scroll",L),()=>window.removeEventListener("scroll",L)),[l,E,L]);const A=(ve,F)=>{C&&C(ve,F),L()},q=()=>{N(!1)};k.useEffect(()=>{v&&L()}),k.useImperativeHandle(s,()=>v?{updatePosition:()=>{L()}}:null,[v,L]),k.useEffect(()=>{if(!v)return;const ve=Lv(()=>{L()}),F=ts(l);return F.addEventListener("resize",ve),()=>{ve.clear(),F.removeEventListener("resize",ve)}},[l,v,L]);let Y=O;O==="auto"&&!S.muiSupportAuto&&(Y=void 0);const K=p||(l?Dn(Yk(l)).body:void 0),se=(i=x==null?void 0:x.root)!=null?i:zAe,ee=(o=x==null?void 0:x.paper)!=null?o:Xne,te=Dr({elementType:ee,externalSlotProps:j({},P,{style:$?P.style:j({},P.style,{opacity:0})}),additionalProps:{elevation:m,ref:T},ownerState:D,className:ke(U.paper,P==null?void 0:P.className)}),de=Dr({elementType:se,externalSlotProps:(b==null?void 0:b.root)||{},externalForwardedProps:I,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:K,open:v},ownerState:D,className:ke(U.root,h)}),{slotProps:xe}=de,ie=Ae(de,jAe);return w.jsx(se,j({},ie,!Il(se)&&{slotProps:xe,disableScrollLock:E},{children:w.jsx(S,j({appear:!0,in:v,onEntering:A,onExited:q,timeout:Y},M,{children:w.jsx(ee,j({},te,{children:d}))}))}))}),zv=UAe;function WAe(t){return We("MuiMenu",t)}Ve("MuiMenu",["root","paper","list"]);const VAe=["onEntering"],GAe=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],HAe={vertical:"top",horizontal:"right"},qAe={vertical:"top",horizontal:"left"},XAe=t=>{const{classes:e}=t;return Ue({root:["root"],paper:["paper"],list:["list"]},WAe,e)},QAe=be(zv,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),YAe=be(Xne,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),KAe=be(qne,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0}),ZAe=k.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:f,open:d,PaperProps:h={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:g}={},variant:v="selectedMenu",slots:y={},slotProps:x={}}=o,b=Ae(o.TransitionProps,VAe),_=Ae(o,GAe),S=o1(),O=j({},o,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:g,PaperProps:h,transitionDuration:m,TransitionProps:b,variant:v}),C=XAe(O),E=a&&!c&&d,M=k.useRef(null),I=(W,z)=>{M.current&&M.current.adjustStyleForScrollbar(W,{direction:S?"rtl":"ltr"}),g&&g(W,z)},P=W=>{W.key==="Tab"&&(W.preventDefault(),f&&f(W,"tabKeyDown"))};let R=-1;k.Children.map(s,(W,z)=>{k.isValidElement(W)&&(W.props.disabled||(v==="selectedMenu"&&W.props.selected||R===-1)&&(R=z))});const T=(r=y.paper)!=null?r:YAe,D=(i=x.paper)!=null?i:h,U=Dr({elementType:y.root,externalSlotProps:x.root,ownerState:O,className:[C.root,l]}),B=Dr({elementType:T,externalSlotProps:D,ownerState:O,className:C.paper});return w.jsx(QAe,j({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?HAe:qAe,slots:{paper:T,root:y.root},slotProps:{root:U,paper:B},open:d,ref:n,transitionDuration:m,TransitionProps:j({onEntering:I},b),ownerState:O},_,{classes:p,children:w.jsx(KAe,j({onKeyDown:P,actions:M,autoFocus:a&&(R===-1||c),autoFocusItem:E,variant:v},u,{className:ke(C.list,u.className),children:s}))}))}),f1=ZAe;function JAe(t){return We("MuiMenuItem",t)}const eRe=Ve("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Gy=eRe,tRe=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],nRe=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.divider&&e.divider,!n.disableGutters&&e.gutters]},rRe=t=>{const{disabled:e,dense:n,divider:r,disableGutters:i,selected:o,classes:a}=t,l=Ue({root:["root",n&&"dense",e&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},JAe,a);return j({},a,l)},iRe=be(rs,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:nRe})(({theme:t,ownerState:e})=>j({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Gy.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Gy.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Gy.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${Gy.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Gy.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${EV.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${EV.inset}`]:{marginLeft:52},[`& .${cT.root}`]:{marginTop:0,marginBottom:0},[`& .${cT.inset}`]:{paddingLeft:36},[`& .${IV.root}`]:{minWidth:36}},!e.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},e.dense&&j({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${IV.root} svg`]:{fontSize:"1.25rem"}}))),oRe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:f,className:d}=r,h=Ae(r,tRe),p=k.useContext(js),m=k.useMemo(()=>({dense:a||p.dense||!1,disableGutters:l}),[p.dense,a,l]),g=k.useRef(null);Ur(()=>{i&&g.current&&g.current.focus()},[i]);const v=j({},r,{dense:m.dense,divider:s,disableGutters:l}),y=rRe(r),x=Kt(g,n);let b;return r.disabled||(b=f!==void 0?f:-1),w.jsx(js.Provider,{value:m,children:w.jsx(iRe,j({ref:x,role:u,tabIndex:b,component:o,focusVisibleClassName:ke(y.focusVisible,c),className:ke(y.root,d)},h,{ownerState:v,classes:y}))})}),Yr=oRe;function aRe(t){return We("MuiNativeSelect",t)}const sRe=Ve("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Nj=sRe,lRe=["className","disabled","error","IconComponent","inputRef","variant"],cRe=t=>{const{classes:e,variant:n,disabled:r,multiple:i,open:o,error:a}=t,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${De(n)}`,o&&"iconOpen",r&&"disabled"]};return Ue(s,aRe,e)},Qne=({ownerState:t,theme:e})=>j({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":j({},e.vars?{backgroundColor:`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:e.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Nj.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},t.variant==="filled"&&{"&&&":{paddingRight:32}},t.variant==="outlined"&&{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}),uRe=be("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:di,overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.select,e[n.variant],n.error&&e.error,{[`&.${Nj.multiple}`]:e.multiple}]}})(Qne),Yne=({ownerState:t,theme:e})=>j({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Nj.disabled}`]:{color:(e.vars||e).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},t.variant==="filled"&&{right:7},t.variant==="outlined"&&{right:7}),fRe=be("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${De(n.variant)}`],n.open&&e.iconOpen]}})(Yne),dRe=k.forwardRef(function(e,n){const{className:r,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=e,c=Ae(e,lRe),u=j({},e,{disabled:i,variant:l,error:o}),f=cRe(u);return w.jsxs(k.Fragment,{children:[w.jsx(uRe,j({ownerState:u,className:ke(f.select,r),disabled:i,ref:s||n},c)),e.multiple?null:w.jsx(fRe,{as:a,ownerState:u,className:f.icon})]})}),hRe=dRe;var FV;const pRe=["children","classes","className","label","notched"],mRe=be("fieldset",{shouldForwardProp:di})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),gRe=be("legend",{shouldForwardProp:di})(({ownerState:t,theme:e})=>j({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},t.withLabel&&j({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})})));function vRe(t){const{className:e,label:n,notched:r}=t,i=Ae(t,pRe),o=n!=null&&n!=="",a=j({},t,{notched:r,withLabel:o});return w.jsx(mRe,j({"aria-hidden":!0,className:e,ownerState:a},i,{children:w.jsx(gRe,{ownerState:a,children:o?w.jsx("span",{children:n}):FV||(FV=w.jsx("span",{className:"notranslate",children:"​"}))})}))}const yRe=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],xRe=t=>{const{classes:e}=t,r=Ue({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},AEe,e);return j({},e,r)},bRe=be(dM,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:uM})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return j({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${vu.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${vu.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${vu.focused} .${vu.notchedOutline}`]:{borderColor:(t.vars||t).palette[e.color].main,borderWidth:2},[`&.${vu.error} .${vu.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${vu.disabled} .${vu.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},e.startAdornment&&{paddingLeft:14},e.endAdornment&&{paddingRight:14},e.multiline&&j({padding:"16.5px 14px"},e.size==="small"&&{padding:"8.5px 14px"}))}),_Re=be(vRe,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}}),wRe=be(hM,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:fM})(({theme:t,ownerState:e})=>j({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},e.size==="small"&&{padding:"8.5px 14px"},e.multiline&&{padding:0},e.startAdornment&&{paddingLeft:0},e.endAdornment&&{paddingRight:0})),Kne=k.forwardRef(function(e,n){var r,i,o,a,s;const l=qe({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:f="input",label:d,multiline:h=!1,notched:p,slots:m={},type:g="text"}=l,v=Ae(l,yRe),y=xRe(l),x=Ql(),b=nd({props:l,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),_=j({},l,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:x,fullWidth:u,hiddenLabel:b.hiddenLabel,multiline:h,size:b.size,type:g}),S=(r=(i=m.root)!=null?i:c.Root)!=null?r:bRe,O=(o=(a=m.input)!=null?a:c.Input)!=null?o:wRe;return w.jsx(Lj,j({slots:{root:S,input:O},renderSuffix:C=>w.jsx(_Re,{ownerState:_,className:y.notchedOutline,label:d!=null&&d!==""&&b.required?s||(s=w.jsxs(k.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:u,inputComponent:f,multiline:h,ref:n,type:g},v,{classes:j({},y,{notchedOutline:null})}))});Kne.muiName="Input";const Zne=Kne,SRe=Jr(w.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),ORe=Jr(w.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),CRe=be("span",{shouldForwardProp:di})({position:"relative",display:"flex"}),TRe=be(SRe)({transform:"scale(1)"}),ERe=be(ORe)(({theme:t,ownerState:e})=>j({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},e.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}));function Jne(t){const{checked:e=!1,classes:n={},fontSize:r}=t,i=j({},t,{checked:e});return w.jsxs(CRe,{className:n.root,ownerState:i,children:[w.jsx(TRe,{fontSize:r,className:n.background,ownerState:i}),w.jsx(ERe,{fontSize:r,className:n.dot,ownerState:i})]})}const PRe=k.createContext(void 0),ere=PRe;function MRe(){return k.useContext(ere)}function kRe(t){return We("MuiRadio",t)}const jV=Ve("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),ARe=["checked","checkedIcon","color","icon","name","onChange","size","className"],RRe=t=>{const{classes:e,color:n,size:r}=t,i={root:["root",`color${De(n)}`,r!=="medium"&&`size${De(r)}`]};return j({},e,Ue(i,kRe,e))},IRe=be($j,{shouldForwardProp:t=>di(t)||t==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size!=="medium"&&e[`size${De(n.size)}`],e[`color${De(n.color)}`]]}})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${e.color==="default"?t.vars.palette.action.activeChannel:t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(e.color==="default"?t.palette.action.active:t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.color!=="default"&&{[`&.${jV.checked}`]:{color:(t.vars||t).palette[e.color].main}},{[`&.${jV.disabled}`]:{color:(t.vars||t).palette.action.disabled}}));function DRe(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}const BV=w.jsx(Jne,{checked:!0}),zV=w.jsx(Jne,{}),LRe=k.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:s=BV,color:l="primary",icon:c=zV,name:u,onChange:f,size:d="medium",className:h}=o,p=Ae(o,ARe),m=j({},o,{color:l,size:d}),g=RRe(m),v=MRe();let y=a;const x=eT(f,v&&v.onChange);let b=u;return v&&(typeof y>"u"&&(y=DRe(v.value,o.value)),typeof b>"u"&&(b=v.name)),w.jsx(IRe,j({type:"radio",icon:k.cloneElement(c,{fontSize:(r=zV.props.fontSize)!=null?r:d}),checkedIcon:k.cloneElement(s,{fontSize:(i=BV.props.fontSize)!=null?i:d}),ownerState:m,classes:g,name:b,checked:y,onChange:x,ref:n,className:ke(g.root,h)},p))}),xx=LRe;function $Re(t){return We("MuiRadioGroup",t)}Ve("MuiRadioGroup",["root","row","error"]);const NRe=["actions","children","className","defaultValue","name","onChange","value"],FRe=t=>{const{classes:e,row:n,error:r}=t;return Ue({root:["root",n&&"row",r&&"error"]},$Re,e)},jRe=k.forwardRef(function(e,n){const{actions:r,children:i,className:o,defaultValue:a,name:s,onChange:l,value:c}=e,u=Ae(e,NRe),f=k.useRef(null),d=FRe(e),[h,p]=Bs({controlled:c,default:a,name:"RadioGroup"});k.useImperativeHandle(r,()=>({focus:()=>{let y=f.current.querySelector("input:not(:disabled):checked");y||(y=f.current.querySelector("input:not(:disabled)")),y&&y.focus()}}),[]);const m=Kt(n,f),g=ed(s),v=k.useMemo(()=>({name:g,onChange(y){p(y.target.value),l&&l(y,y.target.value)},value:h}),[g,l,p,h]);return w.jsx(ere.Provider,{value:v,children:w.jsx(G2e,j({role:"radiogroup",ref:m,className:ke(d.root,o)},u,{children:i}))})}),Fj=jRe;function BRe(t){return We("MuiSelect",t)}const Hy=Ve("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var UV;const zRe=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],URe=be("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`&.${Hy.select}`]:e.select},{[`&.${Hy.select}`]:e[n.variant]},{[`&.${Hy.error}`]:e.error},{[`&.${Hy.multiple}`]:e.multiple}]}})(Qne,{[`&.${Hy.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),WRe=be("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${De(n.variant)}`],n.open&&e.iconOpen]}})(Yne),VRe=be("input",{shouldForwardProp:t=>aM(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function WV(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}function GRe(t){return t==null||typeof t=="string"&&!t.trim()}const HRe=t=>{const{classes:e,variant:n,disabled:r,multiple:i,open:o,error:a}=t,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${De(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ue(s,BRe,e)},qRe=k.forwardRef(function(e,n){var r;const{"aria-describedby":i,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:f,disabled:d,displayEmpty:h,error:p=!1,IconComponent:m,inputRef:g,labelId:v,MenuProps:y={},multiple:x,name:b,onBlur:_,onChange:S,onClose:O,onFocus:C,onOpen:E,open:M,readOnly:I,renderValue:P,SelectDisplayProps:R={},tabIndex:T,value:D,variant:U="standard"}=e,B=Ae(e,zRe),[W,z]=Bs({controlled:D,default:f,name:"Select"}),[$,N]=Bs({controlled:M,default:u,name:"Select"}),L=k.useRef(null),A=k.useRef(null),[q,Y]=k.useState(null),{current:K}=k.useRef(M!=null),[se,ee]=k.useState(),te=Kt(n,g),de=k.useCallback(me=>{A.current=me,me&&Y(me)},[]),xe=q==null?void 0:q.parentNode;k.useImperativeHandle(te,()=>({focus:()=>{A.current.focus()},node:L.current,value:W}),[W]),k.useEffect(()=>{u&&$&&q&&!K&&(ee(s?null:xe.clientWidth),A.current.focus())},[q,s]),k.useEffect(()=>{a&&A.current.focus()},[a]),k.useEffect(()=>{if(!v)return;const me=Dn(A.current).getElementById(v);if(me){const Fe=()=>{getSelection().isCollapsed&&A.current.focus()};return me.addEventListener("click",Fe),()=>{me.removeEventListener("click",Fe)}}},[v]);const ie=(me,Fe)=>{me?E&&E(Fe):O&&O(Fe),K||(ee(s?null:xe.clientWidth),N(me))},ve=me=>{me.button===0&&(me.preventDefault(),A.current.focus(),ie(!0,me))},F=me=>{ie(!1,me)},ce=k.Children.toArray(l),le=me=>{const Fe=ce.find(Pe=>Pe.props.value===me.target.value);Fe!==void 0&&(z(Fe.props.value),S&&S(me,Fe))},Q=me=>Fe=>{let Pe;if(Fe.currentTarget.hasAttribute("tabindex")){if(x){Pe=Array.isArray(W)?W.slice():[];const Re=W.indexOf(me.props.value);Re===-1?Pe.push(me.props.value):Pe.splice(Re,1)}else Pe=me.props.value;if(me.props.onClick&&me.props.onClick(Fe),W!==Pe&&(z(Pe),S)){const Re=Fe.nativeEvent||Fe,ae=new Re.constructor(Re.type,Re);Object.defineProperty(ae,"target",{writable:!0,value:{value:Pe,name:b}}),S(ae,me)}x||ie(!1,Fe)}},X=me=>{I||[" ","ArrowUp","ArrowDown","Enter"].indexOf(me.key)!==-1&&(me.preventDefault(),ie(!0,me))},J=q!==null&&$,ge=me=>{!J&&_&&(Object.defineProperty(me,"target",{writable:!0,value:{value:W,name:b}}),_(me))};delete B["aria-invalid"];let ye,V;const H=[];let re=!1;(sT({value:W})||h)&&(P?ye=P(W):re=!0);const he=ce.map(me=>{if(!k.isValidElement(me))return null;let Fe;if(x){if(!Array.isArray(W))throw new Error(eu(2));Fe=W.some(Pe=>WV(Pe,me.props.value)),Fe&&re&&H.push(me.props.children)}else Fe=WV(W,me.props.value),Fe&&re&&(V=me.props.children);return k.cloneElement(me,{"aria-selected":Fe?"true":"false",onClick:Q(me),onKeyUp:Pe=>{Pe.key===" "&&Pe.preventDefault(),me.props.onKeyUp&&me.props.onKeyUp(Pe)},role:"option",selected:Fe,value:void 0,"data-value":me.props.value})});re&&(x?H.length===0?ye=null:ye=H.reduce((me,Fe,Pe)=>(me.push(Fe),Pe{const{classes:e}=t;return e},jj={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>di(t)&&t!=="variant",slot:"Root"},ZRe=be(cp,jj)(""),JRe=be(Zne,jj)(""),eIe=be(Nne,jj)(""),tre=k.forwardRef(function(e,n){const r=qe({name:"MuiSelect",props:e}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=LEe,id:f,input:d,inputProps:h,label:p,labelId:m,MenuProps:g,multiple:v=!1,native:y=!1,onClose:x,onOpen:b,open:_,renderValue:S,SelectDisplayProps:O,variant:C="outlined"}=r,E=Ae(r,QRe),M=y?hRe:XRe,I=Ql(),P=nd({props:r,muiFormControl:I,states:["variant","error"]}),R=P.variant||C,T=j({},r,{variant:R,classes:a}),D=KRe(T),U=Ae(D,YRe),B=d||{standard:w.jsx(ZRe,{ownerState:T}),outlined:w.jsx(JRe,{label:p,ownerState:T}),filled:w.jsx(eIe,{ownerState:T})}[R],W=Kt(n,B.ref);return w.jsx(k.Fragment,{children:k.cloneElement(B,j({inputComponent:M,inputProps:j({children:o,error:P.error,IconComponent:u,variant:R,type:void 0,multiple:v},y?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:g,onClose:x,onOpen:b,open:_,renderValue:S,SelectDisplayProps:j({id:f},O)},h,{classes:h?Ri(U,h.classes):U},d?d.props.inputProps:{})},(v&&y||c)&&R==="outlined"?{notched:!0}:{},{ref:W,className:ke(B.props.className,s,D.root)},!d&&{variant:R},E))})});tre.muiName="Select";const up=tre,tIe=t=>!t||!Il(t);function nIe(t){return We("MuiSlider",t)}const rIe=Ve("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),za=rIe,iIe=t=>{const{open:e}=t;return{offset:ke(e&&za.valueLabelOpen),circle:za.valueLabelCircle,label:za.valueLabelLabel}};function oIe(t){const{children:e,className:n,value:r}=t,i=iIe(t);return e?k.cloneElement(e,{className:ke(e.props.className)},w.jsxs(k.Fragment,{children:[e.props.children,w.jsx("span",{className:ke(i.offset,n),"aria-hidden":!0,children:w.jsx("span",{className:i.circle,children:w.jsx("span",{className:i.label,children:r})})})]})):null}const aIe=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"],sIe=bj();function VV(t){return t}const lIe=be("span",{name:"MuiSlider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${De(n.color)}`],n.size!=="medium"&&e[`size${De(n.size)}`],n.marked&&e.marked,n.orientation==="vertical"&&e.vertical,n.track==="inverted"&&e.trackInverted,n.track===!1&&e.trackFalse]}})(({theme:t})=>{var e;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${za.disabled}`]:{pointerEvents:"none",cursor:"default",color:(t.vars||t).palette.grey[400]},[`&.${za.dragging}`]:{[`& .${za.thumb}, & .${za.track}`]:{transition:"none"}},variants:[...Object.keys(((e=t.vars)!=null?e:t).palette).filter(n=>{var r;return((r=t.vars)!=null?r:t).palette[n].main}).map(n=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),cIe=be("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(t,e)=>e.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),uIe=be("span",{name:"MuiSlider",slot:"Track",overridesResolver:(t,e)=>e.track})(({theme:t})=>{var e;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((e=t.vars)!=null?e:t).palette).filter(n=>{var r;return((r=t.vars)!=null?r:t).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:j({},t.vars?{backgroundColor:t.vars.palette.Slider[`${n}Track`],borderColor:t.vars.palette.Slider[`${n}Track`]}:j({backgroundColor:sb(t.palette[n].main,.62),borderColor:sb(t.palette[n].main,.62)},t.applyStyles("dark",{backgroundColor:ab(t.palette[n].main,.5)}),t.applyStyles("dark",{borderColor:ab(t.palette[n].main,.5)})))}))]}}),fIe=be("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.thumb,e[`thumbColor${De(n.color)}`],n.size!=="medium"&&e[`thumbSize${De(n.size)}`]]}})(({theme:t})=>{var e;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(t.vars||t).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${za.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[...Object.keys(((e=t.vars)!=null?e:t).palette).filter(n=>{var r;return((r=t.vars)!=null?r:t).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${za.focusVisible}`]:j({},t.vars?{boxShadow:`0px 0px 0px 8px rgba(${t.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${kt(t.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${za.active}`]:j({},t.vars?{boxShadow:`0px 0px 0px 14px rgba(${t.vars.palette[n].mainChannel} / 0.16)}`}:{boxShadow:`0px 0px 0px 14px ${kt(t.palette[n].main,.16)}`})}})),{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}}]}}),dIe=be(oIe,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(t,e)=>e.valueLabel})(({theme:t})=>j({zIndex:1,whiteSpace:"nowrap"},t.typography.body2,{fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),position:"absolute",backgroundColor:(t.vars||t).palette.grey[600],borderRadius:2,color:(t.vars||t).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${za.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${za.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),hIe=be("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:t=>aM(t)&&t!=="markActive",overridesResolver:(t,e)=>{const{markActive:n}=t;return[e.mark,n&&e.markActive]}})(({theme:t})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8}}]})),pIe=be("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:t=>aM(t)&&t!=="markLabelActive",overridesResolver:(t,e)=>e.markLabel})(({theme:t})=>j({},t.typography.body2,{color:(t.vars||t).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(t.vars||t).palette.text.primary}}]})),mIe=t=>{const{disabled:e,dragging:n,marked:r,orientation:i,track:o,classes:a,color:s,size:l}=t,c={root:["root",e&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",s&&`color${De(s)}`,l&&`size${De(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",e&&"disabled",l&&`thumbSize${De(l)}`,s&&`thumbColor${De(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ue(c,nIe,a)},gIe=({children:t})=>t,vIe=k.forwardRef(function(e,n){var r,i,o,a,s,l,c,u,f,d,h,p,m,g,v,y,x,b,_,S,O,C,E,M;const I=sIe({props:e,name:"MuiSlider"}),P=o1(),{"aria-label":R,"aria-valuetext":T,"aria-labelledby":D,component:U="span",components:B={},componentsProps:W={},color:z="primary",classes:$,className:N,disableSwap:L=!1,disabled:A=!1,getAriaLabel:q,getAriaValueText:Y,marks:K=!1,max:se=100,min:ee=0,orientation:te="horizontal",shiftStep:de=10,size:xe="medium",step:ie=1,scale:ve=VV,slotProps:F,slots:ce,track:le="normal",valueLabelDisplay:Q="off",valueLabelFormat:X=VV}=I,J=Ae(I,aIe),ge=j({},I,{isRtl:P,max:se,min:ee,classes:$,disabled:A,disableSwap:L,orientation:te,marks:K,color:z,size:xe,step:ie,shiftStep:de,scale:ve,track:le,valueLabelDisplay:Q,valueLabelFormat:X}),{axisProps:ye,getRootProps:V,getHiddenInputProps:H,getThumbProps:re,open:he,active:we,axis:oe,focusedThumbIndex:Z,range:G,dragging:fe,marks:_e,values:Me,trackOffset:me,trackLeap:Fe,getThumbStyle:Pe}=JTe(j({},ge,{rootRef:n}));ge.marked=_e.length>0&&_e.some(Ke=>Ke.label),ge.dragging=fe,ge.focusedThumbIndex=Z;const Re=mIe(ge),ae=(r=(i=ce==null?void 0:ce.root)!=null?i:B.Root)!=null?r:lIe,Le=(o=(a=ce==null?void 0:ce.rail)!=null?a:B.Rail)!=null?o:cIe,Te=(s=(l=ce==null?void 0:ce.track)!=null?l:B.Track)!=null?s:uIe,ze=(c=(u=ce==null?void 0:ce.thumb)!=null?u:B.Thumb)!=null?c:fIe,He=(f=(d=ce==null?void 0:ce.valueLabel)!=null?d:B.ValueLabel)!=null?f:dIe,xt=(h=(p=ce==null?void 0:ce.mark)!=null?p:B.Mark)!=null?h:hIe,It=(m=(g=ce==null?void 0:ce.markLabel)!=null?g:B.MarkLabel)!=null?m:pIe,en=(v=(y=ce==null?void 0:ce.input)!=null?y:B.Input)!=null?v:"input",Wr=(x=F==null?void 0:F.root)!=null?x:W.root,Cn=(b=F==null?void 0:F.rail)!=null?b:W.rail,Vr=(_=F==null?void 0:F.track)!=null?_:W.track,nr=(S=F==null?void 0:F.thumb)!=null?S:W.thumb,eo=(O=F==null?void 0:F.valueLabel)!=null?O:W.valueLabel,xo=(C=F==null?void 0:F.mark)!=null?C:W.mark,Go=(E=F==null?void 0:F.markLabel)!=null?E:W.markLabel,Ys=(M=F==null?void 0:F.input)!=null?M:W.input,vi=Dr({elementType:ae,getSlotProps:V,externalSlotProps:Wr,externalForwardedProps:J,additionalProps:j({},tIe(ae)&&{as:U}),ownerState:j({},ge,Wr==null?void 0:Wr.ownerState),className:[Re.root,N]}),vs=Dr({elementType:Le,externalSlotProps:Cn,ownerState:ge,className:Re.rail}),ne=Dr({elementType:Te,externalSlotProps:Vr,additionalProps:{style:j({},ye[oe].offset(me),ye[oe].leap(Fe))},ownerState:j({},ge,Vr==null?void 0:Vr.ownerState),className:Re.track}),Ee=Dr({elementType:ze,getSlotProps:re,externalSlotProps:nr,ownerState:j({},ge,nr==null?void 0:nr.ownerState),className:Re.thumb}),Ie=Dr({elementType:He,externalSlotProps:eo,ownerState:j({},ge,eo==null?void 0:eo.ownerState),className:Re.valueLabel}),Oe=Dr({elementType:xt,externalSlotProps:xo,ownerState:ge,className:Re.mark}),$e=Dr({elementType:It,externalSlotProps:Go,ownerState:ge,className:Re.markLabel}),ot=Dr({elementType:en,getSlotProps:H,externalSlotProps:Ys,ownerState:ge});return w.jsxs(ae,j({},vi,{children:[w.jsx(Le,j({},vs)),w.jsx(Te,j({},ne)),_e.filter(Ke=>Ke.value>=ee&&Ke.value<=se).map((Ke,ht)=>{const _t=aT(Ke.value,ee,se),jt=ye[oe].offset(_t);let Pt;return le===!1?Pt=Me.indexOf(Ke.value)!==-1:Pt=le==="normal"&&(G?Ke.value>=Me[0]&&Ke.value<=Me[Me.length-1]:Ke.value<=Me[0])||le==="inverted"&&(G?Ke.value<=Me[0]||Ke.value>=Me[Me.length-1]:Ke.value>=Me[0]),w.jsxs(k.Fragment,{children:[w.jsx(xt,j({"data-index":ht},Oe,!Il(xt)&&{markActive:Pt},{style:j({},jt,Oe.style),className:ke(Oe.className,Pt&&Re.markActive)})),Ke.label!=null?w.jsx(It,j({"aria-hidden":!0,"data-index":ht},$e,!Il(It)&&{markLabelActive:Pt},{style:j({},jt,$e.style),className:ke(Re.markLabel,$e.className,Pt&&Re.markLabelActive),children:Ke.label})):null]},ht)}),Me.map((Ke,ht)=>{const _t=aT(Ke,ee,se),jt=ye[oe].offset(_t),Pt=Q==="off"?gIe:He;return w.jsx(Pt,j({},!Il(Pt)&&{valueLabelFormat:X,valueLabelDisplay:Q,value:typeof X=="function"?X(ve(Ke),ht):X,index:ht,open:he===ht||we===ht||Q==="on",disabled:A},Ie,{children:w.jsx(ze,j({"data-index":ht},Ee,{className:ke(Re.thumb,Ee.className,we===ht&&Re.active,Z===ht&&Re.focusVisible),style:j({},jt,Pe(ht),Ee.style),children:w.jsx(en,j({"data-index":ht,"aria-label":q?q(ht):R,"aria-valuenow":ve(Ke),"aria-labelledby":D,"aria-valuetext":Y?Y(ve(Ke),ht):T,value:Me[ht]},ot))}))}),ht)})]}))}),d1=vIe;function yIe(t){return We("MuiSnackbarContent",t)}Ve("MuiSnackbarContent",["root","message","action"]);const xIe=["action","className","message","role"],bIe=t=>{const{classes:e}=t;return Ue({root:["root"],action:["action"],message:["message"]},yIe,e)},_Ie=be(Di,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>{const e=t.palette.mode==="light"?.8:.98,n=Vwe(t.palette.background.default,e);return j({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(n),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),wIe=be("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0"}),SIe=be("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),OIe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=r,l=Ae(r,xIe),c=r,u=bIe(c);return w.jsxs(_Ie,j({role:s,square:!0,elevation:6,className:ke(u.root,o),ownerState:c,ref:n},l,{children:[w.jsx(wIe,{className:u.message,ownerState:c,children:a}),i?w.jsx(SIe,{className:u.action,ownerState:c,children:i}):null]}))}),nre=OIe;function CIe(t){return We("MuiSnackbar",t)}Ve("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const TIe=["onEnter","onExited"],EIe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],PIe=t=>{const{classes:e,anchorOrigin:n}=t,r={root:["root",`anchorOrigin${De(n.vertical)}${De(n.horizontal)}`]};return Ue(r,CIe,e)},GV=be("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`anchorOrigin${De(n.anchorOrigin.vertical)}${De(n.anchorOrigin.horizontal)}`]]}})(({theme:t,ownerState:e})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return j({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},e.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},e.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},e.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:j({},e.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},e.anchorOrigin.horizontal==="center"&&n,e.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},e.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),MIe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiSnackbar"}),i=Wo(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:f,ClickAwayListenerProps:d,ContentProps:h,disableWindowBlurListener:p=!1,message:m,open:g,TransitionComponent:v=fb,transitionDuration:y=o,TransitionProps:{onEnter:x,onExited:b}={}}=r,_=Ae(r.TransitionProps,TIe),S=Ae(r,EIe),O=j({},r,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:p,TransitionComponent:v,transitionDuration:y}),C=PIe(O),{getRootProps:E,onClickAway:M}=eEe(j({},O)),[I,P]=k.useState(!0),R=Dr({elementType:GV,getSlotProps:E,externalForwardedProps:S,ownerState:O,additionalProps:{ref:n},className:[C.root,f]}),T=U=>{P(!0),b&&b(U)},D=(U,B)=>{P(!1),x&&x(U,B)};return!g&&I?null:w.jsx(mCe,j({onClickAway:M},d,{children:w.jsx(GV,j({},R,{children:w.jsx(v,j({appear:!0,in:g,timeout:y,direction:s==="top"?"down":"up",onEnter:D,onExited:T},_,{children:u||w.jsx(nre,j({message:m,action:a},h))}))}))}))}),kIe=MIe;function AIe(t){return We("MuiTooltip",t)}const RIe=Ve("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),lf=RIe,IIe=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function DIe(t){return Math.round(t*1e5)/1e5}const LIe=t=>{const{classes:e,disableInteractive:n,arrow:r,touch:i,placement:o}=t,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${De(o.split("-")[0])}`],arrow:["arrow"]};return Ue(a,AIe,e)},$Ie=be(Dj,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>j({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${lf.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${lf.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${lf.arrow}`]:j({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${lf.arrow}`]:j({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),NIe=be("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${De(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>j({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:kt(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${DIe(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${lf.popper}[data-popper-placement*="left"] &`]:j({transformOrigin:"right center"},e.isRtl?j({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):j({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${lf.popper}[data-popper-placement*="right"] &`]:j({transformOrigin:"left center"},e.isRtl?j({marginRight:"14px"},e.touch&&{marginRight:"24px"}):j({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${lf.popper}[data-popper-placement*="top"] &`]:j({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${lf.popper}[data-popper-placement*="bottom"] &`]:j({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),FIe=be("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:kt(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Ww=!1;const HV=new r1;let qy={x:0,y:0};function Vw(t,e){return(n,...r)=>{e&&e(n,...r),t(n,...r)}}const jIe=k.forwardRef(function(e,n){var r,i,o,a,s,l,c,u,f,d,h,p,m,g,v,y,x,b,_;const S=qe({props:e,name:"MuiTooltip"}),{arrow:O=!1,children:C,components:E={},componentsProps:M={},describeChild:I=!1,disableFocusListener:P=!1,disableHoverListener:R=!1,disableInteractive:T=!1,disableTouchListener:D=!1,enterDelay:U=100,enterNextDelay:B=0,enterTouchDelay:W=700,followCursor:z=!1,id:$,leaveDelay:N=0,leaveTouchDelay:L=1500,onClose:A,onOpen:q,open:Y,placement:K="bottom",PopperComponent:se,PopperProps:ee={},slotProps:te={},slots:de={},title:xe,TransitionComponent:ie=fb,TransitionProps:ve}=S,F=Ae(S,IIe),ce=k.isValidElement(C)?C:w.jsx("span",{children:C}),le=Wo(),Q=o1(),[X,J]=k.useState(),[ge,ye]=k.useState(null),V=k.useRef(!1),H=T||z,re=sf(),he=sf(),we=sf(),oe=sf(),[Z,G]=Bs({controlled:Y,default:!1,name:"Tooltip",state:"open"});let fe=Z;const _e=ed($),Me=k.useRef(),me=xr(()=>{Me.current!==void 0&&(document.body.style.WebkitUserSelect=Me.current,Me.current=void 0),oe.clear()});k.useEffect(()=>me,[me]);const Fe=at=>{HV.clear(),Ww=!0,G(!0),q&&!fe&&q(at)},Pe=xr(at=>{HV.start(800+N,()=>{Ww=!1}),G(!1),A&&fe&&A(at),re.start(le.transitions.duration.shortest,()=>{V.current=!1})}),Re=at=>{V.current&&at.type!=="touchstart"||(X&&X.removeAttribute("title"),he.clear(),we.clear(),U||Ww&&B?he.start(Ww?B:U,()=>{Fe(at)}):Fe(at))},ae=at=>{he.clear(),we.start(N,()=>{Pe(at)})},{isFocusVisibleRef:Le,onBlur:Te,onFocus:ze,ref:He}=i1(),[,xt]=k.useState(!1),It=at=>{Te(at),Le.current===!1&&(xt(!1),ae(at))},en=at=>{X||J(at.currentTarget),ze(at),Le.current===!0&&(xt(!0),Re(at))},Wr=at=>{V.current=!0;const Yt=ce.props;Yt.onTouchStart&&Yt.onTouchStart(at)},Cn=at=>{Wr(at),we.clear(),re.clear(),me(),Me.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",oe.start(W,()=>{document.body.style.WebkitUserSelect=Me.current,Re(at)})},Vr=at=>{ce.props.onTouchEnd&&ce.props.onTouchEnd(at),me(),we.start(L,()=>{Pe(at)})};k.useEffect(()=>{if(!fe)return;function at(Yt){(Yt.key==="Escape"||Yt.key==="Esc")&&Pe(Yt)}return document.addEventListener("keydown",at),()=>{document.removeEventListener("keydown",at)}},[Pe,fe]);const nr=Kt(ce.ref,He,J,n);!xe&&xe!==0&&(fe=!1);const eo=k.useRef(),xo=at=>{const Yt=ce.props;Yt.onMouseMove&&Yt.onMouseMove(at),qy={x:at.clientX,y:at.clientY},eo.current&&eo.current.update()},Go={},Ys=typeof xe=="string";I?(Go.title=!fe&&Ys&&!R?xe:null,Go["aria-describedby"]=fe?_e:null):(Go["aria-label"]=Ys?xe:null,Go["aria-labelledby"]=fe&&!Ys?_e:null);const vi=j({},Go,F,ce.props,{className:ke(F.className,ce.props.className),onTouchStart:Wr,ref:nr},z?{onMouseMove:xo}:{}),vs={};D||(vi.onTouchStart=Cn,vi.onTouchEnd=Vr),R||(vi.onMouseOver=Vw(Re,vi.onMouseOver),vi.onMouseLeave=Vw(ae,vi.onMouseLeave),H||(vs.onMouseOver=Re,vs.onMouseLeave=ae)),P||(vi.onFocus=Vw(en,vi.onFocus),vi.onBlur=Vw(It,vi.onBlur),H||(vs.onFocus=en,vs.onBlur=It));const ne=k.useMemo(()=>{var at;let Yt=[{name:"arrow",enabled:!!ge,options:{element:ge,padding:4}}];return(at=ee.popperOptions)!=null&&at.modifiers&&(Yt=Yt.concat(ee.popperOptions.modifiers)),j({},ee.popperOptions,{modifiers:Yt})},[ge,ee]),Ee=j({},S,{isRtl:Q,arrow:O,disableInteractive:H,placement:K,PopperComponentProp:se,touch:V.current}),Ie=LIe(Ee),Oe=(r=(i=de.popper)!=null?i:E.Popper)!=null?r:$Ie,$e=(o=(a=(s=de.transition)!=null?s:E.Transition)!=null?a:ie)!=null?o:fb,ot=(l=(c=de.tooltip)!=null?c:E.Tooltip)!=null?l:NIe,Ke=(u=(f=de.arrow)!=null?f:E.Arrow)!=null?u:FIe,ht=$m(Oe,j({},ee,(d=te.popper)!=null?d:M.popper,{className:ke(Ie.popper,ee==null?void 0:ee.className,(h=(p=te.popper)!=null?p:M.popper)==null?void 0:h.className)}),Ee),_t=$m($e,j({},ve,(m=te.transition)!=null?m:M.transition),Ee),jt=$m(ot,j({},(g=te.tooltip)!=null?g:M.tooltip,{className:ke(Ie.tooltip,(v=(y=te.tooltip)!=null?y:M.tooltip)==null?void 0:v.className)}),Ee),Pt=$m(Ke,j({},(x=te.arrow)!=null?x:M.arrow,{className:ke(Ie.arrow,(b=(_=te.arrow)!=null?_:M.arrow)==null?void 0:b.className)}),Ee);return w.jsxs(k.Fragment,{children:[k.cloneElement(ce,vi),w.jsx(Oe,j({as:se??Dj,placement:K,anchorEl:z?{getBoundingClientRect:()=>({top:qy.y,left:qy.x,right:qy.x,bottom:qy.y,width:0,height:0})}:X,popperRef:eo,open:X?fe:!1,id:_e,transition:!0},vs,ht,{popperOptions:ne,children:({TransitionProps:at})=>w.jsx($e,j({timeout:le.transitions.duration.shorter},at,_t,{children:w.jsxs(ot,j({},jt,{children:[xe,O?w.jsx(Ke,j({},Pt,{ref:ye})):null]}))}))}))]})}),Ct=jIe;function BIe(t){return We("MuiSwitch",t)}const io=Ve("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),zIe=["className","color","edge","size","sx"],UIe=bj(),WIe=t=>{const{classes:e,edge:n,size:r,color:i,checked:o,disabled:a}=t,s={root:["root",n&&`edge${De(n)}`,`size${De(r)}`],switchBase:["switchBase",`color${De(i)}`,o&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Ue(s,BIe,e);return j({},e,l)},VIe=be("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${io.thumb}`]:{width:16,height:16},[`& .${io.switchBase}`]:{padding:4,[`&.${io.checked}`]:{transform:"translateX(16px)"}}}}]}),GIe=be($j,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.switchBase,{[`& .${io.input}`]:e.input},n.color!=="default"&&e[`color${De(n.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${io.checked}`]:{transform:"translateX(20px)"},[`&.${io.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${io.checked} + .${io.track}`]:{opacity:.5},[`&.${io.disabled} + .${io.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${io.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,e])=>e.main&&e.light).map(([e])=>({props:{color:e},style:{[`&.${io.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${io.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${t.palette.mode==="light"?sb(t.palette[e].main,.62):ab(t.palette[e].main,.55)}`}},[`&.${io.checked} + .${io.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]})),HIe=be("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`})),qIe=be("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),XIe=k.forwardRef(function(e,n){const r=UIe({props:e,name:"MuiSwitch"}),{className:i,color:o="primary",edge:a=!1,size:s="medium",sx:l}=r,c=Ae(r,zIe),u=j({},r,{color:o,edge:a,size:s}),f=WIe(u),d=w.jsx(qIe,{className:f.thumb,ownerState:u});return w.jsxs(VIe,{className:ke(f.root,i),sx:l,ownerState:u,children:[w.jsx(GIe,j({type:"checkbox",icon:d,checkedIcon:d,ref:n,ownerState:u},c,{classes:j({},f,{root:f.switchBase})})),w.jsx(HIe,{className:f.track,ownerState:u})]})}),QIe=XIe;function YIe(t){return We("MuiTab",t)}const KIe=Ve("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),_d=KIe,ZIe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],JIe=t=>{const{classes:e,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:s,disabled:l}=t,c={root:["root",o&&a&&"labelIcon",`textColor${De(n)}`,r&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Ue(c,YIe,e)},eDe=be(rs,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${De(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped]}})(({theme:t,ownerState:e})=>j({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${_d.iconWrapper}`]:j({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${_d.selected}`]:{opacity:1},[`&.${_d.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${_d.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${_d.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${_d.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${_d.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),tDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:f,onChange:d,onClick:h,onFocus:p,selected:m,selectionFollowsFocus:g,textColor:v="inherit",value:y,wrapped:x=!1}=r,b=Ae(r,ZIe),_=j({},r,{disabled:o,disableFocusRipple:a,selected:m,icon:!!l,iconPosition:c,label:!!f,fullWidth:s,textColor:v,wrapped:x}),S=JIe(_),O=l&&f&&k.isValidElement(l)?k.cloneElement(l,{className:ke(S.iconWrapper,l.props.className)}):l,C=M=>{!m&&d&&d(M,y),h&&h(M)},E=M=>{g&&!m&&d&&d(M,y),p&&p(M)};return w.jsxs(eDe,j({focusRipple:!a,className:ke(S.root,i),ref:n,role:"tab","aria-selected":m,disabled:o,onClick:C,onFocus:E,ownerState:_,tabIndex:m?0:-1},b,{children:[c==="top"||c==="start"?w.jsxs(k.Fragment,{children:[O,f]}):w.jsxs(k.Fragment,{children:[f,O]}),u]}))}),db=tDe,nDe=k.createContext(),rre=nDe;function rDe(t){return We("MuiTable",t)}Ve("MuiTable",["root","stickyHeader"]);const iDe=["className","component","padding","size","stickyHeader"],oDe=t=>{const{classes:e,stickyHeader:n}=t;return Ue({root:["root",n&&"stickyHeader"]},rDe,e)},aDe=be("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>j({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":j({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),qV="table",sDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTable"}),{className:i,component:o=qV,padding:a="normal",size:s="medium",stickyHeader:l=!1}=r,c=Ae(r,iDe),u=j({},r,{component:o,padding:a,size:s,stickyHeader:l}),f=oDe(u),d=k.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return w.jsx(rre.Provider,{value:d,children:w.jsx(aDe,j({as:o,role:o===qV?null:"table",ref:n,className:ke(f.root,i),ownerState:u},c))})}),Bj=sDe,lDe=k.createContext(),vM=lDe;function cDe(t){return We("MuiTableBody",t)}Ve("MuiTableBody",["root"]);const uDe=["className","component"],fDe=t=>{const{classes:e}=t;return Ue({root:["root"]},cDe,e)},dDe=be("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),hDe={variant:"body"},XV="tbody",pDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableBody"}),{className:i,component:o=XV}=r,a=Ae(r,uDe),s=j({},r,{component:o}),l=fDe(s);return w.jsx(vM.Provider,{value:hDe,children:w.jsx(dDe,j({className:ke(l.root,i),as:o,ref:n,role:o===XV?null:"rowgroup",ownerState:s},a))})}),zj=pDe;function mDe(t){return We("MuiTableCell",t)}const gDe=Ve("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),vDe=gDe,yDe=["align","className","component","padding","scope","size","sortDirection","variant"],xDe=t=>{const{classes:e,variant:n,align:r,padding:i,size:o,stickyHeader:a}=t,s={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${De(r)}`,i!=="normal"&&`padding${De(i)}`,`size${De(o)}`]};return Ue(s,mDe,e)},bDe=be("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${De(n.size)}`],n.padding!=="normal"&&e[`padding${De(n.padding)}`],n.align!=="inherit"&&e[`align${De(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>j({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid - ${t.palette.mode==="light"?sb(kt(t.palette.divider,1),.88):ab(kt(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${vDe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),_De=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableCell"}),{align:i="inherit",className:o,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:f}=r,d=Ae(r,yDe),h=k.useContext(rre),p=k.useContext(vM),m=p&&p.variant==="head";let g;a?g=a:g=m?"th":"td";let v=l;g==="td"?v=void 0:!v&&m&&(v="col");const y=f||p&&p.variant,x=j({},r,{align:i,component:g,padding:s||(h&&h.padding?h.padding:"normal"),size:c||(h&&h.size?h.size:"medium"),sortDirection:u,stickyHeader:y==="head"&&h&&h.stickyHeader,variant:y}),b=xDe(x);let _=null;return u&&(_=u==="asc"?"ascending":"descending"),w.jsx(bDe,j({as:g,ref:n,className:ke(b.root,o),"aria-sort":_,scope:v,ownerState:x},d))}),or=_De;function wDe(t){return We("MuiTableContainer",t)}Ve("MuiTableContainer",["root"]);const SDe=["className","component"],ODe=t=>{const{classes:e}=t;return Ue({root:["root"]},wDe,e)},CDe=be("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),TDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableContainer"}),{className:i,component:o="div"}=r,a=Ae(r,SDe),s=j({},r,{component:o}),l=ODe(s);return w.jsx(CDe,j({ref:n,as:o,className:ke(l.root,i),ownerState:s},a))}),Uj=TDe;function EDe(t){return We("MuiTableHead",t)}Ve("MuiTableHead",["root"]);const PDe=["className","component"],MDe=t=>{const{classes:e}=t;return Ue({root:["root"]},EDe,e)},kDe=be("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),ADe={variant:"head"},QV="thead",RDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableHead"}),{className:i,component:o=QV}=r,a=Ae(r,PDe),s=j({},r,{component:o}),l=MDe(s);return w.jsx(vM.Provider,{value:ADe,children:w.jsx(kDe,j({as:o,className:ke(l.root,i),ref:n,role:o===QV?null:"rowgroup",ownerState:s},a))})}),IDe=RDe;function DDe(t){return We("MuiToolbar",t)}Ve("MuiToolbar",["root","gutters","regular","dense"]);const LDe=["className","component","disableGutters","variant"],$De=t=>{const{classes:e,disableGutters:n,variant:r}=t;return Ue({root:["root",!n&&"gutters",r]},DDe,e)},NDe=be("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})(({theme:t,ownerState:e})=>j({position:"relative",display:"flex",alignItems:"center"},!e.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},e.variant==="dense"&&{minHeight:48}),({theme:t,ownerState:e})=>e.variant==="regular"&&t.mixins.toolbar),FDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=r,l=Ae(r,LDe),c=j({},r,{component:o,disableGutters:a,variant:s}),u=$De(c);return w.jsx(NDe,j({as:o,className:ke(u.root,i),ref:n,ownerState:c},l))}),yM=FDe,jDe=Jr(w.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),BDe=Jr(w.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function zDe(t){return We("MuiTableRow",t)}const UDe=Ve("MuiTableRow",["root","selected","hover","head","footer"]),YV=UDe,WDe=["className","component","hover","selected"],VDe=t=>{const{classes:e,selected:n,hover:r,head:i,footer:o}=t;return Ue({root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]},zDe,e)},GDe=be("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${YV.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${YV.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),KV="tr",HDe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableRow"}),{className:i,component:o=KV,hover:a=!1,selected:s=!1}=r,l=Ae(r,WDe),c=k.useContext(vM),u=j({},r,{component:o,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=VDe(u);return w.jsx(GDe,j({as:o,ref:n,className:ke(f.root,i),role:o===KV?null:"row",ownerState:u},l))}),al=HDe;function qDe(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function XDe(t,e,n,r={},i=()=>{}){const{ease:o=qDe,duration:a=300}=r;let s=null;const l=e[t];let c=!1;const u=()=>{c=!0},f=d=>{if(c){i(new Error("Animation cancelled"));return}s===null&&(s=d);const h=Math.min(1,(d-s)/a);if(e[t]=o(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===n?(i(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const QDe=["onChange"],YDe={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function KDe(t){const{onChange:e}=t,n=Ae(t,QDe),r=k.useRef(),i=k.useRef(null),o=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return Ur(()=>{const a=Lv(()=>{const l=r.current;o(),l!==r.current&&e(r.current)}),s=ts(i.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[e]),k.useEffect(()=>{o(),e(r.current)},[e]),w.jsx("div",j({style:YDe,ref:i},n))}function ZDe(t){return We("MuiTabScrollButton",t)}const JDe=Ve("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),eLe=JDe,tLe=["className","slots","slotProps","direction","orientation","disabled"],nLe=t=>{const{classes:e,orientation:n,disabled:r}=t;return Ue({root:["root",n,r&&"disabled"]},ZDe,e)},rLe=be(rs,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>j({width:40,flexShrink:0,opacity:.8,[`&.${eLe.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),iLe=k.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,u=Ae(o,tLe),f=o1(),d=j({isRtl:f},o),h=nLe(d),p=(r=s.StartScrollButtonIcon)!=null?r:jDe,m=(i=s.EndScrollButtonIcon)!=null?i:BDe,g=Dr({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),v=Dr({elementType:m,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return w.jsx(rLe,j({component:"div",className:ke(h.root,a),ref:n,role:null,ownerState:d,tabIndex:null},u,{children:c==="left"?w.jsx(p,j({},g)):w.jsx(m,j({},v))}))}),oLe=iLe;function aLe(t){return We("MuiTabs",t)}const sLe=Ve("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),oC=sLe,lLe=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ZV=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,JV=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,Gw=(t,e,n)=>{let r=!1,i=n(t,e);for(;i;){if(i===t.firstChild){if(r)return;r=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=n(t,i);else{i.focus();return}}},cLe=t=>{const{vertical:e,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=t;return Ue({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},aLe,l)},uLe=be("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${oC.scrollButtons}`]:e.scrollButtons},{[`& .${oC.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>j({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${oC.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),fLe=be("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>j({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),dLe=be("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>j({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),hLe=be("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>j({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),pLe=be(KDe)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),e8={},mLe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTabs"}),i=Wo(),o=o1(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:m,orientation:g="horizontal",ScrollButtonComponent:v=oLe,scrollButtons:y="auto",selectionFollowsFocus:x,slots:b={},slotProps:_={},TabIndicatorProps:S={},TabScrollButtonProps:O={},textColor:C="primary",value:E,variant:M="standard",visibleScrollbar:I=!1}=r,P=Ae(r,lLe),R=M==="scrollable",T=g==="vertical",D=T?"scrollTop":"scrollLeft",U=T?"top":"left",B=T?"bottom":"right",W=T?"clientHeight":"clientWidth",z=T?"height":"width",$=j({},r,{component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:g,vertical:T,scrollButtons:y,textColor:C,variant:M,visibleScrollbar:I,fixed:!R,hideScrollbar:R&&!I,scrollableX:R&&!T,scrollableY:R&&T,centered:c&&!R,scrollButtonsHideMobile:!h}),N=cLe($),L=Dr({elementType:b.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:$}),A=Dr({elementType:b.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:$}),[q,Y]=k.useState(!1),[K,se]=k.useState(e8),[ee,te]=k.useState(!1),[de,xe]=k.useState(!1),[ie,ve]=k.useState(!1),[F,ce]=k.useState({overflow:"hidden",scrollbarWidth:0}),le=new Map,Q=k.useRef(null),X=k.useRef(null),J=()=>{const Pe=Q.current;let Re;if(Pe){const Le=Pe.getBoundingClientRect();Re={clientWidth:Pe.clientWidth,scrollLeft:Pe.scrollLeft,scrollTop:Pe.scrollTop,scrollLeftNormalized:wwe(Pe,o?"rtl":"ltr"),scrollWidth:Pe.scrollWidth,top:Le.top,bottom:Le.bottom,left:Le.left,right:Le.right}}let ae;if(Pe&&E!==!1){const Le=X.current.children;if(Le.length>0){const Te=Le[le.get(E)];ae=Te?Te.getBoundingClientRect():null}}return{tabsMeta:Re,tabMeta:ae}},ge=xr(()=>{const{tabsMeta:Pe,tabMeta:Re}=J();let ae=0,Le;if(T)Le="top",Re&&Pe&&(ae=Re.top-Pe.top+Pe.scrollTop);else if(Le=o?"right":"left",Re&&Pe){const ze=o?Pe.scrollLeftNormalized+Pe.clientWidth-Pe.scrollWidth:Pe.scrollLeft;ae=(o?-1:1)*(Re[Le]-Pe[Le]+ze)}const Te={[Le]:ae,[z]:Re?Re[z]:0};if(isNaN(K[Le])||isNaN(K[z]))se(Te);else{const ze=Math.abs(K[Le]-Te[Le]),He=Math.abs(K[z]-Te[z]);(ze>=1||He>=1)&&se(Te)}}),ye=(Pe,{animation:Re=!0}={})=>{Re?XDe(D,Q.current,Pe,{duration:i.transitions.duration.standard}):Q.current[D]=Pe},V=Pe=>{let Re=Q.current[D];T?Re+=Pe:(Re+=Pe*(o?-1:1),Re*=o&&Vte()==="reverse"?-1:1),ye(Re)},H=()=>{const Pe=Q.current[W];let Re=0;const ae=Array.from(X.current.children);for(let Le=0;LePe){Le===0&&(Re=Pe);break}Re+=Te[W]}return Re},re=()=>{V(-1*H())},he=()=>{V(H())},we=k.useCallback(Pe=>{ce({overflow:null,scrollbarWidth:Pe})},[]),oe=()=>{const Pe={};Pe.scrollbarSizeListener=R?w.jsx(pLe,{onChange:we,className:ke(N.scrollableX,N.hideScrollbar)}):null;const ae=R&&(y==="auto"&&(ee||de)||y===!0);return Pe.scrollButtonStart=ae?w.jsx(v,j({slots:{StartScrollButtonIcon:b.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:L},orientation:g,direction:o?"right":"left",onClick:re,disabled:!ee},O,{className:ke(N.scrollButtons,O.className)})):null,Pe.scrollButtonEnd=ae?w.jsx(v,j({slots:{EndScrollButtonIcon:b.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:A},orientation:g,direction:o?"left":"right",onClick:he,disabled:!de},O,{className:ke(N.scrollButtons,O.className)})):null,Pe},Z=xr(Pe=>{const{tabsMeta:Re,tabMeta:ae}=J();if(!(!ae||!Re)){if(ae[U]Re[B]){const Le=Re[D]+(ae[B]-Re[B]);ye(Le,{animation:Pe})}}}),G=xr(()=>{R&&y!==!1&&ve(!ie)});k.useEffect(()=>{const Pe=Lv(()=>{Q.current&&ge()});let Re;const ae=ze=>{ze.forEach(He=>{He.removedNodes.forEach(xt=>{var It;(It=Re)==null||It.unobserve(xt)}),He.addedNodes.forEach(xt=>{var It;(It=Re)==null||It.observe(xt)})}),Pe(),G()},Le=ts(Q.current);Le.addEventListener("resize",Pe);let Te;return typeof ResizeObserver<"u"&&(Re=new ResizeObserver(Pe),Array.from(X.current.children).forEach(ze=>{Re.observe(ze)})),typeof MutationObserver<"u"&&(Te=new MutationObserver(ae),Te.observe(X.current,{childList:!0})),()=>{var ze,He;Pe.clear(),Le.removeEventListener("resize",Pe),(ze=Te)==null||ze.disconnect(),(He=Re)==null||He.disconnect()}},[ge,G]),k.useEffect(()=>{const Pe=Array.from(X.current.children),Re=Pe.length;if(typeof IntersectionObserver<"u"&&Re>0&&R&&y!==!1){const ae=Pe[0],Le=Pe[Re-1],Te={root:Q.current,threshold:.99},ze=en=>{te(!en[0].isIntersecting)},He=new IntersectionObserver(ze,Te);He.observe(ae);const xt=en=>{xe(!en[0].isIntersecting)},It=new IntersectionObserver(xt,Te);return It.observe(Le),()=>{He.disconnect(),It.disconnect()}}},[R,y,ie,u==null?void 0:u.length]),k.useEffect(()=>{Y(!0)},[]),k.useEffect(()=>{ge()}),k.useEffect(()=>{Z(e8!==K)},[Z,K]),k.useImperativeHandle(l,()=>({updateIndicator:ge,updateScrollButtons:G}),[ge,G]);const fe=w.jsx(hLe,j({},S,{className:ke(N.indicator,S.className),ownerState:$,style:j({},K,S.style)}));let _e=0;const Me=k.Children.map(u,Pe=>{if(!k.isValidElement(Pe))return null;const Re=Pe.props.value===void 0?_e:Pe.props.value;le.set(Re,_e);const ae=Re===E;return _e+=1,k.cloneElement(Pe,j({fullWidth:M==="fullWidth",indicator:ae&&!q&&fe,selected:ae,selectionFollowsFocus:x,onChange:m,textColor:C,value:Re},_e===1&&E===!1&&!Pe.props.tabIndex?{tabIndex:0}:{}))}),me=Pe=>{const Re=X.current,ae=Dn(Re).activeElement;if(ae.getAttribute("role")!=="tab")return;let Te=g==="horizontal"?"ArrowLeft":"ArrowUp",ze=g==="horizontal"?"ArrowRight":"ArrowDown";switch(g==="horizontal"&&o&&(Te="ArrowRight",ze="ArrowLeft"),Pe.key){case Te:Pe.preventDefault(),Gw(Re,ae,JV);break;case ze:Pe.preventDefault(),Gw(Re,ae,ZV);break;case"Home":Pe.preventDefault(),Gw(Re,null,ZV);break;case"End":Pe.preventDefault(),Gw(Re,null,JV);break}},Fe=oe();return w.jsxs(uLe,j({className:ke(N.root,f),ownerState:$,ref:n,as:d},P,{children:[Fe.scrollButtonStart,Fe.scrollbarSizeListener,w.jsxs(fLe,{className:N.scroller,ownerState:$,style:{overflow:F.overflow,[T?`margin${o?"Left":"Right"}`:"marginBottom"]:I?void 0:-F.scrollbarWidth},ref:Q,children:[w.jsx(dLe,{"aria-label":a,"aria-labelledby":s,"aria-orientation":g==="vertical"?"vertical":null,className:N.flexContainer,ownerState:$,onKeyDown:me,ref:X,role:"tablist",children:Me}),q&&fe]}),Fe.scrollButtonEnd]}))}),Wj=mLe;function gLe(t){return We("MuiTextField",t)}Ve("MuiTextField",["root"]);const vLe=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],yLe={standard:cp,filled:Nne,outlined:Zne},xLe=t=>{const{classes:e}=t;return Ue({root:["root"]},gLe,e)},bLe=be(jv,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),_Le=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:m,InputLabelProps:g,inputProps:v,InputProps:y,inputRef:x,label:b,maxRows:_,minRows:S,multiline:O=!1,name:C,onBlur:E,onChange:M,onFocus:I,placeholder:P,required:R=!1,rows:T,select:D=!1,SelectProps:U,type:B,value:W,variant:z="outlined"}=r,$=Ae(r,vLe),N=j({},r,{autoFocus:o,color:l,disabled:u,error:f,fullWidth:h,multiline:O,required:R,select:D,variant:z}),L=xLe(N),A={};z==="outlined"&&(g&&typeof g.shrink<"u"&&(A.notched=g.shrink),A.label=b),D&&((!U||!U.native)&&(A.id=void 0),A["aria-describedby"]=void 0);const q=ed(m),Y=p&&q?`${q}-helper-text`:void 0,K=b&&q?`${q}-label`:void 0,se=yLe[z],ee=w.jsx(se,j({"aria-describedby":Y,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:h,multiline:O,name:C,rows:T,maxRows:_,minRows:S,type:B,value:W,id:q,inputRef:x,onBlur:E,onChange:M,onFocus:I,placeholder:P,inputProps:v},A,y));return w.jsxs(bLe,j({className:ke(L.root,s),disabled:u,error:f,fullWidth:h,ref:n,required:R,color:l,variant:z,ownerState:N},$,{children:[b!=null&&b!==""&&w.jsx(Bv,j({htmlFor:q,id:K},g,{children:b})),D?w.jsx(up,j({"aria-describedby":Y,id:q,labelId:K,value:W,input:ee},U,{children:a})):ee,p&&w.jsx(Fne,j({id:Y},d,{children:p}))]}))}),sr=_Le;function wLe(t){return We("MuiToggleButton",t)}const SLe=Ve("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),Nm=SLe,OLe=k.createContext({}),ire=OLe,CLe=k.createContext(void 0),ore=CLe;function TLe(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.indexOf(t)>=0:t===e}const ELe=["value"],PLe=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],MLe=t=>{const{classes:e,fullWidth:n,selected:r,disabled:i,size:o,color:a}=t,s={root:["root",r&&"selected",i&&"disabled",n&&"fullWidth",`size${De(o)}`,a]};return Ue(s,wLe,e)},kLe=be(rs,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`size${De(n.size)}`]]}})(({theme:t,ownerState:e})=>{let n=e.color==="standard"?t.palette.text.primary:t.palette[e.color].main,r;return t.vars&&(n=e.color==="standard"?t.vars.palette.text.primary:t.vars.palette[e.color].main,r=e.color==="standard"?t.vars.palette.text.primaryChannel:t.vars.palette[e.color].mainChannel),j({},t.typography.button,{borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active},e.fullWidth&&{width:"100%"},{[`&.${Nm.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:$c(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Nm.selected}`]:{color:n,backgroundColor:t.vars?`rgba(${r} / ${t.vars.palette.action.selectedOpacity})`:$c(n,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${r} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:$c(n,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${r} / ${t.vars.palette.action.selectedOpacity})`:$c(n,t.palette.action.selectedOpacity)}}}},e.size==="small"&&{padding:7,fontSize:t.typography.pxToRem(13)},e.size==="large"&&{padding:15,fontSize:t.typography.pxToRem(15)})}),ALe=k.forwardRef(function(e,n){const r=k.useContext(ire),{value:i}=r,o=Ae(r,ELe),a=k.useContext(ore),s=nM(j({},o,{selected:TLe(e.value,i)}),e),l=qe({props:s,name:"MuiToggleButton"}),{children:c,className:u,color:f="standard",disabled:d=!1,disableFocusRipple:h=!1,fullWidth:p=!1,onChange:m,onClick:g,selected:v,size:y="medium",value:x}=l,b=Ae(l,PLe),_=j({},l,{color:f,disabled:d,disableFocusRipple:h,fullWidth:p,size:y}),S=MLe(_),O=E=>{g&&(g(E,x),E.defaultPrevented)||m&&m(E,x)},C=a||"";return w.jsx(kLe,j({className:ke(o.className,S.root,u,C),disabled:d,focusRipple:!h,ref:n,onClick:O,onChange:m,value:x,ownerState:_,"aria-pressed":v},b,{children:c}))}),fn=ALe;function RLe(t){return We("MuiToggleButtonGroup",t)}const ILe=Ve("MuiToggleButtonGroup",["root","selected","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),ir=ILe,DLe=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],LLe=t=>{const{classes:e,orientation:n,fullWidth:r,disabled:i}=t,o={root:["root",n==="vertical"&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${De(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Ue(o,RLe,e)},$Le=be("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${ir.grouped}`]:e.grouped},{[`& .${ir.grouped}`]:e[`grouped${De(n.orientation)}`]},{[`& .${ir.firstButton}`]:e.firstButton},{[`& .${ir.lastButton}`]:e.lastButton},{[`& .${ir.middleButton}`]:e.middleButton},e.root,n.orientation==="vertical"&&e.vertical,n.fullWidth&&e.fullWidth]}})(({ownerState:t,theme:e})=>j({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},t.orientation==="vertical"&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},{[`& .${ir.grouped}`]:j({},t.orientation==="horizontal"?{[`&.${ir.selected} + .${ir.grouped}.${ir.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${ir.selected} + .${ir.grouped}.${ir.selected}`]:{borderTop:0,marginTop:0}})},t.orientation==="horizontal"?{[`& .${ir.firstButton},& .${ir.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${ir.lastButton},& .${ir.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${ir.firstButton},& .${ir.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${ir.lastButton},& .${ir.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},t.orientation==="horizontal"?{[`& .${ir.lastButton}.${Nm.disabled},& .${ir.middleButton}.${Nm.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${ir.lastButton}.${Nm.disabled},& .${ir.middleButton}.${Nm.disabled}`]:{borderTop:"1px solid transparent"}})),NLe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiToggleButtonGroup"}),{children:i,className:o,color:a="standard",disabled:s=!1,exclusive:l=!1,fullWidth:c=!1,onChange:u,orientation:f="horizontal",size:d="medium",value:h}=r,p=Ae(r,DLe),m=j({},r,{disabled:s,fullWidth:c,orientation:f,size:d}),g=LLe(m),v=k.useCallback((O,C)=>{if(!u)return;const E=h&&h.indexOf(C);let M;h&&E>=0?(M=h.slice(),M.splice(E,1)):M=h?h.concat(C):[C],u(O,M)},[u,h]),y=k.useCallback((O,C)=>{u&&u(O,h===C?null:C)},[u,h]),x=k.useMemo(()=>({className:g.grouped,onChange:l?y:v,value:h,size:d,fullWidth:c,color:a,disabled:s}),[g.grouped,l,y,v,h,d,c,a,s]),b=Swe(i),_=b.length,S=O=>{const C=O===0,E=O===_-1;return C&&E?"":C?g.firstButton:E?g.lastButton:g.middleButton};return w.jsx($Le,j({role:"group",className:ke(g.root,o),ref:n,ownerState:m},p,{children:w.jsx(ire.Provider,{value:x,children:b.map((O,C)=>w.jsx(ore.Provider,{value:S(C),children:O},C))})}))}),fp=NLe,FLe="default",jLe={id:"local",name:"Local Server",url:"http://localhost:8080"},BLe={appBarTitle:"xcube Viewer",windowTitle:"xcube Viewer",windowIcon:null,compact:!1,themeName:"light",primaryColor:"blue",secondaryColor:"pink",organisationUrl:"https://xcube.readthedocs.io/",logoImage:"images/logo.png",logoWidth:32,baseMapUrl:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",defaultAgg:"mean",polygonFillOpacity:.2,mapProjection:"EPSG:3857",allowDownloads:!0,allowRefresh:!0,allowViewModePython:!0,allow3D:!0},Hw={name:FLe,server:jLe,branding:BLe};function zLe(){const t=new URL(window.location.href),e=t.pathname.split("/"),n=e.length;return n>0?e[n-1]==="index.html"?new URL(e.slice(0,n-1).join("/"),window.location.origin):new URL(t.pathname,window.location.origin):new URL(window.location.origin)}const xM=zLe();console.log("baseUrl = ",xM.href);function are(t,...e){let n=t;for(const r of e)r!==""&&(n.endsWith("/")?r.startsWith("/")?n+=r.substring(1):n+=r:r.startsWith("/")?n+=r:n+="/"+r);return n}const ULe={amber:rte,blue:Rd,blueGrey:Bbe,brown:ite,cyan:ete,deepOrange:vh,deepPurple:Sbe,green:Oc,grey:ote,indigo:Jee,lightBlue:Hu,lightGreen:Rbe,lime:tte,orange:Ud,pink:Zee,purple:Gu,red:Vu,teal:Mbe,yellow:nte};function t8(t,e){const n=t[e];let r=null;if(typeof n=="string"?(r=ULe[n]||null,r===null&&n.startsWith("#")&&(n.length===7||n.length===9)&&(r={main:n})):typeof n=="object"&&n!==null&&"main"in n&&(r=n),r!==null)t[e]=r;else throw new Error(`Value of branding.${e} is invalid: ${n}`)}function WLe(t,e,n){const r=t[e];typeof r=="string"&&(t[e]=are(xM.href,n,r))}function VLe(t,e){return t={...t},t8(t,"primaryColor"),t8(t,"secondaryColor"),WLe(t,"logoImage",e),t}var Fp={BASE_URL:"./",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const qu=new URLSearchParams(window.location.search),Ps=class Ps{constructor(e,n,r,i){Ut(this,"name");Ut(this,"server");Ut(this,"branding");Ut(this,"authClient");this.name=e,this.server=n,this.branding=r,this.authClient=i}static async load(){let e=qu.get("configPath")||"config";const n=await this.loadRawConfig(e);n===Hw&&(e="");const r=n.name||"default",i=this.getAuthConfig(n),o=this.getServerConfig(n),a=parseInt(qu.get("compact")||"0")!==0,s=VLe({...Hw.branding,...n.branding,compact:a||n.branding.compact},e);return s.allow3D=!!parseInt(qu.get("allow3D")||"0")||s.allow3D,Ps._instance=new Ps(r,o,s,i),s.windowTitle&&this.changeWindowTitle(s.windowTitle),s.windowIcon&&this.changeWindowIcon(s.windowIcon),Ps._instance}static getAuthConfig(e){let n=e.authClient&&{...e.authClient};const r=Ps.getAuthClientFromEnv();if(!n&&r.authority&&r.clientId&&(n={authority:r.authority,client_id:r.clientId}),n){if(r.authority){const i=r.authority;n={...n,authority:i}}if(r.clientId){const i=r.clientId;n={...n,client_id:i}}if(r.audience){const i=r.audience,o=n.extraQueryParams;n={...n,extraQueryParams:{...o,audience:i}}}}return n}static getServerConfig(e){const n={...Hw.server,...e.server},r=Ps.getApiServerFromEnv();return n.id=qu.get("serverId")||r.id||n.id,n.name=qu.get("serverName")||r.name||n.name,n.url=qu.get("serverUrl")||r.url||n.url,n}static async loadRawConfig(e){let n=null,r=null;const i=are(xM.href,e,"config.json");try{const o=await fetch(i);if(o.ok)n=await o.json();else{const{status:a,statusText:s}=o;r=`HTTP status ${a}`,s&&(r+=` (${s})`)}}catch(o){n=null,r=`${o}`}return n===null&&(n=Hw),n}static get instance(){return Ps.assertConfigLoaded(),Ps._instance}static assertConfigLoaded(){if(!Ps._instance)throw new Error("internal error: configuration not available yet")}static changeWindowTitle(e){document.title=e}static changeWindowIcon(e){let n=document.querySelector('link[rel="icon"]');n!==null?n.href=e:(n=document.createElement("link"),n.rel="icon",n.href=e,document.head.appendChild(n))}static getAuthClientFromEnv(){const e=Fp.XCV_OAUTH2_AUTHORITY,n=Fp.XCV_OAUTH2_CLIENT_ID,r=Fp.XCV_OAUTH2_AUDIENCE;return{authority:e,clientId:n,audience:r}}static getApiServerFromEnv(){const e=Fp.XCV_APP_SERVER_ID,n=Fp.XCV_SERVER_NAME,r=Fp.XCV_SERVER_URL;return{id:e,name:n,url:r}}};Ut(Ps,"_instance");let Wt=Ps;const sre=[["red",Vu],["yellow",nte],["pink",Zee],["lightBlue",Hu],["green",Oc],["orange",Ud],["lime",tte],["purple",Gu],["indigo",Jee],["cyan",ete],["brown",ite]],GLe=(()=>{const t={};return sre.forEach(([e,n])=>{t[e]=n}),t})(),n8=sre.map(([t,e])=>t);function HLe(t){return t==="light"?800:400}function Nh(t){return n8[t%n8.length]}function lre(t,e){const n=HLe(e);return GLe[t][n]}const qLe={Mapbox:{param:"access_token",token:"pk.eyJ1IjoiZm9ybWFuIiwiYSI6ImNrM2JranV0bDBtenczb2szZG84djh6bWUifQ.q0UKwf4CWt5fcQwIDwF8Bg"}};function XLe(t){return qLe[t]}function N0(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Kk={exports:{}};const QLe={},YLe=Object.freeze(Object.defineProperty({__proto__:null,default:QLe},Symbol.toStringTag,{value:"Module"})),KLe=wa(YLe);var r8;function bM(){return r8||(r8=1,function(t,e){(function(n,r){t.exports=r()})(Yn,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Yn<"u"&&Yn.crypto&&(o=Yn.crypto),!o&&typeof N0=="function")try{o=KLe}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(x){var b;return y.prototype=x,b=new y,y.prototype=null,b}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var x=s(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,x){y=this.words=y||[],x!=i?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||h).stringify(this)},concat:function(y){var x=this.words,b=y.words,_=this.sigBytes,S=y.sigBytes;if(this.clamp(),_%4)for(var O=0;O>>2]>>>24-O%4*8&255;x[_+O>>>2]|=C<<24-(_+O)%4*8}else for(var E=0;E>>2]=b[E>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=r.ceil(x/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],b=0;b>>2]>>>24-S%4*8&255;_.push((O>>>4).toString(16)),_.push((O&15).toString(16))}return _.join("")},parse:function(y){for(var x=y.length,b=[],_=0;_>>3]|=parseInt(y.substr(_,2),16)<<24-_%8*4;return new f.init(b,x/2)}},p=d.Latin1={stringify:function(y){for(var x=y.words,b=y.sigBytes,_=[],S=0;S>>2]>>>24-S%4*8&255;_.push(String.fromCharCode(O))}return _.join("")},parse:function(y){for(var x=y.length,b=[],_=0;_>>2]|=(y.charCodeAt(_)&255)<<24-_%4*8;return new f.init(b,x)}},m=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=m.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,b=this._data,_=b.words,S=b.sigBytes,O=this.blockSize,C=O*4,E=S/C;y?E=r.ceil(E):E=r.max((E|0)-this._minBufferSize,0);var M=E*O,I=r.min(M*4,S);if(M){for(var P=0;P>>7)^(E<<14|E>>>18)^E>>>3,I=f[C-2],P=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;f[C]=M+f[C-7]+P+f[C-16]}var R=b&_^~b&S,T=g&v^g&y^v&y,D=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),U=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),B=O+U+R+u[C]+f[C],W=D+T;O=S,S=_,_=b,b=x+B|0,x=y,y=v,v=g,g=B+W|0}m[0]=m[0]+g|0,m[1]=m[1]+v|0,m[2]=m[2]+y|0,m[3]=m[3]+x|0,m[4]=m[4]+b|0,m[5]=m[5]+_|0,m[6]=m[6]+S|0,m[7]=m[7]+O|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,g=h.sigBytes*8;return p[g>>>5]|=128<<24-g%32,p[(g+64>>>9<<4)+14]=r.floor(m/4294967296),p[(g+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})})(cre);var e$e=cre.exports;const t$e=$t(e$e);var ure={exports:{}};(function(t,e){(function(n,r){t.exports=r(bM())})(Yn,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,m=c[h+1>>>2]>>>24-(h+1)%4*8&255,g=c[h+2>>>2]>>>24-(h+2)%4*8&255,v=p<<16|m<<8|g,y=0;y<4&&h+y*.75>>6*(3-y)&63));var x=f.charAt(64);if(x)for(;d.length%4;)d.push(x);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,g=p|m;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64})})(ure);var n$e=ure.exports;const i8=$t(n$e);var fre={exports:{}};(function(t,e){(function(n,r){t.exports=r(bM())})(Yn,function(n){return n.enc.Utf8})})(fre);var r$e=fre.exports;const i$e=$t(r$e);function aL(t){this.message=t}aL.prototype=new Error,aL.prototype.name="InvalidCharacterError";var o8=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new aL("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=e.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?a+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function o$e(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(o8(n).replace(/(.)/g,function(r,i){var o=i.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(e)}catch{return o8(e)}}function uT(t){this.message=t}function a$e(t,e){if(typeof t!="string")throw new uT("Invalid token specified");var n=(e=e||{}).header===!0?0:1;try{return JSON.parse(o$e(t.split(".")[n]))}catch(r){throw new uT("Invalid token specified: "+r.message)}}uT.prototype=new Error,uT.prototype.name="InvalidTokenError";var s$e={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},rl,il,fT=(t=>(t[t.NONE=0]="NONE",t[t.ERROR=1]="ERROR",t[t.WARN=2]="WARN",t[t.INFO=3]="INFO",t[t.DEBUG=4]="DEBUG",t))(fT||{});(t=>{function e(){rl=3,il=s$e}t.reset=e;function n(i){if(!(0<=i&&i<=4))throw new Error("Invalid log level");rl=i}t.setLevel=n;function r(i){il=i}t.setLogger=r})(fT||(fT={}));var At=class{constructor(t){this._name=t}debug(...t){rl>=4&&il.debug(At._format(this._name,this._method),...t)}info(...t){rl>=3&&il.info(At._format(this._name,this._method),...t)}warn(...t){rl>=2&&il.warn(At._format(this._name,this._method),...t)}error(...t){rl>=1&&il.error(At._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const e=Object.create(this);return e._method=t,e.debug("begin"),e}static createStatic(t,e){const n=new At(`${t}.${e}`);return n.debug("begin"),n}static _format(t,e){const n=`[${t}]`;return e?`${n} ${e}:`:n}static debug(t,...e){rl>=4&&il.debug(At._format(t),...e)}static info(t,...e){rl>=3&&il.info(At._format(t),...e)}static warn(t,...e){rl>=2&&il.warn(At._format(t),...e)}static error(t,...e){rl>=1&&il.error(At._format(t),...e)}};fT.reset();var l$e="10000000-1000-4000-8000-100000000000",_l=class{static _randomWord(){return JLe.lib.WordArray.random(1).words[0]}static generateUUIDv4(){return l$e.replace(/[018]/g,e=>(+e^_l._randomWord()&15>>+e/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return _l.generateUUIDv4()+_l.generateUUIDv4()+_l.generateUUIDv4()}static generateCodeChallenge(t){try{const e=t$e(t);return i8.stringify(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(e){throw At.error("CryptoUtils.generateCodeChallenge",e),e}}static generateBasicAuth(t,e){const n=i$e.parse([t,e].join(":"));return i8.stringify(n)}},Xu=class{constructor(e){this._name=e,this._logger=new At(`Event('${this._name}')`),this._callbacks=[]}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const n=this._callbacks.lastIndexOf(e);n>=0&&this._callbacks.splice(n,1)}raise(...e){this._logger.debug("raise:",...e);for(const n of this._callbacks)n(...e)}},sL=class{static decode(t){try{return a$e(t)}catch(e){throw At.error("JwtUtils.decode",e),e}}},a8=class{static center({...t}){var e,n,r;return t.width==null&&(t.width=(e=[800,720,600,480].find(i=>i<=window.outerWidth/1.618))!=null?e:360),(n=t.left)!=null||(t.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-t.width)/2))),t.height!=null&&((r=t.top)!=null||(t.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-t.height)/2)))),t}static serialize(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}=${typeof n!="boolean"?n:n?"yes":"no"}`).join(",")}},Xa=class extends Xu{constructor(){super(...arguments),this._logger=new At(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-Xa.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=Xa.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const e=this._logger.create("init");t=Math.max(Math.floor(t),1);const n=Xa.getEpochTime()+t;if(this.expiration===n&&this._timerHandle){e.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),e.debug("using duration",t),this._expiration=n;const r=Math.min(t,5);this._timerHandle=setInterval(this._callback,r*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},lL=class{static readParams(t,e="query"){if(!t)throw new TypeError("Invalid URL");const r=new URL(t,"http://127.0.0.1")[e==="fragment"?"hash":"search"];return new URLSearchParams(r.slice(1))}},cL=";",Fh=class extends Error{constructor(t,e){var n,r,i;if(super(t.error_description||t.error||""),this.form=e,this.name="ErrorResponse",!t.error)throw At.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=t.error,this.error_description=(n=t.error_description)!=null?n:null,this.error_uri=(r=t.error_uri)!=null?r:null,this.state=t.userState,this.session_state=(i=t.session_state)!=null?i:null,this.url_state=t.url_state}},Vj=class extends Error{constructor(t){super(t),this.name="ErrorTimeout"}},c$e=class{constructor(t){this._logger=new At("AccessTokenEvents"),this._expiringTimer=new Xa("Access token expiring"),this._expiredTimer=new Xa("Access token expired"),this._expiringNotificationTimeInSeconds=t.expiringNotificationTimeInSeconds}load(t){const e=this._logger.create("load");if(t.access_token&&t.expires_in!==void 0){const n=t.expires_in;if(e.debug("access token present, remaining duration:",n),n>0){let i=n-this._expiringNotificationTimeInSeconds;i<=0&&(i=1),e.debug("registering expiring timer, raising in",i,"seconds"),this._expiringTimer.init(i)}else e.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;e.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(t){return this._expiringTimer.addHandler(t)}removeAccessTokenExpiring(t){this._expiringTimer.removeHandler(t)}addAccessTokenExpired(t){return this._expiredTimer.addHandler(t)}removeAccessTokenExpired(t){this._expiredTimer.removeHandler(t)}},u$e=class{constructor(t,e,n,r,i){this._callback=t,this._client_id=e,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new At("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=a=>{a.origin===this._frame_origin&&a.source===this._frame.contentWindow&&(a.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):a.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(a.data+" message from check session op iframe"))};const o=new URL(n);this._frame_origin=o.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=o.href}load(){return new Promise(t=>{this._frame.onload=()=>{t()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(t){if(this._session_state===t)return;this._logger.create("start"),this.stop(),this._session_state=t;const e=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};e(),this._timer=setInterval(e,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},dre=class{constructor(){this._logger=new At("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(t){return this._logger.create(`getItem('${t}')`),this._data[t]}setItem(t,e){this._logger.create(`setItem('${t}')`),this._data[t]=e}removeItem(t){this._logger.create(`removeItem('${t}')`),delete this._data[t]}get length(){return Object.getOwnPropertyNames(this._data).length}key(t){return Object.getOwnPropertyNames(this._data)[t]}},Gj=class{constructor(t=[],e=null,n={}){this._jwtHandler=e,this._extraHeaders=n,this._logger=new At("JsonService"),this._contentTypes=[],this._contentTypes.push(...t,"application/json"),e&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(t,e={}){const{timeoutInSeconds:n,...r}=e;if(!n)return await fetch(t,r);const i=new AbortController,o=setTimeout(()=>i.abort(),n*1e3);try{return await fetch(t,{...e,signal:i.signal})}catch(a){throw a instanceof DOMException&&a.name==="AbortError"?new Vj("Network timed out"):a}finally{clearTimeout(o)}}async getJson(t,{token:e,credentials:n}={}){const r=this._logger.create("getJson"),i={Accept:this._contentTypes.join(", ")};e&&(r.debug("token passed, setting Authorization header"),i.Authorization="Bearer "+e),this.appendExtraHeaders(i);let o;try{r.debug("url:",t),o=await this.fetchWithTimeout(t,{method:"GET",headers:i,credentials:n})}catch(l){throw r.error("Network Error"),l}r.debug("HTTP response received, status",o.status);const a=o.headers.get("Content-Type");if(a&&!this._contentTypes.find(l=>a.startsWith(l))&&r.throw(new Error(`Invalid response Content-Type: ${a??"undefined"}, from URL: ${t}`)),o.ok&&this._jwtHandler&&(a!=null&&a.startsWith("application/jwt")))return await this._jwtHandler(await o.text());let s;try{s=await o.json()}catch(l){throw r.error("Error parsing JSON response",l),o.ok?l:new Error(`${o.statusText} (${o.status})`)}if(!o.ok)throw r.error("Error from server:",s),s.error?new Fh(s):new Error(`${o.statusText} (${o.status}): ${JSON.stringify(s)}`);return s}async postForm(t,{body:e,basicAuth:n,timeoutInSeconds:r,initCredentials:i}){const o=this._logger.create("postForm"),a={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};n!==void 0&&(a.Authorization="Basic "+n),this.appendExtraHeaders(a);let s;try{o.debug("url:",t),s=await this.fetchWithTimeout(t,{method:"POST",headers:a,body:e,timeoutInSeconds:r,credentials:i})}catch(f){throw o.error("Network error"),f}o.debug("HTTP response received, status",s.status);const l=s.headers.get("Content-Type");if(l&&!this._contentTypes.find(f=>l.startsWith(f)))throw new Error(`Invalid response Content-Type: ${l??"undefined"}, from URL: ${t}`);const c=await s.text();let u={};if(c)try{u=JSON.parse(c)}catch(f){throw o.error("Error parsing JSON response",f),s.ok?f:new Error(`${s.statusText} (${s.status})`)}if(!s.ok)throw o.error("Error from server:",u),u.error?new Fh(u,e):new Error(`${s.statusText} (${s.status}): ${JSON.stringify(u)}`);return u}appendExtraHeaders(t){const e=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];n.length!==0&&n.forEach(i=>{if(r.includes(i.toLocaleLowerCase())){e.warn("Protected header could not be overridden",i,r);return}const o=typeof this._extraHeaders[i]=="function"?this._extraHeaders[i]():this._extraHeaders[i];o&&o!==""&&(t[i]=o)})}},f$e=class{constructor(t){this._settings=t,this._logger=new At("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new Gj(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const t=this._logger.create("getMetadata");if(this._metadata)return t.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw t.throw(new Error("No authority or metadataUrl configured on settings")),null;t.debug("getting metadata from",this._metadataUrl);const e=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return t.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,e),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(t=!0){return this._getMetadataProperty("token_endpoint",t)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(t=!0){return this._getMetadataProperty("revocation_endpoint",t)}getKeysEndpoint(t=!0){return this._getMetadataProperty("jwks_uri",t)}async _getMetadataProperty(t,e=!1){const n=this._logger.create(`_getMetadataProperty('${t}')`),r=await this.getMetadata();if(n.debug("resolved"),r[t]===void 0){if(e===!0){n.warn("Metadata does not contain optional property");return}n.throw(new Error("Metadata does not contain property "+t))}return r[t]}async getSigningKeys(){const t=this._logger.create("getSigningKeys");if(this._signingKeys)return t.debug("returning signingKeys from cache"),this._signingKeys;const e=await this.getKeysEndpoint(!1);t.debug("got jwks_uri",e);const n=await this._jsonService.getJson(e);if(t.debug("got key set",n),!Array.isArray(n.keys))throw t.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},hre=class{constructor({prefix:t="oidc.",store:e=localStorage}={}){this._logger=new At("WebStorageStateStore"),this._store=e,this._prefix=t}async set(t,e){this._logger.create(`set('${t}')`),t=this._prefix+t,await this._store.setItem(t,e)}async get(t){return this._logger.create(`get('${t}')`),t=this._prefix+t,await this._store.getItem(t)}async remove(t){this._logger.create(`remove('${t}')`),t=this._prefix+t;const e=await this._store.getItem(t);return await this._store.removeItem(t),e}async getAllKeys(){this._logger.create("getAllKeys");const t=await this._store.length,e=[];for(let n=0;n{const r=this._logger.create("_getClaimsFromJwt");try{const i=sL.decode(n);return r.debug("JWT decoding successful"),i}catch(i){throw r.error("Error parsing JWT response"),i}},this._jsonService=new Gj(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(t){const e=this._logger.create("getClaims");t||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();e.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:t,credentials:this._settings.fetchRequestCredentials});return e.debug("got claims",r),r}},pre=class{constructor(t,e){this._settings=t,this._metadataService=e,this._logger=new At("TokenClient"),this._jsonService=new Gj(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:t="authorization_code",redirect_uri:e=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,...i}){const o=this._logger.create("exchangeCode");n||o.throw(new Error("A client_id is required")),e||o.throw(new Error("A redirect_uri is required")),i.code||o.throw(new Error("A code is required"));const a=new URLSearchParams({grant_type:t,redirect_uri:e});for(const[u,f]of Object.entries(i))f!=null&&a.set(u,f);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw o.throw(new Error("A client_secret is required")),null;s=_l.generateBasicAuth(n,r);break;case"client_secret_post":a.append("client_id",n),r&&a.append("client_secret",r);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),c}async exchangeCredentials({grant_type:t="password",client_id:e=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...i}){const o=this._logger.create("exchangeCredentials");e||o.throw(new Error("A client_id is required"));const a=new URLSearchParams({grant_type:t,scope:r});for(const[u,f]of Object.entries(i))f!=null&&a.set(u,f);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw o.throw(new Error("A client_secret is required")),null;s=_l.generateBasicAuth(e,n);break;case"client_secret_post":a.append("client_id",e),n&&a.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),c}async exchangeRefreshToken({grant_type:t="refresh_token",client_id:e=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,...i}){const o=this._logger.create("exchangeRefreshToken");e||o.throw(new Error("A client_id is required")),i.refresh_token||o.throw(new Error("A refresh_token is required"));const a=new URLSearchParams({grant_type:t});for(const[u,f]of Object.entries(i))Array.isArray(f)?f.forEach(d=>a.append(u,d)):f!=null&&a.set(u,f);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw o.throw(new Error("A client_secret is required")),null;s=_l.generateBasicAuth(e,n);break;case"client_secret_post":a.append("client_id",e),n&&a.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),c}async revoke(t){var e;const n=this._logger.create("revoke");t.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(e=t.token_type_hint)!=null?e:"default token type"}`);const i=new URLSearchParams;for(const[o,a]of Object.entries(t))a!=null&&i.set(o,a);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i}),n.debug("got response")}},x$e=class{constructor(t,e,n){this._settings=t,this._metadataService=e,this._claimsService=n,this._logger=new At("ResponseValidator"),this._userInfoService=new y$e(this._settings,this._metadataService),this._tokenClient=new pre(this._settings,this._metadataService)}async validateSigninResponse(t,e){const n=this._logger.create("validateSigninResponse");this._processSigninState(t,e),n.debug("state processed"),await this._processCode(t,e),n.debug("code processed"),t.isOpenId&&this._validateIdTokenAttributes(t),n.debug("tokens validated"),await this._processClaims(t,e==null?void 0:e.skipUserInfo,t.isOpenId),n.debug("claims processed")}async validateCredentialsResponse(t,e){const n=this._logger.create("validateCredentialsResponse");t.isOpenId&&t.id_token&&this._validateIdTokenAttributes(t),n.debug("tokens validated"),await this._processClaims(t,e,t.isOpenId),n.debug("claims processed")}async validateRefreshResponse(t,e){var n,r;const i=this._logger.create("validateRefreshResponse");t.userState=e.data,(n=t.session_state)!=null||(t.session_state=e.session_state),(r=t.scope)!=null||(t.scope=e.scope),t.isOpenId&&t.id_token&&(this._validateIdTokenAttributes(t,e.id_token),i.debug("ID Token validated")),t.id_token||(t.id_token=e.id_token,t.profile=e.profile);const o=t.isOpenId&&!!t.id_token;await this._processClaims(t,!1,o),i.debug("claims processed")}validateSignoutResponse(t,e){const n=this._logger.create("validateSignoutResponse");if(e.id!==t.state&&n.throw(new Error("State does not match")),n.debug("state validated"),t.userState=e.data,t.error)throw n.warn("Response was error",t.error),new Fh(t)}_processSigninState(t,e){var n;const r=this._logger.create("_processSigninState");if(e.id!==t.state&&r.throw(new Error("State does not match")),e.client_id||r.throw(new Error("No client_id on state")),e.authority||r.throw(new Error("No authority on state")),this._settings.authority!==e.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==e.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),t.userState=e.data,t.url_state=e.url_state,(n=t.scope)!=null||(t.scope=e.scope),t.error)throw r.warn("Response was error",t.error),new Fh(t);e.code_verifier&&!t.code&&r.throw(new Error("Expected code in response"))}async _processClaims(t,e=!1,n=!0){const r=this._logger.create("_processClaims");if(t.profile=this._claimsService.filterProtocolClaims(t.profile),e||!this._settings.loadUserInfo||!t.access_token){r.debug("not loading user info");return}r.debug("loading user info");const i=await this._userInfoService.getClaims(t.access_token);r.debug("user info claims received from user info endpoint"),n&&i.sub!==t.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),t.profile=this._claimsService.mergeClaims(t.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",t.profile)}async _processCode(t,e){const n=this._logger.create("_processCode");if(t.code){n.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:e.client_id,client_secret:e.client_secret,code:t.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier,...e.extraTokenParams});Object.assign(t,r)}else n.debug("No code to process")}_validateIdTokenAttributes(t,e){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=sL.decode((n=t.id_token)!=null?n:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),e){const o=sL.decode(e);i.sub!==o.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==o.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==o.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&o.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}t.profile=i}},jg=class{constructor(t){this.id=t.id||_l.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=Xa.getEpochTime(),this.request_type=t.request_type,this.url_state=t.url_state}toStorageString(){return new At("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return At.createStatic("State","fromStorageString"),new jg(JSON.parse(t))}static async clearStaleState(t,e){const n=At.createStatic("State","clearStaleState"),r=Xa.getEpochTime()-e,i=await t.getAllKeys();n.debug("got keys",i);for(let o=0;oy.searchParams.append("resource",_));for(const[b,_]of Object.entries({response_mode:s,...v,...p}))_!=null&&y.searchParams.append(b,_.toString());this.url=y.href}},_$e="openid",Zk=class{constructor(t){if(this.access_token="",this.token_type="",this.profile={},this.state=t.get("state"),this.session_state=t.get("session_state"),this.state){const e=decodeURIComponent(this.state).split(cL);this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(cL))}this.error=t.get("error"),this.error_description=t.get("error_description"),this.error_uri=t.get("error_uri"),this.code=t.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Xa.getEpochTime()}set expires_in(t){typeof t=="string"&&(t=Number(t)),t!==void 0&&t>=0&&(this.expires_at=Math.floor(t)+Xa.getEpochTime())}get isOpenId(){var t;return((t=this.scope)==null?void 0:t.split(" ").includes(_$e))||!!this.id_token}},w$e=class{constructor({url:t,state_data:e,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:i,request_type:o,client_id:a}){if(this._logger=new At("SignoutRequest"),!t)throw this._logger.error("ctor: No url passed"),new Error("url");const s=new URL(t);n&&s.searchParams.append("id_token_hint",n),a&&s.searchParams.append("client_id",a),r&&(s.searchParams.append("post_logout_redirect_uri",r),e&&(this.state=new jg({data:e,request_type:o}),s.searchParams.append("state",this.state.id)));for(const[l,c]of Object.entries({...i}))c!=null&&s.searchParams.append(l,c.toString());this.url=s.href}},S$e=class{constructor(t){this.state=t.get("state"),this.error=t.get("error"),this.error_description=t.get("error_description"),this.error_uri=t.get("error_uri")}},O$e=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],C$e=["sub","iss","aud","exp","iat"],T$e=class{constructor(t){this._settings=t,this._logger=new At("ClaimsService")}filterProtocolClaims(t){const e={...t};if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=O$e;for(const r of n)C$e.includes(r)||delete e[r]}return e}mergeClaims(t,e){const n={...t};for(const[r,i]of Object.entries(e))for(const o of Array.isArray(i)?i:[i]){const a=n[r];a===void 0?n[r]=o:Array.isArray(a)?a.includes(o)||a.push(o):n[r]!==o&&(typeof o=="object"&&this._settings.mergeClaims?n[r]=this.mergeClaims(a,o):n[r]=[a,o])}return n}},E$e=class{constructor(t,e){this._logger=new At("OidcClient"),this.settings=t instanceof uL?t:new uL(t),this.metadataService=e??new f$e(this.settings),this._claimsService=new T$e(this.settings),this._validator=new x$e(this.settings,this.metadataService,this._claimsService),this._tokenClient=new pre(this.settings,this.metadataService)}async createSigninRequest({state:t,request:e,request_uri:n,request_type:r,id_token_hint:i,login_hint:o,skipUserInfo:a,nonce:s,url_state:l,response_type:c=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:f=this.settings.redirect_uri,prompt:d=this.settings.prompt,display:h=this.settings.display,max_age:p=this.settings.max_age,ui_locales:m=this.settings.ui_locales,acr_values:g=this.settings.acr_values,resource:v=this.settings.resource,response_mode:y=this.settings.response_mode,extraQueryParams:x=this.settings.extraQueryParams,extraTokenParams:b=this.settings.extraTokenParams}){const _=this._logger.create("createSigninRequest");if(c!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const S=await this.metadataService.getAuthorizationEndpoint();_.debug("Received authorization endpoint",S);const O=new b$e({url:S,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:f,response_type:c,scope:u,state_data:t,url_state:l,prompt:d,display:h,max_age:p,ui_locales:m,id_token_hint:i,login_hint:o,acr_values:g,resource:v,request:e,request_uri:n,extraQueryParams:x,extraTokenParams:b,request_type:r,response_mode:y,client_secret:this.settings.client_secret,skipUserInfo:a,nonce:s,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const C=O.state;return await this.settings.stateStore.set(C.id,C.toStorageString()),O}async readSigninResponseState(t,e=!1){const n=this._logger.create("readSigninResponseState"),r=new Zk(lL.readParams(t,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[e?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:Hj.fromStorageString(i),response:r}}async processSigninResponse(t){const e=this._logger.create("processSigninResponse"),{state:n,response:r}=await this.readSigninResponseState(t,!0);return e.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,n),r}async processResourceOwnerPasswordCredentials({username:t,password:e,skipUserInfo:n=!1,extraTokenParams:r={}}){const i=await this._tokenClient.exchangeCredentials({username:t,password:e,...r}),o=new Zk(new URLSearchParams);return Object.assign(o,i),await this._validator.validateCredentialsResponse(o,n),o}async useRefreshToken({state:t,timeoutInSeconds:e}){var n;const r=this._logger.create("useRefreshToken");let i;if(this.settings.refreshTokenAllowedScope===void 0)i=t.scope;else{const s=this.settings.refreshTokenAllowedScope.split(" ");i=(((n=t.scope)==null?void 0:n.split(" "))||[]).filter(c=>s.includes(c)).join(" ")}const o=await this._tokenClient.exchangeRefreshToken({refresh_token:t.refresh_token,resource:t.resource,scope:i,timeoutInSeconds:e}),a=new Zk(new URLSearchParams);return Object.assign(a,o),r.debug("validating response",a),await this._validator.validateRefreshResponse(a,{...t,scope:i}),a}async createSignoutRequest({state:t,id_token_hint:e,client_id:n,request_type:r,post_logout_redirect_uri:i=this.settings.post_logout_redirect_uri,extraQueryParams:o=this.settings.extraQueryParams}={}){const a=this._logger.create("createSignoutRequest"),s=await this.metadataService.getEndSessionEndpoint();if(!s)throw a.throw(new Error("No end session endpoint")),null;a.debug("Received end session endpoint",s),!n&&i&&!e&&(n=this.settings.client_id);const l=new w$e({url:s,id_token_hint:e,client_id:n,post_logout_redirect_uri:i,state_data:t,extraQueryParams:o,request_type:r});await this.clearStaleState();const c=l.state;return c&&(a.debug("Signout request has state to persist"),await this.settings.stateStore.set(c.id,c.toStorageString())),l}async readSignoutResponseState(t,e=!1){const n=this._logger.create("readSignoutResponseState"),r=new S$e(lL.readParams(t,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new Fh(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[e?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:jg.fromStorageString(i),response:r}}async processSignoutResponse(t){const e=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(t,!0);return n?(e.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):e.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),jg.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(t,e){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:t,token_type_hint:e})}},P$e=class{constructor(t){this._userManager=t,this._logger=new At("SessionMonitor"),this._start=async e=>{const n=e.session_state;if(!n)return;const r=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,r.debug("session_state",n,", sub",this._sub)):(this._sub=void 0,this._sid=void 0,r.debug("session_state",n,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(n);return}try{const i=await this._userManager.metadataService.getCheckSessionIframe();if(i){r.debug("initializing check session iframe");const o=this._userManager.settings.client_id,a=this._userManager.settings.checkSessionIntervalInSeconds,s=this._userManager.settings.stopCheckSessionOnError,l=new u$e(this._callback,o,i,a,s);await l.load(),this._checkSessionIFrame=l,l.start(n)}else r.warn("no check session iframe found in the metadata")}catch(i){r.error("Error from getCheckSessionIframe:",i instanceof Error?i.message:i)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const n=setInterval(async()=>{clearInterval(n);try{const r=await this._userManager.querySessionStatus();if(r){const i={session_state:r.session_state,profile:r.sub&&r.sid?{sub:r.sub,sid:r.sid}:null};this._start(i)}}catch(r){e.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const n=await this._userManager.querySessionStatus();let r=!0;n&&this._checkSessionIFrame?n.sub===this._sub?(r=!1,this._checkSessionIFrame.start(n.session_state),n.sid===this._sid?e.debug("same sub still logged in at OP, restarting check session iframe; session_state",n.session_state):(e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",n.session_state),this._userManager.events._raiseUserSessionChanged())):e.debug("different subject signed into OP",n.sub):e.debug("subject no longer signed into OP"),r?this._sub?this._userManager.events._raiseUserSignedOut():this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(n){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",n),this._userManager.events._raiseUserSignedOut())}},t||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const t=await this._userManager.getUser();if(t)this._start(t);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const n={session_state:e.session_state,profile:e.sub&&e.sid?{sub:e.sub,sid:e.sid}:null};this._start(n)}}}},aC=class{constructor(t){var e;this.id_token=t.id_token,this.session_state=(e=t.session_state)!=null?e:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState,this.url_state=t.url_state}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Xa.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+Xa.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,e;return(e=(t=this.scope)==null?void 0:t.split(" "))!=null?e:[]}toStorageString(){return new At("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return At.createStatic("User","fromStorageString"),new aC(JSON.parse(t))}},s8="oidc-client",mre=class{constructor(){this._abort=new Xu("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(t){const e=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");e.debug("setting URL in window"),this._window.location.replace(t.url);const{url:n,keepOpen:r}=await new Promise((i,o)=>{const a=s=>{var l;const c=s.data,u=(l=t.scriptOrigin)!=null?l:window.location.origin;if(!(s.origin!==u||(c==null?void 0:c.source)!==s8)){try{const f=lL.readParams(c.url,t.response_mode).get("state");if(f||e.warn("no state found in response url"),s.source!==this._window&&f!==t.state)return}catch{this._dispose(),o(new Error("Invalid response from window"))}i(c)}};window.addEventListener("message",a,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",a,!1)),this._disposeHandlers.add(this._abort.addHandler(s=>{this._dispose(),o(s)}))});return e.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const t of this._disposeHandlers)t();this._disposeHandlers.clear()}static _notifyParent(t,e,n=!1,r=window.location.origin){t.postMessage({source:s8,url:e,keepOpen:n},r)}},gre={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},vre="_blank",M$e=60,k$e=2,yre=10,A$e=class extends uL{constructor(t){const{popup_redirect_uri:e=t.redirect_uri,popup_post_logout_redirect_uri:n=t.post_logout_redirect_uri,popupWindowFeatures:r=gre,popupWindowTarget:i=vre,redirectMethod:o="assign",redirectTarget:a="self",iframeNotifyParentOrigin:s=t.iframeNotifyParentOrigin,iframeScriptOrigin:l=t.iframeScriptOrigin,silent_redirect_uri:c=t.redirect_uri,silentRequestTimeoutInSeconds:u=yre,automaticSilentRenew:f=!0,validateSubOnSilentRenew:d=!0,includeIdTokenInSilentRenew:h=!1,monitorSession:p=!1,monitorAnonymousSession:m=!1,checkSessionIntervalInSeconds:g=k$e,query_status_response_type:v="code",stopCheckSessionOnError:y=!0,revokeTokenTypes:x=["access_token","refresh_token"],revokeTokensOnSignout:b=!1,includeIdTokenInSilentSignout:_=!1,accessTokenExpiringNotificationTimeInSeconds:S=M$e,userStore:O}=t;if(super(t),this.popup_redirect_uri=e,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=o,this.redirectTarget=a,this.iframeNotifyParentOrigin=s,this.iframeScriptOrigin=l,this.silent_redirect_uri=c,this.silentRequestTimeoutInSeconds=u,this.automaticSilentRenew=f,this.validateSubOnSilentRenew=d,this.includeIdTokenInSilentRenew=h,this.monitorSession=p,this.monitorAnonymousSession=m,this.checkSessionIntervalInSeconds=g,this.stopCheckSessionOnError=y,this.query_status_response_type=v,this.revokeTokenTypes=x,this.revokeTokensOnSignout=b,this.includeIdTokenInSilentSignout=_,this.accessTokenExpiringNotificationTimeInSeconds=S,O)this.userStore=O;else{const C=typeof window<"u"?window.sessionStorage:new dre;this.userStore=new hre({store:C})}}},fL=class extends mre{constructor({silentRequestTimeoutInSeconds:t=yre}){super(),this._logger=new At("IFrameWindow"),this._timeoutInSeconds=t,this._frame=fL.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const e=setTimeout(()=>this._abort.raise(new Vj("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(e)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",e=>{var n;const r=e.target;(n=r.parentNode)==null||n.removeChild(r),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,e){return super._notifyParent(window.parent,t,!1,e)}},R$e=class{constructor(t){this._settings=t,this._logger=new At("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:t=this._settings.silentRequestTimeoutInSeconds}){return new fL({silentRequestTimeoutInSeconds:t})}async callback(t){this._logger.create("callback"),fL.notifyParent(t,this._settings.iframeNotifyParentOrigin)}},I$e=500,D$e=1e3,l8=class extends mre{constructor({popupWindowTarget:t=vre,popupWindowFeatures:e={}}){super(),this._logger=new At("PopupWindow");const n=a8.center({...gre,...e});this._window=window.open(void 0,t,a8.serialize(n)),e.closePopupWindowAfterInSeconds&&e.closePopupWindowAfterInSeconds>0&&setTimeout(()=>{if(!this._window||typeof this._window.closed!="boolean"||this._window.closed){this._abort.raise(new Error("Popup blocked by user"));return}this.close()},e.closePopupWindowAfterInSeconds*D$e)}async navigate(t){var e;(e=this._window)==null||e.focus();const n=setInterval(()=>{(!this._window||this._window.closed)&&this._abort.raise(new Error("Popup closed by user"))},I$e);return this._disposeHandlers.add(()=>clearInterval(n)),await super.navigate(t)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(t,e){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,t,e)}},L$e=class{constructor(t){this._settings=t,this._logger=new At("PopupNavigator")}async prepare({popupWindowFeatures:t=this._settings.popupWindowFeatures,popupWindowTarget:e=this._settings.popupWindowTarget}){return new l8({popupWindowFeatures:t,popupWindowTarget:e})}async callback(t,{keepOpen:e=!1}){this._logger.create("callback"),l8.notifyOpener(t,e)}},$$e=class{constructor(t){this._settings=t,this._logger=new At("RedirectNavigator")}async prepare({redirectMethod:t=this._settings.redirectMethod,redirectTarget:e=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;e==="top"&&(r=(n=window.top)!=null?n:window.self);const i=r.location[t].bind(r.location);let o;return{navigate:async a=>{this._logger.create("navigate");const s=new Promise((l,c)=>{o=c});return i(a.url),await s},close:()=>{this._logger.create("close"),o==null||o(new Error("Redirect aborted")),r.stop()}}}async callback(){}},N$e=class extends c$e{constructor(t){super({expiringNotificationTimeInSeconds:t.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new At("UserManagerEvents"),this._userLoaded=new Xu("User loaded"),this._userUnloaded=new Xu("User unloaded"),this._silentRenewError=new Xu("Silent renew error"),this._userSignedIn=new Xu("User signed in"),this._userSignedOut=new Xu("User signed out"),this._userSessionChanged=new Xu("User session changed")}load(t,e=!0){super.load(t),e&&this._userLoaded.raise(t)}unload(){super.unload(),this._userUnloaded.raise()}addUserLoaded(t){return this._userLoaded.addHandler(t)}removeUserLoaded(t){return this._userLoaded.removeHandler(t)}addUserUnloaded(t){return this._userUnloaded.addHandler(t)}removeUserUnloaded(t){return this._userUnloaded.removeHandler(t)}addSilentRenewError(t){return this._silentRenewError.addHandler(t)}removeSilentRenewError(t){return this._silentRenewError.removeHandler(t)}_raiseSilentRenewError(t){this._silentRenewError.raise(t)}addUserSignedIn(t){return this._userSignedIn.addHandler(t)}removeUserSignedIn(t){this._userSignedIn.removeHandler(t)}_raiseUserSignedIn(){this._userSignedIn.raise()}addUserSignedOut(t){return this._userSignedOut.addHandler(t)}removeUserSignedOut(t){this._userSignedOut.removeHandler(t)}_raiseUserSignedOut(){this._userSignedOut.raise()}addUserSessionChanged(t){return this._userSessionChanged.addHandler(t)}removeUserSessionChanged(t){this._userSessionChanged.removeHandler(t)}_raiseUserSessionChanged(){this._userSessionChanged.raise()}},F$e=class{constructor(t){this._userManager=t,this._logger=new At("SilentRenewService"),this._isStarted=!1,this._retryTimer=new Xa("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(n){if(n instanceof Vj){e.warn("ErrorTimeout from signinSilent:",n,"retry in 5s"),this._retryTimer.init(5);return}e.error("Error from signinSilent:",n),this._userManager.events._raiseSilentRenewError(n)}}}async start(){const t=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(e){t.error("getUser error",e)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},j$e=class{constructor(t,e){this.refresh_token=t.refresh_token,this.id_token=t.id_token,this.session_state=t.session_state,this.scope=t.scope,this.profile=t.profile,this.resource=e,this.data=t.state}},B$e=class{constructor(t,e,n,r){this._logger=new At("UserManager"),this.settings=new A$e(t),this._client=new E$e(t),this._redirectNavigator=e??new $$e(this.settings),this._popupNavigator=n??new L$e(this.settings),this._iframeNavigator=r??new R$e(this.settings),this._events=new N$e(this.settings),this._silentRenewService=new F$e(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new P$e(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const t=this._logger.create("getUser"),e=await this._loadUser();return e?(t.info("user loaded"),this._events.load(e,!1),e):(t.info("user not found in storage"),null)}async removeUser(){const t=this._logger.create("removeUser");await this.storeUser(null),t.info("user removed from storage"),this._events.unload()}async signinRedirect(t={}){this._logger.create("signinRedirect");const{redirectMethod:e,...n}=t,r=await this._redirectNavigator.prepare({redirectMethod:e});await this._signinStart({request_type:"si:r",...n},r)}async signinRedirectCallback(t=window.location.href){const e=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(t);return n.profile&&n.profile.sub?e.info("success, signed in subject",n.profile.sub):e.info("no subject"),n}async signinResourceOwnerCredentials({username:t,password:e,skipUserInfo:n=!1}){const r=this._logger.create("signinResourceOwnerCredential"),i=await this._client.processResourceOwnerPasswordCredentials({username:t,password:e,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const o=await this._buildUser(i);return o.profile&&o.profile.sub?r.info("success, signed in subject",o.profile.sub):r.info("no subject"),o}async signinPopup(t={}){const e=this._logger.create("signinPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...i}=t,o=this.settings.popup_redirect_uri;o||e.throw(new Error("No popup_redirect_uri configured"));const a=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r}),s=await this._signin({request_type:"si:p",redirect_uri:o,display:"popup",...i},a);return s&&(s.profile&&s.profile.sub?e.info("success, signed in subject",s.profile.sub):e.info("no subject")),s}async signinPopupCallback(t=window.location.href,e=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(t,{keepOpen:e}),n.info("success")}async signinSilent(t={}){var e;const n=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,resource:i,...o}=t;let a=await this._loadUser();if(a!=null&&a.refresh_token){n.debug("using refresh token");const u=new j$e(a,i);return await this._useRefreshToken(u)}const s=this.settings.silent_redirect_uri;s||n.throw(new Error("No silent_redirect_uri configured"));let l;a&&this.settings.validateSubOnSilentRenew&&(n.debug("subject prior to silent renew:",a.profile.sub),l=a.profile.sub);const c=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return a=await this._signin({request_type:"si:s",redirect_uri:s,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?a==null?void 0:a.id_token:void 0,...o},c,l),a&&((e=a.profile)!=null&&e.sub?n.info("success, signed in subject",a.profile.sub):n.info("no subject")),a}async _useRefreshToken(t){const e=await this._client.useRefreshToken({state:t,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),n=new aC({...t,...e});return await this.storeUser(n),this._events.load(n),n}async signinSilentCallback(t=window.location.href){const e=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(t),e.info("success")}async signinCallback(t=window.location.href){const{state:e}=await this._client.readSigninResponseState(t);switch(e.request_type){case"si:r":return await this.signinRedirectCallback(t);case"si:p":return await this.signinPopupCallback(t);case"si:s":return await this.signinSilentCallback(t);default:throw new Error("invalid response_type in state")}}async signoutCallback(t=window.location.href,e=!1){const{state:n}=await this._client.readSignoutResponseState(t);if(n)switch(n.request_type){case"so:r":await this.signoutRedirectCallback(t);break;case"so:p":await this.signoutPopupCallback(t,e);break;case"so:s":await this.signoutSilentCallback(t);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(t={}){const e=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=t,i=this.settings.silent_redirect_uri;i||e.throw(new Error("No silent_redirect_uri configured"));const o=await this._loadUser(),a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),s=await this._signinStart({request_type:"si:s",redirect_uri:i,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o==null?void 0:o.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},a);try{const l=await this._client.processSigninResponse(s.url);return e.debug("got signin response"),l.session_state&&l.profile.sub?(e.info("success for subject",l.profile.sub),{session_state:l.session_state,sub:l.profile.sub,sid:l.profile.sid}):(e.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof Fh)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return e.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(t,e,n){const r=await this._signinStart(t,e);return await this._signinEnd(r.url,n)}async _signinStart(t,e){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(t);return n.debug("got signin request"),await e.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw n.debug("error after preparing navigator, closing navigator window"),e.close(),r}}async _signinEnd(t,e){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(t);return n.debug("got signin response"),await this._buildUser(r,e)}async _buildUser(t,e){const n=this._logger.create("_buildUser"),r=new aC(t);if(e){if(e!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new Fh({...t,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),this._events.load(r),r}async signoutRedirect(t={}){const e=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=t,i=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},i),e.info("success")}async signoutRedirectCallback(t=window.location.href){const e=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(t);return e.info("success"),n}async signoutPopup(t={}){const e=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...i}=t,o=this.settings.popup_post_logout_redirect_uri,a=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:o,state:o==null?void 0:{},...i},a),e.info("success")}async signoutPopupCallback(t=window.location.href,e=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(t,{keepOpen:e}),n.info("success")}async _signout(t,e){const n=await this._signoutStart(t,e);return await this._signoutEnd(n.url)}async _signoutStart(t={},e){var n;const r=this._logger.create("_signoutStart");try{const i=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(i);const o=t.id_token_hint||i&&i.id_token;o&&(r.debug("setting id_token_hint in signout request"),t.id_token_hint=o),await this.removeUser(),r.debug("user removed, creating signout request");const a=await this._client.createSignoutRequest(t);return r.debug("got signout request"),await e.navigate({url:a.url,state:(n=a.state)==null?void 0:n.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),e.close(),i}}async _signoutEnd(t){const e=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(t);return e.debug("got signout response"),n}async signoutSilent(t={}){var e;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...i}=t,o=this.settings.includeIdTokenInSilentSignout?(e=await this._loadUser())==null?void 0:e.id_token:void 0,a=this.settings.popup_post_logout_redirect_uri,s=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:a,id_token_hint:o,...i},s),n.info("success")}async signoutSilentCallback(t=window.location.href){const e=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(t),e.info("success")}async revokeTokens(t){const e=await this._loadUser();await this._revokeInternal(e,t)}async _revokeInternal(t,e=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!t)return;const r=e.filter(i=>typeof t[i]=="string");if(!r.length){n.debug("no need to revoke due to no token(s)");return}for(const i of r)await this._client.revokeToken(t[i],i),n.info(`${i} revoked successfully`),i!=="access_token"&&(t[i]=null);await this.storeUser(t),n.debug("user stored"),this._events.load(t)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const t=this._logger.create("_loadUser"),e=await this.settings.userStore.get(this._userStoreKey);return e?(t.debug("user storageString loaded"),aC.fromStorageString(e)):(t.debug("no user storageString"),null)}async storeUser(t){const e=this._logger.create("storeUser");if(t){e.debug("storing user");const n=t.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}},qj=ue.createContext(void 0);qj.displayName="AuthContext";var z$e={isLoading:!0,isAuthenticated:!1},U$e=(t,e)=>{switch(e.type){case"INITIALISED":case"USER_LOADED":return{...t,user:e.user,isLoading:!1,isAuthenticated:e.user?!e.user.expired:!1,error:void 0};case"USER_UNLOADED":return{...t,user:void 0,isAuthenticated:!1};case"NAVIGATOR_INIT":return{...t,isLoading:!0,activeNavigator:e.method};case"NAVIGATOR_CLOSE":return{...t,isLoading:!1,activeNavigator:void 0};case"ERROR":return{...t,isLoading:!1,error:e.error};default:return{...t,isLoading:!1,error:new Error(`unknown type ${e.type}`)}}},W$e=(t=window.location)=>{let e=new URLSearchParams(t.search);return!!((e.get("code")||e.get("error"))&&e.get("state")||(e=new URLSearchParams(t.hash.replace("#","?")),(e.get("code")||e.get("error"))&&e.get("state")))},V$e=t=>e=>e instanceof Error?e:new Error(t),G$e=V$e("Login failed"),H$e=["clearStaleState","querySessionStatus","revokeTokens","startSilentRenew","stopSilentRenew"],q$e=["signinPopup","signinSilent","signinRedirect","signinResourceOwnerCredentials","signoutPopup","signoutRedirect","signoutSilent"],Jk=t=>()=>{throw new Error(`UserManager#${t} was called from an unsupported context. If this is a server-rendered page, defer this call with useEffect() or pass a custom UserManager implementation.`)},X$e=typeof window>"u"?null:B$e,Q$e=t=>{const{children:e,onSigninCallback:n,skipSigninCallback:r,onRemoveUser:i,onSignoutRedirect:o,onSignoutPopup:a,implementation:s=X$e,userManager:l,...c}=t,[u]=k.useState(()=>l??(s?new s(c):{settings:c})),[f,d]=k.useReducer(U$e,z$e),h=k.useMemo(()=>Object.assign({settings:u.settings,events:u.events},Object.fromEntries(H$e.map(x=>{var b,_;return[x,(_=(b=u[x])==null?void 0:b.bind(u))!=null?_:Jk(x)]})),Object.fromEntries(q$e.map(x=>[x,u[x]?async b=>{d({type:"NAVIGATOR_INIT",method:x});try{return await u[x](b)}catch(_){return d({type:"ERROR",error:_}),null}finally{d({type:"NAVIGATOR_CLOSE"})}}:Jk(x)]))),[u]),p=k.useRef(!1);k.useEffect(()=>{!u||p.current||(p.current=!0,(async()=>{let x=null;try{W$e()&&!r&&(x=await u.signinCallback(),n&&await n(x)),x=x||await u.getUser(),d({type:"INITIALISED",user:x})}catch(b){d({type:"ERROR",error:G$e(b)})}})())},[u,r,n]),k.useEffect(()=>{if(!u)return;const x=S=>{d({type:"USER_LOADED",user:S})};u.events.addUserLoaded(x);const b=()=>{d({type:"USER_UNLOADED"})};u.events.addUserUnloaded(b);const _=S=>{d({type:"ERROR",error:S})};return u.events.addSilentRenewError(_),()=>{u.events.removeUserLoaded(x),u.events.removeUserUnloaded(b),u.events.removeSilentRenewError(_)}},[u]);const m=k.useCallback(u?()=>u.removeUser().then(i):Jk("removeUser"),[u,i]),g=k.useCallback(x=>h.signoutRedirect(x).then(o),[h.signoutRedirect,o]),v=k.useCallback(x=>h.signoutPopup(x).then(a),[h.signoutPopup,a]),y=k.useCallback(x=>h.signoutSilent(x),[h.signoutSilent]);return ue.createElement(qj.Provider,{value:{...f,...h,removeUser:m,signoutRedirect:g,signoutPopup:v,signoutSilent:y}},e)},Y$e=()=>{const t=ue.useContext(qj);return t||console.warn("AuthProvider context is undefined, please verify you are calling useAuth() as child of a component."),t};const c8="color:green;font-weight:bold;",K$e="color:blue;font-weight:bold;";class Z$e{constructor(e){Ut(this,"_languages");Ut(this,"_content");Ut(this,"_locale");const n=Object.getOwnPropertyNames(e.languages);if(n.findIndex(i=>i==="en")<0)throw new Error('Internal error: locale "en" must be included in supported languages');const r={};e.dictionary.forEach((i,o)=>{n.forEach(s=>{if(!i[s])throw new Error(`Internal error: invalid entry at index ${o} in "./resources/lang.json": missing translation for locale: "${s}": ${i}`)});const a=u8(i.en);r[a]&&console.warn(`Translation already defined for "${i.en}".`),r[a]=i}),this._languages=e.languages,this._content=r,this._locale="en"}get languages(){return this._languages}get locale(){return this._locale}set locale(e){const n=Object.getOwnPropertyNames(this._languages);if(n.findIndex(r=>r===e)<0){const r=e.split("-")[0];if(n.findIndex(i=>i===r)<0){console.error(`No translations found for locale "${e}", staying with "${this._locale}".`);return}else console.warn(`No translations found for locale "${e}", falling back to "${r}".`),e=r}this._locale=e}get(e,n){const r=u8(e),i=this._content[r];let o;return i?(o=i[this._locale],o||(console.debug(`missing translation of phrase %c${e}`,c8,` for locale %c${this._locale}`,K$e),o=e)):(console.debug(`missing translation for phrase %c${e}`,c8),o=e),n&&Object.keys(n).forEach(a=>{o=o.replace("${"+a+"}",`${n[a]}`)}),o}}const J$e=()=>{let t;return navigator.languages&&navigator.languages.length>0?t=navigator.languages[0]:t=navigator.language||navigator.userLanguage||navigator.browserLanguage||"en",t.split("-")[0]},u8=t=>t.toLowerCase(),e3e={en:"English",de:"Deutsch",se:"Svenska"},t3e=[{en:"OK",de:"OK",se:"OK"},{en:"Cancel",de:"Abbrechen",se:"Avbryt"},{en:"Save",de:"Speichern",se:"Spara"},{en:"Select",de:"Auswählen",se:"Välj"},{en:"Add",de:"Hinzufügen",se:"Lägg till"},{en:"Edit",de:"Bearbeiten",se:"Redigera"},{en:"Remove",de:"Entfernen",se:"Ta bort"},{en:"Dataset",de:"Datensatz",se:"Dataset"},{en:"Variable",de:"Variable",se:"Variabel"},{en:"My places",de:"Meine Orte",se:"Mina platser"},{en:"Loading places",de:"Lade Orte",se:"Laddar platser"},{en:"Places",de:"Orte",se:"Platser"},{en:"Place",de:"Ort",se:"Plats"},{en:"Time",de:"Zeit",se:"Tid"},{en:"Missing time axis",de:"Fehlende Zeitachse",se:"Saknar tidsaxel"},{en:"Geometry type",de:"Geometry-Typ",se:"Geometri typ"},{en:"Point",de:"Punkt",se:"Punkt"},{en:"Polygon",de:"Polygon",se:"Polygon"},{en:"Circle",de:"Kreis",se:"Cirkel"},{en:"Multi",de:"Multi",se:"Multi"},{en:"Something went wrong.",de:"Irgendetwas lief schief.",se:"Något gick fel."},{en:"Time-Series",de:"Zeitserie",se:"Tidsserier"},{en:"unknown units",de:"unbekannte Einheiten",se:"okända enheter"},{en:"Values",de:"Werte",se:"Värden"},{en:"Start",de:"Start",se:"Start"},{en:"Stop",de:"Stopp",se:"Stopp"},{en:"Please wait...",de:"Bitte warten...",se:"Vänta ..."},{en:"Loading data",de:"Lade Daten",se:"Laddar data"},{en:"Connecting to server",de:"Verbindung zum Server wird hergestellt",se:"Ansluta till servern"},{en:"Cannot reach server",de:"Kann Server nicht erreichen",se:"Kan inte nå servern"},{en:"Language",de:"Sprache",se:"Språk"},{en:"Settings",de:"Einstellungen",se:"Inställningar"},{en:"General",de:"Allgemein",se:"Allmänhet"},{en:"System Information",de:"Systeminformation",se:"Systeminformation"},{en:"version",de:"Version",se:"Version"},{en:"Server",de:"Server",se:"Server"},{en:"Add Server",de:"Server hinzufügen",se:"Lägg till server"},{en:"Edit Server",de:"Server bearbeiten",se:"Redigera server"},{en:"Select Server",de:"Server auswählen",se:"Välj server"},{en:"On",de:"An",se:"På"},{en:"Off",de:"Aus",se:"Av"},{en:"Time interval of the player",de:"Zeitintervall des Abspielers",se:"Spelarens tidsintervall"},{en:"Show chart after adding a place",de:"Diagram anzeigen, nachdem ein Ort hinzugefügt wurde",se:"Visa diagram efter att du har lagt till en plats"},{en:"Calculate standard deviation",de:"Berechne Standardabweichung",se:"Beräkna standardavvikelsen"},{en:"Calculate median instead of mean (disables standard deviation)",de:"Median statt Mittelwert berechnen (deaktiviert Standardabweichung)",se:"Beräkna median istället för medelvärde (inaktiverar standardavvikelse)"},{en:"Minimal number of data points in a time series update",de:"Minimale Anzahl Datenpunkte in einer Zeitreihen-Aktualisierung",se:"Minimalt antal datapunkter i en tidsserieuppdatering"},{en:"Map",de:"Karte",se:"Karta"},{en:"Projection",de:"Projektion",se:"Projektion"},{en:"Geographic",de:"Geografisch",se:"Geografiskt"},{en:"Mercator",de:"Mercator",se:"Mercator"},{en:"Image smoothing",de:"Bildglättung",se:"Bildutjämning"},{en:"Show dataset boundaries",de:"Datensatzgrenzen anzeigen",se:"Visa datauppsättningsgränser"},{en:"Base map",de:"Basiskarte",se:"Grundkarta"},{en:"Hide small values",de:"Kleine Werte ausblenden",se:"Dölja små värden"},{en:"Reverse",de:"Umkehren",se:"Omvänt"},{en:"Opacity",de:"Opazität",se:"Opacitet"},{en:"Dataset information",de:"Informationen zum Datensatz",se:"Information om dataset"},{en:"Variable information",de:"Informationen zur Variablen",se:"Information om variabeln"},{en:"Place information",de:"Informationen zum Ort",se:"Platsinformation"},{en:"Dimension names",de:"Namen der Dimensionen",se:"Dimensioner namn"},{en:"Dimension data types",de:"Datentypen der Dimensionen",se:"Dimensionsdatatyper"},{en:"Dimension lengths",de:"Länge der Dimensionen",se:"Måttlängder"},{en:"Time chunk size",de:"Zeitblockgröße",se:"Tidsblockstorlek"},{en:"Geographical extent",de:"Geografische Ausdehnung",se:"Geografisk omfattning"},{en:"Spatial reference system",de:"Räumliches Bezugssystem",se:"Rumsligt referenssystem"},{en:"Name",de:"Name",se:"Namn"},{en:"Title",de:"Titel",se:"Titel"},{en:"Units",de:"Einheiten",se:"Enheter"},{en:"Expression",de:"Ausdruck",se:"Uttryck"},{en:"Data type",de:"Datentyp",se:"Datatyp"},{en:"There is no information available for this location.",de:"Zu diesem Ort sind keine keine Informationen vorhanden.",se:"Det finns ingen information tillgänglig för den här platsen."},{en:"Log out",de:"Abmelden",se:"Logga ut"},{en:"Profile",de:"Profil",se:"Profil"},{en:"User Profile",de:"Nutzerprofil",se:"Användarprofil"},{en:"User name",de:"Nutzername",se:"Användarnamn"},{en:"E-mail",de:"E-mail",se:"E-post"},{en:"Nickname",de:"Spitzname",se:"Smeknamn"},{en:"verified",de:"verifiziert",se:"verified"},{en:"not verified",de:"nicht verifiziert",se:"inte verifierad"},{en:"RGB",de:"RGB",se:"RGB"},{en:"Imprint",de:"Impressum",se:"Avtryck"},{en:"User Manual",de:"Benutzerhandbuch",se:"Användarmanual"},{en:"Show time-series diagram",de:"Zeitserien-Diagramm anzeigen",se:"Visa tidsseriediagram"},{en:"Help",de:"Hilfe",se:"Hjälp"},{en:"Export data",de:"Daten exportieren",se:"Exportera data"},{en:"Export Settings",de:"Export-Einstellungen",se:"Exportera Inställningar"},{en:"Include time-series data",de:"Zeitseriendaten einschließen",se:"Inkludera tidsseriedata"},{en:"Include places data",de:"Ortsdaten einschließen",se:"Inkludera platsdata"},{en:"File name",de:"Dateiname",se:"Filnamn"},{en:"Separator for time-series data",de:"Trennzeichen für Zeitreihendaten",se:"Separator för tidsseriedata"},{en:"Combine place data in one file",de:"Ortsdaten in einer Datei zusammenfassen",se:"Kombinera platsdata i en fil"},{en:"As ZIP archive",de:"Als ZIP-Archiv",se:"Som ett ZIP-arkiv"},{en:"Download",de:"Herunterladen",se:"Ladda ner"},{en:"Locate place in map",de:"Lokalisiere Ort in Karte",se:"Leta upp plats på kartan"},{en:"Locate dataset in map",de:"Lokalisiere Datensatz in Karte",se:"Leta upp dataset på kartan"},{en:"Open information panel",de:"Informationsfeld öffnen",se:"Öppet informationsfält"},{en:"Select a place in map",de:"Ort in der Karte auswählen",se:"Välj plats på kartan"},{en:"Add a point location in map",de:"Punkt zur Karte hinzufügen",se:"Lägg till punkt på kartan"},{en:"Draw a polygon area in map",de:"Polygonale Fläche in der Karte zeichnen",se:"Rita en polygonal yta på kartan"},{en:"Draw a circular area in map",de:"Kreisförmige Fläche in der Karte zeichnen",se:"Rita ett cirkulärt område på kartan"},{en:"Rename place",de:"Ort umbenennen",se:"Byt namn på plats"},{en:"Remove place",de:"Ort entfernen",se:"Ta bort plats"},{en:"Rename place group",de:"Ortsgruppe umbenennen",se:"Byt namn på platsgrupp"},{en:"Remove places",de:"Orte entfernen",se:"Ta bort platser"},{en:"Show RGB layer instead",de:"Stattdessen RGB-Layer anzeigen",se:"Visa RGB-lager istället"},{en:"Auto-step through times in the dataset",de:"Zeiten im Datensatz automatisch durchlaufen",se:"Kör automatiskt genom tider i dataposten"},{en:"Select time in dataset",de:"Datensatz-Zeit auswählen",se:"Välj tid i dataset"},{en:"Refresh",de:"Aktualisieren",se:"Att uppdatera"},{en:"Accept and continue",de:"Akzeptieren und weiter",se:"Acceptera och fortsätt"},{en:"Leave",de:"Verlassen",se:"Lämna"},{en:"Import places",de:"Orte importieren",se:"Importera platser"},{en:"Text/CSV",de:"Text/CSV",se:"Text/CSV"},{en:"GeoJSON",de:"GeoJSON",se:"GeoJSON"},{en:"WKT",de:"WKT",se:"WKT"},{en:"Enter text or drag & drop a text file.",de:"Text eingeben oder Textdatei per Drag & Drop einfügen.",se:"Skriv in text eller dra och släpp en textfil."},{en:"From File",de:"Aus Datei",se:"Från fil"},{en:"Clear",de:"Löschen",se:"Tömma"},{en:"Options",de:"Optionen",se:"Alternativ"},{en:"Time (UTC, ISO-format)",de:"Zeit (UTC, ISO-Format)",se:"Tid (UTC, ISO-format)"},{en:"Group",de:"Gruppe",se:"Grupp"},{en:"Label",de:"Label",se:"Etikett"},{en:"Time property names",de:"Eigenschaftsnamen für Zeit",se:"Gruppegendomsnamn"},{en:"Group property names",de:"Eigenschaftsnamen für Gruppe",se:"Gruppegendomsnamn"},{en:"Label property names",de:"Eigenschaftsnamen für Label",se:"Etikett egendomsnamn"},{en:"Group prefix (used as fallback)",de:"Gruppen-Präfix (als Fallback verwendet)",se:"Gruppprefix (används som reserv)"},{en:"Label prefix (used as fallback)",de:"Label-Präfix (als Fallback verwendet)",se:"Etikettprefix (används som reserv)"},{en:"X/longitude column names",de:"Spaltennamen für y/Längengrad",se:"X/longitud kolumnnamn"},{en:"Y/latitude column names",de:"Spaltennamen für y/Breitengrad",se:"Y/latitud kolumnnamn"},{en:"Geometry column names",de:"Spaltennamen für Geometrie",se:"Geometrikolumnnamn"},{en:"Time column names",de:"Spaltennamen für Zeit",se:"Tidskolumnnamn"},{en:"Group column names",de:"Spaltennamen für Gruppe",se:"Gruppkolumnnamn"},{en:"Label column names",de:"Spaltennamen für Label",se:"Etikettkolumnnamn"},{en:"Separator character",de:"Trennzeichen",se:"Skiljetecken"},{en:"Comment character",de:"Kommentar-Zeichen",se:"Kommentar karaktär"},{en:"Quote character",de:"Zitierzeichen",se:"Citat karaktär"},{en:"Escape character",de:"Escape character",se:"Escape karaktär"},{en:"Not-a-number token",de:"Token für 'keine Zahl'",se:"Not-a-number token"},{en:"True token",de:"Token für 'wahr'",se:"Sann token"},{en:"False token",de:"Token für 'falsch'",se:"Falsk token"},{en:"Revoke consent",de:"Zustimmung widerrufen",se:"Återkalla samtycke "},{en:"Accepted",de:"Akzeptiert",se:"Accepterad"},{en:"Legal Agreement",de:"Rechtliches Übereinkommen",se:"Laglig Överenskommelse"},{en:"Privacy Notice",de:"Datenschutzhinweis",se:"Sekretessmeddelande"},{en:"WMS URL",de:"WMS URL",se:"WMS URL"},{en:"WMS Layer",de:"WMS Layer",se:"WMS Lager"},{en:"Add layer from a Web Map Service",de:"Layer aus einem Web Map Service hinzufügen",se:"Lägg till lager från en Web Map Service"},{en:"Add layer from a Tiled Web Map",de:"Layer aus einer Tiled Web Map hinzufügen",se:"Lägg till lager från en Tiled Web Map"},{en:"Layer visibilities",de:"Layersichtbarkeiten",se:"Lagrets synlighet"},{en:"Show or hide sidebar",de:"Seitenleiste ein- oder ausblenden",se:"Visa eller dölja sidofält"},{en:"Unknown color bar",de:"Unbekannte Farbskala",se:"Färgskala okänd"},{en:"Points",de:"Punkte",se:"Punkter"},{en:"Lines",de:"Linien",se:"Linjer"},{en:"Bars",de:"Balken",se:"Staplar"},{en:"Default chart type",de:"Diagrammtyp (default)",se:"Diagramtyp (default)"},{en:"User Base Maps",de:"Nutzer Basiskarte",se:"Användare Grundkarta"},{en:"Overlay",de:"Overlay (überlagernder Layer)",se:"Overlay (överliggande lager)"},{en:"User Overlays",de:"Nutzer Overlay",se:"Användare Overlay"},{en:"On dataset selection",de:"Bei Auswahl von Datensatz",se:"Vid val av dataset"},{en:"On place selection",de:"Bei Auswahl von Ort",se:"Vid val av plats"},{en:"Do nothing",de:"Nichts tun",se:"Gör ingenting"},{en:"Pan",de:"Verschieben",se:"Panorera"},{en:"Pan and zoom",de:"Verschieben und zoom",se:"Panorera och zooma"},{en:"User Layers",de:"Nutzer Layer",se:"Användare lager"},{en:"XYZ Layer URL",de:"XYZ-Layer URL",se:"XYZ lager URL"},{en:"Layer Title",de:"Layer Titel",se:"Lagertitel "},{en:"Layer Attribution",de:"Layer Attribution",se:"Lagerattribution"},{en:"Info",de:"Info",se:"Info"},{en:"Charts",de:"Diagramme",se:"Diagrammer"},{en:"Statistics",de:"Statistik",se:"Statistik"},{en:"Volume",de:"Volumen",se:"Volym"},{en:"Toggle zoom mode (or press CTRL key)",de:"Zoom-Modus umschalten (oder drücke CTRL-Taste)",se:"Växla zoomläge (eller tryck på CTRL-tangenten)"},{en:"Enter fixed y-range",de:"Festen y-Bereich angeben",se:"Ange fast y-intervall"},{en:"Toggle showing info popup on hover",de:"Anzeige des Info-Popups bei Hover umschalten",se:"Växla visning av popup-info vid hover"},{en:"Show points",de:"Punkte anzeigen",se:"Visa punkter"},{en:"Show lines",de:"Linien anzeigen",se:"Visa linjer"},{en:"Show bars",de:"Balken anzeigen",se:"Visa staplar"},{en:"Show standard deviation (if any)",de:"Standardabweichung anzeigen",se:"Visa standardavvikelsen"},{en:"Add time-series from places",de:"Zeitserien hinzufügen von Orten",se:"Lägg till tidsserier från platser"},{en:"Zoom to full range",de:"Zoom auf gesamten x-Bereich",se:"Zooma till hela x-intervallet"},{en:"Make it 2nd variable for comparison",de:"Festlegen als 2. Variable für Vergleich",se:"Ställ in som 2:a variabel för jämförelse"},{en:"Load Volume Data",de:"Lade Volumendaten",se:"Ladda volymdata"},{en:"Please note that the 3D volume rendering is still an experimental feature.",de:"Bitte beachten Sie, dass das 3D-Volumen-Rendering noch eine experimentelle Funktion ist.",se:"Observera att 3D-volymrendering fortfarande är en experimentell funktion."},{en:"User-defined color bars.",de:"Benutzerdefinierte Farbskalen.",se:"Användardefinierade färgskalor."},{en:"Node",de:"Knoten",se:"Noder"},{en:"Bound",de:"Grenzen",se:"Gränser"},{en:"Key",de:"Schlüssel",se:"Nycklar"},{en:"Values are nodes of a continuous color gradient",de:"Werte sind Knoten eines kontinuierlichen Farbverlaufs",se:"Värden är noder i en kontinuerlig färggradient"},{en:"Values are bounds identifying individual colors",de:"Werte sind Grenzen, die einzelne Farben identifizieren",se:"Värden är gränser som identifierar enskilda färger"},{en:"Values are integer keys identifying individual colors",de:"Werte sind ganzzahlige Schlüssel, die einzelne Farben identifizieren",se:"Värden är heltalsnycklar som identifierar enskilda färger"},{en:"User",de:"Nutzer",se:"Användare"},{en:"Add Time-Series",de:"Zeitserien hinzufügen",se:"Lägg till tidsserier"},{en:"No time-series have been obtained yet. Select a variable and a place first.",de:"Es wurden noch keine Zeitreihen abgerufen. Wählen Sie zuerst eine Variable und einen Ort aus.",se:"Inga tidsserier har hämtats ännu. Välj först en variabel och en plats."},{en:"Count",de:"Anzahl",se:"Antal"},{en:"Minimum",de:"Minimum",se:"Minimum"},{en:"Maximum",de:"Maximum",se:"Maximum"},{en:"Mean",de:"Mittelwert",se:"Medelvärde"},{en:"Deviation",de:"Abweichung",se:"Avvikelse"},{en:"Toggle adjustable x-range",de:"Anpassbaren x-Bereich umschalten",se:"Växla justerbart x-intervall"},{en:"Compare Mode (Swipe)",de:"Vergleichsmodus (Swipe)",se:"Jämförelseläge (Svep)"},{en:"Dataset RGB",de:"Datensatz RGB",se:"Dataset RGB"},{en:"Dataset RGB 2",de:"Datensatz RGB 2",se:"Dataset RGB 2"},{en:"Dataset Variable",de:"Datensatz Variable",se:"Dataset Variabel"},{en:"Dataset Variable 2",de:"Datensatz Variable 2",se:"Dataset Variabel 2"},{en:"Dataset Boundary",de:"Datensatz Außengrenze",se:"Dataset Yttre Gräns"},{en:"Dataset Places",de:"Datensatz Orte",se:"Dataset Platser"},{en:"User Places",de:"Nutzer Orte",se:"Användare Platser"},{en:"Layers",de:"Layer",se:"Lager"},{en:"docs/privacy-note.en.md",de:"docs/privacy-note.de.md",se:"docs/privacy-note.se.md"},{en:"docs/add-layer-wms.en.md",de:"docs/add-layer-wms.de.md",se:"docs/add-layer-wms.se.md"},{en:"docs/add-layer-xyz.en.md",de:"docs/add-layer-xyz.de.md",se:"docs/add-layer-xyz.se.md"},{en:"docs/color-mappings.en.md",de:"docs/color-mappings.de.md",se:"docs/color-mappings.se.md"}],n3e={languages:e3e,dictionary:t3e},pe=new Z$e(n3e);pe.locale=J$e();class xre extends k.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,n){console.error(e),n.componentStack&&console.error(n.componentStack)}render(){if(!this.props.children)throw new Error("An ErrorBoundary requires at least one child");return this.state.error?w.jsxs("div",{children:[w.jsx("h2",{className:"errorBoundary-header",children:pe.get("Something went wrong.")}),w.jsxs("details",{className:"errorBoundary-details",style:{whiteSpace:"pre-wrap"},children:[this.state.error.toString(),w.jsx("br",{})]})]}):this.props.children}}const r3e=({children:t})=>{const e=Wt.instance.authClient;if(!e)return w.jsx(w.Fragment,{children:t});const n=o=>{console.info("handleSigninCallback:",o),window.history.replaceState({},document.title,window.location.pathname)},r=()=>{console.info("handleRemoveUser"),window.location.pathname="/"},i=xM.href;return w.jsx(xre,{children:w.jsx(Q$e,{...e,loadUserInfo:!0,scope:"openid email profile",automaticSilentRenew:!0,redirect_uri:i,post_logout_redirect_uri:i,popup_post_logout_redirect_uri:i,onSigninCallback:n,onRemoveUser:r,children:t})})};var Xj={},eA={};const i3e=wa(eOe);var f8;function mt(){return f8||(f8=1,function(t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.createSvgIcon}});var e=i3e}(eA)),eA}var o3e=pt;Object.defineProperty(Xj,"__esModule",{value:!0});var Qj=Xj.default=void 0,a3e=o3e(mt()),s3e=w;Qj=Xj.default=(0,a3e.default)((0,s3e.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline");var Yj={},l3e=pt;Object.defineProperty(Yj,"__esModule",{value:!0});var Kj=Yj.default=void 0,c3e=l3e(mt()),u3e=w;Kj=Yj.default=(0,c3e.default)((0,u3e.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var Zj={},f3e=pt;Object.defineProperty(Zj,"__esModule",{value:!0});var Jj=Zj.default=void 0,d3e=f3e(mt()),h3e=w;Jj=Zj.default=(0,d3e.default)((0,h3e.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var e5={},p3e=pt;Object.defineProperty(e5,"__esModule",{value:!0});var bre=e5.default=void 0,m3e=p3e(mt()),d8=w;bre=e5.default=(0,m3e.default)([(0,d8.jsx)("path",{d:"m21 5-9-4-9 4v6c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12c-1.94 1.29-4.58 1.07-6.29-.64-1.95-1.95-1.95-5.12 0-7.07 1.95-1.95 5.12-1.95 7.07 0 1.71 1.71 1.92 4.35.64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11z"},"0"),(0,d8.jsx)("circle",{cx:"12",cy:"12",r:"3"},"1")],"Policy");var t5={},g3e=pt;Object.defineProperty(t5,"__esModule",{value:!0});var n5=t5.default=void 0,v3e=g3e(mt()),y3e=w;n5=t5.default=(0,v3e.default)((0,y3e.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload");var x3e=function(){function t(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}return t.prototype.preventDefault=function(){this.defaultPrevented=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();const Yl=x3e,Bg={PROPERTYCHANGE:"propertychange"};var b3e=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();const r5=b3e;function _3e(t,e,n){for(var r,i,o=n||jh,a=0,s=t.length,l=!1;a>1),i=+o(t[r],e),i<0?a=r+1:(s=r,l=!i);return l?a:~a}function jh(t,e){return t>e?1:t0){for(i=1;i0?i-1:i:t[i-1]-e0||n&&a===0)})}function _h(){return!0}function h1(){return!1}function Bh(){}function O3e(t){var e=!1,n,r,i;return function(){var o=Array.prototype.slice.call(arguments);return(!e||this!==i||!dp(o,r))&&(e=!0,i=this,r=o,n=t.apply(this,arguments)),n}}var lr=typeof Object.assign=="function"?Object.assign:function(t,e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,i=arguments.length;r0:!1},e.prototype.removeEventListener=function(n,r){var i=this.listeners_&&this.listeners_[n];if(i){var o=i.indexOf(r);o!==-1&&(this.pendingRemovals_&&n in this.pendingRemovals_?(i[o]=Bh,++this.pendingRemovals_[n]):(i.splice(o,1),i.length===0&&delete this.listeners_[n]))}},e}(r5);const Mt={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function tn(t,e,n,r,i){if(r&&r!==t&&(n=n.bind(r)),i){var o=n;n=function(){t.removeEventListener(e,n),o.apply(this,arguments)}}var a={target:t,type:e,listener:n};return t.addEventListener(e,n),a}function dT(t,e,n,r){return tn(t,e,n,r,!0)}function er(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),p1(t))}var T3e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_M=function(t){T3e(e,t);function e(){var n=t.call(this)||this;return n.on=n.onInternal,n.once=n.onceInternal,n.un=n.unInternal,n.revision_=0,n}return e.prototype.changed=function(){++this.revision_,this.dispatchEvent(Mt.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.onInternal=function(n,r){if(Array.isArray(n)){for(var i=n.length,o=new Array(i),a=0;a=0||Uf.match(/cpu (os|iphone os) 15_4 like mac os x/));var N3e=Uf.indexOf("webkit")!==-1&&Uf.indexOf("edge")==-1,F3e=Uf.indexOf("macintosh")!==-1,Cre=typeof devicePixelRatio<"u"?devicePixelRatio:1,wM=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,j3e=typeof Image<"u"&&Image.prototype.decode,Tre=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();new Array(6);function Ll(){return[1,0,0,1,0,0]}function B3e(t,e,n,r,i,o,a){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t}function z3e(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Sr(t,e){var n=e[0],r=e[1];return e[0]=t[0]*n+t[2]*r+t[4],e[1]=t[1]*n+t[3]*r+t[5],e}function U3e(t,e,n){return B3e(t,e,0,0,n,0,0)}function nu(t,e,n,r,i,o,a,s){var l=Math.sin(o),c=Math.cos(o);return t[0]=r*c,t[1]=i*l,t[2]=-r*l,t[3]=i*c,t[4]=a*r*c-s*r*l+e,t[5]=a*i*l+s*i*c+n,t}function o5(t,e){var n=W3e(e);Bt(n!==0,32);var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5];return t[0]=a/n,t[1]=-i/n,t[2]=-o/n,t[3]=r/n,t[4]=(o*l-a*s)/n,t[5]=-(r*l-i*s)/n,t}function W3e(t){return t[0]*t[3]-t[1]*t[2]}var p8;function Ere(t){var e="matrix("+t.join(", ")+")";if(wM)return e;var n=p8||(p8=document.createElement("div"));return n.style.transform=e,n.style.transform}const oi={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function m8(t){for(var e=xa(),n=0,r=t.length;ni&&(l=l|oi.RIGHT),so&&(l=l|oi.ABOVE),l===oi.UNKNOWN&&(l=oi.INTERSECTING),l}function xa(){return[1/0,1/0,-1/0,-1/0]}function Ws(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}function g1(t){return Ws(1/0,1/0,-1/0,-1/0,t)}function G3e(t,e){var n=t[0],r=t[1];return Ws(n,r,n,r,e)}function Mre(t,e,n,r,i){var o=g1(i);return Are(o,t,e,n,r)}function pb(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function kre(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function bx(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function Are(t,e,n,r,i){for(;ne[0]?r[0]=t[0]:r[0]=e[0],t[1]>e[1]?r[1]=t[1]:r[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function l5(t){return t[2]=a&&m<=l),!r&&o&oi.RIGHT&&!(i&oi.RIGHT)&&(g=h-(d-l)*p,r=g>=s&&g<=c),!r&&o&oi.BELOW&&!(i&oi.BELOW)&&(m=d-(h-s)/p,r=m>=a&&m<=l),!r&&o&oi.LEFT&&!(i&oi.LEFT)&&(g=h-(d-a)*p,r=g>=s&&g<=c)}return r}function Y3e(t,e,n,r){var i=[];if(r>1)for(var o=t[2]-t[0],a=t[3]-t[1],s=0;s=n[2])){var i=Qn(n),o=Math.floor((r[0]-n[0])/i),a=o*i;t[0]-=a,t[2]-=a}return t}function K3e(t,e){if(e.canWrapX()){var n=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[n[0],t[1],n[2],t[3]]];Rre(t,e);var r=Qn(n);if(Qn(t)>r)return[[n[0],t[1],n[2],t[3]]];if(t[0]n[2])return[[t[0],t[1],n[2],t[3]],[n[0],t[1],t[2]-r,t[3]]]}return[t]}var Z3e=function(){function t(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||Us[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(e){this.defaultTileGrid_=e},t.prototype.setExtent=function(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)},t.prototype.setWorldExtent=function(e){this.worldExtent_=e},t.prototype.setGetPointResolution=function(e){this.getPointResolutionFunc_=e},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}();const Ire=Z3e;function $r(t,e,n){return Math.min(Math.max(t,e),n)}var J3e=function(){var t;return"cosh"in Math?t=Math.cosh:t=function(e){var n=Math.exp(e);return(n+1/n)/2},t}(),eNe=function(){var t;return"log2"in Math?t=Math.log2:t=function(e){return Math.log(e)*Math.LOG2E},t}();function tNe(t,e,n,r,i,o){var a=i-n,s=o-r;if(a!==0||s!==0){var l=((t-n)*a+(e-r)*s)/(a*a+s*s);l>1?(n=i,r=o):l>0&&(n+=a*l,r+=s*l)}return wh(t,e,n,r)}function wh(t,e,n,r){var i=n-t,o=r-e;return i*i+o*o}function nNe(t){for(var e=t.length,n=0;ni&&(i=a,r=o)}if(i===0)return null;var s=t[r];t[r]=t[n],t[n]=s;for(var l=n+1;l=0;d--){f[d]=t[d][e]/t[d][d];for(var h=d-1;h>=0;h--)t[h][e]-=t[h][d]*f[d]}return f}function sC(t){return t*Math.PI/180}function Tf(t,e){var n=t%e;return n*e<0?n+e:n}function Cc(t,e,n){return t+n*(e-t)}function Dre(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}function qw(t,e){return Math.floor(Dre(t,e))}function Xw(t,e){return Math.ceil(Dre(t,e))}var rNe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),v1=6378137,jm=Math.PI*v1,iNe=[-jm,-jm,jm,jm],oNe=[-180,-85,180,85],Qw=v1*Math.log(Math.tan(Math.PI/2)),jp=function(t){rNe(e,t);function e(n){return t.call(this,{code:n,units:si.METERS,extent:iNe,global:!0,worldExtent:oNe,getPointResolution:function(r,i){return r/J3e(i[1]/v1)}})||this}return e}(Ire),g8=[new jp("EPSG:3857"),new jp("EPSG:102100"),new jp("EPSG:102113"),new jp("EPSG:900913"),new jp("http://www.opengis.net/def/crs/EPSG/0/3857"),new jp("http://www.opengis.net/gml/srs/epsg.xml#3857")];function aNe(t,e,n){var r=t.length,i=n>1?n:2,o=e;o===void 0&&(i>2?o=t.slice():o=new Array(r));for(var a=0;aQw?s=Qw:s<-Qw&&(s=-Qw),o[a+1]=s}return o}function sNe(t,e,n){var r=t.length,i=n>1?n:2,o=e;o===void 0&&(i>2?o=t.slice():o=new Array(r));for(var a=0;aa)return 1;if(a>o)return-1}return 0}function mNe(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function pT(t,e){for(var n=!0,r=t.length-1;r>=0;--r)if(t[r]!=e[r]){n=!1;break}return n}function c5(t,e){var n=Math.cos(e),r=Math.sin(e),i=t[0]*n-t[1]*r,o=t[1]*n+t[0]*r;return t[0]=i,t[1]=o,t}function gNe(t,e){return t[0]*=e,t[1]*=e,t}function vNe(t,e){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function Lre(t,e){if(e.canWrapX()){var n=Qn(e.getExtent()),r=yNe(t,e,n);r&&(t[0]-=r*n)}return t}function yNe(t,e,n){var r=e.getExtent(),i=0;if(e.canWrapX()&&(t[0]r[2])){var o=n||Qn(r);i=Math.floor((t[0]-r[0])/o)}return i}var xNe=63710088e-1;function x8(t,e,n){var r=n||xNe,i=sC(t[1]),o=sC(e[1]),a=(o-i)/2,s=sC(e[0]-t[0])/2,l=Math.sin(a)*Math.sin(a)+Math.sin(s)*Math.sin(s)*Math.cos(i)*Math.cos(o);return 2*r*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))}var vL=!0;function bNe(t){var e=t===void 0?!0:t;vL=!e}function u5(t,e,n){var r;if(e!==void 0){for(var i=0,o=t.length;i=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(vL=!1,console.warn("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function Nre(t,e){return t}function nh(t,e){return t}function ENe(){b8(g8),b8(y8),SNe(y8,g8,aNe,sNe)}ENe();function Sh(t,e,n,r,i,o){for(var a=o||[],s=0,l=e;l1)f=n;else if(d>0){for(var h=0;hi&&(i=c),o=s,a=l}return i}function g5(t,e,n,r,i){for(var o=0,a=n.length;o0;){for(var f=c.pop(),d=c.pop(),h=0,p=t[d],m=t[d+1],g=t[f],v=t[f+1],y=d+r;yh&&(u=y,h=_)}h>i&&(l[(u-e)/r]=1,d+r0&&m>h)&&(p<0&&g0&&g>p)){c=f,u=d;continue}o[a++]=c,o[a++]=u,s=c,l=u,c=f,u=d}}return o[a++]=c,o[a++]=u,a}function Ure(t,e,n,r,i,o,a,s){for(var l=0,c=n.length;l1?a:2,b=o||new Array(x),p=0;p>1;io&&(c-s)*(o-l)-(i-s)*(u-l)>0&&a++:u<=o&&(c-s)*(o-l)-(i-s)*(u-l)<0&&a--,s=c,l=u}return a!==0}function _5(t,e,n,r,i,o){if(n.length===0||!rh(t,e,n[0],r,i,o))return!1;for(var a=1,s=n.length;a=i[0]&&o[2]<=i[2]||o[1]>=i[1]&&o[3]<=i[3]?!0:Wre(t,e,n,r,function(a,s){return Q3e(i,a,s)}):!1}function QNe(t,e,n,r,i){for(var o=0,a=n.length;ob&&(c=(u+f)/2,_5(t,e,n,r,c,p)&&(x=c,b=_)),u=f}return isNaN(x)&&(x=i[o]),a?(a.push(x,p,b),a):[x,p,b]}function lFe(t,e,n,r,i){for(var o=[],a=0,s=n.length;a0}function Zre(t,e,n,r,i){for(var o=i!==void 0?i:!1,a=0,s=n.length;a0){const n=e.map(r=>r.map(encodeURIComponent).join("=")).join("&");return t.includes("?")?t.endsWith("&")?t+n:t+"&"+n:t+"?"+n}return t}async function IFe(t,e){let n;try{if(n=await fetch(t,e),n.ok)return n}catch(i){throw i instanceof TypeError?(console.error(`Server did not respond for ${t}. May be caused by timeout, refused connection, network error, etc.`,i),new Error(pe.get("Cannot reach server"))):(console.error(i),i)}let r=n.statusText;try{const i=await n.json();if(i&&i.error){const o=i.error;console.error(o),o.message&&(r+=`: ${o.message}`)}}catch{}throw console.error(n),new Jre(n.status,r)}async function gp(t,e,n){let r;RFe(e)?n=e:r=e;const o=await(await IFe(t,r)).json();return n?n(o):o}function DFe(t){return gp(`${t}/`)}function LFe(t){return gp(`${t}/colorbars`,$Fe)}function $Fe(t){const e=[],n={};return t.forEach(r=>{const[i,o,a]=r,s=[];a.forEach(l=>{const[c,u]=l;s.push(c),n[c]=u}),e.push({title:i,description:o,names:s})}),{groups:e,images:n}}function NFe(t,e){const n=x1(`${t}/datasets`,[["details","1"]]),r=y1(e);return gp(n,r,FFe)}function FFe(t){return(t.datasets||[]).map(jFe)}function jFe(t){if(t.dimensions&&t.dimensions.length){let e=t.dimensions;const n=e.findIndex(r=>r.name==="time");if(n>-1){const r=e[n],i=r.coordinates;if(i&&i.length&&typeof i[0]=="string"){const o=i,a=o.map(s=>new Date(s).getTime());return e=[...e],e[n]={...r,coordinates:a,labels:o},{...t,dimensions:e}}}}return t}function BFe(t,e,n,r){const i=y1(r),o=encodeURIComponent(e),a=encodeURIComponent(n);return gp(`${t}/datasets/${o}/places/${a}`,i)}function kM(t){return MM(t.expression)}function C5(t){return encodeURIComponent(MM(t)?t:t.id)}function T5(t){return encodeURIComponent(MM(t)?t:kM(t)?`${t.name}=${t.expression}`:t.name)}function zFe(t,e,n,r,i,o,a,s,l,c){let u,f=null;const d=[];s?(d.push(["aggMethods","median"]),u="median"):l?(d.push(["aggMethods","mean,std"]),u="mean",f="std"):(d.push(["aggMethods","mean"]),u="mean"),o&&d.push(["startDate",o]),a&&d.push(["endDate",a]);const h=x1(`${t}/timeseries/${C5(e)}/${T5(n)}`,d),p={...y1(c),method:"post",body:JSON.stringify(i)};return gp(h,p,g=>{const v=g.result;if(!v||v.length===0)return null;const y=v.map(b=>({...b,time:new Date(b.time).getTime()}));return{source:{datasetId:e.id,datasetTitle:e.title,variableName:n.name,variableUnits:n.units||void 0,placeId:r,geometry:i,valueDataKey:u,errorDataKey:f},data:y}})}function UFe(t,e){const n=x1(`${t}/maintenance/update`,[]),r=y1(e);try{return gp(n,r).then(()=>!0).catch(i=>(console.error(i),!1))}catch(i){return console.error(i),Promise.resolve(!1)}}class xT extends Error{}function WFe(t,e){if(t===null)throw new xT(`assertion failed: ${e} must not be null`)}function VFe(t,e){if(typeof t>"u")throw new xT(`assertion failed: ${e} must not be undefined`)}function GFe(t,e){WFe(t,e),VFe(t,e)}function tA(t,e){if(Array.isArray(t)){if(t.length===0)throw new xT(`assertion failed: ${e} must be a non-empty array`)}else throw new xT(`assertion failed: ${e} must be an array`)}function vb(t,e){return e&&t.find(n=>n.id===e)||null}function CL(t,e){return e&&t.variables.find(n=>n.name===e)||null}function HFe(t){return t.variables.findIndex(e=>MM(e.expression))}function E5(t){const e=HFe(t);return e>=0?[t.variables.slice(0,e),t.variables.slice(e)]:[t.variables,[]]}function eie(t){GFe(t,"dataset"),tA(t.dimensions,"dataset.dimensions");const e=t.dimensions.find(n=>n.name==="time");return e?(tA(e.coordinates,"timeDimension.coordinates"),tA(e.labels,"timeDimension.labels"),e):null}function tie(t){const e=eie(t);if(!e)return null;const n=e.coordinates;return[n[0],n[n.length-1]]}var bT="NOT_FOUND";function qFe(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:bT},put:function(r,i){e={key:r,value:i}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}function XFe(t,e){var n=[];function r(s){var l=n.findIndex(function(u){return e(s,u.key)});if(l>-1){var c=n[l];return l>0&&(n.splice(l,1),n.unshift(c)),c.value}return bT}function i(s,l){r(s)===bT&&(n.unshift({key:s,value:l}),n.length>t&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var QFe=function(e,n){return e===n};function YFe(t){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?e-1:0),r=1;r0&&o[0]!==s&&(o=[s,...o])}n.properties&&(a=E8(n.properties,o)),a===void 0&&(a=E8(n,o)),t[r]=a||i}function ije(t,e){let n=e;if(t.properties)for(const r of Object.getOwnPropertyNames(t.properties)){if(!n.includes("${"))break;const i="${"+r+"}";n.includes(i)&&(n=n.replace(i,`${t.properties[r]}`))}return n}function E8(t,e){let n;for(const r of e)if(r in t)return t[r];return n}function AM(t){let e=[];for(const n of t)e=e.concat(n.toLowerCase(),n.toUpperCase(),n[0].toUpperCase()+n.substring(1).toLowerCase());return e}function rie(t,e){t.forEach(n=>{Vv(n)&&n.features.forEach(r=>{e(n,r)})})}function oje(t,e){for(const n of t)if(Vv(n)){const r=n.features.find(i=>e(n,i));if(r)return k5(n,r)}return null}function aje(t){const e=t.id+"";let n=0,r,i;if(e.length===0)return n;for(r=0;ri.id===e);if(n)return n;const r=t.placeGroups;if(r)for(const i in r){const o=iie(r[i],e);if(o)return o}return null}function A5(t,e){if(e)for(const n of t){const r=iie(n,e);if(r!==null)return r}return null}const sje=/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,lje=t=>{let e;if(t.includes(",")){const r=t.split(",");if(r.length===3||r.length===4){const i=[0,0,0,255];for(let o=0;o<3;o++){const a=Number.parseInt(r[o]);if(a<0||a>255)return;i[o]=a}if(r.length===4){if(e=P8(r[3]),e===void 0)return;i[3]=e}return i}if(r.length!==2||(t=r[0],e=P8(r[1]),e===void 0))return}const n=(t.startsWith("#")?oie:fje)(t);if(n){if(n.length===3)return[...n,e===void 0?255:e];if(n.length===4&&e===void 0)return n}};function cje(t){return"#"+t.map(e=>{const n=e.toString(16);return n.length===1?"0"+n:n}).join("")}function oie(t){if(sje.test(t)){if(t.length===4)return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)];if(t.length===7)return[parseInt(t.substring(1,3),16),parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)];if(t.length===9)return[parseInt(t.substring(1,3),16),parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16),parseInt(t.substring(7,9),16)]}}const P8=t=>{const e=Number.parseFloat(t);if(e===0)return 0;if(e===1)return 255;if(e>0&&e<1)return Math.round(256*e)},uje=t=>dje[t.toLowerCase()],fje=t=>{const e=uje(t);if(e)return oie(e)},dje={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"},aie="User",sie=`0.0: #23FF52 -0.5: red -1.0: 120,30,255`;function hje(t,e,n){const r=new Uint8ClampedArray(4*n),i=t.length;if(e==="key"||e==="bound"){const o=e==="key"?i:i-1;for(let a=0,s=0;a(f.value-o)/(a-o));let l=0,c=s[0],u=s[1];for(let f=0,d=0;fu&&(l++,c=s[l],u=s[l+1]);const p=(h-c)/(u-c),[m,g,v,y]=t[l].color,[x,b,_,S]=t[l+1].color;r[d]=m+p*(x-m),r[d+1]=g+p*(b-g),r[d+2]=v+p*(_-v),r[d+3]=y+p*(S-y)}}return r}function pje(t,e,n){const r=hje(t,e,n.width),i=new ImageData(r,r.length/4,1);return createImageBitmap(i).then(o=>{const a=n.getContext("2d");a&&a.drawImage(o,0,0,n.width,n.height)})}function mje(t){const{colorRecords:e,errorMessage:n}=cie(t.code);if(!e)return Promise.resolve({errorMessage:n});const r=document.createElement("canvas");return r.width=256,r.height=1,pje(e,t.type,r).then(()=>({imageData:r.toDataURL("image/png").split(",")[1]}))}function lie(t){const{colorRecords:e}=cie(t);if(e)return e.map(n=>({...n,color:cje(n.color)}))}function cie(t){try{return{colorRecords:gje(t)}}catch(e){if(e instanceof SyntaxError)return{errorMessage:`${e.message}`};throw e}}function gje(t){const e=[];t.split(` -`).map(o=>o.trim().split(":").map(a=>a.trim())).forEach((o,a)=>{if(o.length==2||o.length==3){const[s,l]=o,c=parseFloat(s),u=lje(l);if(!Number.isFinite(c))throw new SyntaxError(`Line ${a+1}: invalid value: ${s}`);if(!u)throw new SyntaxError(`Line ${a+1}: invalid color: ${l}`);o.length==3?e.push({value:c,color:u,label:o[2]}):e.push({value:c,color:u})}else if(o.length===1&&o[0]!=="")throw new SyntaxError(`Line ${a+1}: invalid color record: ${o[0]}`)});const n=e.length;if(n<2)throw new SyntaxError("At least two color records must be given");e.sort((o,a)=>o.value-a.value);const r=e[0].value,i=e[n-1].value;if(r===i)throw new SyntaxError("Values must form a range");return e}var R5={exports:{}};function vje(t,e){var n=e&&e.cache?e.cache:Sje,r=e&&e.serializer?e.serializer:wje,i=e&&e.strategy?e.strategy:xje;return i(t,{cache:n,serializer:r})}function yje(t){return t==null||typeof t=="number"||typeof t=="boolean"}function uie(t,e,n,r){var i=yje(r)?r:n(r),o=e.get(i);return typeof o>"u"&&(o=t.call(this,r),e.set(i,o)),o}function fie(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=e.get(i);return typeof o>"u"&&(o=t.apply(this,r),e.set(i,o)),o}function I5(t,e,n,r,i){return n.bind(e,t,r,i)}function xje(t,e){var n=t.length===1?uie:fie;return I5(t,this,n,e.cache.create(),e.serializer)}function bje(t,e){var n=fie;return I5(t,this,n,e.cache.create(),e.serializer)}function _je(t,e){var n=uie;return I5(t,this,n,e.cache.create(),e.serializer)}function wje(){return JSON.stringify(arguments)}function RM(){this.cache=Object.create(null)}RM.prototype.has=function(t){return t in this.cache};RM.prototype.get=function(t){return this.cache[t]};RM.prototype.set=function(t,e){this.cache[t]=e};var Sje={create:function(){return new RM}};R5.exports=vje;R5.exports.strategies={variadic:bje,monadic:_je};var Oje=R5.exports;const Cje=$t(Oje),Co={ADD:"add",REMOVE:"remove"};var die=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),M8={LENGTH:"length"},Zw=function(t){die(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.element=r,o.index=i,o}return e}(Yl),Ua=function(t){die(e,t);function e(n,r){var i=t.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=n||[],i.unique_)for(var a=0,s=i.array_.length;a0;)this.pop()},e.prototype.extend=function(n){for(var r=0,i=n.length;r0&&t[1]>0}function hie(t,e,n){return n===void 0&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function sa(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}var Tje=function(){function t(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=sa(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}return t.prototype.clone=function(){var e=this.getScale();return new t({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getScaleArray=function(){return this.scaleArray_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getDeclutterMode=function(){return this.declutterMode_},t.prototype.getAnchor=function(){return vt()},t.prototype.getImage=function(e){return vt()},t.prototype.getHitDetectionImage=function(){return vt()},t.prototype.getPixelRatio=function(e){return 1},t.prototype.getImageState=function(){return vt()},t.prototype.getImageSize=function(){return vt()},t.prototype.getOrigin=function(){return vt()},t.prototype.getSize=function(){return vt()},t.prototype.setDisplacement=function(e){this.displacement_=e},t.prototype.setOpacity=function(e){this.opacity_=e},t.prototype.setRotateWithView=function(e){this.rotateWithView_=e},t.prototype.setRotation=function(e){this.rotation_=e},t.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=sa(e)},t.prototype.listenImageChange=function(e){vt()},t.prototype.load=function(){vt()},t.prototype.unlistenImageChange=function(e){vt()},t}();const pie=Tje;var Eje=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,Pje=/^([a-z]*)$|^hsla?\(.*\)$/i;function mie(t){return typeof t=="string"?t:gie(t)}function Mje(t){var e=document.createElement("div");if(e.style.color=t,e.style.color!==""){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}else return""}var kje=function(){var t=1024,e={},n=0;return function(r){var i;if(e.hasOwnProperty(r))i=e[r];else{if(n>=t){var o=0;for(var a in e)o++&3||(delete e[a],--n)}i=Aje(r),e[r]=i,++n}return i}}();function _T(t){return Array.isArray(t)?t:kje(t)}function Aje(t){var e,n,r,i,o;if(Pje.exec(t)&&(t=Mje(t)),Eje.exec(t)){var a=t.length-1,s=void 0;a<=4?s=1:s=2;var l=a===4||a===8;e=parseInt(t.substr(1+0*s,s),16),n=parseInt(t.substr(1+1*s,s),16),r=parseInt(t.substr(1+2*s,s),16),l?i=parseInt(t.substr(1+3*s,s),16):i=255,s==1&&(e=(e<<4)+e,n=(n<<4)+n,r=(r<<4)+r,l&&(i=(i<<4)+i)),o=[e,n,r,i/255]}else t.indexOf("rgba(")==0?(o=t.slice(5,-1).split(",").map(Number),R8(o)):t.indexOf("rgb(")==0?(o=t.slice(4,-1).split(",").map(Number),o.push(1),R8(o)):Bt(!1,14);return o}function R8(t){return t[0]=$r(t[0]+.5|0,0,255),t[1]=$r(t[1]+.5|0,0,255),t[2]=$r(t[2]+.5|0,0,255),t[3]=$r(t[3],0,1),t}function gie(t){var e=t[0];e!=(e|0)&&(e=e+.5|0);var n=t[1];n!=(n|0)&&(n=n+.5|0);var r=t[2];r!=(r|0)&&(r=r+.5|0);var i=t[3]===void 0?1:Math.round(t[3]*100)/100;return"rgba("+e+","+n+","+r+","+i+")"}function wl(t){return Array.isArray(t)?gie(t):t}function ba(t,e,n,r){var i;return n&&n.length?i=n.shift():wM?i=new OffscreenCanvas(t||300,e||300):i=document.createElement("canvas"),t&&(i.width=t),e&&(i.height=e),i.getContext("2d",r)}function vie(t){var e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function I8(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function TL(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function Rje(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function Ije(t,e){for(var n=t.childNodes,r=0;;++r){var i=n[r],o=e[r];if(!i&&!o)break;if(i!==o){if(!i){t.appendChild(o);continue}if(!o){t.removeChild(i),--r;continue}t.insertBefore(o,i)}}}var Jw="ol-hidden",b1="ol-unselectable",D5="ol-control",D8="ol-collapsed",Dje=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),L8=["style","variant","weight","size","lineHeight","family"],yie=function(t){var e=t.match(Dje);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,i=L8.length;r=t.maxResolution)return!1;var r=e.zoom;return r>t.minZoom&&r<=t.maxZoom}const IM=Kje;function Zje(t,e,n,r,i){wie(t,e,n||0,r||t.length-1,i||Jje)}function wie(t,e,n,r,i){for(;r>n;){if(r-n>600){var o=r-n+1,a=e-n+1,s=Math.log(o),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1),u=Math.max(n,Math.floor(e-a*l/o+c)),f=Math.min(r,Math.floor(e+(o-a)*l/o+c));wie(t,e,u,f,i)}var d=t[e],h=n,p=r;for(Xy(t,n,e),i(t[r],d)>0&&Xy(t,n,r);h0;)p--}i(t[n],d)===0?Xy(t,n,p):(p++,Xy(t,p,r)),p<=e&&(n=p+1),e<=p&&(r=p-1)}}function Xy(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function Jje(t,e){return te?1:0}let Sie=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let n=this.data;const r=[];if(!tS(e,n))return r;const i=this.toBBox,o=[];for(;n;){for(let a=0;a=0&&o[n].children.length>this._maxEntries;)this._split(o,n),n--;this._adjustParentBBoxes(i,o,n)}_split(e,n){const r=e[n],i=r.children.length,o=this._minEntries;this._chooseSplitAxis(r,o,i);const a=this._chooseSplitIndex(r,o,i),s=Sm(r.children.splice(a,r.children.length-a));s.height=r.height,s.leaf=r.leaf,Bp(r,this.toBBox),Bp(s,this.toBBox),n?e[n-1].children.push(s):this._splitRoot(r,s)}_splitRoot(e,n){this.data=Sm([e,n]),this.data.height=e.height+1,this.data.leaf=!1,Bp(this.data,this.toBBox)}_chooseSplitIndex(e,n,r){let i,o=1/0,a=1/0;for(let s=n;s<=r-n;s++){const l=F0(e,0,s,this.toBBox),c=F0(e,s,r,this.toBBox),u=i5e(l,c),f=rA(l)+rA(c);u=n;c--){const u=e.children[c];j0(s,e.leaf?o(u):u),l+=eS(s)}return l}_adjustParentBBoxes(e,n,r){for(let i=r;i>=0;i--)j0(n[i],e)}_condense(e){for(let n=e.length-1,r;n>=0;n--)e[n].children.length===0?n>0?(r=e[n-1].children,r.splice(r.indexOf(e[n]),1)):this.clear():Bp(e[n],this.toBBox)}};function e5e(t,e,n){if(!n)return e.indexOf(t);for(let r=0;r=t.minX&&e.maxY>=t.minY}function Sm(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function F8(t,e,n,r,i){const o=[e,n];for(;o.length;){if(n=o.pop(),e=o.pop(),n-e<=r)continue;const a=e+Math.ceil((n-e)/r/2)*r;Zje(t,a,e,n,i),o.push(e,a,a,n)}}var o5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),j8={RENDER_ORDER:"renderOrder"},a5e=function(t){o5e(e,t);function e(n){var r=this,i=n||{},o=lr({},i);return delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,r=t.call(this,o)||this,r.declutter_=i.declutter!==void 0?i.declutter:!1,r.renderBuffer_=i.renderBuffer!==void 0?i.renderBuffer:100,r.style_=null,r.styleFunction_=void 0,r.setStyle(i.style),r.updateWhileAnimating_=i.updateWhileAnimating!==void 0?i.updateWhileAnimating:!1,r.updateWhileInteracting_=i.updateWhileInteracting!==void 0?i.updateWhileInteracting:!1,r}return e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(n){return t.prototype.getFeatures.call(this,n)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get(j8.RENDER_ORDER)},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.renderDeclutter=function(n){n.declutterTree||(n.declutterTree=new Sie(9)),this.getRenderer().renderDeclutter(n)},e.prototype.setRenderOrder=function(n){this.set(j8.RENDER_ORDER,n)},e.prototype.setStyle=function(n){this.style_=n!==void 0?n:Gje,this.styleFunction_=n===null?void 0:Vje(this.style_),this.changed()},e}(IM);const s5e=a5e;var bt={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},nS=[bt.FILL],uf=[bt.STROKE],oh=[bt.BEGIN_PATH],B8=[bt.CLOSE_PATH],l5e=function(){function t(){}return t.prototype.drawCustom=function(e,n,r,i){},t.prototype.drawGeometry=function(e){},t.prototype.setStyle=function(e){},t.prototype.drawCircle=function(e,n){},t.prototype.drawFeature=function(e,n){},t.prototype.drawGeometryCollection=function(e,n){},t.prototype.drawLineString=function(e,n){},t.prototype.drawMultiLineString=function(e,n){},t.prototype.drawMultiPoint=function(e,n){},t.prototype.drawMultiPolygon=function(e,n){},t.prototype.drawPoint=function(e,n){},t.prototype.drawPolygon=function(e,n){},t.prototype.drawText=function(e,n){},t.prototype.setFillStrokeStyle=function(e,n){},t.prototype.setImageStyle=function(e,n){},t.prototype.setTextStyle=function(e,n){},t}();const Oie=l5e;var c5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),u5e=function(t){c5e(e,t);function e(n,r,i,o){var a=t.call(this)||this;return a.tolerance=n,a.maxExtent=r,a.pixelRatio=o,a.maxLineWidth=0,a.resolution=i,a.beginGeometryInstruction1_=null,a.beginGeometryInstruction2_=null,a.bufferedMaxExtent_=null,a.instructions=[],a.coordinates=[],a.tmpCoordinate_=[],a.hitDetectionInstructions=[],a.state={},a}return e.prototype.applyPixelRatio=function(n){var r=this.pixelRatio;return r==1?n:n.map(function(i){return i*r})},e.prototype.appendFlatPointCoordinates=function(n,r){for(var i=this.getBufferedMaxExtent(),o=this.tmpCoordinate_,a=this.coordinates,s=a.length,l=0,c=n.length;ll&&(this.instructions.push([bt.CUSTOM,l,u,n,i,cf]),this.hitDetectionInstructions.push([bt.CUSTOM,l,u,n,o||i,cf]));break;case"Point":c=n.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),u=this.coordinates.length,this.instructions.push([bt.CUSTOM,l,u,n,i]),this.hitDetectionInstructions.push([bt.CUSTOM,l,u,n,o||i]);break}this.endGeometry(r)},e.prototype.beginGeometry=function(n,r){this.beginGeometryInstruction1_=[bt.BEGIN_GEOMETRY,r,0,n],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[bt.BEGIN_GEOMETRY,r,0,n],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var n=this.hitDetectionInstructions;n.reverse();var r,i=n.length,o,a,s=-1;for(r=0;rthis.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0},e.prototype.createFill=function(n){var r=n.fillStyle,i=[bt.SET_FILL_STYLE,r];return typeof r!="string"&&i.push(!0),i},e.prototype.applyStroke=function(n){this.instructions.push(this.createStroke(n))},e.prototype.createStroke=function(n){return[bt.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth*this.pixelRatio,n.lineCap,n.lineJoin,n.miterLimit,this.applyPixelRatio(n.lineDash),n.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(n,r){var i=n.fillStyle;(typeof i!="string"||n.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(r.call(this,n)),n.currentFillStyle=i)},e.prototype.updateStrokeStyle=function(n,r){var i=n.strokeStyle,o=n.lineCap,a=n.lineDash,s=n.lineDashOffset,l=n.lineJoin,c=n.lineWidth,u=n.miterLimit;(n.currentStrokeStyle!=i||n.currentLineCap!=o||a!=n.currentLineDash&&!dp(n.currentLineDash,a)||n.currentLineDashOffset!=s||n.currentLineJoin!=l||n.currentLineWidth!=c||n.currentMiterLimit!=u)&&(i!==void 0&&r.call(this,n),n.currentStrokeStyle=i,n.currentLineCap=o,n.currentLineDash=a,n.currentLineDashOffset=s,n.currentLineJoin=l,n.currentLineWidth=c,n.currentMiterLimit=u)},e.prototype.endGeometry=function(n){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var r=[bt.END_GEOMETRY,n];this.instructions.push(r),this.hitDetectionInstructions.push(r)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Pre(this.maxExtent),this.maxLineWidth>0)){var n=this.resolution*(this.maxLineWidth+1)/2;hb(this.bufferedMaxExtent_,n,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(Oie);const S1=u5e;var f5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),d5e=function(t){f5e(e,t);function e(n,r,i,o){var a=t.call(this,n,r,i,o)||this;return a.hitDetectionImage_=null,a.image_=null,a.imagePixelRatio_=void 0,a.anchorX_=void 0,a.anchorY_=void 0,a.height_=void 0,a.opacity_=void 0,a.originX_=void 0,a.originY_=void 0,a.rotateWithView_=void 0,a.rotation_=void 0,a.scale_=void 0,a.width_=void 0,a.declutterMode_=void 0,a.declutterImageWithText_=void 0,a}return e.prototype.drawPoint=function(n,r){if(this.image_){this.beginGeometry(n,r);var i=n.getFlatCoordinates(),o=n.getStride(),a=this.coordinates.length,s=this.appendFlatPointCoordinates(i,o);this.instructions.push([bt.DRAW_IMAGE,a,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([bt.DRAW_IMAGE,a,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(r)}},e.prototype.drawMultiPoint=function(n,r){if(this.image_){this.beginGeometry(n,r);var i=n.getFlatCoordinates(),o=n.getStride(),a=this.coordinates.length,s=this.appendFlatPointCoordinates(i,o);this.instructions.push([bt.DRAW_IMAGE,a,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([bt.DRAW_IMAGE,a,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(r)}},e.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,t.prototype.finish.call(this)},e.prototype.setImageStyle=function(n,r){var i=n.getAnchor(),o=n.getSize(),a=n.getOrigin();this.imagePixelRatio_=n.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=n.getHitDetectionImage(),this.image_=n.getImage(this.pixelRatio),this.height_=o[1],this.opacity_=n.getOpacity(),this.originX_=a[0],this.originY_=a[1],this.rotateWithView_=n.getRotateWithView(),this.rotation_=n.getRotation(),this.scale_=n.getScaleArray(),this.width_=o[0],this.declutterMode_=n.getDeclutterMode(),this.declutterImageWithText_=r},e}(S1);const h5e=d5e;var p5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),m5e=function(t){p5e(e,t);function e(n,r,i,o){return t.call(this,n,r,i,o)||this}return e.prototype.drawFlatCoordinates_=function(n,r,i,o){var a=this.coordinates.length,s=this.appendFlatLineCoordinates(n,r,i,o,!1,!1),l=[bt.MOVE_TO_LINE_TO,a,s];return this.instructions.push(l),this.hitDetectionInstructions.push(l),i},e.prototype.drawLineString=function(n,r){var i=this.state,o=i.strokeStyle,a=i.lineWidth;if(!(o===void 0||a===void 0)){this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(n,r),this.hitDetectionInstructions.push([bt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,yb,xb],oh);var s=n.getFlatCoordinates(),l=n.getStride();this.drawFlatCoordinates_(s,0,s.length,l),this.hitDetectionInstructions.push(uf),this.endGeometry(r)}},e.prototype.drawMultiLineString=function(n,r){var i=this.state,o=i.strokeStyle,a=i.lineWidth;if(!(o===void 0||a===void 0)){this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(n,r),this.hitDetectionInstructions.push([bt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,i.lineDashOffset],oh);for(var s=n.getEnds(),l=n.getFlatCoordinates(),c=n.getStride(),u=0,f=0,d=s.length;ft&&(l>s&&(s=l,o=c,a=f),l=0,c=f-i)),d=h,g=y,v=x),p=b,m=_}return l+=h,l>s?[c,f]:[o,a]}var b5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),wx={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},_5e=function(t){b5e(e,t);function e(n,r,i,o){var a=t.call(this,n,r,i,o)||this;return a.labels_=null,a.text_="",a.textOffsetX_=0,a.textOffsetY_=0,a.textRotateWithView_=void 0,a.textRotation_=0,a.textFillState_=null,a.fillStates={},a.textStrokeState_=null,a.strokeStates={},a.textState_={},a.textStates={},a.textKey_="",a.fillKey_="",a.strokeKey_="",a.declutterImageWithText_=void 0,a}return e.prototype.finish=function(){var n=t.prototype.finish.call(this);return n.textStates=this.textStates,n.fillStates=this.fillStates,n.strokeStates=this.strokeStates,n},e.prototype.drawText=function(n,r){var i=this.textFillState_,o=this.textStrokeState_,a=this.textState_;if(!(this.text_===""||!a||!i&&!o)){var s=this.coordinates,l=s.length,c=n.getType(),u=null,f=n.getStride();if(a.placement===qje.LINE&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!ao(this.getBufferedMaxExtent(),n.getExtent()))return;var d=void 0;if(u=n.getFlatCoordinates(),c=="LineString")d=[u.length];else if(c=="MultiLineString")d=n.getEnds();else if(c=="Polygon")d=n.getEnds().slice(0,1);else if(c=="MultiPolygon"){var h=n.getEndss();d=[];for(var p=0,m=h.length;pP[2]}else I=b>E;var R=Math.PI,T=[],D=S+r===e;e=S,g=0,v=O,d=t[e],h=t[e+1];var U;if(D){y(),U=Math.atan2(h-m,d-p),I&&(U+=U>0?-R:R);var B=(E+b)/2,W=(M+_)/2;return T[0]=[B,W,(C-o)/2,U,i],T}i=i.replace(/\n/g," ");for(var z=0,$=i.length;z<$;){y();var N=Math.atan2(h-m,d-p);if(I&&(N+=N>0?-R:R),U!==void 0){var L=N-U;if(L+=L>R?-2*R:L<-R?2*R:0,Math.abs(L)>a)return null}U=N;for(var A=z,q=0;z<$;++z){var Y=I?$-z-1:z,K=s*l(c,i[Y],u);if(e+r0&&t.push(` -`,""),t.push(e,""),t}var D5e=function(){function t(e,n,r,i){this.overlaps=r,this.pixelRatio=n,this.resolution=e,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=Ll(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return t.prototype.createLabel=function(e,n,r,i){var o=e+n+r+i;if(this.labels_[o])return this.labels_[o];var a=i?this.strokeStates[i]:null,s=r?this.fillStates[r]:null,l=this.textStates[n],c=this.pixelRatio,u=[l.scale[0]*c,l.scale[1]*c],f=Array.isArray(e),d=l.justify?wx[l.justify]:G8(Array.isArray(e)?e[0]:e,l.textAlign||wb),h=i&&a.lineWidth?a.lineWidth:0,p=f?e:e.split(` -`).reduce(I5e,[]),m=Fje(l,p),g=m.width,v=m.height,y=m.widths,x=m.heights,b=m.lineWidths,_=g+h,S=[],O=(_+2)*u[0],C=(v+h)*u[1],E={width:O<0?Math.floor(O):Math.ceil(O),height:C<0?Math.floor(C):Math.ceil(C),contextInstructions:S};if((u[0]!=1||u[1]!=1)&&S.push("scale",u),i){S.push("strokeStyle",a.strokeStyle),S.push("lineWidth",h),S.push("lineCap",a.lineCap),S.push("lineJoin",a.lineJoin),S.push("miterLimit",a.miterLimit);var M=wM?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;M.prototype.setLineDash&&(S.push("setLineDash",[a.lineDash]),S.push("lineDashOffset",a.lineDashOffset))}r&&S.push("fillStyle",s.fillStyle),S.push("textBaseline","middle"),S.push("textAlign","center");for(var I=.5-d,P=d*_+I*h,R=[],T=[],D=0,U=0,B=0,W=0,z,$=0,N=p.length;$e?e-c:o,b=a+u>n?n-u:a,_=p[3]+x*d[0]+p[1],S=p[0]+b*d[1]+p[2],O=v-p[3],C=y-p[0];(m||f!==0)&&(xu[0]=O,bu[0]=O,xu[1]=C,oc[1]=C,oc[0]=O+_,ac[0]=oc[0],ac[1]=C+S,bu[1]=ac[1]);var E;return f!==0?(E=nu(Ll(),r,i,1,1,f,-r,-i),Sr(E,xu),Sr(E,oc),Sr(E,ac),Sr(E,bu),Ws(Math.min(xu[0],oc[0],ac[0],bu[0]),Math.min(xu[1],oc[1],ac[1],bu[1]),Math.max(xu[0],oc[0],ac[0],bu[0]),Math.max(xu[1],oc[1],ac[1],bu[1]),zp)):Ws(Math.min(O,O+_),Math.min(C,C+S),Math.max(O,O+_),Math.max(C,C+S),zp),h&&(v=Math.round(v),y=Math.round(y)),{drawImageX:v,drawImageY:y,drawImageW:x,drawImageH:b,originX:c,originY:u,declutterBox:{minX:zp[0],minY:zp[1],maxX:zp[2],maxY:zp[3],value:g},canvasTransform:E,scale:d}},t.prototype.replayImageOrLabel_=function(e,n,r,i,o,a,s){var l=!!(a||s),c=i.declutterBox,u=e.canvas,f=s?s[2]*i.scale[0]/2:0,d=c.minX-f<=u.width/n&&c.maxX+f>=0&&c.minY-f<=u.height/n&&c.maxY+f>=0;return d&&(l&&this.replayTextBackground_(e,xu,oc,ac,bu,a,s),jje(e,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},t.prototype.fill_=function(e){if(this.alignFill_){var n=Sr(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(n[0]%r,n[1]%r),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},t.prototype.setStrokeStyle_=function(e,n){e.strokeStyle=n[1],e.lineWidth=n[2],e.lineCap=n[3],e.lineJoin=n[4],e.miterLimit=n[5],e.setLineDash&&(e.lineDashOffset=n[7],e.setLineDash(n[6]))},t.prototype.drawLabelWithPointPlacement_=function(e,n,r,i){var o=this.textStates[n],a=this.createLabel(e,n,i,r),s=this.strokeStates[r],l=this.pixelRatio,c=G8(Array.isArray(e)?e[0]:e,o.textAlign||wb),u=wx[o.textBaseline||ST],f=s&&s.lineWidth?s.lineWidth:0,d=a.width/l-2*o.scale[0],h=c*d+2*(.5-c)*f,p=u*a.height/l+2*(.5-u)*f;return{label:a,anchorX:h,anchorY:p}},t.prototype.execute_=function(e,n,r,i,o,a,s,l){var c;this.pixelCoordinates_&&dp(r,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=Sh(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),z3e(this.renderedTransform_,r));for(var u=0,f=i.length,d=0,h,p,m,g,v,y,x,b,_,S,O,C,E=0,M=0,I=null,P=null,R=this.coordinateCache_,T=this.viewRotation_,D=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,U={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:T},B=this.instructions!=i||this.overlaps?0:200,W,z,$,N;uB&&(this.fill_(e),E=0),M>B&&(e.stroke(),M=0),!E&&!M&&(e.beginPath(),g=NaN,v=NaN),++u;break;case bt.CIRCLE:d=L[1];var q=c[d],Y=c[d+1],K=c[d+2],se=c[d+3],ee=K-q,te=se-Y,de=Math.sqrt(ee*ee+te*te);e.moveTo(q+de,Y),e.arc(q,Y,de,0,2*Math.PI,!0),++u;break;case bt.CLOSE_PATH:e.closePath(),++u;break;case bt.CUSTOM:d=L[1],h=L[2];var xe=L[3],ie=L[4],ve=L.length==6?L[5]:void 0;U.geometry=xe,U.feature=W,u in R||(R[u]=[]);var F=R[u];ve?ve(c,d,h,2,F):(F[0]=c[d],F[1]=c[d+1],F.length=2),ie(F,U),++u;break;case bt.DRAW_IMAGE:d=L[1],h=L[2],b=L[3],p=L[4],m=L[5];var ce=L[6],le=L[7],Q=L[8],X=L[9],J=L[10],ge=L[11],ye=L[12],V=L[13],H=L[14],re=L[15];if(!b&&L.length>=20){_=L[19],S=L[20],O=L[21],C=L[22];var he=this.drawLabelWithPointPlacement_(_,S,O,C);b=he.label,L[3]=b;var we=L[23];p=(he.anchorX-we)*this.pixelRatio,L[4]=p;var oe=L[24];m=(he.anchorY-oe)*this.pixelRatio,L[5]=m,ce=b.height,L[6]=ce,V=b.width,L[13]=V}var Z=void 0;L.length>25&&(Z=L[25]);var G=void 0,fe=void 0,_e=void 0;L.length>17?(G=L[16],fe=L[17],_e=L[18]):(G=ih,fe=!1,_e=!1),J&&D?ge+=T:!J&&!D&&(ge-=T);for(var Me=0;d0){if(!a||h!=="Image"&&h!=="Text"||a.indexOf(S)!==-1){var I=(d[E]-3)/4,P=i-I%s,R=i-(I/s|0),T=o(S,O,P*P+R*R);if(T)return T}u.clearRect(0,0,s,s);break}}var m=Object.keys(this.executorsByZIndex_).map(Number);m.sort(jh);var g,v,y,x,b;for(g=m.length-1;g>=0;--g){var _=m[g].toString();for(y=this.executorsByZIndex_[_],v=oA.length-1;v>=0;--v)if(h=oA[v],x=y[h],x!==void 0&&(b=x.executeHitDetection(u,l,r,p,f),b))return b}},t.prototype.getClipCoords=function(e){var n=this.maxExtent_;if(!n)return null;var r=n[0],i=n[1],o=n[2],a=n[3],s=[r,i,r,a,o,a,o,i];return Sh(s,0,8,2,e,s),s},t.prototype.isEmpty=function(){return zg(this.executorsByZIndex_)},t.prototype.execute=function(e,n,r,i,o,a,s){var l=Object.keys(this.executorsByZIndex_).map(Number);l.sort(jh),this.maxExtent_&&(e.save(),this.clip(e,r));var c=a||oA,u,f,d,h,p,m;for(s&&l.reverse(),u=0,f=l.length;un)break;var s=r[a];s||(s=[],r[a]=s),s.push(((t+i)*e+(t+o))*4+3),i>0&&s.push(((t-i)*e+(t+o))*4+3),o>0&&(s.push(((t+i)*e+(t-o))*4+3),i>0&&s.push(((t-i)*e+(t-o))*4+3))}for(var l=[],i=0,c=r.length;ithis.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var e=0;for(var n in this.cache_){var r=this.cache_[n];!(e++&3)&&!r.hasListener()&&(delete this.cache_[n],--this.cacheSize_)}}},t.prototype.get=function(e,n,r){var i=q8(e,n,r);return i in this.cache_?this.cache_[i]:null},t.prototype.set=function(e,n,r,i){var o=q8(e,n,r);this.cache_[o]=i,++this.cacheSize_},t.prototype.setSize=function(e){this.maxCacheSize_=e,this.expire()},t}();function q8(t,e,n){var r=n?mie(n):"null";return e+":"+t+":"+r}var TT=new B5e,z5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),U5e=function(t){z5e(e,t);function e(n,r,i,o){var a=t.call(this)||this;return a.extent=n,a.pixelRatio_=i,a.resolution=r,a.state=o,a}return e.prototype.changed=function(){this.dispatchEvent(Mt.CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return vt()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){vt()},e}(Uv);const W5e=U5e;var V5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){V5e(e,t);function e(n,r,i,o,a,s){var l=t.call(this,n,r,i,zn.IDLE)||this;return l.src_=o,l.image_=new Image,a!==null&&(l.image_.crossOrigin=a),l.unlisten_=null,l.state=zn.IDLE,l.imageLoadFunction_=s,l}return e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=zn.ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){this.resolution===void 0&&(this.resolution=as(this.extent)/this.image_.height),this.state=zn.LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){(this.state==zn.IDLE||this.state==zn.ERROR)&&(this.state=zn.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=L5(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(n){this.image_=n,this.resolution=as(this.extent)/this.image_.height},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e})(W5e);function L5(t,e,n){var r=t,i=!0,o=!1,a=!1,s=[dT(r,Mt.LOAD,function(){a=!0,o||e()})];return r.src&&j3e?(o=!0,r.decode().then(function(){i&&e()}).catch(function(l){i&&(a?e():n())})):s.push(dT(r,Mt.ERROR,n)),function(){i=!1,s.forEach(er)}}var G5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qy=null,H5e=function(t){G5e(e,t);function e(n,r,i,o,a,s){var l=t.call(this)||this;return l.hitDetectionImage_=null,l.image_=n||new Image,o!==null&&(l.image_.crossOrigin=o),l.canvas_={},l.color_=s,l.unlisten_=null,l.imageState_=a,l.size_=i,l.src_=r,l.tainted_,l}return e.prototype.isTainted_=function(){if(this.tainted_===void 0&&this.imageState_===zn.LOADED){Qy||(Qy=ba(1,1)),Qy.drawImage(this.image_,0,0);try{Qy.getImageData(0,0,1,1),this.tainted_=!1}catch{Qy=null,this.tainted_=!0}}return this.tainted_===!0},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(Mt.CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=zn.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=zn.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(n){return this.replaceColor_(n),this.canvas_[n]?this.canvas_[n]:this.image_},e.prototype.getPixelRatio=function(n){return this.replaceColor_(n),this.canvas_[n]?n:1},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var n=this.size_[0],r=this.size_[1],i=ba(n,r);i.fillRect(0,0,n,r),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==zn.IDLE){this.imageState_=zn.LOADING;try{this.image_.src=this.src_}catch{this.handleImageError_()}this.unlisten_=L5(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(n){if(!(!this.color_||this.canvas_[n]||this.imageState_!==zn.LOADED)){var r=document.createElement("canvas");this.canvas_[n]=r,r.width=Math.ceil(this.image_.width*n),r.height=Math.ceil(this.image_.height*n);var i=r.getContext("2d");if(i.scale(n,n),i.drawImage(this.image_,0,0),i.globalCompositeOperation="multiply",i.globalCompositeOperation==="multiply"||this.isTainted_())i.fillStyle=mie(this.color_),i.fillRect(0,0,r.width/n,r.height/n),i.globalCompositeOperation="destination-in",i.drawImage(this.image_,0,0);else{for(var o=i.getImageData(0,0,r.width,r.height),a=o.data,s=this.color_[0]/255,l=this.color_[1]/255,c=this.color_[2]/255,u=this.color_[3],f=0,d=a.length;f0,6);var f=i.src!==void 0?zn.IDLE:zn.LOADED;return r.color_=i.color!==void 0?_T(i.color):null,r.iconImage_=q5e(c,u,r.imgSize_!==void 0?r.imgSize_:null,r.crossOrigin_,f,r.color_),r.offset_=i.offset!==void 0?i.offset:[0,0],r.offsetOrigin_=i.offsetOrigin!==void 0?i.offsetOrigin:Ea.TOP_LEFT,r.origin_=null,r.size_=i.size!==void 0?i.size:null,r}return e.prototype.clone=function(){var n=this.getScale();return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,imgSize:this.imgSize_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:Array.isArray(n)?n.slice():n,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})},e.prototype.getAnchor=function(){var n=this.normalizedAnchor_;if(!n){n=this.anchor_;var r=this.getSize();if(this.anchorXUnits_==Qu.FRACTION||this.anchorYUnits_==Qu.FRACTION){if(!r)return null;n=this.anchor_.slice(),this.anchorXUnits_==Qu.FRACTION&&(n[0]*=r[0]),this.anchorYUnits_==Qu.FRACTION&&(n[1]*=r[1])}if(this.anchorOrigin_!=Ea.TOP_LEFT){if(!r)return null;n===this.anchor_&&(n=this.anchor_.slice()),(this.anchorOrigin_==Ea.TOP_RIGHT||this.anchorOrigin_==Ea.BOTTOM_RIGHT)&&(n[0]=-n[0]+r[0]),(this.anchorOrigin_==Ea.BOTTOM_LEFT||this.anchorOrigin_==Ea.BOTTOM_RIGHT)&&(n[1]=-n[1]+r[1])}this.normalizedAnchor_=n}var i=this.getDisplacement();return[n[0]-i[0],n[1]+i[1]]},e.prototype.setAnchor=function(n){this.anchor_=n,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(n){return this.iconImage_.getImage(n)},e.prototype.getPixelRatio=function(n){return this.iconImage_.getPixelRatio(n)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var n=this.offset_;if(this.offsetOrigin_!=Ea.TOP_LEFT){var r=this.getSize(),i=this.iconImage_.getSize();if(!r||!i)return null;n=n.slice(),(this.offsetOrigin_==Ea.TOP_RIGHT||this.offsetOrigin_==Ea.BOTTOM_RIGHT)&&(n[0]=i[0]-r[0]-n[0]),(this.offsetOrigin_==Ea.BOTTOM_LEFT||this.offsetOrigin_==Ea.BOTTOM_RIGHT)&&(n[1]=i[1]-r[1]-n[1])}return this.origin_=n,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(n){this.iconImage_.addEventListener(Mt.CHANGE,n)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(n){this.iconImage_.removeEventListener(Mt.CHANGE,n)},e}(pie);const Y5e=Q5e;var dl=.5;function K5e(t,e,n,r,i,o,a){var s=t[0]*dl,l=t[1]*dl,c=ba(s,l);c.imageSmoothingEnabled=!1;for(var u=c.canvas,f=new j5e(c,dl,i,null,a),d=n.length,h=Math.floor((256*256*256-1)/d),p={},m=1;m<=d;++m){var g=n[m-1],v=g.getStyleFunction()||r;if(r){var y=v(g,o);if(y){Array.isArray(y)||(y=[y]);for(var x=m*h,b="#"+("000000"+x.toString(16)).slice(-6),_=0,S=y.length;_m[2];)++y,x=v*y,f.push(this.getRenderTransform(o,a,s,dl,d,h,x).slice()),g-=v}this.hitDetectionImageData_=K5e(i,f,this.renderedFeatures_,u.getStyleFunction(),c,a,s)}r(Z5e(n,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(n,r,i,o,a){var s=this;if(this.replayGroup_){var l=r.viewState.resolution,c=r.viewState.rotation,u=this.getLayer(),f={},d=function(m,g,v){var y=vn(m),x=f[y];if(x){if(x!==!0&&v_[0]&&C[2]>_[2]&&b.push([C[0]-S,C[1],C[2]-S,C[3]])}if(this.ready&&this.renderedResolution_==d&&this.renderedRevision_==p&&this.renderedRenderOrder_==g&&Fm(this.wrappedRenderedExtent_,y))return dp(this.renderedExtent_,x)||(this.hitDetectionImageData_=null,this.renderedExtent_=x),this.renderedCenter_=v,this.replayGroupChanged=!1,!0;this.replayGroup_=null;var E=new U8(kL(d,h),y,d,h),M;this.getLayer().getDeclutter()&&(M=new U8(kL(d,h),y,d,h));for(var I,P,R,P=0,R=b.length;P=200&&s.status<300){var c=e.getType(),u=void 0;c=="json"||c=="text"?u=s.responseText:c=="xml"?(u=s.responseXML,u||(u=new DOMParser().parseFromString(s.responseText,"application/xml"))):c=="arraybuffer"&&(u=s.response),u?o(e.readFeatures(u,{extent:n,featureProjection:i}),e.readProjection(u)):a()}else a()},s.onerror=a,s.send()}function K8(t,e){return function(n,r,i,o,a){var s=this;xBe(t,e,n,r,i,function(l,c){s.addFeatures(l),o!==void 0&&o(l)},a||Bh)}}var kie=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_u=function(t){kie(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.feature=r,o.features=i,o}return e}(Yl),bBe=function(t){kie(e,t);function e(n){var r=this,i=n||{};r=t.call(this,{attributions:i.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:i.wrapX!==void 0?i.wrapX:!0})||this,r.on,r.once,r.un,r.loader_=Bh,r.format_=i.format,r.overlaps_=i.overlaps===void 0?!0:i.overlaps,r.url_=i.url,i.loader!==void 0?r.loader_=i.loader:r.url_!==void 0&&(Bt(r.format_,7),r.loader_=K8(r.url_,r.format_)),r.strategy_=i.strategy!==void 0?i.strategy:vBe;var o=i.useSpatialIndex!==void 0?i.useSpatialIndex:!0;r.featuresRtree_=o?new Q8:null,r.loadedExtentsRtree_=new Q8,r.loadingExtentsCount_=0,r.nullGeometryFeatures_={},r.idIndex_={},r.uidIndex_={},r.featureChangeKeys_={},r.featuresCollection_=null;var a,s;return Array.isArray(i.features)?s=i.features:i.features&&(a=i.features,s=a.getArray()),!o&&a===void 0&&(a=new Ua(s)),s!==void 0&&r.addFeaturesInternal(s),a!==void 0&&r.bindFeaturesCollection_(a),r}return e.prototype.addFeature=function(n){this.addFeatureInternal(n),this.changed()},e.prototype.addFeatureInternal=function(n){var r=vn(n);if(!this.addToIndex_(r,n)){this.featuresCollection_&&this.featuresCollection_.remove(n);return}this.setupChangeEvents_(r,n);var i=n.getGeometry();if(i){var o=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(o,n)}else this.nullGeometryFeatures_[r]=n;this.dispatchEvent(new _u(xs.ADDFEATURE,n))},e.prototype.setupChangeEvents_=function(n,r){this.featureChangeKeys_[n]=[tn(r,Mt.CHANGE,this.handleFeatureChange_,this),tn(r,Bg.PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(n,r){var i=!0,o=r.getId();return o!==void 0&&(o.toString()in this.idIndex_?i=!1:this.idIndex_[o.toString()]=r),i&&(Bt(!(n in this.uidIndex_),30),this.uidIndex_[n]=r),i},e.prototype.addFeatures=function(n){this.addFeaturesInternal(n),this.changed()},e.prototype.addFeaturesInternal=function(n){for(var r=[],i=[],o=[],a=0,s=n.length;a0},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(n){var r=this.loadedExtentsRtree_,i;r.forEachInExtent(n,function(o){if(pb(o.extent,n))return i=o,!0}),i&&r.remove(i)},e.prototype.removeFeature=function(n){if(n){var r=vn(n);r in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[r]:this.featuresRtree_&&this.featuresRtree_.remove(n);var i=this.removeFeatureInternal(n);i&&this.changed()}},e.prototype.removeFeatureInternal=function(n){var r=vn(n),i=this.featureChangeKeys_[r];if(i){i.forEach(er),delete this.featureChangeKeys_[r];var o=n.getId();return o!==void 0&&delete this.idIndex_[o.toString()],delete this.uidIndex_[r],this.dispatchEvent(new _u(xs.REMOVEFEATURE,n)),n}},e.prototype.removeFromIdIndex_=function(n){var r=!1;for(var i in this.idIndex_)if(this.idIndex_[i]===n){delete this.idIndex_[i],r=!0;break}return r},e.prototype.setLoader=function(n){this.loader_=n},e.prototype.setUrl=function(n){Bt(this.format_,7),this.url_=n,this.setLoader(K8(n,this.format_))},e}(Mie);const O1=bBe;function rS(t,e){return Sr(t.inversePixelTransform,e.slice(0))}const wt={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function Aie(t){return Math.pow(t,3)}function Gv(t){return 1-Aie(1-t)}function _Be(t){return 3*t*t-2*t*t*t}function wBe(t){return t}var SBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),OBe=function(t){SBe(e,t);function e(n,r,i){var o=t.call(this)||this,a=i||{};return o.tileCoord=n,o.state=r,o.interimTile=null,o.key="",o.transition_=a.transition===void 0?250:a.transition,o.transitionStarts_={},o.interpolate=!!a.interpolate,o}return e.prototype.changed=function(){this.dispatchEvent(Mt.CHANGE)},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var n=this.interimTile;do{if(n.getState()==wt.LOADED)return this.transition_=0,n;n=n.interimTile}while(n);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var n=this.interimTile,r=this;do{if(n.getState()==wt.LOADED){n.interimTile=null;break}else n.getState()==wt.LOADING?r=n:n.getState()==wt.IDLE?r.interimTile=n.interimTile:r=n;n=r.interimTile}while(n)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(n){if(this.state!==wt.ERROR&&this.state>n)throw new Error("Tile load sequence violation");this.state=n,this.changed()},e.prototype.load=function(){vt()},e.prototype.getAlpha=function(n,r){if(!this.transition_)return 1;var i=this.transitionStarts_[n];if(!i)i=r,this.transitionStarts_[n]=i;else if(i===-1)return 1;var o=r-i+1e3/60;return o>=this.transition_?1:Aie(o/this.transition_)},e.prototype.inTransition=function(n){return this.transition_?this.transitionStarts_[n]!==-1:!1},e.prototype.endTransition=function(n){this.transition_&&(this.transitionStarts_[n]=-1)},e}(Uv);const Rie=OBe;var CBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),TBe=function(t){CBe(e,t);function e(n,r,i,o,a,s){var l=t.call(this,n,r,s)||this;return l.crossOrigin_=o,l.src_=i,l.key=i,l.image_=new Image,o!==null&&(l.image_.crossOrigin=o),l.unlisten_=null,l.tileLoadFunction_=a,l}return e.prototype.getImage=function(){return this.image_},e.prototype.setImage=function(n){this.image_=n,this.state=wt.LOADED,this.unlistenImage_(),this.changed()},e.prototype.handleImageError_=function(){this.state=wt.ERROR,this.unlistenImage_(),this.image_=EBe(),this.changed()},e.prototype.handleImageLoad_=function(){var n=this.image_;n.naturalWidth&&n.naturalHeight?this.state=wt.LOADED:this.state=wt.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==wt.ERROR&&(this.state=wt.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==wt.IDLE&&(this.state=wt.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=L5(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(Rie);function EBe(){var t=ba(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}const $5=TBe;var PBe=function(){function t(e,n,r){this.decay_=e,this.minVelocity_=n,this.delay_=r,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(e,n){this.points_.push(e,n,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var e=Date.now()-this.delay_,n=this.points_.length-3;if(this.points_[n+2]0&&this.points_[r+2]>e;)r-=3;var i=this.points_[n+2]-this.points_[r+2];if(i<1e3/60)return!1;var o=this.points_[n]-this.points_[r],a=this.points_[n+1]-this.points_[r+1];return this.angle_=Math.atan2(a,o),this.initialVelocity_=Math.sqrt(o*o+a*a)/i,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),MBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),kBe=function(t){MBe(e,t);function e(n){var r=t.call(this)||this;return r.map_=n,r}return e.prototype.dispatchRenderEvent=function(n,r){vt()},e.prototype.calculateMatrices2D=function(n){var r=n.viewState,i=n.coordinateToPixelTransform,o=n.pixelToCoordinateTransform;nu(i,n.size[0]/2,n.size[1]/2,1/r.resolution,-1/r.resolution,-r.rotation,-r.center[0],-r.center[1]),o5(o,i)},e.prototype.forEachFeatureAtCoordinate=function(n,r,i,o,a,s,l,c){var u,f=r.viewState;function d(D,U,B,W){return a.call(s,U,D?B:null,W)}var h=f.projection,p=Lre(n.slice(),h),m=[[0,0]];if(h.canWrapX()&&o){var g=h.getExtent(),v=Qn(g);m.push([-v,0],[v,0])}for(var y=r.layerStatesArray,x=y.length,b=[],_=[],S=0;S=0;--O){var C=y[O],E=C.layer;if(E.hasRenderer()&&CT(C,f)&&l.call(c,E)){var M=E.getRenderer(),I=E.getSource();if(M&&I){var P=I.getWrapX()?p:n,R=d.bind(null,C.managed);_[0]=P[0]+m[S][0],_[1]=P[1]+m[S][1],u=M.forEachFeatureAtCoordinate(_,r,i,R,b)}if(u)return u}}if(b.length!==0){var T=1/b.length;return b.forEach(function(D,U){return D.distanceSq+=U*T}),b.sort(function(D,U){return D.distanceSq-U.distanceSq}),b.some(function(D){return u=D.callback(D.feature,D.layer,D.geometry)}),u}},e.prototype.forEachLayerAtPixel=function(n,r,i,o,a){return vt()},e.prototype.hasFeatureAtCoordinate=function(n,r,i,o,a,s){var l=this.forEachFeatureAtCoordinate(n,r,i,o,_h,this,a,s);return l!==void 0},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(n){vt()},e.prototype.scheduleExpireIconCache=function(n){TT.canExpireCache()&&n.postRenderFunctions.push(ABe)},e}(r5);function ABe(t,e){TT.expire()}const RBe=kBe;var IBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),DBe=function(t){IBe(e,t);function e(n){var r=t.call(this,n)||this;r.fontChangeListenerKey_=tn(mc,Bg.PROPERTYCHANGE,n.redrawText.bind(n)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=b1+" ol-layers";var o=n.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return e.prototype.dispatchRenderEvent=function(n,r){var i=this.getMap();if(i.hasListener(n)){var o=new Cie(n,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){er(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(n){if(!n){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(n),this.dispatchRenderEvent(Ef.PRECOMPOSE,n);var r=n.layerStatesArray.sort(function(h,p){return h.zIndex-p.zIndex}),i=n.viewState;this.children_.length=0;for(var o=[],a=null,s=0,l=r.length;s=0;--s)o[s].renderDeclutter(n);Ije(this.element_,this.children_),this.dispatchRenderEvent(Ef.POSTCOMPOSE,n),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(n)},e.prototype.forEachLayerAtPixel=function(n,r,i,o,a){for(var s=r.viewState,l=r.layerStatesArray,c=l.length,u=c-1;u>=0;--u){var f=l[u],d=f.layer;if(d.hasRenderer()&&CT(f,s)&&a(d)){var h=d.getRenderer(),p=h.getDataAtPixel(n,r,i);if(p){var m=o(d,p);if(m)return m}}}},e}(RBe);const LBe=DBe;var Iie=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yu=function(t){Iie(e,t);function e(n,r){var i=t.call(this,n)||this;return i.layer=r,i}return e}(Yl),sA={LAYERS:"layers"},$Be=function(t){Iie(e,t);function e(n){var r=this,i=n||{},o=lr({},i);delete o.layers;var a=i.layers;return r=t.call(this,o)||this,r.on,r.once,r.un,r.layersListenerKeys_=[],r.listenerKeys_={},r.addChangeListener(sA.LAYERS,r.handleLayersChanged_),a?Array.isArray(a)?a=new Ua(a.slice(),{unique:!0}):Bt(typeof a.getArray=="function",43):a=new Ua(void 0,{unique:!0}),r.setLayers(a),r}return e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(er),this.layersListenerKeys_.length=0;var n=this.getLayers();this.layersListenerKeys_.push(tn(n,Co.ADD,this.handleLayersAdd_,this),tn(n,Co.REMOVE,this.handleLayersRemove_,this));for(var r in this.listenerKeys_)this.listenerKeys_[r].forEach(er);p1(this.listenerKeys_);for(var i=n.getArray(),o=0,a=i.length;othis.moveTolerance_||Math.abs(n.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(er(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(Mt.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(er(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(er),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(Uv);const WBe=UBe,ju={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},zi={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"};var ET=1/0,VBe=function(){function t(e,n){this.priorityFunction_=e,this.keyFunction_=n,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,p1(this.queuedElements_)},t.prototype.dequeue=function(){var e=this.elements_,n=this.priorities_,r=e[0];e.length==1?(e.length=0,n.length=0):(e[0]=e.pop(),n[0]=n.pop(),this.siftUp_(0));var i=this.keyFunction_(r);return delete this.queuedElements_[i],r},t.prototype.enqueue=function(e){Bt(!(this.keyFunction_(e)in this.queuedElements_),31);var n=this.priorityFunction_(e);return n!=ET?(this.elements_.push(e),this.priorities_.push(n),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(e){return e*2+1},t.prototype.getRightChildIndex_=function(e){return e*2+2},t.prototype.getParentIndex_=function(e){return e-1>>1},t.prototype.heapify_=function(){var e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)},t.prototype.isEmpty=function(){return this.elements_.length===0},t.prototype.isKeyQueued=function(e){return e in this.queuedElements_},t.prototype.isQueued=function(e){return this.isKeyQueued(this.keyFunction_(e))},t.prototype.siftUp_=function(e){for(var n=this.elements_,r=this.priorities_,i=n.length,o=n[e],a=r[e],s=e;e>1;){var l=this.getLeftChildIndex_(e),c=this.getRightChildIndex_(e),u=ce;){var s=this.getParentIndex_(n);if(i[s]>a)r[n]=r[s],i[n]=i[s],n=s;else break}r[n]=o,i[n]=a},t.prototype.reprioritize=function(){var e=this.priorityFunction_,n=this.elements_,r=this.priorities_,i=0,o=n.length,a,s,l;for(s=0;s0;)a=this.dequeue()[0],s=a.getKey(),o=a.getState(),o===wt.IDLE&&!(s in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[s]=!0,++this.tilesLoading_,++i,a.load())},e}(GBe);const XBe=qBe;function QBe(t,e,n,r,i){if(!t||!(n in t.wantedTiles)||!t.wantedTiles[n][e.getKey()])return ET;var o=t.viewState.center,a=r[0]-o[0],s=r[1]-o[1];return 65536*Math.log(i)+Math.sqrt(a*a+s*s)/i}const bs={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};var YBe=42,N5=256;function Z8(t,e,n){return function(r,i,o,a,s){if(r){if(!i&&!e)return r;var l=e?0:o[0]*i,c=e?0:o[1]*i,u=s?s[0]:0,f=s?s[1]:0,d=t[0]+l/2+u,h=t[2]-l/2+u,p=t[1]+c/2+f,m=t[3]-c/2+f;d>h&&(d=(h+d)/2,h=d),p>m&&(p=(m+p)/2,m=p);var g=$r(r[0],d,h),v=$r(r[1],p,m);if(a&&n&&i){var y=30*i;g+=-y*Math.log(1+Math.max(0,d-r[0])/y)+y*Math.log(1+Math.max(0,r[0]-h)/y),v+=-y*Math.log(1+Math.max(0,p-r[1])/y)+y*Math.log(1+Math.max(0,r[1]-m)/y)}return[g,v]}}}function KBe(t){return t}function F5(t,e,n,r){var i=Qn(e)/n[0],o=as(e)/n[1];return r?Math.min(t,Math.max(i,o)):Math.min(t,Math.min(i,o))}function j5(t,e,n){var r=Math.min(t,e),i=50;return r*=Math.log(1+i*Math.max(0,t/e-1))/i+1,n&&(r=Math.max(r,n),r/=Math.log(1+i*Math.max(0,n/t-1))/i+1),$r(r,n/2,e*2)}function ZBe(t,e,n,r){return function(i,o,a,s){if(i!==void 0){var l=t[0],c=t[t.length-1],u=n?F5(l,n,a,r):l;if(s){var f=e!==void 0?e:!0;return f?j5(i,u,c):$r(i,c,u)}var d=Math.min(u,i),h=Math.floor(i5(t,d,o));return t[h]>u&&h1&&typeof arguments[r-1]=="function"&&(i=arguments[r-1],--r);for(var o=0;o0},e.prototype.getInteracting=function(){return this.hints_[Gi.INTERACTING]>0},e.prototype.cancelAnimations=function(){this.setHint(Gi.ANIMATING,-this.hints_[Gi.ANIMATING]);for(var n,r=0,i=this.animations_.length;r=0;--i){for(var o=this.animations_[i],a=!0,s=0,l=o.length;s0?u/c.duration:1;f>=1?(c.complete=!0,f=1):a=!1;var d=c.easing(f);if(c.sourceCenter){var h=c.sourceCenter[0],p=c.sourceCenter[1],m=c.targetCenter[0],g=c.targetCenter[1];this.nextCenter_=c.targetCenter;var v=h+d*(m-h),y=p+d*(g-p);this.targetCenter_=[v,y]}if(c.sourceResolution&&c.targetResolution){var x=d===1?c.targetResolution:c.sourceResolution+d*(c.targetResolution-c.sourceResolution);if(c.anchor){var b=this.getViewportSize_(this.getRotation()),_=this.constraints_.resolution(x,0,b,!0);this.targetCenter_=this.calculateCenterZoom(_,c.anchor)}this.nextResolution_=c.targetResolution,this.targetResolution_=x,this.applyTargetState_(!0)}if(c.sourceRotation!==void 0&&c.targetRotation!==void 0){var S=d===1?Tf(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+d*(c.targetRotation-c.sourceRotation);if(c.anchor){var O=this.constraints_.rotation(S,!0);this.targetCenter_=this.calculateCenterRotate(O,c.anchor)}this.nextRotation_=c.targetRotation,this.targetRotation_=S}if(this.applyTargetState_(!0),r=!0,!c.complete)break}}if(a){this.animations_[i]=null,this.setHint(Gi.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;var C=o[0].callback;C&&iS(C,!0)}}this.animations_=this.animations_.filter(Boolean),r&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(n,r){var i,o=this.getCenterInternal();return o!==void 0&&(i=[o[0]-r[0],o[1]-r[1]],c5(i,n-this.getRotation()),mNe(i,r)),i},e.prototype.calculateCenterZoom=function(n,r){var i,o=this.getCenterInternal(),a=this.getResolution();if(o!==void 0&&a!==void 0){var s=r[0]-n*(r[0]-o[0])/a,l=r[1]-n*(r[1]-o[1])/a;i=[s,l]}return i},e.prototype.getViewportSize_=function(n){var r=this.viewportSize_;if(n){var i=r[0],o=r[1];return[Math.abs(i*Math.cos(n))+Math.abs(o*Math.sin(n)),Math.abs(i*Math.sin(n))+Math.abs(o*Math.cos(n))]}else return r},e.prototype.setViewportSize=function(n){this.viewportSize_=Array.isArray(n)?n.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},e.prototype.getCenter=function(){var n=this.getCenterInternal();return n&&yL(n,this.getProjection())},e.prototype.getCenterInternal=function(){return this.get(bs.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.get("constrainResolution")},e.prototype.getHints=function(n){return n!==void 0?(n[0]=this.hints_[0],n[1]=this.hints_[1],n):this.hints_.slice()},e.prototype.calculateExtent=function(n){var r=this.calculateExtentInternal(n);return Nre(r,this.getProjection())},e.prototype.calculateExtentInternal=function(n){var r=n||this.getViewportSizeMinusPadding_(),i=this.getCenterInternal();Bt(i,1);var o=this.getResolution();Bt(o!==void 0,2);var a=this.getRotation();return Bt(a!==void 0,3),pL(i,o,a,r)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(n){this.applyOptions_(this.getUpdatedOptions_({maxZoom:n}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(n){this.applyOptions_(this.getUpdatedOptions_({minZoom:n}))},e.prototype.setConstrainResolution=function(n){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:n}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(bs.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(n,r){return this.getResolutionForExtentInternal(nh(n,this.getProjection()),r)},e.prototype.getResolutionForExtentInternal=function(n,r){var i=r||this.getViewportSizeMinusPadding_(),o=Qn(n)/i[0],a=as(n)/i[1];return Math.max(o,a)},e.prototype.getResolutionForValueFunction=function(n){var r=n||2,i=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,a=Math.log(i/o)/Math.log(r);return function(s){var l=i/Math.pow(r,s*a);return l}},e.prototype.getRotation=function(){return this.get(bs.ROTATION)},e.prototype.getValueForResolutionFunction=function(n){var r=Math.log(n||2),i=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,a=Math.log(i/o)/r;return function(s){var l=Math.log(i/s)/r/a;return l}},e.prototype.getViewportSizeMinusPadding_=function(n){var r=this.getViewportSize_(n),i=this.padding_;return i&&(r=[r[0]-i[1]-i[3],r[1]-i[0]-i[2]]),r},e.prototype.getState=function(){var n=this.getProjection(),r=this.getResolution(),i=this.getRotation(),o=this.getCenterInternal(),a=this.padding_;if(a){var s=this.getViewportSizeMinusPadding_();o=cA(o,this.getViewportSize_(),[s[0]/2+a[3],s[1]/2+a[0]],r,i)}return{center:o.slice(0),projection:n!==void 0?n:null,resolution:r,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}},e.prototype.getZoom=function(){var n,r=this.getResolution();return r!==void 0&&(n=this.getZoomForResolution(r)),n},e.prototype.getZoomForResolution=function(n){var r=this.minZoom_||0,i,o;if(this.resolutions_){var a=i5(this.resolutions_,n,1);r=a,i=this.resolutions_[a],a==this.resolutions_.length-1?o=2:o=i/this.resolutions_[a+1]}else i=this.maxResolution_,o=this.zoomFactor_;return r+Math.log(i/n)/Math.log(o)},e.prototype.getResolutionForZoom=function(n){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var r=$r(Math.floor(n),0,this.resolutions_.length-2),i=this.resolutions_[r]/this.resolutions_[r+1];return this.resolutions_[r]/Math.pow(i,$r(n-r,0,1))}else return this.maxResolution_/Math.pow(this.zoomFactor_,n-this.minZoom_)},e.prototype.fit=function(n,r){var i;if(Bt(Array.isArray(n)||typeof n.getSimplifiedGeometry=="function",24),Array.isArray(n)){Bt(!l5(n),25);var o=nh(n,this.getProjection());i=wL(o)}else if(n.getType()==="Circle"){var o=nh(n.getExtent(),this.getProjection());i=wL(o),i.rotate(this.getRotation(),Wf(o))}else{var a=TNe();a?i=n.clone().transform(a,this.getProjection()):i=n}this.fitInternal(i,r)},e.prototype.rotatedExtentForGeometry=function(n){for(var r=this.getRotation(),i=Math.cos(r),o=Math.sin(-r),a=n.getFlatCoordinates(),s=n.getStride(),l=1/0,c=1/0,u=-1/0,f=-1/0,d=0,h=a.length;d=0;c--){var u=l[c];if(!(u.getMap()!==this||!u.getActive()||!this.getTargetElement())){var f=u.handleEvent(n);if(!f||n.propagationStopped)break}}}},e.prototype.handlePostRender=function(){var n=this.frameState_,r=this.tileQueue_;if(!r.isEmpty()){var i=this.maxTilesLoading_,o=i;if(n){var a=n.viewHints;if(a[Gi.ANIMATING]||a[Gi.INTERACTING]){var s=Date.now()-n.time>8;i=s?0:8,o=s?0:2}}r.getTilesLoading()0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!dp(r,this.renderedAttributions_)){Rje(this.ulElement_);for(var o=0,a=r.length;o0&&i%(2*Math.PI)!==0?r.animate({rotation:0,duration:this.duration_,easing:Gv}):r.setRotation(0))}},e.prototype.render=function(n){var r=n.frameState;if(r){var i=r.viewState.rotation;if(i!=this.rotation_){var o="rotate("+i+"rad)";if(this.autoHide_){var a=this.element.classList.contains(Jw);!a&&i===0?this.element.classList.add(Jw):a&&i!==0&&this.element.classList.remove(Jw)}this.label_.style.transform=o}this.rotation_=i}},e}(C1);const vze=gze;var yze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),xze=function(t){yze(e,t);function e(n){var r=this,i=n||{};r=t.call(this,{element:document.createElement("div"),target:i.target})||this;var o=i.className!==void 0?i.className:"ol-zoom",a=i.delta!==void 0?i.delta:1,s=i.zoomInClassName!==void 0?i.zoomInClassName:o+"-in",l=i.zoomOutClassName!==void 0?i.zoomOutClassName:o+"-out",c=i.zoomInLabel!==void 0?i.zoomInLabel:"+",u=i.zoomOutLabel!==void 0?i.zoomOutLabel:"–",f=i.zoomInTipLabel!==void 0?i.zoomInTipLabel:"Zoom in",d=i.zoomOutTipLabel!==void 0?i.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=s,h.setAttribute("type","button"),h.title=f,h.appendChild(typeof c=="string"?document.createTextNode(c):c),h.addEventListener(Mt.CLICK,r.handleClick_.bind(r,a),!1);var p=document.createElement("button");p.className=l,p.setAttribute("type","button"),p.title=d,p.appendChild(typeof u=="string"?document.createTextNode(u):u),p.addEventListener(Mt.CLICK,r.handleClick_.bind(r,-a),!1);var m=o+" "+b1+" "+D5,g=r.element;return g.className=m,g.appendChild(h),g.appendChild(p),r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleClick_=function(n,r){r.preventDefault(),this.zoomByDelta_(n)},e.prototype.zoomByDelta_=function(n){var r=this.getMap(),i=r.getView();if(i){var o=i.getZoom();if(o!==void 0){var a=i.getConstrainedZoom(o+n);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:a,duration:this.duration_,easing:Gv})):i.setZoom(a)}}},e}(C1);const bze=xze;var _ze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),uA="units",Sd={DEGREES:"degrees",IMPERIAL:"imperial",NAUTICAL:"nautical",METRIC:"metric",US:"us"},wze=[1,2,5],Yy=25.4/.28,Sze=function(t){_ze(e,t);function e(n){var r=this,i=n||{},o=i.className!==void 0?i.className:i.bar?"ol-scale-bar":"ol-scale-line";return r=t.call(this,{element:document.createElement("div"),render:i.render,target:i.target})||this,r.on,r.once,r.un,r.innerElement_=document.createElement("div"),r.innerElement_.className=o+"-inner",r.element.className=o+" "+b1,r.element.appendChild(r.innerElement_),r.viewState_=null,r.minWidth_=i.minWidth!==void 0?i.minWidth:64,r.maxWidth_=i.maxWidth,r.renderedVisible_=!1,r.renderedWidth_=void 0,r.renderedHTML_="",r.addChangeListener(uA,r.handleUnitsChanged_),r.setUnits(i.units||Sd.METRIC),r.scaleBar_=i.bar||!1,r.scaleBarSteps_=i.steps||4,r.scaleBarText_=i.text||!1,r.dpi_=i.dpi||void 0,r}return e.prototype.getUnits=function(){return this.get(uA)},e.prototype.handleUnitsChanged_=function(){this.updateElement_()},e.prototype.setUnits=function(n){this.set(uA,n)},e.prototype.setDpi=function(n){this.dpi_=n},e.prototype.updateElement_=function(){var n=this.viewState_;if(!n){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}var r=n.center,i=n.projection,o=this.getUnits(),a=o==Sd.DEGREES?si.DEGREES:si.METERS,s=mT(i,n.resolution,r,a),l=this.minWidth_*(this.dpi_||Yy)/Yy,c=this.maxWidth_!==void 0?this.maxWidth_*(this.dpi_||Yy)/Yy:void 0,u=l*s,f="";if(o==Sd.DEGREES){var d=Us[si.DEGREES];u*=d,u=c){p=v,m=y,g=x;break}else if(m>=l)break;v=p,y=m,x=g,++h}var _;this.scaleBar_?_=this.createScaleBar(m,p,f):_=p.toFixed(g<0?-g:0)+" "+f,this.renderedHTML_!=_&&(this.innerElement_.innerHTML=_,this.renderedHTML_=_),this.renderedWidth_!=m&&(this.innerElement_.style.width=m+"px",this.renderedWidth_=m),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)},e.prototype.createScaleBar=function(n,r,i){for(var o="1 : "+Math.round(this.getScaleForResolution()).toLocaleString(),a=[],s=n/this.scaleBarSteps_,l="ol-scale-singlebar-odd",c=0;c
'+this.createMarker("relative",c)+(c%2===0||this.scaleBarSteps_===2?this.createStepText(c,n,!1,r,i):"")+""),c===this.scaleBarSteps_-1&&a.push(this.createStepText(c+1,n,!0,r,i)),l=l==="ol-scale-singlebar-odd"?"ol-scale-singlebar-even":"ol-scale-singlebar-odd";var u;this.scaleBarText_?u='
'+o+"
":u="";var f='
'+u+a.join("")+"
";return f},e.prototype.createMarker=function(n,r){var i=n==="absolute"?3:-10;return'
'},e.prototype.createStepText=function(n,r,i,o,a){var s=n===0?0:Math.round(o/this.scaleBarSteps_*n*100)/100,l=s+(n===0?"":" "+a),c=n===0?-3:r/this.scaleBarSteps_*-1,u=n===0?0:r/this.scaleBarSteps_*2;return'
'+l+"
"},e.prototype.getScaleForResolution=function(){var n=mT(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,si.METERS),r=this.dpi_||Yy,i=1e3/25.4;return parseFloat(n.toString())*i*r},e.prototype.render=function(n){var r=n.frameState;r?this.viewState_=r.viewState:this.viewState_=null,this.updateElement_()},e}(C1);function Oze(t){var e=t||{},n=new Ua,r=e.zoom!==void 0?e.zoom:!0;r&&n.push(new bze(e.zoomOptions));var i=e.rotate!==void 0?e.rotate:!0;i&&n.push(new vze(e.rotateOptions));var o=e.attribution!==void 0?e.attribution:!0;return o&&n.push(new pze(e.attributionOptions)),n}const RL={ACTIVE:"active"};var Cze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tze=function(t){Cze(e,t);function e(n){var r=t.call(this)||this;return r.on,r.once,r.un,n&&n.handleEvent&&(r.handleEvent=n.handleEvent),r.map_=null,r.setActive(!0),r}return e.prototype.getActive=function(){return this.get(RL.ACTIVE)},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(n){return!0},e.prototype.setActive=function(n){this.set(RL.ACTIVE,n)},e.prototype.setMap=function(n){this.map_=n},e}(Kl);function Eze(t,e,n){var r=t.getCenterInternal();if(r){var i=[r[0]+e[0],r[1]+e[1]];t.animateInternal({duration:n!==void 0?n:250,easing:wBe,center:t.getConstrainedCenter(i)})}}function z5(t,e,n,r){var i=t.getZoom();if(i!==void 0){var o=t.getConstrainedZoom(i+e),a=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:r!==void 0?r:250,easing:Gv})}}const T1=Tze;var Pze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mze=function(t){Pze(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.delta_=i.delta?i.delta:1,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==wn.DBLCLICK){var i=n.originalEvent,o=n.map,a=n.coordinate,s=i.shiftKey?-this.delta_:this.delta_,l=o.getView();z5(l,s,a,this.duration_),i.preventDefault(),r=!0}return!r},e}(T1);const kze=Mze;var Aze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Rze=function(t){Aze(e,t);function e(n){var r=this,i=n||{};return r=t.call(this,i)||this,i.handleDownEvent&&(r.handleDownEvent=i.handleDownEvent),i.handleDragEvent&&(r.handleDragEvent=i.handleDragEvent),i.handleMoveEvent&&(r.handleMoveEvent=i.handleMoveEvent),i.handleUpEvent&&(r.handleUpEvent=i.handleUpEvent),i.stopDown&&(r.stopDown=i.stopDown),r.handlingDownUpSequence=!1,r.targetPointers=[],r}return e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(n){return!1},e.prototype.handleDragEvent=function(n){},e.prototype.handleEvent=function(n){if(!n.originalEvent)return!0;var r=!1;if(this.updateTrackedPointers_(n),this.handlingDownUpSequence){if(n.type==wn.POINTERDRAG)this.handleDragEvent(n),n.originalEvent.preventDefault();else if(n.type==wn.POINTERUP){var i=this.handleUpEvent(n);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(n.type==wn.POINTERDOWN){var o=this.handleDownEvent(n);this.handlingDownUpSequence=o,r=this.stopDown(o)}else n.type==wn.POINTERMOVE&&this.handleMoveEvent(n);return!r},e.prototype.handleMoveEvent=function(n){},e.prototype.handleUpEvent=function(n){return!1},e.prototype.stopDown=function(n){return n},e.prototype.updateTrackedPointers_=function(n){n.activePointers&&(this.targetPointers=n.activePointers)},e}(T1);function U5(t){for(var e=t.length,n=0,r=0,i=0;i0&&this.condition_(n)){var r=n.map,i=r.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}else return!1},e}(Hv);const Fze=Nze;var jze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Bze=function(t){jze(e,t);function e(n){var r=this,i=n||{};return r=t.call(this,{stopDown:h1})||this,r.condition_=i.condition?i.condition:Ize,r.lastAngle_=void 0,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleDragEvent=function(n){if(fA(n)){var r=n.map,i=r.getView();if(i.getConstraints().rotation!==B5){var o=r.getSize(),a=n.pixel,s=Math.atan2(o[1]/2-a[1],a[0]-o[0]/2);if(this.lastAngle_!==void 0){var l=s-this.lastAngle_;i.adjustRotationInternal(-l)}this.lastAngle_=s}}},e.prototype.handleUpEvent=function(n){if(!fA(n))return!0;var r=n.map,i=r.getView();return i.endInteraction(this.duration_),!1},e.prototype.handleDownEvent=function(n){if(!fA(n))return!1;if(Fie(n)&&this.condition_(n)){var r=n.map;return r.getView().beginInteraction(),this.lastAngle_=void 0,!0}else return!1},e}(Hv),zze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Uze=function(t){zze(e,t);function e(n){var r=t.call(this)||this;return r.geometry_=null,r.element_=document.createElement("div"),r.element_.style.position="absolute",r.element_.style.pointerEvents="auto",r.element_.className="ol-box "+n,r.map_=null,r.startPixel_=null,r.endPixel_=null,r}return e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var n=this.startPixel_,r=this.endPixel_,i="px",o=this.element_.style;o.left=Math.min(n[0],r[0])+i,o.top=Math.min(n[1],r[1])+i,o.width=Math.abs(r[0]-n[0])+i,o.height=Math.abs(r[1]-n[1])+i},e.prototype.setMap=function(n){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var r=this.element_.style;r.left="inherit",r.top="inherit",r.width="inherit",r.height="inherit"}this.map_=n,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(n,r){this.startPixel_=n,this.endPixel_=r,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var n=this.startPixel_,r=this.endPixel_,i=[n,[n[0],r[1]],r,[r[0],n[1]]],o=i.map(this.map_.getCoordinateFromPixelInternal,this.map_);o[4]=o[0].slice(),this.geometry_?this.geometry_.setCoordinates([o]):this.geometry_=new Ug([o])},e.prototype.getGeometry=function(){return this.geometry_},e}(r5);const Wze=Uze;var zie=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),oS={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"},dA=function(t){zie(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.coordinate=r,o.mapBrowserEvent=i,o}return e}(Yl),Vze=function(t){zie(e,t);function e(n){var r=t.call(this)||this;r.on,r.once,r.un;var i=n||{};return r.box_=new Wze(i.className||"ol-dragbox"),r.minArea_=i.minArea!==void 0?i.minArea:64,i.onBoxEnd&&(r.onBoxEnd=i.onBoxEnd),r.startPixel_=null,r.condition_=i.condition?i.condition:Fie,r.boxEndCondition_=i.boxEndCondition?i.boxEndCondition:r.defaultBoxEndCondition,r}return e.prototype.defaultBoxEndCondition=function(n,r,i){var o=i[0]-r[0],a=i[1]-r[1];return o*o+a*a>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(n){this.box_.setPixels(this.startPixel_,n.pixel),this.dispatchEvent(new dA(oS.BOXDRAG,n.coordinate,n))},e.prototype.handleUpEvent=function(n){this.box_.setMap(null);var r=this.boxEndCondition_(n,this.startPixel_,n.pixel);return r&&this.onBoxEnd(n),this.dispatchEvent(new dA(r?oS.BOXEND:oS.BOXCANCEL,n.coordinate,n)),!1},e.prototype.handleDownEvent=function(n){return this.condition_(n)?(this.startPixel_=n.pixel,this.box_.setMap(n.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new dA(oS.BOXSTART,n.coordinate,n)),!0):!1},e.prototype.onBoxEnd=function(n){},e}(Hv);const Gze=Vze;var Hze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),qze=function(t){Hze(e,t);function e(n){var r=this,i=n||{},o=i.condition?i.condition:jie;return r=t.call(this,{condition:o,className:i.className||"ol-dragzoom",minArea:i.minArea})||this,r.duration_=i.duration!==void 0?i.duration:200,r.out_=i.out!==void 0?i.out:!1,r}return e.prototype.onBoxEnd=function(n){var r=this.getMap(),i=r.getView(),o=this.getGeometry();if(this.out_){var a=i.rotatedExtentForGeometry(o),s=i.getResolutionForExtentInternal(a),l=i.getResolution()/s;o=o.clone(),o.scale(l*l)}i.fitInternal(o,{duration:this.duration_,easing:Gv})},e}(Gze);const Xze=qze,Od={LEFT:37,UP:38,RIGHT:39,DOWN:40};var Qze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yze=function(t){Qze(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.defaultCondition_=function(o){return W5(o)&&Bie(o)},r.condition_=i.condition!==void 0?i.condition:r.defaultCondition_,r.duration_=i.duration!==void 0?i.duration:100,r.pixelDelta_=i.pixelDelta!==void 0?i.pixelDelta:128,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==Mt.KEYDOWN){var i=n.originalEvent,o=i.keyCode;if(this.condition_(n)&&(o==Od.DOWN||o==Od.LEFT||o==Od.RIGHT||o==Od.UP)){var a=n.map,s=a.getView(),l=s.getResolution()*this.pixelDelta_,c=0,u=0;o==Od.DOWN?u=-l:o==Od.LEFT?c=-l:o==Od.RIGHT?c=l:u=l;var f=[c,u];c5(f,s.getRotation()),Eze(s,f,this.duration_),i.preventDefault(),r=!0}}return!r},e}(T1),Kze=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Zze=function(t){Kze(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.condition_=i.condition?i.condition:Bie,r.delta_=i.delta?i.delta:1,r.duration_=i.duration!==void 0?i.duration:100,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==Mt.KEYDOWN||n.type==Mt.KEYPRESS){var i=n.originalEvent,o=i.charCode;if(this.condition_(n)&&(o==43||o==45)){var a=n.map,s=o==43?this.delta_:-this.delta_,l=a.getView();z5(l,s,void 0,this.duration_),i.preventDefault(),r=!0}}return!r},e}(T1);const Jze=Zze;var e4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),hA={TRACKPAD:"trackpad",WHEEL:"wheel"},t4e=function(t){e4e(e,t);function e(n){var r=this,i=n||{};r=t.call(this,i)||this,r.totalDelta_=0,r.lastDelta_=0,r.maxDelta_=i.maxDelta!==void 0?i.maxDelta:1,r.duration_=i.duration!==void 0?i.duration:250,r.timeout_=i.timeout!==void 0?i.timeout:80,r.useAnchor_=i.useAnchor!==void 0?i.useAnchor:!0,r.constrainResolution_=i.constrainResolution!==void 0?i.constrainResolution:!1;var o=i.condition?i.condition:Nie;return r.condition_=i.onFocusOnly?IL($ie,o):o,r.lastAnchor_=null,r.startTime_=void 0,r.timeoutId_,r.mode_=void 0,r.trackpadEventGap_=400,r.trackpadTimeoutId_,r.deltaPerZoom_=300,r}return e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0;var n=this.getMap();if(n){var r=n.getView();r.endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}},e.prototype.handleEvent=function(n){if(!this.condition_(n))return!0;var r=n.type;if(r!==Mt.WHEEL)return!0;var i=n.map,o=n.originalEvent;o.preventDefault(),this.useAnchor_&&(this.lastAnchor_=n.coordinate);var a;if(n.type==Mt.WHEEL&&(a=o.deltaY,L3e&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(a/=Cre),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(a*=40)),a===0)return!1;this.lastDelta_=a;var s=Date.now();this.startTime_===void 0&&(this.startTime_=s),(!this.mode_||s-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(a)<4?hA.TRACKPAD:hA.WHEEL);var l=i.getView();if(this.mode_===hA.TRACKPAD&&!(l.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(l.getAnimating()&&l.cancelAnimations(),l.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),l.adjustZoom(-a/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=s,!1;this.totalDelta_+=a;var c=Math.max(this.timeout_-(s-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),c),!1},e.prototype.handleWheelZoom_=function(n){var r=n.getView();r.getAnimating()&&r.cancelAnimations();var i=-$r(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(r.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),z5(r,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(n){this.useAnchor_=n,n||(this.lastAnchor_=null)},e}(T1);const n4e=t4e;var r4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),i4e=function(t){r4e(e,t);function e(n){var r=this,i=n||{},o=i;return o.stopDown||(o.stopDown=h1),r=t.call(this,o)||this,r.anchor_=null,r.lastAngle_=void 0,r.rotating_=!1,r.rotationDelta_=0,r.threshold_=i.threshold!==void 0?i.threshold:.3,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleDragEvent=function(n){var r=0,i=this.targetPointers[0],o=this.targetPointers[1],a=Math.atan2(o.clientY-i.clientY,o.clientX-i.clientX);if(this.lastAngle_!==void 0){var s=a-this.lastAngle_;this.rotationDelta_+=s,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),r=s}this.lastAngle_=a;var l=n.map,c=l.getView();if(c.getConstraints().rotation!==B5){var u=l.getViewport().getBoundingClientRect(),f=U5(this.targetPointers);f[0]-=u.left,f[1]-=u.top,this.anchor_=l.getCoordinateFromPixelInternal(f),this.rotating_&&(l.render(),c.adjustRotationInternal(r,this.anchor_))}},e.prototype.handleUpEvent=function(n){if(this.targetPointers.length<2){var r=n.map,i=r.getView();return i.endInteraction(this.duration_),!1}else return!0},e.prototype.handleDownEvent=function(n){if(this.targetPointers.length>=2){var r=n.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||r.getView().beginInteraction(),!0}else return!1},e}(Hv),o4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),a4e=function(t){o4e(e,t);function e(n){var r=this,i=n||{},o=i;return o.stopDown||(o.stopDown=h1),r=t.call(this,o)||this,r.anchor_=null,r.duration_=i.duration!==void 0?i.duration:400,r.lastDistance_=void 0,r.lastScaleDelta_=1,r}return e.prototype.handleDragEvent=function(n){var r=1,i=this.targetPointers[0],o=this.targetPointers[1],a=i.clientX-o.clientX,s=i.clientY-o.clientY,l=Math.sqrt(a*a+s*s);this.lastDistance_!==void 0&&(r=this.lastDistance_/l),this.lastDistance_=l;var c=n.map,u=c.getView();r!=1&&(this.lastScaleDelta_=r);var f=c.getViewport().getBoundingClientRect(),d=U5(this.targetPointers);d[0]-=f.left,d[1]-=f.top,this.anchor_=c.getCoordinateFromPixelInternal(d),c.render(),u.adjustResolutionInternal(r,this.anchor_)},e.prototype.handleUpEvent=function(n){if(this.targetPointers.length<2){var r=n.map,i=r.getView(),o=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,o),!1}else return!0},e.prototype.handleDownEvent=function(n){if(this.targetPointers.length>=2){var r=n.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||r.getView().beginInteraction(),!0}else return!1},e}(Hv);const s4e=a4e;var l4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Uie=function(t){l4e(e,t);function e(n,r,i){var o=t.call(this)||this;if(i!==void 0&&r===void 0)o.setFlatCoordinates(i,n);else{var a=r||0;o.setCenterAndRadius(n,a,i)}return o}return e.prototype.clone=function(){var n=new e(this.flatCoordinates.slice(),void 0,this.layout);return n.applyProperties(this),n},e.prototype.closestPointXY=function(n,r,i,o){var a=this.flatCoordinates,s=n-a[0],l=r-a[1],c=s*s+l*l;if(c=i[0]||n[1]<=i[1]&&n[3]>=i[1]?!0:s5(n,this.intersectsCoordinate.bind(this))}return!1},e.prototype.setCenter=function(n){var r=this.stride,i=this.flatCoordinates[r]-this.flatCoordinates[0],o=n.slice();o[r]=o[0]+i;for(var a=1;a=this.dragVertexDelay_?(this.downPx_=n.pixel,this.shouldHandle_=!this.freehand_,r=!0):this.lastDragTime_=void 0,this.shouldHandle_&&this.downTimeout_!==void 0&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&n.type===wn.POINTERDRAG&&this.sketchFeature_!==null?(this.addToDrawing_(n.coordinate),i=!1):this.freehand_&&n.type===wn.POINTERDOWN?i=!1:r&&this.getPointerCount()<2?(i=n.type===wn.POINTERMOVE,i&&this.freehand_?(this.handlePointerMove_(n),this.shouldHandle_&&n.originalEvent.preventDefault()):(n.originalEvent.pointerType==="mouse"||n.type===wn.POINTERDRAG&&this.downTimeout_===void 0)&&this.handlePointerMove_(n)):n.type===wn.DBLCLICK&&(i=!1),t.prototype.handleEvent.call(this,n)&&i},e.prototype.handleDownEvent=function(n){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=n.pixel,this.finishCoordinate_||this.startDrawing_(n.coordinate),!0):this.condition_(n)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((function(){this.handlePointerMove_(new bc(wn.POINTERMOVE,n.map,n.originalEvent,!1,n.frameState))}).bind(this),this.dragVertexDelay_),this.downPx_=n.pixel,!0):(this.lastDragTime_=void 0,!1)},e.prototype.handleUpEvent=function(n){var r=!0;if(this.getPointerCount()===0)if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(n),this.shouldHandle_){var i=!this.finishCoordinate_;i&&this.startDrawing_(n.coordinate),!i&&this.freehand_?this.finishDrawing():!this.freehand_&&(!i||this.mode_===rn.POINT)&&(this.atFinish_(n.pixel)?this.finishCondition_(n)&&this.finishDrawing():this.addToDrawing_(n.coordinate)),r=!1}else this.freehand_&&this.abortDrawing();return!r&&this.stopClick_&&n.preventDefault(),r},e.prototype.handlePointerMove_=function(n){if(this.pointerType_=n.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var r=this.downPx_,i=n.pixel,o=r[0]-i[0],a=r[1]-i[1],s=o*o+a*a;if(this.shouldHandle_=this.freehand_?s>this.squaredClickTolerance_:s<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(n.coordinate):this.createOrUpdateSketchPoint_(n.coordinate.slice())},e.prototype.atFinish_=function(n){var r=!1;if(this.sketchFeature_){var i=!1,o=[this.finishCoordinate_],a=this.mode_;if(a===rn.POINT)r=!0;else if(a===rn.CIRCLE)r=this.sketchCoords_.length===2;else if(a===rn.LINE_STRING)i=this.sketchCoords_.length>this.minPoints_;else if(a===rn.POLYGON){var s=this.sketchCoords_;i=s[0].length>this.minPoints_,o=[s[0][0],s[0][s[0].length-2]]}if(i)for(var l=this.getMap(),c=0,u=o.length;c=this.maxPoints_&&(this.freehand_?a.pop():o=!0),a.push(n.slice()),this.geometryFunction_(a,r,i)):s===rn.POLYGON&&(a=this.sketchCoords_[0],a.length>=this.maxPoints_&&(this.freehand_?a.pop():o=!0),a.push(n.slice()),o&&(this.finishCoordinate_=a[0]),this.geometryFunction_(this.sketchCoords_,r,i)),this.createOrUpdateSketchPoint_(n.slice()),this.updateSketchFeatures_(),o&&this.finishDrawing()},e.prototype.removeLastPoint=function(){if(this.sketchFeature_){var n=this.sketchFeature_.getGeometry(),r=this.getMap().getView().getProjection(),i,o=this.mode_;if(o===rn.LINE_STRING||o===rn.CIRCLE){if(i=this.sketchCoords_,i.splice(-2,1),i.length>=2){this.finishCoordinate_=i[i.length-2].slice();var a=this.finishCoordinate_.slice();i[i.length-1]=a,this.createOrUpdateSketchPoint_(a)}this.geometryFunction_(i,n,r),n.getType()==="Polygon"&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(n)}else if(o===rn.POLYGON){i=this.sketchCoords_[0],i.splice(-2,1);var s=this.sketchLine_.getGeometry();if(i.length>=2){var a=i[i.length-2].slice();i[i.length-1]=a,this.createOrUpdateSketchPoint_(a)}s.setCoordinates(i),this.geometryFunction_(this.sketchCoords_,n,r)}i.length===1&&this.abortDrawing(),this.updateSketchFeatures_()}},e.prototype.finishDrawing=function(){var n=this.abortDrawing_();if(n){var r=this.sketchCoords_,i=n.getGeometry(),o=this.getMap().getView().getProjection();this.mode_===rn.LINE_STRING?(r.pop(),this.geometryFunction_(r,i,o)):this.mode_===rn.POLYGON&&(r[0].pop(),this.geometryFunction_(r,i,o),r=i.getCoordinates()),this.type_==="MultiPoint"?n.setGeometry(new PM([r])):this.type_==="MultiLineString"?n.setGeometry(new w5([r])):this.type_==="MultiPolygon"&&n.setGeometry(new O5([r])),this.dispatchEvent(new sS(aS.DRAWEND,n)),this.features_&&this.features_.push(n),this.source_&&this.source_.addFeature(n)}},e.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var n=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),n},e.prototype.abortDrawing=function(){var n=this.abortDrawing_();n&&this.dispatchEvent(new sS(aS.DRAWABORT,n))},e.prototype.appendCoordinates=function(n){var r=this.mode_,i=!this.sketchFeature_;i&&this.startDrawing_(n[0]);var o;if(r===rn.LINE_STRING||r===rn.CIRCLE)o=this.sketchCoords_;else if(r===rn.POLYGON)o=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[];else return;i&&o.shift(),o.pop();for(var a=0;a0&&this.getCount()>this.highWaterMark},t.prototype.expireCache=function(e){for(;this.canExpireCache();)this.pop()},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(e){return this.entries_.hasOwnProperty(e)},t.prototype.forEach=function(e){for(var n=this.oldest_;n;)e(n.value_,n.key_,this),n=n.newer},t.prototype.get=function(e,n){var r=this.entries_[e];return Bt(r!==void 0,15),r===this.newest_||(r===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(r.newer.older=r.older,r.older.newer=r.newer),r.newer=null,r.older=this.newest_,this.newest_.newer=r,this.newest_=r),r.value_},t.prototype.remove=function(e){var n=this.entries_[e];return Bt(n!==void 0,15),n===this.newest_?(this.newest_=n.older,this.newest_&&(this.newest_.newer=null)):n===this.oldest_?(this.oldest_=n.newer,this.oldest_&&(this.oldest_.older=null)):(n.newer.older=n.older,n.older.newer=n.newer),delete this.entries_[e],--this.count_,n.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var e=new Array(this.count_),n=0,r;for(r=this.newest_;r;r=r.older)e[n++]=r.key_;return e},t.prototype.getValues=function(){var e=new Array(this.count_),n=0,r;for(r=this.newest_;r;r=r.older)e[n++]=r.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.peek=function(e){if(this.containsKey(e))return this.entries_[e].value_},t.prototype.pop=function(){var e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_},t.prototype.replace=function(e,n){this.get(e),this.entries_[e].value_=n},t.prototype.set=function(e,n){Bt(!(e in this.entries_),16);var r={key_:e,newer:null,older:this.newest_,value_:n};this.newest_?this.newest_.newer=r:this.oldest_=r,this.newest_=r,this.entries_[e]=r,++this.count_},t.prototype.setSize=function(e){this.highWaterMark=e},t}();const m4e=p4e;function nG(t,e,n,r){return r!==void 0?(r[0]=t,r[1]=e,r[2]=n,r):[t,e,n]}function $M(t,e,n){return t+"/"+e+"/"+n}function Gie(t){return $M(t[0],t[1],t[2])}function g4e(t){return t.split("/").map(Number)}function Hie(t){return(t[1]<n||n>e.getMaxZoom())return!1;var o=e.getFullTileRange(n);return o?o.containsXY(r,i):!0}var y4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),x4e=function(t){y4e(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.expireCache=function(n){for(;this.canExpireCache();){var r=this.peekLast();if(r.getKey()in n)break;this.pop().release()}},e.prototype.pruneExceptNewestZ=function(){if(this.getCount()!==0){var n=this.peekFirstKey(),r=g4e(n),i=r[0];this.forEach((function(o){o.tileCoord[0]!==i&&(this.remove(Gie(o.tileCoord)),o.release())}).bind(this))}},e}(m4e);const qie=x4e;var V5=function(){function t(e,n,r,i){this.minX=e,this.maxX=n,this.minY=r,this.maxY=i}return t.prototype.contains=function(e){return this.containsXY(e[1],e[2])},t.prototype.containsTileRange=function(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY},t.prototype.containsXY=function(e,n){return this.minX<=e&&e<=this.maxX&&this.minY<=n&&n<=this.maxY},t.prototype.equals=function(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY},t.prototype.extend=function(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY},t}();function Up(t,e,n,r,i){return i!==void 0?(i.minX=t,i.maxX=e,i.minY=n,i.maxY=r,i):new V5(t,e,n,r)}var b4e=.5,_4e=10,rG=.25,w4e=function(){function t(e,n,r,i,o,a){this.sourceProj_=e,this.targetProj_=n;var s={},l=mb(this.targetProj_,this.sourceProj_);this.transformInv_=function(x){var b=x[0]+"/"+x[1];return s[b]||(s[b]=l(x)),s[b]},this.maxSourceExtent_=i,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&Qn(i)==Qn(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Qn(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Qn(this.targetProj_.getExtent()):null;var c=pp(r),u=CM(r),f=OM(r),d=SM(r),h=this.transformInv_(c),p=this.transformInv_(u),m=this.transformInv_(f),g=this.transformInv_(d),v=_4e+(a?Math.max(0,Math.ceil(eNe(hL(r)/(a*a*256*256)))):0);if(this.addQuad_(c,u,f,d,h,p,m,g,v),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach(function(x,b,_){y=Math.min(y,x.source[0][0],x.source[1][0],x.source[2][0])}),this.triangles_.forEach((function(x){if(Math.max(x.source[0][0],x.source[1][0],x.source[2][0])-y>this.sourceWorldWidth_/2){var b=[[x.source[0][0],x.source[0][1]],[x.source[1][0],x.source[1][1]],[x.source[2][0],x.source[2][1]]];b[0][0]-y>this.sourceWorldWidth_/2&&(b[0][0]-=this.sourceWorldWidth_),b[1][0]-y>this.sourceWorldWidth_/2&&(b[1][0]-=this.sourceWorldWidth_),b[2][0]-y>this.sourceWorldWidth_/2&&(b[2][0]-=this.sourceWorldWidth_);var _=Math.min(b[0][0],b[1][0],b[2][0]),S=Math.max(b[0][0],b[1][0],b[2][0]);S-_.5&&f<1,p=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var m=m8([e,n,r,i]),g=Qn(m)/this.targetWorldWidth_;p=g>rG||p}!h&&this.sourceProj_.isGlobal()&&f&&(p=f>rG||p)}if(!(!p&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!ao(u,this.maxSourceExtent_))){var v=0;if(!p&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)p=!0;else if(v=(!isFinite(o[0])||!isFinite(o[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(s[0])||!isFinite(s[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),v!=1&&v!=2&&v!=4&&v!=8)return}if(c>0){if(!p){var y=[(e[0]+r[0])/2,(e[1]+r[1])/2],x=this.transformInv_(y),b=void 0;if(h){var _=(Tf(o[0],d)+Tf(s[0],d))/2;b=_-Tf(x[0],d)}else b=(o[0]+s[0])/2-x[0];var S=(o[1]+s[1])/2-x[1],O=b*b+S*S;p=O>this.errorThresholdSquared_}if(p){if(Math.abs(e[0]-r[0])<=Math.abs(e[1]-r[1])){var C=[(n[0]+r[0])/2,(n[1]+r[1])/2],E=this.transformInv_(C),M=[(i[0]+e[0])/2,(i[1]+e[1])/2],I=this.transformInv_(M);this.addQuad_(e,n,C,M,o,a,E,I,c-1),this.addQuad_(M,C,r,i,I,E,s,l,c-1)}else{var P=[(e[0]+n[0])/2,(e[1]+n[1])/2],R=this.transformInv_(P),T=[(r[0]+i[0])/2,(r[1]+i[1])/2],D=this.transformInv_(T);this.addQuad_(e,P,T,i,o,R,D,l,c-1),this.addQuad_(P,n,r,T,R,a,s,D,c-1)}return}}if(h){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}v&11||this.addTriangle_(e,r,i,o,s,l),v&14||this.addTriangle_(e,r,n,o,s,a),v&&(v&13||this.addTriangle_(n,i,e,a,l,o),v&7||this.addTriangle_(n,i,r,a,l,s))}},t.prototype.calculateSourceExtent=function(){var e=xa();return this.triangles_.forEach(function(n,r,i){var o=n.source;bx(e,o[0]),bx(e,o[1]),bx(e,o[2])}),e},t.prototype.getTriangles=function(){return this.triangles_},t}(),DL={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1},S4e={imageSmoothingEnabled:!0,msImageSmoothingEnabled:!0},pA,Xie=[];function iG(t,e,n,r,i){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(r,i),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,r)+1,Math.max(n,i)),t.restore()}function mA(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function O4e(){if(pA===void 0){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",iG(t,4,5,4,0),iG(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;pA=mA(e,0)||mA(e,4)||mA(e,8)}return pA}function LL(t,e,n,r){var i=h5(n,e,t),o=mT(e,r,n),a=e.getMetersPerUnit();a!==void 0&&(o*=a);var s=t.getMetersPerUnit();s!==void 0&&(o/=s);var l=t.getExtent();if(!l||m1(l,i)){var c=mT(t,o,i)/o;isFinite(c)&&c>0&&(o/=c)}return o}function C4e(t,e,n,r){var i=Wf(n),o=LL(t,e,i,r);return(!isFinite(o)||o<=0)&&s5(n,function(a){return o=LL(t,e,a,r),isFinite(o)&&o>0}),o}function T4e(t,e,n,r,i,o,a,s,l,c,u,f){var d=ba(Math.round(n*t),Math.round(n*e),Xie);if(f||lr(d,DL),l.length===0)return d.canvas;d.scale(n,n);function h(b){return Math.round(b*n)/n}d.globalCompositeOperation="lighter";var p=xa();l.forEach(function(b,_,S){kre(p,b.extent)});var m=Qn(p),g=as(p),v=ba(Math.round(n*m/r),Math.round(n*g/r));f||lr(v,DL);var y=n/r;l.forEach(function(b,_,S){var O=b.extent[0]-p[0],C=-(b.extent[3]-p[3]),E=Qn(b.extent),M=as(b.extent);b.image.width>0&&b.image.height>0&&v.drawImage(b.image,c,c,b.image.width-2*c,b.image.height-2*c,O*y,C*y,E*y,M*y)});var x=pp(a);return s.getTriangles().forEach(function(b,_,S){var O=b.source,C=b.target,E=O[0][0],M=O[0][1],I=O[1][0],P=O[1][1],R=O[2][0],T=O[2][1],D=h((C[0][0]-x[0])/o),U=h(-(C[0][1]-x[1])/o),B=h((C[1][0]-x[0])/o),W=h(-(C[1][1]-x[1])/o),z=h((C[2][0]-x[0])/o),$=h(-(C[2][1]-x[1])/o),N=E,L=M;E=0,M=0,I-=N,P-=L,R-=N,T-=L;var A=[[I,P,0,0,B-D],[R,T,0,0,z-D],[0,0,I,P,W-U],[0,0,R,T,$-U]],q=nNe(A);if(q){if(d.save(),d.beginPath(),O4e()||!f){d.moveTo(B,W);for(var Y=4,K=D-B,se=U-W,ee=0;ee=this.minZoom;){if(this.zoomFactor_===2?(a=Math.floor(a/2),s=Math.floor(s/2),o=Up(a,a,s,s,r)):o=this.getTileRangeForExtentAndZ(l,c,r),n(c,o))return!0;--c}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(e){return this.origin_?this.origin_:this.origins_[e]},t.prototype.getResolution=function(e){return this.resolutions_[e]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(e,n,r){if(e[0]this.maxZoom||n0?r:Math.max(a/s[0],o/s[1]),c=i+1,u=new Array(c),f=0;fi.highWaterMark&&(i.highWaterMark=n)},e.prototype.useTile=function(n,r,i,o){},e}(Mie),$4e=function(t){Zie(e,t);function e(n,r){var i=t.call(this,n)||this;return i.tile=r,i}return e}(Yl);const N4e=L4e;function F4e(t,e){var n=/\{z\}/g,r=/\{x\}/g,i=/\{y\}/g,o=/\{-y\}/g;return function(a,s,l){if(a)return t.replace(n,a[0].toString()).replace(r,a[1].toString()).replace(i,a[2].toString()).replace(o,function(){var c=a[0],u=e.getFullTileRange(c);Bt(u,55);var f=u.getHeight()-a[2]-1;return f.toString()})}}function j4e(t,e){for(var n=t.length,r=new Array(n),i=0;i=0},e.prototype.tileUrlFunction=function(n,r,i){var o=this.getTileGrid();if(o||(o=this.getTileGridForProjection(i)),!(o.getResolutions().length<=n[0])){r!=1&&(!this.hidpi_||this.serverType_===void 0)&&(r=1);var a=o.getResolution(n[0]),s=o.getTileCoordExtent(n,this.tmpExtent_),l=sa(o.getTileSize(n[0]),this.tmpSize),c=this.gutter_;c!==0&&(l=k8(l,c,this.tmpSize),s=hb(s,a*c,s)),r!=1&&(l=hie(l,r,this.tmpSize));var u={SERVICE:"WMS",VERSION:lS,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return lr(u,this.params_),this.getRequestUrl_(n,l,s,r,i,u)}},e}(Jie);const Q4e=X4e;function eoe(t){return w.jsx(k.Fragment,{children:t.children})}const cS={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};var Y4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),K4e=function(t){Y4e(e,t);function e(n){var r=this,i=n||{},o=lr({},i);return delete o.preload,delete o.useInterimTilesOnError,r=t.call(this,o)||this,r.on,r.once,r.un,r.setPreload(i.preload!==void 0?i.preload:0),r.setUseInterimTilesOnError(i.useInterimTilesOnError!==void 0?i.useInterimTilesOnError:!0),r}return e.prototype.getPreload=function(){return this.get(cS.PRELOAD)},e.prototype.setPreload=function(n){this.set(cS.PRELOAD,n)},e.prototype.getUseInterimTilesOnError=function(){return this.get(cS.USE_INTERIM_TILES_ON_ERROR)},e.prototype.setUseInterimTilesOnError=function(n){this.set(cS.USE_INTERIM_TILES_ON_ERROR,n)},e.prototype.getData=function(n){return t.prototype.getData.call(this,n)},e}(IM);const Z4e=K4e;var J4e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),eUe=function(t){J4e(e,t);function e(n){var r=t.call(this,n)||this;return r.extentChanged=!0,r.renderedExtent_=null,r.renderedPixelRatio,r.renderedProjection=null,r.renderedRevision,r.renderedTiles=[],r.newTiles_=!1,r.tmpExtent=xa(),r.tmpTileRange_=new V5(0,0,0,0),r}return e.prototype.isDrawableTile=function(n){var r=this.getLayer(),i=n.getState(),o=r.getUseInterimTilesOnError();return i==wt.LOADED||i==wt.EMPTY||i==wt.ERROR&&!o},e.prototype.getTile=function(n,r,i,o){var a=o.pixelRatio,s=o.viewState.projection,l=this.getLayer(),c=l.getSource(),u=c.getTile(n,r,i,a,s);return u.getState()==wt.ERROR&&(l.getUseInterimTilesOnError()?l.getPreload()>0&&(this.newTiles_=!0):u.setState(wt.LOADED)),this.isDrawableTile(u)||(u=u.getInterimTile()),u},e.prototype.getData=function(n){var r=this.frameState;if(!r)return null;var i=this.getLayer(),o=Sr(r.pixelToCoordinateTransform,n.slice()),a=i.getExtent();if(a&&!m1(a,o))return null;for(var s=r.pixelRatio,l=r.viewState.projection,c=r.viewState,u=i.getRenderSource(),f=u.getTileGridForProjection(c.projection),d=u.getTilePixelRatio(r.pixelRatio),h=f.getZForResolution(c.resolution);h>=f.getMinZoom();--h){var p=f.getTileCoordForCoordAndZ(o,h),m=u.getTile(h,p[1],p[2],s,l);if(!(m instanceof $5||m instanceof Qie))return null;if(m.getState()===wt.LOADED){var g=f.getOrigin(h),v=sa(f.getTileSize(h)),y=f.getResolution(h),x=Math.floor(d*((o[0]-g[0])/y-p[1]*v[0])),b=Math.floor(d*((g[1]-o[1])/y-p[2]*v[1])),_=Math.round(d*u.getGutterForProjection(c.projection));return this.getImageData(m.getImage(),x+_,b+_)}}return null},e.prototype.loadedTileCallback=function(n,r,i){return this.isDrawableTile(i)?t.prototype.loadedTileCallback.call(this,n,r,i):!1},e.prototype.prepareFrame=function(n){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(n,r){var i=n.layerStatesArray[n.layerIndex],o=n.viewState,a=o.projection,s=o.resolution,l=o.center,c=o.rotation,u=n.pixelRatio,f=this.getLayer(),d=f.getSource(),h=d.getRevision(),p=d.getTileGridForProjection(a),m=p.getZForResolution(s,d.zDirection),g=p.getResolution(m),v=n.extent,y=n.viewState.resolution,x=d.getTilePixelRatio(u),b=Math.round(Qn(v)/y*u),_=Math.round(as(v)/y*u),S=i.extent&&nh(i.extent);S&&(v=_x(v,nh(i.extent)));var O=g*b/2/x,C=g*_/2/x,E=[l[0]-O,l[1]-C,l[0]+O,l[1]+C],M=p.getTileRangeForExtentAndZ(v,m),I={};I[m]={};var P=this.createLoadedTileFinder(d,a,I),R=this.tmpExtent,T=this.tmpTileRange_;this.newTiles_=!1;for(var D=c?mL(o.center,y,c,n.size):void 0,U=M.minX;U<=M.maxX;++U)for(var B=M.minY;B<=M.maxY;++B)if(!(c&&!p.tileCoordIntersectsViewport([m,U,B],D))){var W=this.getTile(m,U,B,n);if(this.isDrawableTile(W)){var z=vn(this);if(W.getState()==wt.LOADED){I[m][W.tileCoord.toString()]=W;var $=W.inTransition(z);$&&i.opacity!==1&&(W.endTransition(z),$=!1),!this.newTiles_&&($||this.renderedTiles.indexOf(W)===-1)&&(this.newTiles_=!0)}if(W.getAlpha(z,n.time)===1)continue}var N=p.getTileCoordChildTileRange(W.tileCoord,T,R),L=!1;N&&(L=P(m+1,N)),L||p.forEachTileCoordParentTileRange(W.tileCoord,P,T,R)}var A=g/s*u/x;nu(this.pixelTransform,n.size[0]/2,n.size[1]/2,1/u,1/u,c,-b/2,-_/2);var q=Ere(this.pixelTransform);this.useContainer(r,q,this.getBackground(n));var Y=this.context,K=Y.canvas;o5(this.inversePixelTransform,this.pixelTransform),nu(this.tempTransform,b/2,_/2,A,A,0,-b/2,-_/2),K.width!=b||K.height!=_?(K.width=b,K.height=_):this.containerReused||Y.clearRect(0,0,b,_),S&&this.clipUnrotated(Y,n,S),d.getInterpolate()||lr(Y,DL),this.preRender(Y,n),this.renderedTiles.length=0;var se=Object.keys(I).map(Number);se.sort(jh);var ee,te,de;i.opacity===1&&(!this.containerReused||d.getOpaque(n.viewState.projection))?se=se.reverse():(ee=[],te=[]);for(var xe=se.length-1;xe>=0;--xe){var ie=se[xe],ve=d.getTilePixelSize(ie,u,a),F=p.getResolution(ie),ce=F/g,le=ve[0]*ce*A,Q=ve[1]*ce*A,X=p.getTileCoordForCoordAndZ(pp(E),ie),J=p.getTileCoordExtent(X),ge=Sr(this.tempTransform,[x*(J[0]-E[0])/g,x*(E[3]-J[3])/g]),ye=x*d.getGutterForProjection(a),V=I[ie];for(var H in V){var W=V[H],re=W.tileCoord,he=X[1]-re[1],we=Math.round(ge[0]-(he-1)*le),oe=X[2]-re[2],Z=Math.round(ge[1]-(oe-1)*Q),U=Math.round(ge[0]-he*le),B=Math.round(ge[1]-oe*Q),G=we-U,fe=Z-B,_e=m===ie,$=_e&&W.getAlpha(vn(this),n.time)!==1,Me=!1;if(!$)if(ee){de=[U,B,U+G,B,U+G,B+fe,U,B+fe];for(var me=0,Fe=ee.length;me{const r=this.props.onClick;r&&r(n)});Ut(this,"handleDrop",n=>{if(this.props.onDropFiles){n.preventDefault();const r=[];if(n.dataTransfer.items)for(let i=0;i{this.props.onDropFiles&&n.preventDefault()});Ut(this,"handleRef",n=>{this.contextValue.mapDiv=n});Ut(this,"handleResize",()=>{const n=this.contextValue.mapDiv,r=this.contextValue.map;if(n&&r){r.updateSize();const i=r.getView(),o=this.getMinZoom(n);o!==i.getMinZoom()&&i.setMinZoom(o)}});Ut(this,"getMinZoom",n=>{const r=n.clientWidth,i=Math.LOG2E*Math.log(r/256);return i>=0?i:0});const{id:r,mapObjects:i}=n;i?this.contextValue={map:i[r]||void 0,mapObjects:i}:this.contextValue={mapObjects:{}}}componentDidMount(){const{id:n}=this.props,r=this.contextValue.mapDiv;let i=null;if(this.props.isStale){const a=this.contextValue.mapObjects[n];a instanceof tG&&(i=a,i.setTarget(r),this.clickEventsKey&&i.un("click",this.clickEventsKey.listener))}if(!i){const a=this.getMinZoom(r),s=new Ac({projection:noe,center:[0,0],minZoom:a,zoom:a});i=new tG({view:s,...this.getMapOptions(),target:r})}this.contextValue.map=i,this.contextValue.mapObjects[n]=i,this.clickEventsKey=i.on("click",this.handleClick),i.updateSize(),this.forceUpdate(),window.addEventListener("resize",this.handleResize);const o=this.props.onMapRef;o&&o(i)}componentDidUpdate(n){const r=this.contextValue.map,i=this.contextValue.mapDiv,o=this.getMapOptions();r.setProperties({...o}),r.setTarget(i),r.updateSize()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize);const n=this.props.onMapRef;n&&n(null)}render(){let n;return this.contextValue.map&&(n=w.jsx(roe.Provider,{value:this.contextValue,children:this.props.children})),w.jsx("div",{ref:this.handleRef,style:aUe,onDragOver:this.handleDragOver,onDrop:this.handleDrop,children:n})}getMapOptions(){const n={...this.props};return delete n.children,delete n.onClick,delete n.onDropFiles,n}};class vp extends k.PureComponent{constructor(){super(...arguments);Ut(this,"context",{});Ut(this,"object",null)}getMapObject(n){return this.context.mapObjects&&this.context.mapObjects[n]||null}getOptions(){const n={...this.props};return delete n.id,n}componentDidMount(){this._updateMapObject(this.addMapObject(this.context.map))}componentDidUpdate(n){this._updateMapObject(this.updateMapObject(this.context.map,this.object,n))}componentWillUnmount(){const n=this.context.map;this.removeMapObject(n,this.object),this.props.id&&delete this.context.mapObjects[this.props.id],this.object=null}_updateMapObject(n){n!=null&&this.props.id&&(n.set("objectId",this.props.id),this.context.mapObjects[this.props.id]=n),this.object=n}render(){return null}}Ut(vp,"contextType",roe);function ioe(t,e,n){Ky(t,e,n,"visible",!0),Ky(t,e,n,"opacity",1),Ky(t,e,n,"zIndex",void 0),Ky(t,e,n,"minResolution",void 0),Ky(t,e,n,"maxResolution",void 0)}function Ky(t,e,n,r,i){const o=aG(e[r],i),a=aG(n[r],i);o!==a&&t.set(r,a)}function aG(t,e){return t===void 0?e:t}let Oo;Oo=()=>{};class ooe extends vp{addMapObject(e){const n=new toe(this.props);return n.set("id",this.props.id),e.getLayers().push(n),n}updateMapObject(e,n,r){const i=n.getSource(),o=this.props.source||null;if(i===o)return n;if(o!==null&&i!==o){let a=!0;if(i instanceof $L&&o instanceof $L){const c=i,u=o,f=c.getTileGrid(),d=u.getTileGrid();if(lUe(f,d)){Oo("--> Equal tile grids!");const h=c.getUrls(),p=u.getUrls();h!==p&&p&&(h===null||h[0]!==p[0])&&(c.setUrls(p),a=!1);const m=c.getTileLoadFunction(),g=u.getTileLoadFunction();m!==g&&(c.setTileLoadFunction(g),a=!1);const v=c.getTileUrlFunction(),y=u.getTileUrlFunction();v!==y&&(c.setTileUrlFunction(y),a=!1)}else Oo("--> Tile grids are not equal!")}const s=i==null?void 0:i.getInterpolate(),l=o==null?void 0:o.getInterpolate();s!==l&&(a=!0),a?(n.setSource(o),Oo("--> Replaced source (expect flickering!)")):Oo("--> Updated source (check, is it still flickering?)")}return ioe(n,r,this.props),n}removeMapObject(e,n){e.getLayers().remove(n)}}new qv({url:"https://a.tiles.mapbox.com/v3/mapbox.natural-earth-2/{z}/{x}/{y}.png",attributions:["© MapBox","© MapBox and contributors"]});new qv({url:"https://gis.ngdc.noaa.gov/arcgis/rest/services/web_mercator/gebco_2014_contours/MapServer/tile/{z}/{y}/{x}",attributions:["© GEBCO","© NOAHH and contributors"]});new oUe;new qv({url:"https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",attributions:["© OpenStreetMap contributors"]});function lUe(t,e){if(t===e)return!0;if(t===null||e===null||(Oo("tile grid:",t,e),Oo("min zoom:",t.getMinZoom(),e.getMinZoom()),Oo("max zoom:",t.getMaxZoom(),e.getMaxZoom()),t.getMinZoom()!==e.getMinZoom()||t.getMaxZoom()!==e.getMaxZoom()))return!1;const n=t.getExtent(),r=e.getExtent();Oo("extent:",n,r);for(let s=0;s=t[i])return i;let o=Math.floor(n/2),a;for(let s=0;sa)[r,o]=[o,Math.floor((o+i)/2)];else return o;if(r===o||o===i)return Math.abs(t[r]-e)<=Math.abs(t[i]-e)?r:i}return-1}function On(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function et(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function nt(t){et(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Jc(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function NL(t,e){et(2,arguments);var n=nt(t),r=On(e);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function lC(t,e){et(2,arguments);var n=nt(t),r=On(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function FM(t,e){et(2,arguments);var n=nt(t).getTime(),r=On(e);return new Date(n+r)}var cUe=36e5;function uUe(t,e){et(2,arguments);var n=On(e);return FM(t,n*cUe)}var fUe={};function od(){return fUe}function vA(t,e){var n,r,i,o,a,s,l,c;et(1,arguments);var u=od(),f=On((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=nt(t),h=d.getDay(),p=(h0?1:i}var jM=6e4,BM=36e5,yUe=1e3;function xUe(t,e){et(2,arguments);var n=Vg(t),r=Vg(e);return n.getTime()===r.getTime()}function bUe(t){return et(1,arguments),t instanceof Date||Jc(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function soe(t){if(et(1,arguments),!bUe(t)&&typeof t!="number")return!1;var e=nt(t);return!isNaN(Number(e))}function _Ue(t,e){et(2,arguments);var n=nt(t),r=nt(e),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}function wUe(t,e){et(2,arguments);var n=nt(t),r=nt(e);return n.getFullYear()-r.getFullYear()}function lG(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function loe(t,e){et(2,arguments);var n=nt(t),r=nt(e),i=lG(n,r),o=Math.abs(hUe(n,r));n.setDate(n.getDate()-i*o);var a=+(lG(n,r)===-i),s=i*(o-a);return s===0?0:s}function zM(t,e){return et(2,arguments),nt(t).getTime()-nt(e).getTime()}var cG={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},SUe="trunc";function P1(t){return t?cG[t]:cG[SUe]}function OUe(t,e,n){et(2,arguments);var r=zM(t,e)/BM;return P1(n==null?void 0:n.roundingMethod)(r)}function CUe(t,e,n){et(2,arguments);var r=zM(t,e)/jM;return P1(n==null?void 0:n.roundingMethod)(r)}function FL(t){et(1,arguments);var e=nt(t);return e.setHours(23,59,59,999),e}function jL(t){et(1,arguments);var e=nt(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function TUe(t){et(1,arguments);var e=nt(t);return FL(e).getTime()===jL(e).getTime()}function coe(t,e){et(2,arguments);var n=nt(t),r=nt(e),i=Sx(n,r),o=Math.abs(_Ue(n,r)),a;if(o<1)a=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*o);var s=Sx(n,r)===-i;TUe(nt(t))&&o===1&&Sx(t,r)===1&&(s=!1),a=i*(o-Number(s))}return a===0?0:a}function EUe(t,e,n){et(2,arguments);var r=coe(t,e)/3;return P1(n==null?void 0:n.roundingMethod)(r)}function PUe(t,e,n){et(2,arguments);var r=zM(t,e)/1e3;return P1(n==null?void 0:n.roundingMethod)(r)}function MUe(t,e,n){et(2,arguments);var r=loe(t,e)/7;return P1(n==null?void 0:n.roundingMethod)(r)}function kUe(t,e){et(2,arguments);var n=nt(t),r=nt(e),i=Sx(n,r),o=Math.abs(wUe(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=Sx(n,r)===-i,s=i*(o-Number(a));return s===0?0:s}function AUe(t,e){var n;et(1,arguments);var r=t||{},i=nt(r.start),o=nt(r.end),a=o.getTime();if(!(i.getTime()<=a))throw new RangeError("Invalid interval");var s=[],l=i;l.setHours(0,0,0,0);var c=Number((n=e==null?void 0:e.step)!==null&&n!==void 0?n:1);if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number greater than 1");for(;l.getTime()<=a;)s.push(nt(l)),l.setDate(l.getDate()+c),l.setHours(0,0,0,0);return s}function uS(t){et(1,arguments);var e=nt(t);return e.setDate(1),e.setHours(0,0,0,0),e}function yA(t){et(1,arguments);var e=nt(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function fS(t){et(1,arguments);var e=nt(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function xA(t,e){var n,r,i,o,a,s,l,c;et(1,arguments);var u=od(),f=On((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=nt(t),h=d.getDay(),p=(h=i.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function DUe(t){et(1,arguments);var e=foe(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=Gg(n);return r}var LUe=6048e5;function doe(t){et(1,arguments);var e=nt(t),n=Gg(e).getTime()-DUe(e).getTime();return Math.round(n/LUe)+1}function Uh(t,e){var n,r,i,o,a,s,l,c;et(1,arguments);var u=od(),f=On((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=nt(t),h=d.getUTCDay(),p=(h=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,h),p.setUTCHours(0,0,0,0);var m=Uh(p,e),g=new Date(0);g.setUTCFullYear(f,0,h),g.setUTCHours(0,0,0,0);var v=Uh(g,e);return u.getTime()>=m.getTime()?f+1:u.getTime()>=v.getTime()?f:f-1}function $Ue(t,e){var n,r,i,o,a,s,l,c;et(1,arguments);var u=od(),f=On((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),d=X5(t,e),h=new Date(0);h.setUTCFullYear(d,0,f),h.setUTCHours(0,0,0,0);var p=Uh(h,e);return p}var NUe=6048e5;function hoe(t,e){et(1,arguments);var n=nt(t),r=Uh(n,e).getTime()-$Ue(n,e).getTime();return Math.round(r/NUe)+1}function Ht(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length0?r:1-r;return Ht(n==="yy"?i%100:i,n.length)},M:function(e,n){var r=e.getUTCMonth();return n==="M"?String(r+1):Ht(r+1,2)},d:function(e,n){return Ht(e.getUTCDate(),n.length)},a:function(e,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,n){return Ht(e.getUTCHours()%12||12,n.length)},H:function(e,n){return Ht(e.getUTCHours(),n.length)},m:function(e,n){return Ht(e.getUTCMinutes(),n.length)},s:function(e,n){return Ht(e.getUTCSeconds(),n.length)},S:function(e,n){var r=n.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return Ht(o,n.length)}};const Su=FUe;var Wp={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},jUe={G:function(e,n,r){var i=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,n,r){if(n==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return Su.y(e,n)},Y:function(e,n,r,i){var o=X5(e,i),a=o>0?o:1-o;if(n==="YY"){var s=a%100;return Ht(s,2)}return n==="Yo"?r.ordinalNumber(a,{unit:"year"}):Ht(a,n.length)},R:function(e,n){var r=foe(e);return Ht(r,n.length)},u:function(e,n){var r=e.getUTCFullYear();return Ht(r,n.length)},Q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return Ht(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return Ht(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,n,r){var i=e.getUTCMonth();switch(n){case"M":case"MM":return Su.M(e,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,n,r){var i=e.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return Ht(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,n,r,i){var o=hoe(e,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):Ht(o,n.length)},I:function(e,n,r){var i=doe(e);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):Ht(i,n.length)},d:function(e,n,r){return n==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):Su.d(e,n)},D:function(e,n,r){var i=IUe(e);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):Ht(i,n.length)},E:function(e,n,r){var i=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,n,r,i){var o=e.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return Ht(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,n,r,i){var o=e.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return Ht(a,n.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,n,r){var i=e.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return Ht(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,n,r){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,n,r){var i=e.getUTCHours(),o;switch(i===12?o=Wp.noon:i===0?o=Wp.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,n,r){var i=e.getUTCHours(),o;switch(i>=17?o=Wp.evening:i>=12?o=Wp.afternoon:i>=4?o=Wp.morning:o=Wp.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,n,r){if(n==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return Su.h(e,n)},H:function(e,n,r){return n==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Su.H(e,n)},K:function(e,n,r){var i=e.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):Ht(i,n.length)},k:function(e,n,r){var i=e.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):Ht(i,n.length)},m:function(e,n,r){return n==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Su.m(e,n)},s:function(e,n,r){return n==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Su.s(e,n)},S:function(e,n){return Su.S(e,n)},X:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return fG(a);case"XXXX":case"XX":return $d(a);case"XXXXX":case"XXX":default:return $d(a,":")}},x:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();switch(n){case"x":return fG(a);case"xxxx":case"xx":return $d(a);case"xxxxx":case"xxx":default:return $d(a,":")}},O:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+uG(a,":");case"OOOO":default:return"GMT"+$d(a,":")}},z:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+uG(a,":");case"zzzz":default:return"GMT"+$d(a,":")}},t:function(e,n,r,i){var o=i._originalDate||e,a=Math.floor(o.getTime()/1e3);return Ht(a,n.length)},T:function(e,n,r,i){var o=i._originalDate||e,a=o.getTime();return Ht(a,n.length)}};function uG(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=e||"";return n+String(i)+a+Ht(o,2)}function fG(t,e){if(t%60===0){var n=t>0?"-":"+";return n+Ht(Math.abs(t)/60,2)}return $d(t,e)}function $d(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=Ht(Math.floor(i/60),2),a=Ht(i%60,2);return r+o+n+a}var dG=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},poe=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},BUe=function(e,n){var r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return dG(e,n);var a;switch(i){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",dG(i,n)).replace("{{time}}",poe(o,n))},BL={p:poe,P:BUe},zUe=["D","DD"],UUe=["YY","YYYY"];function moe(t){return zUe.indexOf(t)!==-1}function goe(t){return UUe.indexOf(t)!==-1}function MT(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var WUe={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},VUe=function(e,n,r){var i,o=WUe[e];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const GUe=VUe;function bA(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var HUe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},qUe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},XUe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QUe={date:bA({formats:HUe,defaultWidth:"full"}),time:bA({formats:qUe,defaultWidth:"full"}),dateTime:bA({formats:XUe,defaultWidth:"full"})};const YUe=QUe;var KUe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ZUe=function(e,n,r,i){return KUe[e]};const JUe=ZUe;function Zy(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;i=t.values[l]||t.values[s]}var c=t.argumentCallback?t.argumentCallback(e):e;return i[c]}}var e6e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},t6e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},n6e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},r6e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},i6e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},o6e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},a6e=function(e,n){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},s6e={ordinalNumber:a6e,era:Zy({values:e6e,defaultWidth:"wide"}),quarter:Zy({values:t6e,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Zy({values:n6e,defaultWidth:"wide"}),day:Zy({values:r6e,defaultWidth:"wide"}),dayPeriod:Zy({values:i6e,defaultWidth:"wide",formattingValues:o6e,defaultFormattingWidth:"wide"})};const l6e=s6e;function Jy(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?u6e(s,function(f){return f.test(a)}):c6e(s,function(f){return f.test(a)}),c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=e.slice(a.length);return{value:c,rest:u}}}function c6e(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function u6e(t,e){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=e.slice(i.length);return{value:a,rest:s}}}var d6e=/^(\d+)(th|st|nd|rd)?/i,h6e=/\d+/i,p6e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},m6e={any:[/^b/i,/^(a|c)/i]},g6e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},v6e={any:[/1/i,/2/i,/3/i,/4/i]},y6e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},x6e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},b6e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},_6e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},w6e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},S6e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},O6e={ordinalNumber:f6e({matchPattern:d6e,parsePattern:h6e,valueCallback:function(e){return parseInt(e,10)}}),era:Jy({matchPatterns:p6e,defaultMatchWidth:"wide",parsePatterns:m6e,defaultParseWidth:"any"}),quarter:Jy({matchPatterns:g6e,defaultMatchWidth:"wide",parsePatterns:v6e,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Jy({matchPatterns:y6e,defaultMatchWidth:"wide",parsePatterns:x6e,defaultParseWidth:"any"}),day:Jy({matchPatterns:b6e,defaultMatchWidth:"wide",parsePatterns:_6e,defaultParseWidth:"any"}),dayPeriod:Jy({matchPatterns:w6e,defaultMatchWidth:"any",parsePatterns:S6e,defaultParseWidth:"any"})};const C6e=O6e;var UM={code:"en-US",formatDistance:GUe,formatLong:YUe,formatRelative:JUe,localize:l6e,match:C6e,options:{weekStartsOn:0,firstWeekContainsDate:1}},T6e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E6e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P6e=/^'([^]*?)'?$/,M6e=/''/g,k6e=/[a-zA-Z]/;function A6e(t,e,n){var r,i,o,a,s,l,c,u,f,d,h,p,m,g,v,y,x,b;et(2,arguments);var _=String(e),S=od(),O=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:S.locale)!==null&&r!==void 0?r:UM,C=On((o=(a=(s=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(c=n.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&s!==void 0?s:S.firstWeekContainsDate)!==null&&a!==void 0?a:(f=S.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var E=On((h=(p=(m=(g=n==null?void 0:n.weekStartsOn)!==null&&g!==void 0?g:n==null||(v=n.locale)===null||v===void 0||(y=v.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&m!==void 0?m:S.weekStartsOn)!==null&&p!==void 0?p:(x=S.locale)===null||x===void 0||(b=x.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&h!==void 0?h:0);if(!(E>=0&&E<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var M=nt(t);if(!soe(M))throw new RangeError("Invalid time value");var I=PT(M),P=uoe(M,I),R={firstWeekContainsDate:C,weekStartsOn:E,locale:O,_originalDate:M},T=_.match(E6e).map(function(D){var U=D[0];if(U==="p"||U==="P"){var B=BL[U];return B(D,O.formatLong)}return D}).join("").match(T6e).map(function(D){if(D==="''")return"'";var U=D[0];if(U==="'")return R6e(D);var B=jUe[U];if(B)return!(n!=null&&n.useAdditionalWeekYearTokens)&&goe(D)&&MT(D,e,String(t)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&moe(D)&&MT(D,e,String(t)),B(P,D,O.localize,R);if(U.match(k6e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");return D}).join("");return T}function R6e(t){var e=t.match(P6e);return e?e[1].replace(M6e,"'"):t}function I6e(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function D6e(t,e){var n,r;et(1,arguments);var i=nt(t);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var o=String((n=e==null?void 0:e.format)!==null&&n!==void 0?n:"extended"),a=String((r=e==null?void 0:e.representation)!==null&&r!==void 0?r:"complete");if(o!=="extended"&&o!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(a!=="date"&&a!=="time"&&a!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",l="",c=o==="extended"?"-":"",u=o==="extended"?":":"";if(a!=="time"){var f=Ht(i.getDate(),2),d=Ht(i.getMonth()+1,2),h=Ht(i.getFullYear(),4);s="".concat(h).concat(c).concat(d).concat(c).concat(f)}if(a!=="date"){var p=i.getTimezoneOffset();if(p!==0){var m=Math.abs(p),g=Ht(Math.floor(m/60),2),v=Ht(m%60,2),y=p<0?"+":"-";l="".concat(y).concat(g,":").concat(v)}else l="Z";var x=Ht(i.getHours(),2),b=Ht(i.getMinutes(),2),_=Ht(i.getSeconds(),2),S=s===""?"":"T",O=[x,b,_].join(u);s="".concat(s).concat(S).concat(O).concat(l)}return s}function L6e(t){et(1,arguments);var e=nt(t),n=e.getDate();return n}function $6e(t){et(1,arguments);var e=nt(t),n=e.getDay();return n}function voe(t){et(1,arguments);var e=nt(t),n=e.getFullYear(),r=e.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function N6e(t){et(1,arguments);var e=nt(t),n=e.getHours();return n}function F6e(t){et(1,arguments);var e=nt(t),n=e.getMinutes();return n}function j6e(t){et(1,arguments);var e=nt(t),n=e.getMonth();return n}function B6e(t){et(1,arguments);var e=nt(t),n=e.getSeconds();return n}function z6e(t){return et(1,arguments),nt(t).getFullYear()}function dS(t,e){et(2,arguments);var n=nt(t),r=nt(e);return n.getTime()>r.getTime()}function Vp(t,e){et(2,arguments);var n=nt(t),r=nt(e);return n.getTime()t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){n=n.call(t)},n:function(){var c=n.next();return o=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw s}}}}function ln(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&rT(t,e)}function kT(t){return kT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},kT(t)}function xoe(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(xoe=function(){return!!t})()}function W6e(t,e){if(e&&(Jc(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return st(t)}function cn(t){var e=xoe();return function(){var r=kT(t),i;if(e){var o=kT(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return W6e(this,i)}}function Jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pG(t,e){for(var n=0;n0,r=n?e:1-e,i;if(r<=50)i=t||100;else{var o=r+50,a=Math.floor(o/100)*100,s=t>=o%100;i=t+a-(s?100:0)}return n?i:1-i}function Soe(t){return t%400===0||t%4===0&&t%100!==0}var X6e=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0}},{key:"set",value:function(i,o,a){var s=i.getUTCFullYear();if(a.isTwoDigitYear){var l=woe(a.year,s);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var c=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(bn),Q6e=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0}},{key:"set",value:function(i,o,a,s){var l=X5(i,s);if(a.isTwoDigitYear){var c=woe(a.year,l);return i.setUTCFullYear(c,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),Uh(i,s)}var u=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(u,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),Uh(i,s)}}]),n}(bn),Y6e=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(bn),J6e=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(bn),eWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(bn),tWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(bn);function nWe(t,e,n){et(2,arguments);var r=nt(t),i=On(e),o=hoe(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}var rWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=53}},{key:"set",value:function(i,o,a,s){return Uh(nWe(i,a,s),s)}}]),n}(bn);function iWe(t,e){et(2,arguments);var n=nt(t),r=On(e),i=doe(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}var oWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=53}},{key:"set",value:function(i,o,a){return Gg(iWe(i,a))}}]),n}(bn),aWe=[31,28,31,30,31,30,31,31,30,31,30,31],sWe=[31,29,31,30,31,30,31,31,30,31,30,31],lWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=sWe[l]:o>=1&&o<=aWe[l]}},{key:"set",value:function(i,o,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),n}(bn),cWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),n}(bn);function Y5(t,e,n){var r,i,o,a,s,l,c,u;et(2,arguments);var f=od(),d=On((r=(i=(o=(a=n==null?void 0:n.weekStartsOn)!==null&&a!==void 0?a:n==null||(s=n.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:f.weekStartsOn)!==null&&i!==void 0?i:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=nt(t),p=On(e),m=h.getUTCDay(),g=p%7,v=(g+7)%7,y=(v=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=Y5(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(bn),fWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=Y5(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(bn),dWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=Y5(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(bn);function hWe(t,e){et(2,arguments);var n=On(e);n%7===0&&(n=n-7);var r=1,i=nt(t),o=i.getUTCDay(),a=n%7,s=(a+7)%7,l=(s=1&&o<=7}},{key:"set",value:function(i,o,a){return i=hWe(i,a),i.setUTCHours(0,0,0,0),i}}]),n}(bn),mWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=12}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):!s&&a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(bn),xWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=23}},{key:"set",value:function(i,o,a){return i.setUTCHours(a,0,0,0),i}}]),n}(bn),bWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=11}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(bn),_We=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=24}},{key:"set",value:function(i,o,a){var s=a<=24?a%24:a;return i.setUTCHours(s,0,0,0),i}}]),n}(bn),wWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCMinutes(a,0,0),i}}]),n}(bn),SWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCSeconds(a,0),i}}]),n}(bn),OWe=function(t){ln(n,t);var e=cn(n);function n(){var r;Jt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&M<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=On((p=(m=(g=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(y=r.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&g!==void 0?g:C.weekStartsOn)!==null&&m!==void 0?m:(b=C.locale)===null||b===void 0||(_=b.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&p!==void 0?p:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(O==="")return S===""?nt(n):new Date(NaN);var P={firstWeekContainsDate:M,weekStartsOn:I,locale:E},R=[new H6e],T=O.match(AWe).map(function(ee){var te=ee[0];if(te in BL){var de=BL[te];return de(ee,E.formatLong)}return ee}).join("").match(kWe),D=[],U=hG(T),B;try{var W=function(){var te=B.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&goe(te)&&MT(te,O,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&moe(te)&&MT(te,O,t);var de=te[0],xe=MWe[de];if(xe){var ie=xe.incompatibleTokens;if(Array.isArray(ie)){var ve=D.find(function(ce){return ie.includes(ce.token)||ce.token===de});if(ve)throw new RangeError("The format string mustn't contain `".concat(ve.fullToken,"` and `").concat(te,"` at the same time"))}else if(xe.incompatibleTokens==="*"&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(te,"` and any other token at the same time"));D.push({token:de,fullToken:te});var F=xe.run(S,te,E.match,P);if(!F)return{v:new Date(NaN)};R.push(F.setter),S=F.rest}else{if(de.match(LWe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+de+"`");if(te==="''"?te="'":de==="'"&&(te=NWe(te)),S.indexOf(te)===0)S=S.slice(te.length);else return{v:new Date(NaN)}}};for(U.s();!(B=U.n()).done;){var z=W();if(Jc(z)==="object")return z.v}}catch(ee){U.e(ee)}finally{U.f()}if(S.length>0&&DWe.test(S))return new Date(NaN);var $=R.map(function(ee){return ee.priority}).sort(function(ee,te){return te-ee}).filter(function(ee,te,de){return de.indexOf(ee)===te}).map(function(ee){return R.filter(function(te){return te.priority===ee}).sort(function(te,de){return de.subPriority-te.subPriority})}).map(function(ee){return ee[0]}),N=nt(n);if(isNaN(N.getTime()))return new Date(NaN);var L=uoe(N,PT(N)),A={},q=hG($),Y;try{for(q.s();!(Y=q.n()).done;){var K=Y.value;if(!K.validate(L,P))return new Date(NaN);var se=K.set(L,A,P);Array.isArray(se)?(L=se[0],I6e(A,se[1])):L=se}}catch(ee){q.e(ee)}finally{q.f()}return L}function NWe(t){return t.match(RWe)[1].replace(IWe,"'")}function mG(t){et(1,arguments);var e=nt(t);return e.setMinutes(0,0,0),e}function FWe(t,e){et(2,arguments);var n=mG(t),r=mG(e);return n.getTime()===r.getTime()}function jWe(t,e){et(2,arguments);var n=nt(t),r=nt(e);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function BWe(t,e){et(2,arguments);var n=nt(t),r=nt(e);return n.getFullYear()===r.getFullYear()}function zWe(t,e){et(2,arguments);var n=nt(t).getTime(),r=nt(e.start).getTime(),i=nt(e.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}function Ooe(t,e){var n;et(1,arguments);var r=On((n=e==null?void 0:e.additionalDigits)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=GWe(t),o;if(i.date){var a=HWe(i.date,r);o=qWe(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),l=0,c;if(i.time&&(l=XWe(i.time),isNaN(l)))return new Date(NaN);if(i.timezone){if(c=QWe(i.timezone),isNaN(c))return new Date(NaN)}else{var u=new Date(s+l),f=new Date(0);return f.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),f.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),f}return new Date(s+l+c)}var hS={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},UWe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,WWe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,VWe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function GWe(t){var e={},n=t.split(hS.dateTimeDelimiter),r;if(n.length>2)return e;if(/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],hS.timeZoneDelimiter.test(e.date)&&(e.date=t.split(hS.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length))),r){var i=hS.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function HWe(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:t.slice((r[1]||r[2]).length)}}function qWe(t,e){if(e===null)return new Date(NaN);var n=t.match(UWe);if(!n)return new Date(NaN);var r=!!n[4],i=e0(n[1]),o=e0(n[2])-1,a=e0(n[3]),s=e0(n[4]),l=e0(n[5])-1;if(r)return eVe(e,s,l)?YWe(e,s,l):new Date(NaN);var c=new Date(0);return!ZWe(e,o,a)||!JWe(e,i)?new Date(NaN):(c.setUTCFullYear(e,o,Math.max(i,a)),c)}function e0(t){return t?parseInt(t):1}function XWe(t){var e=t.match(WWe);if(!e)return NaN;var n=_A(e[1]),r=_A(e[2]),i=_A(e[3]);return tVe(n,r,i)?n*BM+r*jM+i*1e3:NaN}function _A(t){return t&&parseFloat(t.replace(",","."))||0}function QWe(t){if(t==="Z")return 0;var e=t.match(VWe);if(!e)return 0;var n=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return nVe(r,i)?n*(r*BM+i*jM):NaN}function YWe(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=(e-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var KWe=[31,null,31,30,31,30,31,31,30,31,30,31];function Coe(t){return t%400===0||t%4===0&&t%100!==0}function ZWe(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(KWe[e]||(Coe(t)?29:28))}function JWe(t,e){return e>=1&&e<=(Coe(t)?366:365)}function eVe(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function tVe(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function nVe(t,e){return e>=0&&e<=59}function rVe(t,e){et(2,arguments);var n=nt(t),r=On(e),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=voe(a);return n.setMonth(r,Math.min(o,s)),n}function iVe(t,e){et(2,arguments);var n=nt(t),r=On(e);return n.setDate(r),n}function oVe(t,e){et(2,arguments);var n=nt(t),r=On(e);return n.setHours(r),n}function aVe(t,e){et(2,arguments);var n=nt(t),r=On(e);return n.setMinutes(r),n}function sVe(t,e){et(2,arguments);var n=nt(t),r=On(e);return n.setSeconds(r),n}function lVe(t,e){et(2,arguments);var n=nt(t),r=On(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Toe(t){return t.getTimezoneOffset()*6e4}function cVe(t){return t.getTime()-Toe(t)}function wA(t){const e=new Date(t);return new Date(e.getTime()+Toe(e))}function Ob(t){return new Date(t).toISOString().substring(0,10)}function Xv(t){return Eoe(new Date(t).toISOString())}function Eoe(t){return t.substring(0,19).replace("T"," ")}const Poe={seconds:1e3,minutes:1e3*60,hours:1e3*60*60,days:1e3*60*60*24,weeks:1e3*60*60*24*7,years:1e3*60*60*24*365};function uVe(t,e){return t===e?!0:t!==null&&e!=null?t[0]===e[0]&&t[1]===e[1]:!1}function fVe(t,e){const n=new Set,r=new Set,i={};for(const l of t)for(const c of l.timeSeriesArray){const{placeId:u,datasetId:f,variableName:d,valueDataKey:h,errorDataKey:p}=c.source;u!==null&&r.add(u);const m=`${f}.${d}.${h}`;n.add(m);let g=null;p&&(g=`${f}.${d}.${p}`,n.add(g)),c.data.forEach(v=>{const y=Xv(v.time),x=`${u!==null?u:f}-${y}`,b=i[x];b?i[x]={...b,[m]:v[h]}:i[x]={placeId:u,time:y,[m]:v[h]},g!==null&&(i[x][g]=v[p])})}const o=["placeId","time"].concat(Array.from(n).sort()),a=[];Object.keys(i).forEach(l=>{const c=i[l],u=new Array(o.length);o.forEach((f,d)=>{u[d]=c[f]}),a.push(u)}),a.sort((l,c)=>{const u=l[1],f=c[1],d=u.localeCompare(f);if(d!==0)return d;const h=l[0],p=c[0];return h.localeCompare(p)});const s={};return r.forEach(l=>{s[l]=A5(e,l)}),{colNames:o,dataRows:a,referencedPlaces:s}}function dVe(t){let e=null;const n=t.features||[];for(const r of n){if(!r.properties)continue;const i=r.properties.time;if(typeof i!="string")continue;const a=Ooe(i).getTime();if(!Number.isNaN(a))for(const s of Object.getOwnPropertyNames(r.properties)){let l=r.properties[s];const c=typeof l;if(c==="boolean"?l=l?1:0:c!=="number"&&(l=Number.NaN),Number.isNaN(l))continue;const u={time:a,countTot:1,mean:l};e===null&&(e={});const f=e[s];f?f.data.push(u):e[s]={source:{datasetId:t.id,datasetTitle:t.title,variableName:s,placeId:null,geometry:null,valueDataKey:"mean",errorDataKey:null},data:[u],dataProgress:1}}}return e===null?null:{placeGroup:t,timeSeries:e}}const M1=t=>t.dataState.datasets||[],hVe=t=>t.dataState.colorBars,Moe=t=>t.dataState.timeSeriesGroups,k1=t=>t.dataState.userPlaceGroups,koe=t=>t.dataState.userServers||[],Aoe=lt(M1,k1,(t,e)=>{const n={},r=[];return t.forEach(i=>{i.placeGroups&&i.placeGroups.forEach(o=>{n[o.id]||(n[o.id]=o,r.push(o))})}),[...r,...e]}),pVe=lt(Aoe,t=>{const e=[];return t.forEach(n=>{const r=dVe(n);r!==null&&e.push(r)}),e}),mVe=[{name:"OpenStreetMap",link:"https://openstreetmap.org",datasets:[{name:"OSM Mapnik",endpoint:"https://a.tile.osm.org/{z}/{x}/{y}.png"},{name:"OSM Humanitarian",endpoint:"https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png"},{name:"OSM Landscape",endpoint:"https://a.tile3.opencyclemap.org/landscape/{z}/{x}/{y}.png"}],overlays:[]},{name:"ESRI",link:"https://services.arcgisonline.com/arcgis/rest/services",datasets:[{name:"Dark Gray Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer/tile/{z}/{y}/{x}"},{name:"Light Gray Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}"},{name:"World Hillshade",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}"},{name:"World Ocean Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer/tile/{z}/{y}/{x}"},{name:"DeLorme World Base Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Street Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Navigation Charts",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/World_Navigation_Charts/MapServer/tile/{z}/{y}/{x}"},{name:"National Geographic",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Imagery",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"},{name:"World Physical Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Shaded Relief",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}"},{name:"World Terrain",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}"},{name:"World Topo Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}"}],overlays:[{name:"Dark Gray Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"Light Gray Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"World Ocean Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"World Boundaries & Places",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}"},{name:"World Reference Overlay",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Reference_Overlay/MapServer/tile/{z}/{y}/{x}"},{name:"World Transportation",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Transportation/MapServer/tile/{z}/{y}/{x}"}]},{name:"CartoDB",link:"https://cartodb.com/basemaps/",datasets:[{name:"Positron",endpoint:"https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"},{name:"Dark Matter",endpoint:"https://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"},{name:"Positron (No Labels)",endpoint:"https://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png"},{name:"Dark Matter (No Labels)",endpoint:"https://a.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png"}],overlays:[{name:"Positron Labels",endpoint:"https://a.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png"},{name:"Dark Matter Labels",endpoint:"https://a.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}.png"}]},{name:"Stamen",link:"https://maps.stamen.com",datasets:[{name:"Toner",endpoint:"https://tile.stamen.com/toner/{z}/{x}/{y}.png",attribution:'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.'},{name:"Terrain",endpoint:"https://tile.stamen.com/terrain/{z}/{x}/{y}.png"},{name:"Watercolor",endpoint:"https://tile.stamen.com/watercolor/{z}/{x}/{y}.png"}],overlays:[]},{name:"Mapbox",link:"https://a.tiles.mapbox.com/v3/mapbox/maps.html",datasets:[{name:"Blue Marble (January)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jan/{z}/{x}/{y}.png"},{name:"Blue Marble (July)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jul/{z}/{x}/{y}.png"},{name:"Blue Marble Topo & Bathy B/W (July)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jul-bw/{z}/{x}/{y}.png"},{name:"Control Room",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.control-room/{z}/{x}/{y}.png"},{name:"Geography Class",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.geography-class/{z}/{x}/{y}.png"},{name:"World Dark",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.world-dark/{z}/{x}/{y}.png"},{name:"World Light",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-light/{z}/{x}/{y}.png"},{name:"World Glass",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-glass/{z}/{x}/{y}.png"},{name:"World Print",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-print/{z}/{x}/{y}.png"},{name:"World Blue",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-blue/{z}/{x}/{y}.png"}],overlays:[]}],gVe=mVe,K5="User";function RT(t){return t?`${t.group}: ${t.title}`:"-"}function IT(t,e){return t.find(n=>n.id===e)||null}function Roe(t="datasets"){const e=[];return gVe.forEach(n=>{n[t].forEach(r=>{e.push({id:`${n.name}-${r.name}`,group:n.name,attribution:n.link,title:r.name,url:r.endpoint})})}),e}const Ioe=Roe("datasets"),vVe=Roe("overlays"),yVe=Ioe[0].id;var xVe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),bVe=function(t){xVe(e,t);function e(){return t.call(this)||this}return e.prototype.getType=function(){return"text"},e.prototype.readFeature=function(n,r){return this.readFeatureFromText(pS(n),this.adaptOptions(r))},e.prototype.readFeatureFromText=function(n,r){return vt()},e.prototype.readFeatures=function(n,r){return this.readFeaturesFromText(pS(n),this.adaptOptions(r))},e.prototype.readFeaturesFromText=function(n,r){return vt()},e.prototype.readGeometry=function(n,r){return this.readGeometryFromText(pS(n),this.adaptOptions(r))},e.prototype.readGeometryFromText=function(n,r){return vt()},e.prototype.readProjection=function(n){return this.readProjectionFromText(pS(n))},e.prototype.readProjectionFromText=function(n){return this.dataProjection},e.prototype.writeFeature=function(n,r){return this.writeFeatureText(n,this.adaptOptions(r))},e.prototype.writeFeatureText=function(n,r){return vt()},e.prototype.writeFeatures=function(n,r){return this.writeFeaturesText(n,this.adaptOptions(r))},e.prototype.writeFeaturesText=function(n,r){return vt()},e.prototype.writeGeometry=function(n,r){return this.writeGeometryText(n,this.adaptOptions(r))},e.prototype.writeGeometryText=function(n,r){return vt()},e}(Bre);function pS(t){return typeof t=="string"?t:""}const _Ve=bVe;var wVe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),SVe={POINT:$l,LINESTRING:Oh,POLYGON:Ug,MULTIPOINT:PM,MULTILINESTRING:w5,MULTIPOLYGON:O5},Doe="EMPTY",Loe="Z",$oe="M",OVe="ZM",mn={START:0,TEXT:1,LEFT_PAREN:2,RIGHT_PAREN:3,NUMBER:4,COMMA:5,EOF:6},CVe={Point:"POINT",LineString:"LINESTRING",Polygon:"POLYGON",MultiPoint:"MULTIPOINT",MultiLineString:"MULTILINESTRING",MultiPolygon:"MULTIPOLYGON",GeometryCollection:"GEOMETRYCOLLECTION",Circle:"CIRCLE"},TVe=function(){function t(e){this.wkt=e,this.index_=-1}return t.prototype.isAlpha_=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"},t.prototype.isNumeric_=function(e,n){var r=n!==void 0?n:!1;return e>="0"&&e<="9"||e=="."&&!r},t.prototype.isWhiteSpace_=function(e){return e==" "||e==" "||e=="\r"||e==` -`},t.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},t.prototype.nextToken=function(){var e=this.nextChar_(),n=this.index_,r=e,i;if(e=="(")i=mn.LEFT_PAREN;else if(e==",")i=mn.COMMA;else if(e==")")i=mn.RIGHT_PAREN;else if(this.isNumeric_(e)||e=="-")i=mn.NUMBER,r=this.readNumber_();else if(this.isAlpha_(e))i=mn.TEXT,r=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(e==="")i=mn.EOF;else throw new Error("Unexpected character: "+e)}return{position:n,value:r,type:i}},t.prototype.readNumber_=function(){var e,n=this.index_,r=!1,i=!1;do e=="."?r=!0:(e=="e"||e=="E")&&(i=!0),e=this.nextChar_();while(this.isNumeric_(e,r)||!i&&(e=="e"||e=="E")||i&&(e=="-"||e=="+"));return parseFloat(this.wkt.substring(n,this.index_--))},t.prototype.readText_=function(){var e,n=this.index_;do e=this.nextChar_();while(this.isAlpha_(e));return this.wkt.substring(n,this.index_--).toUpperCase()},t}(),EVe=function(){function t(e){this.lexer_=e,this.token_={position:0,type:mn.START},this.layout_=dn.XY}return t.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},t.prototype.isTokenType=function(e){return this.token_.type==e},t.prototype.match=function(e){var n=this.isTokenType(e);return n&&this.consume_(),n},t.prototype.parse=function(){return this.consume_(),this.parseGeometry_()},t.prototype.parseGeometryLayout_=function(){var e=dn.XY,n=this.token_;if(this.isTokenType(mn.TEXT)){var r=n.value;r===Loe?e=dn.XYZ:r===$oe?e=dn.XYM:r===OVe&&(e=dn.XYZM),e!==dn.XY&&this.consume_()}return e},t.prototype.parseGeometryCollectionText_=function(){if(this.match(mn.LEFT_PAREN)){var e=[];do e.push(this.parseGeometry_());while(this.match(mn.COMMA));if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePointText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parsePoint_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseLineStringText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parsePointList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePolygonText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parseLineStringTextList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiPointText_=function(){if(this.match(mn.LEFT_PAREN)){var e=void 0;if(this.token_.type==mn.LEFT_PAREN?e=this.parsePointTextList_():e=this.parsePointList_(),this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiLineStringText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parseLineStringTextList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiPolygonText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parsePolygonTextList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePoint_=function(){for(var e=[],n=this.layout_.length,r=0;r0&&(i+=" "+o)}return r.length===0?i+" "+Doe:i+"("+r+")"}class DVe extends Error{}const zoe={separator:",",comment:"#",quote:'"',escape:"\\",trim:!0,nanToken:"NaN",trueToken:"true",falseToken:"false"};function Uoe(t,e){return new LVe(e).parse(t)}let LVe=class{constructor(e){Ut(this,"options");this.options={...zoe,...e},this.parseLine=this.parseLine.bind(this)}parse(e){return this.parseText(e).map(this.parseLine)}parseText(e){const{comment:n,trim:r}=this.options;return e.split(` -`).map((i,o)=>(r&&(i=i.trim()),[i,o])).filter(([i,o])=>i.trim()!==""&&!i.startsWith(n))}parseLine([e,n]){const{separator:r,quote:i,escape:o}=this.options;let a=!1;const s=[];let l=0,c=0;for(;ct.toLowerCase());function gG(t){if(t=t.trim(),t==="")return"csv";if(t[0]==="{")return"geojson";const e=t.substring(0,20).toLowerCase();return FVe.find(r=>e.startsWith(r)&&(e.length===r.length||` - (`.indexOf(e[r.length])>=0))?"wkt":"csv"}function cC(t){return t.split(",").map(e=>e.trim().toLowerCase()).filter(e=>e!=="")}const jVe=t=>{if(t.trim()!=="")try{Uoe(t)}catch(e){return console.error(e),`${e}`}return null},Woe={name:"Text/CSV",fileExt:".txt,.csv",checkError:jVe},UL={...zoe,xNames:"longitude, lon, x",yNames:"latitude, lat, y",forceGeometry:!1,geometryNames:"geometry, geom",timeNames:"time, date, datetime, date-time",groupNames:"group, cruise, station, type",groupPrefix:"Group-",labelNames:"label, name, title, id",labelPrefix:"Place-"};let BVe=0,zVe=0;function UVe(t,e){const n=Uoe(t,e);if(n.length<2)throw new Error(pe.get("Missing header line in CSV"));for(const S of n[0])if(typeof S!="string"||S==="")throw new Error(pe.get("Invalid header line in CSV"));const r=n[0].map(S=>S),i=r.map(S=>S.toLowerCase()),o=r.length;for(const S of n)if(S.length!==o)throw new Error(pe.get("All rows must have same length"));const a=WVe(i),s=Gp(a,e.groupNames),l=Gp(a,e.labelNames),c=Gp(a,e.timeNames),u=Gp(a,e.xNames),f=Gp(a,e.yNames);let d=Gp(a,e.geometryNames);if(e.forceGeometry||u<0||f<0||u===f){if(d<0)throw new Error(pe.get("No geometry column(s) found"))}else d=-1;let p=e.groupPrefix.trim();p===""&&(p=UL.groupPrefix);let m=e.labelPrefix.trim();m===""&&(m=UL.labelPrefix);let g="";if(s===-1){const S=++BVe;g=`${p}${S}`}const v=new Noe,y={};let x=1,b=0,_=Nh(0);for(;x=0&&(O=`${S[c]}`),s>=0&&(g=`${S[s]}`);let C=y[g];C||(C=P5(g,[]),y[g]=C,_=Nh(b),b++);let E=null;if(d>=0){if(typeof S[d]=="string")try{E=v.readGeometry(t)}catch{}}else{const P=S[u],R=S[f];typeof P=="number"&&Number.isFinite(P)&&typeof R=="number"&&Number.isFinite(R)&&(E=new $l([P,R]))}if(E===null)throw new Error(pe.get(`Invalid geometry in data row ${x}`));const M={};S.forEach((P,R)=>{if(R!==u&&R!==f&&R!==d){const T=r[R];M[T]=P}});let I;if(l>=0)I=`${S[l]}`;else{const P=++zVe;I=`${m}${P}`}O!==""&&(M.time=O),M.color||(M.color=_),M.label||(M.label=I),M.source||(M.source="CSV"),C.features.push(M5(E,M))}return Object.getOwnPropertyNames(y).map(S=>y[S])}function WVe(t){const e={};for(let n=0;n{if(t.trim()!=="")try{JSON.parse(t)}catch(e){return console.error(e),`${e}`}return null},Voe={name:"GeoJSON",fileExt:".json,.geojson",checkError:VVe},WL={groupNames:"group, cruise, station, type",groupPrefix:"Group-",labelNames:"label, name, title, id",labelPrefix:"Place-",timeNames:"time, date, datetime, date-time"};let GVe=0,HVe=0;function qVe(t,e){const n=cC(e.groupNames||"");let r=e.groupPrefix.trim();r===""&&(r=WL.groupPrefix);const i=cC(e.labelNames||"");let o=e.labelPrefix.trim();o===""&&(o=WL.labelPrefix);const a=cC(e.timeNames||""),s=new mp;let l;try{l=s.readFeatures(t)}catch{try{const d=s.readGeometry(t);l=[new kc(d)]}catch{throw new Error(pe.get("Invalid GeoJSON"))}}const c={};let u=0;return l.forEach(f=>{const d=f.getProperties(),h=f.getGeometry();if(h){let p="",m="",g="",v=Nh(0);if(d){const b={};Object.getOwnPropertyNames(d).forEach(_=>{b[_.toLowerCase()]=d[_]}),p=SA(b,a,p),g=SA(b,i,g),m=SA(b,n,m)}if(m===""){const b=++GVe;m=`${r}-${b}`}if(g===""){const b=++HVe;g=`${o}-${b}`}let y=c[m];y||(y=P5(m,[]),c[m]=y,v=Nh(u),u++);const x={...d};p!==""&&(x.time=p),x.color||(x.color=v),x.label||(x.label=g),x.source||(x.source="GeoJSON"),y.features.push(M5(h,x))}}),Object.getOwnPropertyNames(c).map(f=>c[f])}function SA(t,e,n){if(n===""){for(const r of e)if(t[r]==="string")return t[r]}return n}const XVe=t=>null,Goe={name:"WKT",fileExt:".txt,.wkt",checkError:XVe},VL={group:"",groupPrefix:"Group-",label:"",labelPrefix:"Place-",time:Xv(new Date().getTime())};let QVe=0,YVe=0;function KVe(t,e){let n=e.groupPrefix.trim();n===""&&(n=VL.groupPrefix);let r=e.group.trim();if(r===""){const s=++QVe;r=`${n}${s}`}let i=e.labelPrefix.trim();i===""&&(i=VL.labelPrefix);let o=e.label.trim();if(o===""){const s=++YVe;o=`${i}${s}`}const a=e.time.trim();try{const s=new Noe().readGeometry(t);let l={color:Nh(Math.floor(1e3*Math.random())),label:o,source:"WKT"};a!==""&&(l={time:a,...l});const c=[M5(s,l)];return[P5(r,c)]}catch{throw new Error(pe.get("Invalid Geometry WKT"))}}function Qv(t){return ZVe("localStorage",t)}function ZVe(t,e){try{const n=window[t],r="__storage_test__";return n.setItem(r,r),n.removeItem(r),new JVe(n,e)}catch{return null}}class JVe{constructor(e,n){Ut(this,"nativeStorage");Ut(this,"brandingName");this.nativeStorage=e,this.brandingName=n}getItem(e,n,r){const i=this.nativeStorage.getItem(this.makeKey(e));if(i!==null)try{return r?r(i):i}catch(o){console.error(`Failed parsing user setting "${e}": ${o}`)}return typeof n>"u"?null:n}getObjectItem(e,n){return this.getItem(e,n,r=>JSON.parse(r))}getBooleanProperty(e,n,r){this.getProperty(e,n,r,i=>i==="true")}getIntProperty(e,n,r){this.getProperty(e,n,r,parseInt)}getStringProperty(e,n,r){this.getProperty(e,n,r,i=>i)}getArrayProperty(e,n,r){this.getProperty(e,n,r,i=>{const o=JSON.parse(i);if(Array.isArray(o))return o;const a=r[e];return Array.isArray(a)?a:[]})}getObjectProperty(e,n,r){this.getProperty(e,n,r,i=>{const o=JSON.parse(i),a=r[e],s={...a,...o};return Object.getOwnPropertyNames(o).forEach(l=>{const c=a[l],u=o[l];T8(c)&&T8(u)&&(s[l]={...c,...u})}),s})}getProperty(e,n,r,i){n[e]=this.getItem(e,r[e],i)}setItem(e,n,r){if(typeof n>"u"||n===null)this.nativeStorage.removeItem(this.makeKey(e));else{const i=r?r(n):n+"";this.nativeStorage.setItem(this.makeKey(e),i)}}setObjectItem(e,n){this.setItem(e,n,r=>JSON.stringify(r))}setPrimitiveProperty(e,n){this.setItem(e,n[e])}setArrayProperty(e,n){this.setObjectItem(e,n[e])}setObjectProperty(e,n){this.setObjectItem(e,n[e])}makeKey(e){return`xcube.${this.brandingName}.${e}`}}function e8e(t){const e=Qv(Wt.instance.name);if(e)try{e.setObjectItem("userServers",t)}catch(n){console.warn(`failed to store user servers: ${n}`)}}function t8e(){const t=Qv(Wt.instance.name);if(t)try{return t.getObjectItem("userServers",[])}catch(e){console.warn(`failed to load user servers: ${e}`)}return[]}function n8e(t){const e=Qv(Wt.instance.name);if(e)try{e.setObjectItem("userVariables",t)}catch(n){console.warn(`failed to store user variables: ${n}`)}}function r8e(){const t=Qv(Wt.instance.name);if(t)try{return t.getObjectItem("userVariables",{})}catch(e){console.warn(`failed to load user variables: ${e}`)}return{}}function Ou(t){const e=Qv(Wt.instance.name);if(e)try{e.setPrimitiveProperty("locale",t),e.setPrimitiveProperty("privacyNoticeAccepted",t),e.setPrimitiveProperty("autoShowTimeSeries",t),e.setPrimitiveProperty("timeSeriesIncludeStdev",t),e.setPrimitiveProperty("timeSeriesChartTypeDefault",t),e.setPrimitiveProperty("timeSeriesUseMedian",t),e.setPrimitiveProperty("timeAnimationInterval",t),e.setPrimitiveProperty("timeChunkSize",t),e.setPrimitiveProperty("sidebarOpen",t),e.setPrimitiveProperty("sidebarPanelId",t),e.setPrimitiveProperty("volumeRenderMode",t),e.setObjectProperty("infoCardElementStates",t),e.setPrimitiveProperty("imageSmoothingEnabled",t),e.setPrimitiveProperty("mapProjection",t),e.setPrimitiveProperty("selectedBaseMapId",t),e.setPrimitiveProperty("selectedOverlayId",t),e.setArrayProperty("userBaseMaps",t),e.setArrayProperty("userOverlays",t),e.setArrayProperty("userColorBars",t),e.setPrimitiveProperty("userDrawnPlaceGroupName",t),e.setPrimitiveProperty("datasetLocateMode",t),e.setPrimitiveProperty("placeLocateMode",t),e.setPrimitiveProperty("exportTimeSeries",t),e.setPrimitiveProperty("exportTimeSeriesSeparator",t),e.setPrimitiveProperty("exportPlaces",t),e.setPrimitiveProperty("exportPlacesAsCollection",t),e.setPrimitiveProperty("exportZipArchive",t),e.setPrimitiveProperty("exportFileName",t),e.setPrimitiveProperty("userPlacesFormatName",t),e.setObjectProperty("userPlacesFormatOptions",t)}catch(n){console.warn(`failed to store user settings: ${n}`)}}function i8e(t){const e=Qv(Wt.instance.name);if(e){const n={...t};try{e.getStringProperty("locale",n,t),e.getBooleanProperty("privacyNoticeAccepted",n,t),e.getBooleanProperty("autoShowTimeSeries",n,t),e.getBooleanProperty("timeSeriesIncludeStdev",n,t),e.getStringProperty("timeSeriesChartTypeDefault",n,t),e.getBooleanProperty("timeSeriesUseMedian",n,t),e.getIntProperty("timeAnimationInterval",n,t),e.getIntProperty("timeChunkSize",n,t),e.getBooleanProperty("sidebarOpen",n,t),e.getStringProperty("sidebarPanelId",n,t),e.getStringProperty("volumeRenderMode",n,t),e.getObjectProperty("infoCardElementStates",n,t),e.getBooleanProperty("imageSmoothingEnabled",n,t),e.getStringProperty("mapProjection",n,t),e.getStringProperty("selectedBaseMapId",n,t),e.getStringProperty("selectedOverlayId",n,t),e.getArrayProperty("userBaseMaps",n,t),e.getArrayProperty("userOverlays",n,t),e.getArrayProperty("userColorBars",n,t),e.getStringProperty("userDrawnPlaceGroupName",n,t),e.getStringProperty("datasetLocateMode",n,t),e.getStringProperty("placeLocateMode",n,t),e.getBooleanProperty("exportTimeSeries",n,t),e.getStringProperty("exportTimeSeriesSeparator",n,t),e.getBooleanProperty("exportPlaces",n,t),e.getBooleanProperty("exportPlacesAsCollection",n,t),e.getBooleanProperty("exportZipArchive",n,t),e.getStringProperty("exportFileName",n,t),e.getStringProperty("userPlacesFormatName",n,t),e.getObjectProperty("userPlacesFormatOptions",n,t)}catch(r){console.warn(`Failed to load user settings: ${r}`)}return n}else console.warn("User settings not found or access denied");return t}const o8e=[250,500,1e3,2500],a8e=["info","timeSeries","stats","volume"];function s8e(){const t=Wt.instance.branding,e={selectedDatasetId:null,selectedVariableName:null,selectedDataset2Id:null,selectedVariable2Name:null,selectedPlaceGroupIds:[],selectedPlaceId:null,selectedUserPlaceId:null,selectedServerId:Wt.instance.server.id,selectedTime:null,selectedTimeRange:null,timeSeriesUpdateMode:"add",timeAnimationActive:!1,timeAnimationInterval:1e3,timeChunkSize:20,autoShowTimeSeries:!0,timeSeriesChartTypeDefault:"line",timeSeriesIncludeStdev:!0,timeSeriesUseMedian:t.defaultAgg==="median",userDrawnPlaceGroupName:"",userPlacesFormatName:"csv",userPlacesFormatOptions:{csv:{...UL},geojson:{...WL},wkt:{...VL}},flyTo:null,activities:{},locale:"en",dialogOpen:{},privacyNoticeAccepted:!1,mapInteraction:"Select",lastMapInteraction:"Select",layerVisibilities:{baseMap:!0,datasetRgb:!1,datasetVariable:!0,datasetVariable2:!0,datasetBoundary:!1,datasetPlaces:!0,userPlaces:!0,overlay:!0},variableCompareMode:!1,datasetLocateMode:"panAndZoom",placeLocateMode:"panAndZoom",layerMenuOpen:!1,sidebarPosition:2*Math.max(window.innerWidth,window.innerHeight)/3,sidebarOpen:!1,sidebarPanelId:"info",volumeRenderMode:"mip",volumeStates:{},infoCardElementStates:{dataset:{visible:!0,viewMode:"text"},variable:{visible:!0,viewMode:"text"},place:{visible:!0,viewMode:"text"}},mapProjection:t.mapProjection||noe,imageSmoothingEnabled:!1,selectedBaseMapId:yVe,selectedOverlayId:null,userBaseMaps:[],userOverlays:[],userColorBars:[],exportTimeSeries:!0,exportTimeSeriesSeparator:"TAB",exportPlaces:!0,exportPlacesAsCollection:!0,exportZipArchive:!0,exportFileName:"export"};return i8e(e)}const Rc={},l8e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAGUExURcDAwP///ytph7QAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAUSURBVBjTYwABQSCglEENMxgYGAAynwRB8BEAgQAAAABJRU5ErkJggg==",Hoe=new Image;Hoe.src=l8e;const GL="_alpha",HL="_r";function c8e(t){let e=t;const n=e.endsWith(GL);n&&(e=e.slice(0,e.length-GL.length));const r=e.endsWith(HL);return r&&(e=e.slice(0,e.length-HL.length)),{baseName:e,isAlpha:n,isReversed:r}}function DT(t){let e=t.baseName;return t.isReversed&&(e+=HL),t.isAlpha&&(e+=GL),e}function u8e(t,e,n){d8e(t,e).then(r=>{Promise.resolve(createImageBitmap(r)).then(i=>{const o=n.getContext("2d");if(o!==null){const a=o.createPattern(Hoe,"repeat");a!==null?o.fillStyle=a:o.fillStyle="#ffffff",o.fillRect(0,0,n.width,n.height),o.drawImage(i,0,0,n.width,n.height)}})})}function f8e(t,e){return new Promise((n,r)=>{const i=e||new Image,o=t.imageData;if(!o){n(i);return}i.onload=()=>{n(i)},i.onerror=(a,s,l,c,u)=>{r(u)},i.src=`data:image/png;base64,${o}`})}function d8e(t,e){return f8e(t).then(n=>{const r=h8e(t,e,n);if(r!==null)return r;throw new Error("failed to retrieve 2d context")})}function h8e(t,e,n){const r=document.createElement("canvas");r.width=n.width||1,r.height=n.height||1;const i=r.getContext("2d");if(i===null)return null;i.drawImage(n,0,0);let a=i.getImageData(0,0,r.width,r.height).data;if(t.isReversed){const s=new Uint8ClampedArray(a.length);for(let l=0;lt.controlState.selectedDatasetId,Yv=t=>t.controlState.selectedVariableName,qL=t=>t.controlState.selectedDataset2Id,J5=t=>t.controlState.selectedVariable2Name,eB=t=>t.controlState.selectedPlaceGroupIds,R1=t=>t.controlState.selectedPlaceId,I1=t=>t.controlState.selectedTime,p8e=t=>t.controlState.selectedServerId,m8e=t=>t.controlState.activities,WM=t=>t.controlState.timeAnimationActive,D1=t=>t.controlState.imageSmoothingEnabled,g8e=t=>t.controlState.userBaseMaps,v8e=t=>t.controlState.userOverlays,tB=t=>t.controlState.selectedBaseMapId,nB=t=>t.controlState.selectedOverlayId,y8e=t=>!!t.controlState.layerVisibilities.baseMap,x8e=t=>!!t.controlState.layerVisibilities.datasetBoundary,b8e=t=>!!t.controlState.layerVisibilities.datasetVariable,_8e=t=>!!t.controlState.layerVisibilities.datasetVariable2,w8e=t=>!!t.controlState.layerVisibilities.datasetRgb,S8e=t=>!!t.controlState.layerVisibilities.datasetRgb2,O8e=t=>!!t.controlState.layerVisibilities.datasetPlaces,qoe=t=>!!t.controlState.layerVisibilities.userPlaces,C8e=t=>!!t.controlState.layerVisibilities.overlay,Xoe=t=>t.controlState.layerVisibilities,Qoe=t=>t.controlState.infoCardElementStates,ad=t=>t.controlState.mapProjection,T8e=t=>t.controlState.timeChunkSize,E8e=t=>t.controlState.userPlacesFormatName,P8e=t=>t.controlState.userPlacesFormatOptions.csv,M8e=t=>t.controlState.userPlacesFormatOptions.geojson,k8e=t=>t.controlState.userPlacesFormatOptions.wkt,Kv=t=>t.controlState.userColorBars,A8e=()=>"variable",R8e=()=>"variable2",I8e=()=>"rgb",D8e=()=>"rgb2",L8e=()=>13,$8e=()=>12,N8e=()=>11,F8e=()=>10,ei=lt(M1,A1,vb),yp=lt(M1,qL,vb),j8e=lt(ei,t=>t&&t.variables||[]),B8e=lt(ei,t=>t?E5(t)[1]:[]),Yoe=(t,e)=>!t||!e?null:CL(t,e),ds=lt(ei,Yv,Yoe),L1=lt(yp,J5,Yoe),z8e=lt(ds,t=>t&&t.units||"-"),Koe=t=>t&&t.colorBarName||"viridis",VM=lt(ds,Koe),rB=lt(L1,Koe),Zoe=t=>t?[t.colorBarMin,t.colorBarMax]:[0,1],Joe=lt(ds,Zoe),U8e=lt(L1,Zoe),eae=t=>t&&t.colorBarNorm||"lin",tae=lt(ds,eae),W8e=lt(L1,eae),iB=lt(Kv,hVe,(t,e)=>{const n={title:aie,description:"User-defined color bars.",names:t.map(i=>i.id)},r={};return t.forEach(({id:i,imageData:o})=>{o&&(r[i]=o)}),e?{...e,groups:[n,...e.groups],images:{...e.images,...r}}:{groups:[n],images:r}}),nae=(t,e,n)=>{const r=c8e(t),i=e.images[r.baseName],{baseName:o}=r,a=n.find(l=>l.id===o);let s;return a&&(a.type=="key"||a.type=="bound")&&(s=lie(a.code)),{...r,imageData:i,categories:s}},oB=lt(VM,iB,Kv,nae),V8e=lt(rB,iB,Kv,nae),rae=(t,e,n)=>{const{baseName:r}=t,i=n.find(o=>o.id===r);if(i){const o=lie(i.code);if(o)return JSON.stringify({name:e,type:i.type,colors:o.map(a=>[a.value,a.color])})}return null},G8e=lt(oB,VM,Kv,rae),H8e=lt(V8e,rB,Kv,rae),iae=t=>!t||typeof t.opacity!="number"?1:t.opacity,oae=lt(ds,iae),q8e=lt(L1,iae),X8e=lt(ei,t=>t!==null?tie(t):null),Q8e=lt(ei,t=>t!==null&&t.rgbSchema||null),Y8e=lt(yp,t=>t!==null&&t.rgbSchema||null),aae=lt(ei,t=>t&&t.placeGroups||[]),aB=lt(aae,k1,(t,e)=>t.concat(e));function sae(t,e){const n=[];return e!==null&&e.length>0&&t.forEach(r=>{e.indexOf(r.id)>-1&&n.push(r)}),n}const K8e=lt(k1,eB,qoe,(t,e)=>{const n={},r=new Set(e||[]);return t.forEach(i=>{n[i.id]=r.has(i.id)}),n}),lae=lt(aae,eB,sae),Zv=lt(aB,eB,sae),Z8e=lt(Zv,t=>t.map(e=>e.title||e.id).join(", ")),$1=lt(Zv,t=>{const e=t.map(n=>Vv(n)?n.features:[]);return[].concat(...e)}),cae=lt($1,R1,(t,e)=>t.find(n=>n.id===e)||null),GM=lt(Zv,R1,(t,e)=>t.length===0||e===null?null:oje(t,(n,r)=>r.id===e)),J8e=lt(A1,Yv,cae,(t,e,n)=>{if(t&&e){if(!n)return`${t}-${e}-all`;if(n.geometry.type==="Polygon"||n.geometry.type==="MultiPolygon")return`${t}-${e}-${n.id}`}return null}),uae=lt(Moe,A1,Yv,R1,(t,e,n,r)=>{if(!e||!n||!r)return!1;for(const i of t)for(const o of i.timeSeriesArray){const a=o.source;if(a.datasetId===e&&a.variableName===n&&a.placeId===r)return!1}return!0}),eGe=lt(Moe,aB,(t,e)=>{const n={};return rie(e,(r,i)=>{for(const o of t)if(o.timeSeriesArray.find(a=>a.source.placeId===i.id)){n[i.id]=k5(r,i);break}}),n}),tGe=lt(Zv,t=>{const e=[];return rie(t,(n,r)=>{e.push(k5(n,r).label)}),e}),nGe=lt(ds,T8e,(t,e)=>{if(t&&t.timeChunkSize){const n=t.timeChunkSize;return n*Math.ceil(e/n)}return e}),fae=t=>t&&eie(t)||null,Jv=lt(ei,fae),rGe=lt(yp,fae),dae=t=>t&&t.attributions||null,sB=lt(ei,dae),iGe=lt(yp,dae),hae=t=>t===null||t.coordinates.length===0?null:t.coordinates,XL=lt(Jv,hae),oGe=lt(Jv,hae),pae=(t,e)=>t===null||e===null?-1:aoe(e,t),mae=lt(I1,XL,pae),aGe=lt(I1,oGe,pae),gae=(t,e,n)=>t===null?null:n&&e>-1?n.labels[e]:new Date(t).toISOString(),N1=lt(I1,mae,Jv,gae),sGe=lt(I1,aGe,rGe,gae);function lGe(t,e){if(t!==q5){const n=typeof e=="number"?e+1:20;return new G5({tileSize:[256,256],origin:[-180,90],extent:[-180,-90,180,90],resolutions:Array.from({length:n},(r,i)=>180/256/Math.pow(2,i))})}}function cGe(t,e,n,r,i,o,a,s,l){return new qv({url:t,projection:e,tileGrid:n,attributions:r||void 0,transition:i?0:250,imageSmoothing:o,tileLoadFunction:a,maxZoom:l})}function uGe(t){if(t)return(e,n)=>{e instanceof $5&&(t.getView().getInteracting()?t.once("moveend",function(){e.getImage().src=n}):e.getImage().src=n)}}const fGe=Cje(uGe,{serializer:t=>{const e=t[0];if(e){const n=e.getTarget();return typeof n=="string"?n:n&&n.id||"map"}return""}});function dGe(){const t=Rc.map;return fGe(t)}function vae(t,e,n,r,i,o,a,s,l,c,u,f=10){a!==null&&(i=[...i,["time",a]]);const d=x1(e,i);typeof r=="number"&&(r+=3);const h=lGe(l,r),p=cGe(d,l,h,c,s,u,dGe(),n,r);return w.jsx(ooe,{id:t,source:p,zIndex:f,opacity:o})}const hGe=lt(ei,ad,x8e,(t,e,n)=>{if(!t||!n)return null;let r=t.geometry;if(!r)if(t.bbox){const[a,s,l,c]=t.bbox;r={type:"Polygon",coordinates:[[[a,s],[l,s],[l,c],[a,c],[a,s]]]}}else return console.warn(`Dataset ${t.id} has no bbox!`),null;const i=new O1({features:new mp({dataProjection:E1,featureProjection:e}).readFeatures({type:"Feature",geometry:r})}),o=new w1({stroke:new Wc({color:"orange",width:3,lineDash:[2,4]})});return w.jsx(NM,{id:`${t.id}.bbox`,source:i,style:o,zIndex:16,opacity:.5})}),yo=lt(koe,p8e,(t,e)=>{if(t.length===0)throw new Error("internal error: no servers configured");const n=t.find(r=>r.id===e);if(!n)throw new Error(`internal error: server with ID "${e}" not found`);return n}),yae=(t,e,n,r,i,o,a,s,l,c,u,f,d,h,p,m)=>{if(!e||!i||!u)return null;const g=[["crs",p],["vmin",`${a[0]}`],["vmax",`${a[1]}`],["cmap",l||o]];return s!=="lin"&&g.push(["norm",s]),vae(f,bae(t.url,e,i),i.tileLevelMin,i.tileLevelMax,g,c,n,h,p,r,m,d)},pGe=lt(yo,ei,N1,sB,ds,VM,Joe,tae,G8e,oae,b8e,A8e,L8e,WM,ad,D1,yae),mGe=lt(yo,yp,sGe,iGe,L1,rB,U8e,W8e,H8e,q8e,_8e,R8e,$8e,WM,ad,D1,yae),xae=(t,e,n,r,i,o,a,s,l,c,u)=>{if(!e||!n||!r)return null;const f=[["crs",l]];return vae(i,bae(t.url,e,"rgb"),n.tileLevelMin,n.tileLevelMax,f,1,a,s,l,c,u,o)},gGe=lt(yo,ei,Q8e,w8e,I8e,N8e,N1,WM,ad,sB,D1,xae),vGe=lt(yo,yp,Y8e,S8e,D8e,F8e,N1,WM,ad,sB,D1,xae);function bae(t,e,n){return`${t}/tiles/${C5(e)}/${T5(n)}/{z}/{y}/{x}`}function yGe(){return Wt.instance.branding.polygonFillOpacity||.25}function xGe(){return new _1({fill:wae(),stroke:_ae(),radius:6})}function _ae(){return new Wc({color:[200,0,0,.75],width:1.25})}function wae(){return new zh({color:[255,0,0,yGe()]})}function bGe(){return new w1({image:xGe(),stroke:_ae(),fill:wae()})}const _Ge=lt(lae,ad,O8e,(t,e,n)=>{if(!n||t.length===0)return null;const r=[];return t.forEach((i,o)=>{Vv(i)&&r.push(w.jsx(NM,{id:`placeGroup.${i.id}`,style:bGe(),zIndex:100,source:new O1({features:new mp({dataProjection:E1,featureProjection:e}).readFeatures(i)})},o))}),w.jsx(eoe,{children:r})}),wGe=lt(Qoe,t=>{const e=[];return Object.getOwnPropertyNames(t).forEach(n=>{t[n].visible&&e.push(n)}),e}),SGe=lt(Qoe,t=>{const e={};return Object.getOwnPropertyNames(t).forEach(n=>{e[n]=t[n].viewMode||"text"}),e}),OGe=lt(m8e,t=>Object.keys(t).map(e=>t[e])),lB=lt(g8e,t=>[...t,...Ioe]),cB=lt(v8e,t=>[...t,...vVe]),Sae=(t,e,n,r)=>{if(!n||!e)return null;const i=IT(t,e);if(!i)return null;let o=i.attribution;o&&(o.startsWith("http://")||o.startsWith("https://"))&&(o=`© ${i.group}`);let a;if(i.wms){const{layerName:s,styleName:l}=i.wms;a=new Q4e({url:i.url,params:{...l?{STYLES:l}:{},LAYERS:s},attributions:o,attributionsCollapsible:!0})}else{const s=XLe(i.group);a=new qv({url:i.url+(s?`?${s.param}=${s.token}`:""),attributions:o,attributionsCollapsible:!0})}return w.jsx(ooe,{id:i.id,source:a,zIndex:r})},CGe=lt(lB,tB,y8e,()=>0,Sae),TGe=lt(cB,nB,C8e,()=>20,Sae),Oae=(t,e)=>{const n=IT(t,e);return n?RT(n):null},EGe=lt(lB,tB,Oae),PGe=lt(cB,nB,Oae),Cae=t=>({baseMap:"Base Map",datasetRgb2:"Dataset RGB 2",datasetRgb:"Dataset RGB",datasetVariable2:"Dataset Variable 2",datasetVariable:"Dataset Variable",datasetBoundary:"Dataset Boundary",datasetPlaces:"Dataset Places",userPlaces:"User Places",overlay:"Overlay"}),Tae=lt(EGe,PGe,ei,Yv,yp,J5,(t,e,n,r,i,o)=>({baseMap:t||void 0,overlay:e||void 0,datasetRgb:n?n.title:void 0,datasetRgb2:i?i.title:void 0,datasetVariable:n&&r?`${n.title} / ${r}`:void 0,datasetVariable2:i&&o?`${i.title} / ${o}`:void 0})),Eae=lt(tB,nB,A1,qL,Yv,qL,J5,(t,e,n,r,i,o)=>({baseMap:!t,overlay:!e,datasetRgb:!n,datasetRgb2:!r,datasetVariable:!i,datasetVariable2:!o,datasetBoundary:!n}));var Pae={exports:{}};/*! - -JSZip v3.10.1 - A JavaScript class for generating and reading zip files - - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/main/LICENSE -*/(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(c,u){if(!i[c]){if(!r[c]){var f=typeof N0=="function"&&N0;if(!u&&f)return f(c,!0);if(s)return s(c,!0);var d=new Error("Cannot find module '"+c+"'");throw d.code="MODULE_NOT_FOUND",d}var h=i[c]={exports:{}};r[c][0].call(h.exports,function(p){var m=r[c][1][p];return a(m||p)},h,h.exports,n,r,i,o)}return i[c].exports}for(var s=typeof N0=="function"&&N0,l=0;l>2,h=(3&c)<<4|u>>4,p=1>6:64,m=2>4,u=(15&d)<<4|(h=s.indexOf(l.charAt(m++)))>>2,f=(3&h)<<6|(p=s.indexOf(l.charAt(m++))),y[g++]=c,h!==64&&(y[g++]=u),p!==64&&(y[g++]=f);return y}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(u,f,d,h,p){this.compressedSize=u,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}c.prototype={getContentWorker:function(){var u=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return u.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(u,f,d){return u.pipe(new s).pipe(new l("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},r.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,l=[],c=0;c<256;c++){s=c;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;l[c]=s}return l}();r.exports=function(s,l){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(c,u,f,d){var h=a,p=d+f;c^=-1;for(var m=d;m>>8^h[255&(c^u[m])];return-1^c}(0|l,s,s.length,0):function(c,u,f,d){var h=a,p=d+f;c^=-1;for(var m=d;m>>8^h[255&(c^u.charCodeAt(m))];return-1^c}(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),l=n("./stream/GenericWorker"),c=o?"uint8array":"array";function u(f,d){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(u,l),u.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(c,f.data),!1)},u.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},i.compressWorker=function(f){return new u("Deflate",f)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(h,p){var m,g="";for(m=0;m>>=8;return g}function a(h,p,m,g,v,y){var x,b,_=h.file,S=h.compression,O=y!==c.utf8encode,C=s.transformTo("string",y(_.name)),E=s.transformTo("string",c.utf8encode(_.name)),M=_.comment,I=s.transformTo("string",y(M)),P=s.transformTo("string",c.utf8encode(M)),R=E.length!==_.name.length,T=P.length!==M.length,D="",U="",B="",W=_.dir,z=_.date,$={crc32:0,compressedSize:0,uncompressedSize:0};p&&!m||($.crc32=h.crc32,$.compressedSize=h.compressedSize,$.uncompressedSize=h.uncompressedSize);var N=0;p&&(N|=8),O||!R&&!T||(N|=2048);var L=0,A=0;W&&(L|=16),v==="UNIX"?(A=798,L|=function(Y,K){var se=Y;return Y||(se=K?16893:33204),(65535&se)<<16}(_.unixPermissions,W)):(A=20,L|=function(Y){return 63&(Y||0)}(_.dosPermissions)),x=z.getUTCHours(),x<<=6,x|=z.getUTCMinutes(),x<<=5,x|=z.getUTCSeconds()/2,b=z.getUTCFullYear()-1980,b<<=4,b|=z.getUTCMonth()+1,b<<=5,b|=z.getUTCDate(),R&&(U=o(1,1)+o(u(C),4)+E,D+="up"+o(U.length,2)+U),T&&(B=o(1,1)+o(u(I),4)+P,D+="uc"+o(B.length,2)+B);var q="";return q+=` -\0`,q+=o(N,2),q+=S.magic,q+=o(x,2),q+=o(b,2),q+=o($.crc32,4),q+=o($.compressedSize,4),q+=o($.uncompressedSize,4),q+=o(C.length,2),q+=o(D.length,2),{fileRecord:f.LOCAL_FILE_HEADER+q+C+D,dirRecord:f.CENTRAL_FILE_HEADER+o(A,2)+q+o(I.length,2)+"\0\0\0\0"+o(L,4)+o(g,4)+C+D+I}}var s=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),u=n("../crc32"),f=n("../signature");function d(h,p,m,g){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=m,this.encodeFileName=g,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,l),d.prototype.push=function(h){var p=h.meta.percent||0,m=this.entriesCount,g=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:m?(p+100*(m-g-1))/m:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var m=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,m=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),p)this.push({data:function(g){return f.DATA_DESCRIPTOR+o(g.crc32,4)+o(g.compressedSize,4)+o(g.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=s,c},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(f){var d=o.getTypeOf(f);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new c(f):a.uint8array?new u(o.transformTo("uint8array",f)):new s(o.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(l){o.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(s,o),s.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}o.inherits(s,a),s.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(u){c.dataIsReady=!0,c.data=u,c.max=u&&u.length||0,c.type=o.getTypeOf(u),c.isPaused||c._tickAndRepeat()},function(u){c.error(u)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var l=0;l "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),l=n("../base64"),c=n("../support"),u=n("../external"),f=null;if(c.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,m){return new u.Promise(function(g,v){var y=[],x=p._internalType,b=p._outputType,_=p._mimeType;p.on("data",function(S,O){y.push(S),m&&m(O)}).on("error",function(S){y=[],v(S)}).on("end",function(){try{var S=function(O,C,E){switch(O){case"blob":return o.newBlob(o.transformTo("arraybuffer",C),E);case"base64":return l.encode(C);default:return o.transformTo(O,C)}}(b,function(O,C){var E,M=0,I=null,P=0;for(E=0;E"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),l=n("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function d(){l.call(this,"utf-8 encode")}i.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var m,g,v,y,x,b=p.length,_=0;for(y=0;y>>6:(g<65536?m[x++]=224|g>>>12:(m[x++]=240|g>>>18,m[x++]=128|g>>>12&63),m[x++]=128|g>>>6&63),m[x++]=128|63&g);return m}(h)},i.utf8decode=function(h){return a.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(p){var m,g,v,y,x=p.length,b=new Array(2*x);for(m=g=0;m>10&1023,b[g++]=56320|1023&v)}return b.length!==g&&(b.subarray?b=b.subarray(0,g):b.length=g),o.applyFromCharCode(b)}(h=o.transformTo(a.uint8array?"uint8array":"array",h))},o.inherits(f,l),f.prototype.processChunk=function(h){var p=o.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var m=p;(p=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),p.set(m,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var g=function(y,x){var b;for((x=x||y.length)>y.length&&(x=y.length),b=x-1;0<=b&&(192&y[b])==128;)b--;return b<0||b===0?x:b+c[y[b]]>x?b:x}(p),v=p;g!==p.length&&(a.uint8array?(v=p.subarray(0,g),this.leftOver=p.subarray(g,p.length)):(v=p.slice(0,g),this.leftOver=p.slice(g,p.length))),this.push({data:i.utf8decode(v),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,o.inherits(d,l),d.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function c(m){return m}function u(m,g){for(var v=0;v>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,m,g,v=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4>>6:(h<65536?d[g++]=224|h>>>12:(d[g++]=240|h>>>18,d[g++]=128|h>>>12&63),d[g++]=128|h>>>6&63),d[g++]=128|63&h);return d},i.buf2binstring=function(f){return u(f,f.length)},i.binstring2buf=function(f){for(var d=new o.Buf8(f.length),h=0,p=d.length;h>10&1023,y[p++]=56320|1023&m)}return u(y,p)},i.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+l[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,l){for(var c=65535&o|0,u=o>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3>>1:a>>>1;s[l]=a}return s}();r.exports=function(a,s,l,c){var u=o,f=c+l;a^=-1;for(var d=c;d>>8^u[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),l=n("./adler32"),c=n("./crc32"),u=n("./messages"),f=0,d=4,h=0,p=-2,m=-1,g=4,v=2,y=8,x=9,b=286,_=30,S=19,O=2*b+1,C=15,E=3,M=258,I=M+E+1,P=42,R=113,T=1,D=2,U=3,B=4;function W(F,ce){return F.msg=u[ce],ce}function z(F){return(F<<1)-(4F.avail_out&&(le=F.avail_out),le!==0&&(a.arraySet(F.output,ce.pending_buf,ce.pending_out,le,F.next_out),F.next_out+=le,ce.pending_out+=le,F.total_out+=le,F.avail_out-=le,ce.pending-=le,ce.pending===0&&(ce.pending_out=0))}function L(F,ce){s._tr_flush_block(F,0<=F.block_start?F.block_start:-1,F.strstart-F.block_start,ce),F.block_start=F.strstart,N(F.strm)}function A(F,ce){F.pending_buf[F.pending++]=ce}function q(F,ce){F.pending_buf[F.pending++]=ce>>>8&255,F.pending_buf[F.pending++]=255&ce}function Y(F,ce){var le,Q,X=F.max_chain_length,J=F.strstart,ge=F.prev_length,ye=F.nice_match,V=F.strstart>F.w_size-I?F.strstart-(F.w_size-I):0,H=F.window,re=F.w_mask,he=F.prev,we=F.strstart+M,oe=H[J+ge-1],Z=H[J+ge];F.prev_length>=F.good_match&&(X>>=2),ye>F.lookahead&&(ye=F.lookahead);do if(H[(le=ce)+ge]===Z&&H[le+ge-1]===oe&&H[le]===H[J]&&H[++le]===H[J+1]){J+=2,le++;do;while(H[++J]===H[++le]&&H[++J]===H[++le]&&H[++J]===H[++le]&&H[++J]===H[++le]&&H[++J]===H[++le]&&H[++J]===H[++le]&&H[++J]===H[++le]&&H[++J]===H[++le]&&JV&&--X!=0);return ge<=F.lookahead?ge:F.lookahead}function K(F){var ce,le,Q,X,J,ge,ye,V,H,re,he=F.w_size;do{if(X=F.window_size-F.lookahead-F.strstart,F.strstart>=he+(he-I)){for(a.arraySet(F.window,F.window,he,he,0),F.match_start-=he,F.strstart-=he,F.block_start-=he,ce=le=F.hash_size;Q=F.head[--ce],F.head[ce]=he<=Q?Q-he:0,--le;);for(ce=le=he;Q=F.prev[--ce],F.prev[ce]=he<=Q?Q-he:0,--le;);X+=he}if(F.strm.avail_in===0)break;if(ge=F.strm,ye=F.window,V=F.strstart+F.lookahead,H=X,re=void 0,re=ge.avail_in,H=E)for(J=F.strstart-F.insert,F.ins_h=F.window[J],F.ins_h=(F.ins_h<=E&&(F.ins_h=(F.ins_h<=E)if(Q=s._tr_tally(F,F.strstart-F.match_start,F.match_length-E),F.lookahead-=F.match_length,F.match_length<=F.max_lazy_match&&F.lookahead>=E){for(F.match_length--;F.strstart++,F.ins_h=(F.ins_h<=E&&(F.ins_h=(F.ins_h<=E&&F.match_length<=F.prev_length){for(X=F.strstart+F.lookahead-E,Q=s._tr_tally(F,F.strstart-1-F.prev_match,F.prev_length-E),F.lookahead-=F.prev_length-1,F.prev_length-=2;++F.strstart<=X&&(F.ins_h=(F.ins_h<F.pending_buf_size-5&&(le=F.pending_buf_size-5);;){if(F.lookahead<=1){if(K(F),F.lookahead===0&&ce===f)return T;if(F.lookahead===0)break}F.strstart+=F.lookahead,F.lookahead=0;var Q=F.block_start+le;if((F.strstart===0||F.strstart>=Q)&&(F.lookahead=F.strstart-Q,F.strstart=Q,L(F,!1),F.strm.avail_out===0)||F.strstart-F.block_start>=F.w_size-I&&(L(F,!1),F.strm.avail_out===0))return T}return F.insert=0,ce===d?(L(F,!0),F.strm.avail_out===0?U:B):(F.strstart>F.block_start&&(L(F,!1),F.strm.avail_out),T)}),new te(4,4,8,4,se),new te(4,5,16,8,se),new te(4,6,32,32,se),new te(4,4,16,16,ee),new te(8,16,32,32,ee),new te(8,16,128,128,ee),new te(8,32,128,256,ee),new te(32,128,258,1024,ee),new te(32,258,258,4096,ee)],i.deflateInit=function(F,ce){return ve(F,ce,y,15,8,0)},i.deflateInit2=ve,i.deflateReset=ie,i.deflateResetKeep=xe,i.deflateSetHeader=function(F,ce){return F&&F.state?F.state.wrap!==2?p:(F.state.gzhead=ce,h):p},i.deflate=function(F,ce){var le,Q,X,J;if(!F||!F.state||5>8&255),A(Q,Q.gzhead.time>>16&255),A(Q,Q.gzhead.time>>24&255),A(Q,Q.level===9?2:2<=Q.strategy||Q.level<2?4:0),A(Q,255&Q.gzhead.os),Q.gzhead.extra&&Q.gzhead.extra.length&&(A(Q,255&Q.gzhead.extra.length),A(Q,Q.gzhead.extra.length>>8&255)),Q.gzhead.hcrc&&(F.adler=c(F.adler,Q.pending_buf,Q.pending,0)),Q.gzindex=0,Q.status=69):(A(Q,0),A(Q,0),A(Q,0),A(Q,0),A(Q,0),A(Q,Q.level===9?2:2<=Q.strategy||Q.level<2?4:0),A(Q,3),Q.status=R);else{var ge=y+(Q.w_bits-8<<4)<<8;ge|=(2<=Q.strategy||Q.level<2?0:Q.level<6?1:Q.level===6?2:3)<<6,Q.strstart!==0&&(ge|=32),ge+=31-ge%31,Q.status=R,q(Q,ge),Q.strstart!==0&&(q(Q,F.adler>>>16),q(Q,65535&F.adler)),F.adler=1}if(Q.status===69)if(Q.gzhead.extra){for(X=Q.pending;Q.gzindex<(65535&Q.gzhead.extra.length)&&(Q.pending!==Q.pending_buf_size||(Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),N(F),X=Q.pending,Q.pending!==Q.pending_buf_size));)A(Q,255&Q.gzhead.extra[Q.gzindex]),Q.gzindex++;Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),Q.gzindex===Q.gzhead.extra.length&&(Q.gzindex=0,Q.status=73)}else Q.status=73;if(Q.status===73)if(Q.gzhead.name){X=Q.pending;do{if(Q.pending===Q.pending_buf_size&&(Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),N(F),X=Q.pending,Q.pending===Q.pending_buf_size)){J=1;break}J=Q.gzindexX&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),J===0&&(Q.gzindex=0,Q.status=91)}else Q.status=91;if(Q.status===91)if(Q.gzhead.comment){X=Q.pending;do{if(Q.pending===Q.pending_buf_size&&(Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),N(F),X=Q.pending,Q.pending===Q.pending_buf_size)){J=1;break}J=Q.gzindexX&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),J===0&&(Q.status=103)}else Q.status=103;if(Q.status===103&&(Q.gzhead.hcrc?(Q.pending+2>Q.pending_buf_size&&N(F),Q.pending+2<=Q.pending_buf_size&&(A(Q,255&F.adler),A(Q,F.adler>>8&255),F.adler=0,Q.status=R)):Q.status=R),Q.pending!==0){if(N(F),F.avail_out===0)return Q.last_flush=-1,h}else if(F.avail_in===0&&z(ce)<=z(le)&&ce!==d)return W(F,-5);if(Q.status===666&&F.avail_in!==0)return W(F,-5);if(F.avail_in!==0||Q.lookahead!==0||ce!==f&&Q.status!==666){var ye=Q.strategy===2?function(V,H){for(var re;;){if(V.lookahead===0&&(K(V),V.lookahead===0)){if(H===f)return T;break}if(V.match_length=0,re=s._tr_tally(V,0,V.window[V.strstart]),V.lookahead--,V.strstart++,re&&(L(V,!1),V.strm.avail_out===0))return T}return V.insert=0,H===d?(L(V,!0),V.strm.avail_out===0?U:B):V.last_lit&&(L(V,!1),V.strm.avail_out===0)?T:D}(Q,ce):Q.strategy===3?function(V,H){for(var re,he,we,oe,Z=V.window;;){if(V.lookahead<=M){if(K(V),V.lookahead<=M&&H===f)return T;if(V.lookahead===0)break}if(V.match_length=0,V.lookahead>=E&&0V.lookahead&&(V.match_length=V.lookahead)}if(V.match_length>=E?(re=s._tr_tally(V,1,V.match_length-E),V.lookahead-=V.match_length,V.strstart+=V.match_length,V.match_length=0):(re=s._tr_tally(V,0,V.window[V.strstart]),V.lookahead--,V.strstart++),re&&(L(V,!1),V.strm.avail_out===0))return T}return V.insert=0,H===d?(L(V,!0),V.strm.avail_out===0?U:B):V.last_lit&&(L(V,!1),V.strm.avail_out===0)?T:D}(Q,ce):o[Q.level].func(Q,ce);if(ye!==U&&ye!==B||(Q.status=666),ye===T||ye===U)return F.avail_out===0&&(Q.last_flush=-1),h;if(ye===D&&(ce===1?s._tr_align(Q):ce!==5&&(s._tr_stored_block(Q,0,0,!1),ce===3&&($(Q.head),Q.lookahead===0&&(Q.strstart=0,Q.block_start=0,Q.insert=0))),N(F),F.avail_out===0))return Q.last_flush=-1,h}return ce!==d?h:Q.wrap<=0?1:(Q.wrap===2?(A(Q,255&F.adler),A(Q,F.adler>>8&255),A(Q,F.adler>>16&255),A(Q,F.adler>>24&255),A(Q,255&F.total_in),A(Q,F.total_in>>8&255),A(Q,F.total_in>>16&255),A(Q,F.total_in>>24&255)):(q(Q,F.adler>>>16),q(Q,65535&F.adler)),N(F),0=le.w_size&&(J===0&&($(le.head),le.strstart=0,le.block_start=0,le.insert=0),H=new a.Buf8(le.w_size),a.arraySet(H,ce,re-le.w_size,le.w_size,0),ce=H,re=le.w_size),ge=F.avail_in,ye=F.next_in,V=F.input,F.avail_in=re,F.next_in=0,F.input=ce,K(le);le.lookahead>=E;){for(Q=le.strstart,X=le.lookahead-(E-1);le.ins_h=(le.ins_h<>>=E=C>>>24,x-=E,(E=C>>>16&255)===0)D[u++]=65535&C;else{if(!(16&E)){if(!(64&E)){C=b[(65535&C)+(y&(1<>>=E,x-=E),x<15&&(y+=T[l++]<>>=E=C>>>24,x-=E,!(16&(E=C>>>16&255))){if(!(64&E)){C=_[(65535&C)+(y&(1<>>=E,x-=E,(E=u-f)>3,y&=(1<<(x-=M<<3))-1,o.next_in=l,o.next_out=u,o.avail_in=l>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function y(){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 o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x(P){var R;return P&&P.state?(R=P.state,P.total_in=P.total_out=R.total=0,P.msg="",R.wrap&&(P.adler=1&R.wrap),R.mode=p,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new o.Buf32(m),R.distcode=R.distdyn=new o.Buf32(g),R.sane=1,R.back=-1,d):h}function b(P){var R;return P&&P.state?((R=P.state).wsize=0,R.whave=0,R.wnext=0,x(P)):h}function _(P,R){var T,D;return P&&P.state?(D=P.state,R<0?(T=0,R=-R):(T=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15=B.wsize?(o.arraySet(B.window,R,T-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(D<(U=B.wsize-B.wnext)&&(U=D),o.arraySet(B.window,R,T-D,U,B.wnext),(D-=U)?(o.arraySet(B.window,R,T-D,D,0),B.wnext=D,B.whave=B.wsize):(B.wnext+=U,B.wnext===B.wsize&&(B.wnext=0),B.whave>>8&255,T.check=s(T.check,J,2,0),L=N=0,T.mode=2;break}if(T.flags=0,T.head&&(T.head.done=!1),!(1&T.wrap)||(((255&N)<<8)+(N>>8))%31){P.msg="incorrect header check",T.mode=30;break}if((15&N)!=8){P.msg="unknown compression method",T.mode=30;break}if(L-=4,F=8+(15&(N>>>=4)),T.wbits===0)T.wbits=F;else if(F>T.wbits){P.msg="invalid window size",T.mode=30;break}T.dmax=1<>8&1),512&T.flags&&(J[0]=255&N,J[1]=N>>>8&255,T.check=s(T.check,J,2,0)),L=N=0,T.mode=3;case 3:for(;L<32;){if(z===0)break e;z--,N+=D[B++]<>>8&255,J[2]=N>>>16&255,J[3]=N>>>24&255,T.check=s(T.check,J,4,0)),L=N=0,T.mode=4;case 4:for(;L<16;){if(z===0)break e;z--,N+=D[B++]<>8),512&T.flags&&(J[0]=255&N,J[1]=N>>>8&255,T.check=s(T.check,J,2,0)),L=N=0,T.mode=5;case 5:if(1024&T.flags){for(;L<16;){if(z===0)break e;z--,N+=D[B++]<>>8&255,T.check=s(T.check,J,2,0)),L=N=0}else T.head&&(T.head.extra=null);T.mode=6;case 6:if(1024&T.flags&&(z<(Y=T.length)&&(Y=z),Y&&(T.head&&(F=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),o.arraySet(T.head.extra,D,B,Y,F)),512&T.flags&&(T.check=s(T.check,D,Y,B)),z-=Y,B+=Y,T.length-=Y),T.length))break e;T.length=0,T.mode=7;case 7:if(2048&T.flags){if(z===0)break e;for(Y=0;F=D[B+Y++],T.head&&F&&T.length<65536&&(T.head.name+=String.fromCharCode(F)),F&&Y>9&1,T.head.done=!0),P.adler=T.check=0,T.mode=12;break;case 10:for(;L<32;){if(z===0)break e;z--,N+=D[B++]<>>=7&L,L-=7&L,T.mode=27;break}for(;L<3;){if(z===0)break e;z--,N+=D[B++]<>>=1)){case 0:T.mode=14;break;case 1:if(M(T),T.mode=20,R!==6)break;N>>>=2,L-=2;break e;case 2:T.mode=17;break;case 3:P.msg="invalid block type",T.mode=30}N>>>=2,L-=2;break;case 14:for(N>>>=7&L,L-=7&L;L<32;){if(z===0)break e;z--,N+=D[B++]<>>16^65535)){P.msg="invalid stored block lengths",T.mode=30;break}if(T.length=65535&N,L=N=0,T.mode=15,R===6)break e;case 15:T.mode=16;case 16:if(Y=T.length){if(z>>=5,L-=5,T.ndist=1+(31&N),N>>>=5,L-=5,T.ncode=4+(15&N),N>>>=4,L-=4,286>>=3,L-=3}for(;T.have<19;)T.lens[ge[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,le={bits:T.lenbits},ce=c(0,T.lens,0,19,T.lencode,0,T.work,le),T.lenbits=le.bits,ce){P.msg="invalid code lengths set",T.mode=30;break}T.have=0,T.mode=19;case 19:for(;T.have>>16&255,de=65535&X,!((ee=X>>>24)<=L);){if(z===0)break e;z--,N+=D[B++]<>>=ee,L-=ee,T.lens[T.have++]=de;else{if(de===16){for(Q=ee+2;L>>=ee,L-=ee,T.have===0){P.msg="invalid bit length repeat",T.mode=30;break}F=T.lens[T.have-1],Y=3+(3&N),N>>>=2,L-=2}else if(de===17){for(Q=ee+3;L>>=ee)),N>>>=3,L-=3}else{for(Q=ee+7;L>>=ee)),N>>>=7,L-=7}if(T.have+Y>T.nlen+T.ndist){P.msg="invalid bit length repeat",T.mode=30;break}for(;Y--;)T.lens[T.have++]=F}}if(T.mode===30)break;if(T.lens[256]===0){P.msg="invalid code -- missing end-of-block",T.mode=30;break}if(T.lenbits=9,le={bits:T.lenbits},ce=c(u,T.lens,0,T.nlen,T.lencode,0,T.work,le),T.lenbits=le.bits,ce){P.msg="invalid literal/lengths set",T.mode=30;break}if(T.distbits=6,T.distcode=T.distdyn,le={bits:T.distbits},ce=c(f,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,le),T.distbits=le.bits,ce){P.msg="invalid distances set",T.mode=30;break}if(T.mode=20,R===6)break e;case 20:T.mode=21;case 21:if(6<=z&&258<=$){P.next_out=W,P.avail_out=$,P.next_in=B,P.avail_in=z,T.hold=N,T.bits=L,l(P,q),W=P.next_out,U=P.output,$=P.avail_out,B=P.next_in,D=P.input,z=P.avail_in,N=T.hold,L=T.bits,T.mode===12&&(T.back=-1);break}for(T.back=0;te=(X=T.lencode[N&(1<>>16&255,de=65535&X,!((ee=X>>>24)<=L);){if(z===0)break e;z--,N+=D[B++]<>xe)])>>>16&255,de=65535&X,!(xe+(ee=X>>>24)<=L);){if(z===0)break e;z--,N+=D[B++]<>>=xe,L-=xe,T.back+=xe}if(N>>>=ee,L-=ee,T.back+=ee,T.length=de,te===0){T.mode=26;break}if(32&te){T.back=-1,T.mode=12;break}if(64&te){P.msg="invalid literal/length code",T.mode=30;break}T.extra=15&te,T.mode=22;case 22:if(T.extra){for(Q=T.extra;L>>=T.extra,L-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=23;case 23:for(;te=(X=T.distcode[N&(1<>>16&255,de=65535&X,!((ee=X>>>24)<=L);){if(z===0)break e;z--,N+=D[B++]<>xe)])>>>16&255,de=65535&X,!(xe+(ee=X>>>24)<=L);){if(z===0)break e;z--,N+=D[B++]<>>=xe,L-=xe,T.back+=xe}if(N>>>=ee,L-=ee,T.back+=ee,64&te){P.msg="invalid distance code",T.mode=30;break}T.offset=de,T.extra=15&te,T.mode=24;case 24:if(T.extra){for(Q=T.extra;L>>=T.extra,L-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){P.msg="invalid distance too far back",T.mode=30;break}T.mode=25;case 25:if($===0)break e;if(Y=q-$,T.offset>Y){if((Y=T.offset-Y)>T.whave&&T.sane){P.msg="invalid distance too far back",T.mode=30;break}K=Y>T.wnext?(Y-=T.wnext,T.wsize-Y):T.wnext-Y,Y>T.length&&(Y=T.length),se=T.window}else se=U,K=W-T.offset,Y=T.length;for($O?(E=K[se+g[R]],L[A+g[R]]):(E=96,0),y=1<>W)+(x-=y)]=C<<24|E<<16|M|0,x!==0;);for(y=1<>=1;if(y!==0?(N&=y-1,N+=y):N=0,R++,--q[P]==0){if(P===D)break;P=f[d+g[R]]}if(U>>7)]}function A(X,J){X.pending_buf[X.pending++]=255&J,X.pending_buf[X.pending++]=J>>>8&255}function q(X,J,ge){X.bi_valid>v-ge?(X.bi_buf|=J<>v-X.bi_valid,X.bi_valid+=ge-v):(X.bi_buf|=J<>>=1,ge<<=1,0<--J;);return ge>>>1}function se(X,J,ge){var ye,V,H=new Array(g+1),re=0;for(ye=1;ye<=g;ye++)H[ye]=re=re+ge[ye-1]<<1;for(V=0;V<=J;V++){var he=X[2*V+1];he!==0&&(X[2*V]=K(H[he]++,he))}}function ee(X){var J;for(J=0;J>1;1<=ge;ge--)xe(X,H,ge);for(V=we;ge=X.heap[1],X.heap[1]=X.heap[X.heap_len--],xe(X,H,1),ye=X.heap[1],X.heap[--X.heap_max]=ge,X.heap[--X.heap_max]=ye,H[2*V]=H[2*ge]+H[2*ye],X.depth[V]=(X.depth[ge]>=X.depth[ye]?X.depth[ge]:X.depth[ye])+1,H[2*ge+1]=H[2*ye+1]=V,X.heap[1]=V++,xe(X,H,1),2<=X.heap_len;);X.heap[--X.heap_max]=X.heap[1],function(Z,G){var fe,_e,Me,me,Fe,Pe,Re=G.dyn_tree,ae=G.max_code,Le=G.stat_desc.static_tree,Te=G.stat_desc.has_stree,ze=G.stat_desc.extra_bits,He=G.stat_desc.extra_base,xt=G.stat_desc.max_length,It=0;for(me=0;me<=g;me++)Z.bl_count[me]=0;for(Re[2*Z.heap[Z.heap_max]+1]=0,fe=Z.heap_max+1;fe>=7;V>>=1)if(1&oe&&he.dyn_ltree[2*we]!==0)return a;if(he.dyn_ltree[18]!==0||he.dyn_ltree[20]!==0||he.dyn_ltree[26]!==0)return s;for(we=32;we>>3,(H=X.static_len+3+7>>>3)<=V&&(V=H)):V=H=ge+5,ge+4<=V&&J!==-1?Q(X,J,ge,ye):X.strategy===4||H===V?(q(X,2+(ye?1:0),3),ie(X,I,P)):(q(X,4+(ye?1:0),3),function(he,we,oe,Z){var G;for(q(he,we-257,5),q(he,oe-1,5),q(he,Z-4,4),G=0;G>>8&255,X.pending_buf[X.d_buf+2*X.last_lit+1]=255&J,X.pending_buf[X.l_buf+X.last_lit]=255&ge,X.last_lit++,J===0?X.dyn_ltree[2*ge]++:(X.matches++,J--,X.dyn_ltree[2*(T[ge]+f+1)]++,X.dyn_dtree[2*L(J)]++),X.last_lit===X.lit_bufsize-1},i._tr_align=function(X){q(X,2,3),Y(X,x,I),function(J){J.bi_valid===16?(A(J,J.bi_buf),J.bi_buf=0,J.bi_valid=0):8<=J.bi_valid&&(J.pending_buf[J.pending++]=255&J.bi_buf,J.bi_buf>>=8,J.bi_valid-=8)}(X)}},{"../utils/common":41}],53:[function(n,r,i){r.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}},{}],54:[function(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var l,c,u,f,d=1,h={},p=!1,m=a.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(a);g=g&&g.setTimeout?g:a,l={}.toString.call(a.process)==="[object process]"?function(b){process.nextTick(function(){y(b)})}:function(){if(a.postMessage&&!a.importScripts){var b=!0,_=a.onmessage;return a.onmessage=function(){b=!1},a.postMessage("","*"),a.onmessage=_,b}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",x,!1):a.attachEvent("onmessage",x),function(b){a.postMessage(f+b,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(b){y(b.data)},function(b){u.port2.postMessage(b)}):m&&"onreadystatechange"in m.createElement("script")?(c=m.documentElement,function(b){var _=m.createElement("script");_.onreadystatechange=function(){y(b),_.onreadystatechange=null,c.removeChild(_),_=null},c.appendChild(_)}):function(b){setTimeout(y,0,b)},g.setImmediate=function(b){typeof b!="function"&&(b=new Function(""+b));for(var _=new Array(arguments.length-1),S=0;S<_.length;S++)_[S]=arguments[S+1];var O={callback:b,args:_};return h[d]=O,l(d),d++},g.clearImmediate=v}function v(b){delete h[b]}function y(b){if(p)setTimeout(y,0,b);else{var _=h[b];if(_){p=!0;try{(function(S){var O=S.callback,C=S.args;switch(C.length){case 0:O();break;case 1:O(C[0]);break;case 2:O(C[0],C[1]);break;case 3:O(C[0],C[1],C[2]);break;default:O.apply(s,C)}})(_)}finally{v(b),p=!1}}}}function x(b){b.source===a&&typeof b.data=="string"&&b.data.indexOf(f)===0&&y(+b.data.slice(f.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof Yn<"u"?Yn:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Pae);var MGe=Pae.exports;const kGe=$t(MGe);var Mae={exports:{}};(function(t,e){(function(n,r){r()})(Yn,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function i(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function o(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Yn=="object"&&Yn.global===Yn?Yn:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?o(h):i(h.href)?r(c,u,f):o(h,h.target="_blank")):(h.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){o(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),u);else if(i(c))r(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){o(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,f);var h=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&p||s)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var x=g.result;x=m?x:x.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=x:location=x,d=null},g.readAsDataURL(c)}else{var v=a.URL||a.webkitURL,y=v.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){v.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,t.exports=l})})(Mae);var kae=Mae.exports;const Aae="POST_MESSAGE";function Nl(t,e){return{type:Aae,messageType:t,messageText:typeof e=="string"?e:e.message}}const Rae="HIDE_MESSAGE";function AGe(t){return{type:Rae,messageId:t}}function RGe(t,e,n){Rc[t]}function IGe(t,e,n){if(Rc[t]){const r=Rc[t],i=r.getView().getProjection(),a=(Array.isArray(e)?wL(e):e).transform(E1,i);a.getType()==="Point"?r.getView().setCenter(a.getFirstCoordinate()):n?r.getView().fit(a,{size:r.getSize()}):r.getView().setCenter(Wf(a.getExtent()))}}function DGe(t,e,n,r,i,o){const a=[["time",i]],s=x1(`${t}/statistics/${C5(e)}/${T5(n)}`,a),l={...y1(o),method:"post",body:JSON.stringify(r.place.geometry)},c={dataset:e,variable:n,placeInfo:r,time:i};return gp(s,l,u=>({source:c,statistics:u.result}))}const LT="UPDATE_SERVER_INFO";function LGe(){return(t,e)=>{const n=yo(e());t(QM(LT,pe.get("Connecting to server"))),DFe(n.url).then(r=>{t($Ge(r))}).catch(r=>{t(Nl("error",r))}).then(()=>{t(YM(LT))})}}function $Ge(t){return{type:LT,serverInfo:t}}const vG="UPDATE_RESOURCES";function Iae(){return(t,e)=>{const n=yo(e());t(QM(vG,pe.get("Updating resources"))),UFe(n.url,e().userAuthState.accessToken).then(r=>{r&&window.location.reload()}).finally(()=>t(YM(vG)))}}const Cb="UPDATE_DATASETS";function Dae(){return(t,e)=>{const n=yo(e());t(QM(Cb,pe.get("Loading data"))),NFe(n.url,e().userAuthState.accessToken).then(r=>{const i=r8e();if(r=r.map(o=>({...o,variables:[...o.variables,...i[o.id]||[]]})),t(yG(r)),r.length>0){const o=e().controlState.selectedDatasetId||r[0].id;t(Kae(o,r,!0))}}).catch(r=>{t(Nl("error",r)),t(yG([]))}).then(()=>{t(YM(Cb))})}}function yG(t){return{type:Cb,datasets:t}}function NGe(t,e){return(n,r)=>{n(FGe(t,e));const i={};r().dataState.datasets.forEach(o=>{const[a,s]=E5(o);s.length>=0&&(i[o.id]=s)}),n8e(i)}}const Lae="UPDATE_DATASET_USER_VARIABLES";function FGe(t,e){return{type:Lae,datasetId:t,userVariables:e}}const uB="UPDATE_DATASET_PLACE_GROUP";function jGe(t,e){return{type:uB,datasetId:t,placeGroup:e}}const fB="ADD_DRAWN_USER_PLACE";function BGe(t,e,n,r,i){return(o,a)=>{o(zGe(t,e,n,r,i)),a().controlState.autoShowTimeSeries&&a().controlState.selectedPlaceId===e&&o(HM())}}function zGe(t,e,n,r,i){return{type:fB,placeGroupTitle:t,id:e,properties:n,geometry:r,selected:i}}const dB="ADD_IMPORTED_USER_PLACES";function UGe(t,e,n){return{type:dB,placeGroups:t,mapProjection:e,selected:n}}function $ae(t){return(e,n)=>{const r=E8e(n());let i;try{if(r==="csv"){const o=P8e(n());i=UVe(t,o)}else if(r==="geojson"){const o=M8e(n());i=qVe(t,o)}else if(r==="wkt"){const o=k8e(n());i=KVe(t,o)}else i=[]}catch(o){e(Nl("error",o)),e(xp("addUserPlacesFromText")),i=[]}if(i.length>0){if(e(UGe(i,ad(n()),!0)),i.length===1&&i[0].features.length===1){const a=i[0].features[0];e(qM(a.id,$1(n()),!0)),n().controlState.autoShowTimeSeries&&e(HM())}let o=0;i.forEach(a=>{o+=a.features?a.features.length:0}),e(Nl("info",pe.get(`Imported ${o} place(s) in ${i.length} groups(s), 1 selected`)))}else e(Nl("warning",pe.get("No places imported")))}}const hB="RENAME_USER_PLACE_GROUP";function WGe(t,e){return{type:hB,placeGroupId:t,newName:e}}const Nae="RENAME_USER_PLACE";function VGe(t,e,n){return r=>{r(GGe(t,e,n)),RGe(t)}}function GGe(t,e,n){return{type:Nae,placeGroupId:t,placeId:e,newName:n}}const pB="REMOVE_USER_PLACE";function HGe(t,e,n){return{type:pB,placeGroupId:t,placeId:e,places:n}}const Fae="REMOVE_USER_PLACE_GROUP";function qGe(t){return{type:Fae,placeGroupId:t}}function XGe(){return(t,e)=>{const n=yo(e()),r=ei(e()),i=ds(e()),o=GM(e()),a=N1(e()),s=e().controlState.sidebarOpen,l=e().controlState.sidebarPanelId;r&&i&&o&&a&&(l!=="stats"&&t(bB("stats")),s||t(xB(!0)),t(xG(null)),DGe(n.url,r,i,o,a,e().userAuthState.accessToken).then(c=>t(xG(c))).catch(c=>{t(Nl("error",c))}))}}const jae="ADD_STATISTICS";function xG(t){return{type:jae,statistics:t}}const Bae="REMOVE_STATISTICS";function QGe(t){return{type:Bae,index:t}}function HM(){return(t,e)=>{const n=yo(e()),r=ei(e()),i=Jv(e()),o=ds(e()),a=R1(e()),s=cae(e()),l=e().controlState.timeSeriesUpdateMode,c=e().controlState.timeSeriesUseMedian,u=e().controlState.timeSeriesIncludeStdev;let f=nGe(e());const d=e().controlState.sidebarOpen,h=e().controlState.sidebarPanelId,p=Aoe(e());if(r&&o&&a&&i){h!=="timeSeries"&&t(bB("timeSeries")),d||t(xB(!0));const m=i.labels,g=m.length;f=f>0?f:g;let v=g-1,y=v-f+1;const x=()=>{const _=y>=0?m[y]:null,S=m[v];return zFe(n.url,r,o,s.id,s.geometry,_,S,c,u,e().userAuthState.accessToken)},b=_=>{if(_!==null&&bG(p,s.id)){const S=y>0,O=S?(g-y)/g:1;t(YGe({..._,dataProgress:O},l,v===g-1?"new":"append")),S&&bG(p,s.id)&&(y-=f,v-=f,x().then(b))}else t(Nl("info","No data found here"))};x().then(b).catch(_=>{t(Nl("error",_))})}}}function bG(t,e){return A5(t,e)!==null}const zae="UPDATE_TIME_SERIES";function YGe(t,e,n){return{type:zae,timeSeries:t,updateMode:e,dataMode:n}}const Uae="ADD_PLACE_GROUP_TIME_SERIES";function KGe(t,e){return{type:Uae,timeSeriesGroupId:t,timeSeries:e}}const Wae="REMOVE_TIME_SERIES";function ZGe(t,e){return{type:Wae,groupId:t,index:e}}const Vae="REMOVE_TIME_SERIES_GROUP";function JGe(t){return{type:Vae,id:t}}const Gae="REMOVE_ALL_TIME_SERIES";function eHe(){return{type:Gae}}const mB="CONFIGURE_SERVERS";function tHe(t,e){return(n,r)=>{r().controlState.selectedServerId!==e?(n(eHe()),n(_G(t,e)),n(gB())):r().dataState.userServers!==t&&n(_G(t,e))}}function _G(t,e){return{type:mB,servers:t,selectedServerId:e}}function gB(){return t=>{t(LGe()),t(Dae()),t(nHe())}}const Hae="UPDATE_COLOR_BARS";function nHe(){return(t,e)=>{const n=yo(e());LFe(n.url).then(r=>{t(rHe(r))}).catch(r=>{t(Nl("error",r))})}}function rHe(t){return{type:Hae,colorBars:t}}const qae="UPDATE_VARIABLE_COLOR_BAR";function iHe(t,e,n,r){return(i,o)=>{const a=o().controlState.selectedDatasetId,s=o().controlState.selectedVariableName;if(a&&s){if(n==="log"){let[l,c]=e;l<=0&&(l=.001),c<=l&&(c=1),e=[l,c]}i(oHe(a,s,t,e,n,r))}}}function oHe(t,e,n,r,i,o){return{type:qae,datasetId:t,variableName:e,colorBarName:n,colorBarMinMax:r,colorBarNorm:i,opacity:o}}const Xae="UPDATE_VARIABLE_VOLUME";function aHe(t,e,n,r,i){return{type:Xae,datasetId:t,variableName:e,variableColorBar:n,volumeRenderMode:r,volumeIsoThreshold:i}}function sHe(){return(t,e)=>{const{exportTimeSeries:n,exportTimeSeriesSeparator:r,exportPlaces:i,exportPlacesAsCollection:o,exportZipArchive:a,exportFileName:s}=e().controlState;let l=[];n?(l=[],M1(e()).forEach(u=>{u.placeGroups&&(l=l.concat(u.placeGroups))}),l=[...l,...k1(e())]):i&&(l=Zv(e())),uHe(e().dataState.timeSeriesGroups,l,{includeTimeSeries:n,includePlaces:i,separator:r,placesAsCollection:o,zip:a,fileName:s})}}class Qae{}class lHe extends Qae{constructor(n){super();Ut(this,"fileName");Ut(this,"zipArchive");this.fileName=n,this.zipArchive=new kGe}write(n,r){this.zipArchive.file(n,r)}close(){this.zipArchive.generateAsync({type:"blob"}).then(n=>kae.saveAs(n,this.fileName))}}class cHe extends Qae{write(e,n){const r=new Blob([n],{type:"text/plain;charset=utf-8"});kae.saveAs(r,e)}close(){}}function uHe(t,e,n){const{includeTimeSeries:r,includePlaces:i,placesAsCollection:o,zip:a}=n;let{separator:s,fileName:l}=n;if(s=s||"TAB",s.toUpperCase()==="TAB"&&(s=" "),l=l||"export",!r&&!i)return;let c;a?c=new lHe(`${l}.zip`):c=new cHe;let u;if(r){const{colNames:f,dataRows:d,referencedPlaces:h}=fVe(t,e),p={number:!0,string:!0},m=f.join(s),g=d.map(y=>y.map(x=>p[typeof x]?x+"":"").join(s)),v=[m].concat(g).join(` -`);c.write(`${l}.txt`,v),u=h}else u={},e.forEach(f=>{f.features&&f.features.forEach(d=>{u[d.id]=d})});if(i)if(o){const f={type:"FeatureCollection",features:Object.keys(u).map(d=>u[d])};c.write(`${l}.geojson`,JSON.stringify(f,null,2))}else Object.keys(u).forEach(f=>{c.write(`${f}.geojson`,JSON.stringify(u[f],null,2))});c.close()}const Yae="SELECT_DATASET";function Kae(t,e,n){return(r,i)=>{r(fHe(t,e)),t&&n&&r(Zae(t,i().controlState.datasetLocateMode==="panAndZoom"))}}function fHe(t,e){return{type:Yae,selectedDatasetId:t,datasets:e}}function dHe(){return(t,e)=>{const n=A1(e()),r=e().controlState.datasetLocateMode;n&&r!=="doNothing"&&t(Zae(n,r==="panAndZoom"))}}function hHe(){return(t,e)=>{const n=R1(e()),r=e().controlState.placeLocateMode;n&&r!=="doNothing"&&t(Jae(n,r==="panAndZoom"))}}function Zae(t,e){return(n,r)=>{const i=M1(r()),o=vb(i,t);o&&o.bbox&&n(QL(o.bbox,e))}}const pHe=["Point","LineString","LinearRing","Polygon","MultiPoint","MultiLineString","MultiPolygon","Circle"];function Jae(t,e){return(n,r)=>{const i=Zv(r()),o=A5(i,t);o&&(o.bbox&&o.bbox.length===4?n(QL(o.bbox,e)):o.geometry&&pHe.includes(o.geometry.type)&&n(QL(new mp().readGeometry(o.geometry),e)))}}function QL(t,e){return n=>{if(t!==null){const r="map";n(mHe(r,t)),IGe(r,t,e)}}}const ese="FLY_TO";function mHe(t,e){return{type:ese,mapId:t,location:e}}const tse="SELECT_PLACE_GROUPS";function gHe(t){return(e,n)=>{const r=yo(n());e(vHe(t));const i=ei(n()),o=lae(n());if(i!==null&&o.length>0){for(const a of o)if(!Vv(a)){const s=i.id,l=a.id,c=`${uB}-${s}-${l}`;e(QM(c,pe.get("Loading places"))),BFe(r.url,s,l,n().userAuthState.accessToken).then(u=>{e(jGe(i.id,u))}).catch(u=>{e(Nl("error",u))}).finally(()=>{e(YM(c))})}}}}function vHe(t){return{type:tse,selectedPlaceGroupIds:t}}const nse="SELECT_PLACE";function qM(t,e,n){return(r,i)=>{r(yHe(t,e)),n&&t&&r(Jae(t,i().controlState.placeLocateMode==="panAndZoom"))}}function yHe(t,e){return{type:nse,placeId:t,places:e}}const rse="SET_LAYER_VISIBILITY";function ise(t,e){return{type:rse,layerId:t,visible:e}}const ose="SET_VARIABLE_COMPARE_MODE";function ase(t){return{type:ose,variableCompareMode:t}}const vB="SET_VARIABLE_SPLIT_POS";function xHe(t){return{type:vB,variableSplitPos:t}}const sse="SELECT_VARIABLE";function bHe(t){return{type:sse,selectedVariableName:t}}const lse="SELECT_VARIABLE_2";function _He(t,e){return{type:lse,selectedDataset2Id:t,selectedVariable2Name:e}}const cse="SELECT_TIME";function XM(t){return{type:cse,selectedTime:t}}const use="INC_SELECTED_TIME";function wHe(t){return{type:use,increment:t}}const yB="SELECT_TIME_RANGE";function fse(t,e,n){return{type:yB,selectedTimeRange:t,selectedGroupId:e,selectedValueRange:n}}const SHe="SELECT_TIME_SERIES_UPDATE_MODE",dse="UPDATE_TIME_ANIMATION";function OHe(t,e){return{type:dse,timeAnimationActive:t,timeAnimationInterval:e}}const hse="SET_MAP_INTERACTION";function pse(t){return{type:hse,mapInteraction:t}}const mse="SET_LAYER_MENU_OPEN";function gse(t){return{type:mse,layerMenuOpen:t}}const vse="SET_SIDEBAR_POSITION";function CHe(t){return{type:vse,sidebarPosition:t}}const yse="SET_SIDEBAR_OPEN";function xB(t){return{type:yse,sidebarOpen:t}}const xse="SET_SIDEBAR_PANEL_ID";function bB(t){return{type:xse,sidebarPanelId:t}}const bse="SET_VOLUME_RENDER_MODE";function THe(t){return{type:bse,volumeRenderMode:t}}const _se="UPDATE_VOLUME_STATE";function EHe(t,e){return{type:_se,volumeId:t,volumeState:e}}const wse="SET_VISIBLE_INFO_CARD_ELEMENTS";function PHe(t){return{type:wse,visibleElements:t}}const Sse="UPDATE_INFO_CARD_ELEMENT_VIEW_MODE";function MHe(t,e){return{type:Sse,elementType:t,viewMode:e}}const Ose="ADD_ACTIVITY";function QM(t,e){return{type:Ose,id:t,message:e}}const Cse="REMOVE_ACTIVITY";function YM(t){return{type:Cse,id:t}}const Tse="CHANGE_LOCALE";function Ese(t){return{type:Tse,locale:t}}const Pse="OPEN_DIALOG";function xp(t){return{type:Pse,dialogId:t}}const Mse="CLOSE_DIALOG";function ey(t){return{type:Mse,dialogId:t}}const _B="UPDATE_SETTINGS";function F1(t){return{type:_B,settings:t}}function kHe(t){return e=>{e(AHe(t)),e(DHe(t))}}const kse="ADD_USER_COLOR_BAR";function AHe(t){return{type:kse,colorBarId:t}}const Ase="REMOVE_USER_COLOR_BAR";function RHe(t){return{type:Ase,colorBarId:t}}function IHe(t){return e=>{e(Ise(t)),e(wB(t))}}const Rse="UPDATE_USER_COLOR_BAR";function Ise(t){return{type:Rse,userColorBar:t}}function DHe(t){return(e,n)=>{const r=n().controlState.userColorBars.find(i=>i.id===t);r&&e(wB(r))}}function wB(t){return e=>{mje(t).then(({imageData:n,errorMessage:r})=>{e(Ise({...t,imageData:n,errorMessage:r}))})}}function LHe(){return(t,e)=>{e().controlState.userColorBars.forEach(n=>{n.imageData||t(wB(n))})}}function $He(t){return{type:_B,settings:{userColorBars:t}}}const wG=["http","https","mailto","tel"];function NHe(t){const e=(t||"").trim(),n=e.charAt(0);if(n==="#"||n==="/")return e;const r=e.indexOf(":");if(r===-1)return e;let i=-1;for(;++ii||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */var FHe=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)};const Dse=$t(FHe);function Ox(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?SG(t.position):"start"in t||"end"in t?SG(t):"line"in t||"column"in t?YL(t):""}function YL(t){return OG(t&&t.line)+":"+OG(t&&t.column)}function SG(t){return YL(t&&t.start)+"-"+YL(t&&t.end)}function OG(t){return t&&typeof t=="number"?t:1}class hs extends Error{constructor(e,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?i[1]=r:(i[0]=r.slice(0,a),i[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=Ox(n)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}hs.prototype.file="";hs.prototype.name="";hs.prototype.reason="";hs.prototype.message="";hs.prototype.stack="";hs.prototype.fatal=null;hs.prototype.column=null;hs.prototype.line=null;hs.prototype.source=null;hs.prototype.ruleId=null;hs.prototype.position=null;const ol={basename:jHe,dirname:BHe,extname:zHe,join:UHe,sep:"/"};function jHe(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');j1(t);let n=0,r=-1,i=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":t.slice(n,r)}if(e===t)return"";let a=-1,s=e.length-1;for(;i--;)if(t.charCodeAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(t.charCodeAt(i)===e.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=t.length),t.slice(n,r)}function BHe(t){if(j1(t),t.length===0)return".";let e=-1,n=t.length,r;for(;--n;)if(t.charCodeAt(n)===47){if(r){e=n;break}}else r||(r=!0);return e<0?t.charCodeAt(0)===47?"/":".":e===1&&t.charCodeAt(0)===47?"//":t.slice(0,e)}function zHe(t){j1(t);let e=t.length,n=-1,r=0,i=-1,o=0,a;for(;e--;){const s=t.charCodeAt(e);if(s===47){if(a){r=e+1;break}continue}n<0&&(a=!0,n=e+1),s===46?i<0?i=e:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":t.slice(i,n)}function UHe(...t){let e=-1,n;for(;++e0&&t.charCodeAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function VHe(t,e){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}e&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function j1(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const GHe={cwd:HHe};function HHe(){return"/"}function KL(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}function qHe(t){if(typeof t=="string")t=new URL(t);else if(!KL(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return XHe(t)}function XHe(t){if(t.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=t.pathname;let n=-1;for(;++n"u"||uC.call(e,i)},AG=function(e,n){EG&&n.name==="__proto__"?EG(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},RG=function(e,n){if(n==="__proto__")if(uC.call(e,n)){if(PG)return PG(e,n).value}else return;return e[n]},YHe=function t(){var e,n,r,i,o,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});la.length;let l;s&&a.push(i);try{l=t.apply(this,a)}catch(c){const u=c;if(s&&n)throw u;return i(u)}s||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,e(a,...s))}function o(a){i(null,a)}}const JHe=Fse().freeze(),Nse={}.hasOwnProperty;function Fse(){const t=KHe(),e=[];let n={},r,i=-1;return o.data=a,o.Parser=void 0,o.Compiler=void 0,o.freeze=s,o.attachers=e,o.use=l,o.parse=c,o.stringify=u,o.run=f,o.runSync=d,o.process=h,o.processSync=p,o;function o(){const m=Fse();let g=-1;for(;++g{if(S||!O||!C)_(S);else{const E=o.stringify(O,C);E==null||(n9e(E)?C.value=E:C.result=E),_(S,C)}});function _(S,O){S||!O?x(S):y?y(O):g(null,O)}}}function p(m){let g;o.freeze(),EA("processSync",o.Parser),PA("processSync",o.Compiler);const v=t0(m);return o.process(v,y),$G("processSync","process",g),v;function y(x){g=!0,TG(x)}}}function DG(t,e){return typeof t=="function"&&t.prototype&&(e9e(t.prototype)||e in t.prototype)}function e9e(t){let e;for(e in t)if(Nse.call(t,e))return!0;return!1}function EA(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function PA(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function MA(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function LG(t){if(!ZL(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function $G(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function t0(t){return t9e(t)?t:new Lse(t)}function t9e(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function n9e(t){return typeof t=="string"||Dse(t)}const r9e={};function i9e(t,e){const n=e||r9e,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return jse(t,r,i)}function jse(t,e,n){if(o9e(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return NG(t.children,e,n)}return Array.isArray(t)?NG(t,e,n):""}function NG(t,e,n){const r=[];let i=-1;for(;++ii?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);o0?(Vl(t,t.length,0,e),t):e}const FG={}.hasOwnProperty;function a9e(t){const e={};let n=-1;for(;++na))return;const O=e.events.length;let C=O,E,M;for(;C--;)if(e.events[C][0]==="exit"&&e.events[C][1].type==="chunkFlow"){if(E){M=e.events[C][1].end;break}E=!0}for(v(r),S=O;Sx;){const _=n[b];e.containerState=_[1],_[0].exit.call(e,t)}n.length=x}function y(){i.write([null]),o=void 0,i=void 0,e.containerState._closeFlow=void 0}}function x9e(t,e,n){return Un(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function BG(t){if(t===null||No(t)||p9e(t))return 1;if(h9e(t))return 2}function SB(t,e,n){const r=[];let i=-1;for(;++i1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const f=Object.assign({},t[r][1].end),d=Object.assign({},t[n][1].start);zG(f,-l),zG(d,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[n][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},t[r][1].end=Object.assign({},a.start),t[n][1].start=Object.assign({},s.end),c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=La(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=La(c,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=La(c,SB(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),c=La(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(u=2,c=La(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):u=0,Vl(t,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n0&&yn(S)?Un(t,y,"linePrefix",o+1)(S):y(S)}function y(S){return S===null||Ot(S)?t.check(WG,m,b)(S):(t.enter("codeFlowValue"),x(S))}function x(S){return S===null||Ot(S)?(t.exit("codeFlowValue"),y(S)):(t.consume(S),x)}function b(S){return t.exit("codeFenced"),e(S)}function _(S,O,C){let E=0;return M;function M(D){return S.enter("lineEnding"),S.consume(D),S.exit("lineEnding"),I}function I(D){return S.enter("codeFencedFence"),yn(D)?Un(S,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):P(D)}function P(D){return D===s?(S.enter("codeFencedFenceSequence"),R(D)):C(D)}function R(D){return D===s?(E++,S.consume(D),R):E>=a?(S.exit("codeFencedFenceSequence"),yn(D)?Un(S,T,"whitespace")(D):T(D)):C(D)}function T(D){return D===null||Ot(D)?(S.exit("codeFencedFence"),O(D)):C(D)}}}function A9e(t,e,n){const r=this;return i;function i(a){return a===null?n(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}const kA={name:"codeIndented",tokenize:I9e},R9e={tokenize:D9e,partial:!0};function I9e(t,e,n){const r=this;return i;function i(c){return t.enter("codeIndented"),Un(t,o,"linePrefix",5)(c)}function o(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Ot(c)?t.attempt(R9e,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||Ot(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function D9e(t,e,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Ot(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):Un(t,o,"linePrefix",5)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):Ot(a)?i(a):n(a)}}const L9e={name:"codeText",tokenize:F9e,resolve:$9e,previous:N9e};function $9e(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r=4?e(a):t.interrupt(r.parser.constructs.flow,n,e)(a)}}function Vse(t,e,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return f;function f(v){return v===60?(t.enter(r),t.enter(i),t.enter(o),t.consume(v),t.exit(o),d):v===null||v===32||v===41||JL(v)?n(v):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),m(v))}function d(v){return v===62?(t.enter(o),t.consume(v),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),h(v))}function h(v){return v===62?(t.exit("chunkString"),t.exit(s),d(v)):v===null||v===60||Ot(v)?n(v):(t.consume(v),v===92?p:h)}function p(v){return v===60||v===62||v===92?(t.consume(v),h):h(v)}function m(v){return!u&&(v===null||v===41||No(v))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(v)):u999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):h===93?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):Ot(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||Ot(h)||s++>999?(t.exit("chunkString"),u(h)):(t.consume(h),l||(l=!yn(h)),h===92?d:f)}function d(h){return h===91||h===92||h===93?(t.consume(h),s++,f):f(h)}}function Hse(t,e,n,r,i,o){let a;return s;function s(d){return d===34||d===39||d===40?(t.enter(r),t.enter(i),t.consume(d),t.exit(i),a=d===40?41:d,l):n(d)}function l(d){return d===a?(t.enter(i),t.consume(d),t.exit(i),t.exit(r),e):(t.enter(o),c(d))}function c(d){return d===a?(t.exit(o),l(a)):d===null?n(d):Ot(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Un(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===a||d===null||Ot(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===a||d===92?(t.consume(d),u):u(d)}}function Cx(t,e){let n;return r;function r(i){return Ot(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):yn(i)?Un(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}function dg(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const G9e={name:"definition",tokenize:q9e},H9e={tokenize:X9e,partial:!0};function q9e(t,e,n){const r=this;let i;return o;function o(h){return t.enter("definition"),a(h)}function a(h){return Gse.call(r,t,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return i=dg(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),l):n(h)}function l(h){return No(h)?Cx(t,c)(h):c(h)}function c(h){return Vse(t,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return t.attempt(H9e,f,f)(h)}function f(h){return yn(h)?Un(t,d,"whitespace")(h):d(h)}function d(h){return h===null||Ot(h)?(t.exit("definition"),r.parser.defined.push(i),e(h)):n(h)}}function X9e(t,e,n){return r;function r(s){return No(s)?Cx(t,i)(s):n(s)}function i(s){return Hse(t,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return yn(s)?Un(t,a,"whitespace")(s):a(s)}function a(s){return s===null||Ot(s)?e(s):n(s)}}const Q9e={name:"hardBreakEscape",tokenize:Y9e};function Y9e(t,e,n){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return Ot(o)?(t.exit("hardBreakEscape"),e(o)):n(o)}}const K9e={name:"headingAtx",tokenize:J9e,resolve:Z9e};function Z9e(t,e){let n=t.length-2,r=3,i,o;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},o={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},Vl(t,r,n-r+1,[["enter",i,e],["enter",o,e],["exit",o,e],["exit",i,e]])),t}function J9e(t,e,n){let r=0;return i;function i(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&r++<6?(t.consume(u),a):u===null||No(u)?(t.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Ot(u)?(t.exit("atxHeading"),e(u)):yn(u)?Un(t,s,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||No(u)?(t.exit("atxHeadingText"),s(u)):(t.consume(u),c)}}const e7e=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],GG=["pre","script","style","textarea"],t7e={name:"htmlFlow",tokenize:o7e,resolveTo:i7e,concrete:!0},n7e={tokenize:s7e,partial:!0},r7e={tokenize:a7e,partial:!0};function i7e(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function o7e(t,e,n){const r=this;let i,o,a,s,l;return c;function c(A){return u(A)}function u(A){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(A),f}function f(A){return A===33?(t.consume(A),d):A===47?(t.consume(A),o=!0,m):A===63?(t.consume(A),i=3,r.interrupt?e:$):ml(A)?(t.consume(A),a=String.fromCharCode(A),g):n(A)}function d(A){return A===45?(t.consume(A),i=2,h):A===91?(t.consume(A),i=5,s=0,p):ml(A)?(t.consume(A),i=4,r.interrupt?e:$):n(A)}function h(A){return A===45?(t.consume(A),r.interrupt?e:$):n(A)}function p(A){const q="CDATA[";return A===q.charCodeAt(s++)?(t.consume(A),s===q.length?r.interrupt?e:P:p):n(A)}function m(A){return ml(A)?(t.consume(A),a=String.fromCharCode(A),g):n(A)}function g(A){if(A===null||A===47||A===62||No(A)){const q=A===47,Y=a.toLowerCase();return!q&&!o&&GG.includes(Y)?(i=1,r.interrupt?e(A):P(A)):e7e.includes(a.toLowerCase())?(i=6,q?(t.consume(A),v):r.interrupt?e(A):P(A)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):o?y(A):x(A))}return A===45||fa(A)?(t.consume(A),a+=String.fromCharCode(A),g):n(A)}function v(A){return A===62?(t.consume(A),r.interrupt?e:P):n(A)}function y(A){return yn(A)?(t.consume(A),y):M(A)}function x(A){return A===47?(t.consume(A),M):A===58||A===95||ml(A)?(t.consume(A),b):yn(A)?(t.consume(A),x):M(A)}function b(A){return A===45||A===46||A===58||A===95||fa(A)?(t.consume(A),b):_(A)}function _(A){return A===61?(t.consume(A),S):yn(A)?(t.consume(A),_):x(A)}function S(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(t.consume(A),l=A,O):yn(A)?(t.consume(A),S):C(A)}function O(A){return A===l?(t.consume(A),l=null,E):A===null||Ot(A)?n(A):(t.consume(A),O)}function C(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||No(A)?_(A):(t.consume(A),C)}function E(A){return A===47||A===62||yn(A)?x(A):n(A)}function M(A){return A===62?(t.consume(A),I):n(A)}function I(A){return A===null||Ot(A)?P(A):yn(A)?(t.consume(A),I):n(A)}function P(A){return A===45&&i===2?(t.consume(A),U):A===60&&i===1?(t.consume(A),B):A===62&&i===4?(t.consume(A),N):A===63&&i===3?(t.consume(A),$):A===93&&i===5?(t.consume(A),z):Ot(A)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(n7e,L,R)(A)):A===null||Ot(A)?(t.exit("htmlFlowData"),R(A)):(t.consume(A),P)}function R(A){return t.check(r7e,T,L)(A)}function T(A){return t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),D}function D(A){return A===null||Ot(A)?R(A):(t.enter("htmlFlowData"),P(A))}function U(A){return A===45?(t.consume(A),$):P(A)}function B(A){return A===47?(t.consume(A),a="",W):P(A)}function W(A){if(A===62){const q=a.toLowerCase();return GG.includes(q)?(t.consume(A),N):P(A)}return ml(A)&&a.length<8?(t.consume(A),a+=String.fromCharCode(A),W):P(A)}function z(A){return A===93?(t.consume(A),$):P(A)}function $(A){return A===62?(t.consume(A),N):A===45&&i===2?(t.consume(A),$):P(A)}function N(A){return A===null||Ot(A)?(t.exit("htmlFlowData"),L(A)):(t.consume(A),N)}function L(A){return t.exit("htmlFlow"),e(A)}}function a7e(t,e,n){const r=this;return i;function i(a){return Ot(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function s7e(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(KM,e,n)}}const l7e={name:"htmlText",tokenize:c7e};function c7e(t,e,n){const r=this;let i,o,a;return s;function s($){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume($),l}function l($){return $===33?(t.consume($),c):$===47?(t.consume($),_):$===63?(t.consume($),x):ml($)?(t.consume($),C):n($)}function c($){return $===45?(t.consume($),u):$===91?(t.consume($),o=0,p):ml($)?(t.consume($),y):n($)}function u($){return $===45?(t.consume($),h):n($)}function f($){return $===null?n($):$===45?(t.consume($),d):Ot($)?(a=f,B($)):(t.consume($),f)}function d($){return $===45?(t.consume($),h):f($)}function h($){return $===62?U($):$===45?d($):f($)}function p($){const N="CDATA[";return $===N.charCodeAt(o++)?(t.consume($),o===N.length?m:p):n($)}function m($){return $===null?n($):$===93?(t.consume($),g):Ot($)?(a=m,B($)):(t.consume($),m)}function g($){return $===93?(t.consume($),v):m($)}function v($){return $===62?U($):$===93?(t.consume($),v):m($)}function y($){return $===null||$===62?U($):Ot($)?(a=y,B($)):(t.consume($),y)}function x($){return $===null?n($):$===63?(t.consume($),b):Ot($)?(a=x,B($)):(t.consume($),x)}function b($){return $===62?U($):x($)}function _($){return ml($)?(t.consume($),S):n($)}function S($){return $===45||fa($)?(t.consume($),S):O($)}function O($){return Ot($)?(a=O,B($)):yn($)?(t.consume($),O):U($)}function C($){return $===45||fa($)?(t.consume($),C):$===47||$===62||No($)?E($):n($)}function E($){return $===47?(t.consume($),U):$===58||$===95||ml($)?(t.consume($),M):Ot($)?(a=E,B($)):yn($)?(t.consume($),E):U($)}function M($){return $===45||$===46||$===58||$===95||fa($)?(t.consume($),M):I($)}function I($){return $===61?(t.consume($),P):Ot($)?(a=I,B($)):yn($)?(t.consume($),I):E($)}function P($){return $===null||$===60||$===61||$===62||$===96?n($):$===34||$===39?(t.consume($),i=$,R):Ot($)?(a=P,B($)):yn($)?(t.consume($),P):(t.consume($),T)}function R($){return $===i?(t.consume($),i=void 0,D):$===null?n($):Ot($)?(a=R,B($)):(t.consume($),R)}function T($){return $===null||$===34||$===39||$===60||$===61||$===96?n($):$===47||$===62||No($)?E($):(t.consume($),T)}function D($){return $===47||$===62||No($)?E($):n($)}function U($){return $===62?(t.consume($),t.exit("htmlTextData"),t.exit("htmlText"),e):n($)}function B($){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume($),t.exit("lineEnding"),W}function W($){return yn($)?Un(t,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):z($)}function z($){return t.enter("htmlTextData"),a($)}}const CB={name:"labelEnd",tokenize:m7e,resolveTo:p7e,resolveAll:h7e},u7e={tokenize:g7e},f7e={tokenize:v7e},d7e={tokenize:y7e};function h7e(t){let e=-1;for(;++e=3&&(c===null||Ot(c))?(t.exit("thematicBreak"),e(c)):n(c)}function l(c){return c===i?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),yn(c)?Un(t,s,"whitespace")(c):s(c))}}const wo={name:"list",tokenize:E7e,continuation:{tokenize:P7e},exit:k7e},C7e={tokenize:A7e,partial:!0},T7e={tokenize:M7e,partial:!0};function E7e(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(h){const p=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:e$(h)){if(r.containerState.type||(r.containerState.type=p,t.enter(p,{_container:!0})),p==="listUnordered")return t.enter("listItemPrefix"),h===42||h===45?t.check(fC,n,c)(h):c(h);if(!r.interrupt||h===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(h)}return n(h)}function l(h){return e$(h)&&++a<10?(t.consume(h),l):(!r.interrupt||a<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(t.exit("listItemValue"),c(h)):n(h)}function c(h){return t.enter("listItemMarker"),t.consume(h),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,t.check(KM,r.interrupt?n:u,t.attempt(C7e,d,f))}function u(h){return r.containerState.initialBlankLine=!0,o++,d(h)}function f(h){return yn(h)?(t.enter("listItemPrefixWhitespace"),t.consume(h),t.exit("listItemPrefixWhitespace"),d):n(h)}function d(h){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(h)}}function P7e(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(KM,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Un(t,e,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!yn(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(T7e,e,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Un(t,t.attempt(wo,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function M7e(t,e,n){const r=this;return Un(t,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?e(o):n(o)}}function k7e(t){t.exit(this.containerState.type)}function A7e(t,e,n){const r=this;return Un(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!yn(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):n(o)}}const HG={name:"setextUnderline",tokenize:I7e,resolveTo:R7e};function R7e(t,e){let n=t.length,r,i,o;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!o&&t[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",a,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=a,t.push(["exit",a,e]),t}function I7e(t,e,n){const r=this;let i;return o;function o(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(t.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),yn(c)?Un(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Ot(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}const D7e={tokenize:L7e};function L7e(t){const e=this,n=t.attempt(KM,r,t.attempt(this.parser.constructs.flowInitial,i,Un(t,t.attempt(this.parser.constructs.flow,i,t.attempt(B9e,i)),"linePrefix")));return n;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const $7e={resolveAll:Xse()},N7e=qse("string"),F7e=qse("text");function qse(t){return{tokenize:e,resolveAll:Xse(t==="text"?j7e:void 0)};function e(n){const r=this,i=this.parser.constructs[t],o=n.attempt(i,a,s);return a;function a(u){return c(u)?o(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),o(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const f=i[u];let d=-1;if(f)for(;++d-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}function U7e(t,e){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const nqe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rqe(t){return t.replace(nqe,iqe)}function iqe(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Qse(n.slice(o?2:1),o?16:10)}return OB(n)||t}const Yse={}.hasOwnProperty,oqe=function(t,e,n){return typeof e!="string"&&(n=e,e=void 0),aqe(n)(tqe(J7e(n).document().write(eqe()(t,e,!0))))};function aqe(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ge),autolinkProtocol:I,autolinkEmail:I,atxHeading:s(le),blockQuote:s(xe),characterEscape:I,characterReference:I,codeFenced:s(ie),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(ie,l),codeText:s(ve,l),codeTextData:I,data:I,codeFlowValue:I,definition:s(F),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(ce),hardBreakEscape:s(Q),hardBreakTrailing:s(Q),htmlFlow:s(X,l),htmlFlowData:I,htmlText:s(X,l),htmlTextData:I,image:s(J),label:l,link:s(ge),listItem:s(V),listItemValue:p,listOrdered:s(ye,h),listUnordered:s(ye),paragraph:s(H),reference:Y,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(le),strong:s(re),thematicBreak:s(we)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:de,autolinkProtocol:te,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:se,characterReferenceMarkerNumeric:se,characterReferenceValue:ee,codeFenced:u(y),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:P,codeIndented:u(x),codeText:u(B),codeTextData:P,data:P,definition:u(),definitionDestinationString:S,definitionLabelString:b,definitionTitleString:_,emphasis:u(),hardBreakEscape:u(T),hardBreakTrailing:u(T),htmlFlow:u(D),htmlFlowData:P,htmlText:u(U),htmlTextData:P,image:u(z),label:N,labelText:$,lineEnding:R,link:u(W),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:K,resourceDestinationString:L,resourceTitleString:A,resource:q,setextHeading:u(M),setextHeadingLineSequence:E,setextHeadingText:C,strong:u(),thematicBreak:u()}};Kse(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(oe){let Z={type:"root",children:[]};const G={stack:[Z],tokenStack:[],config:e,enter:c,exit:f,buffer:l,resume:d,setData:o,getData:a},fe=[];let _e=-1;for(;++_e0){const Me=G.tokenStack[G.tokenStack.length-1];(Me[1]||XG).call(G,void 0,Me[0])}for(Z.position={start:Cu(oe.length>0?oe[0][1].start:{line:1,column:1,offset:0}),end:Cu(oe.length>0?oe[oe.length-2][1].end:{line:1,column:1,offset:0})},_e=-1;++_e{const r=this.data("settings");return oqe(n,Object.assign({},r,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function cqe(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function uqe(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:` -`}]}function fqe(t,e){const n=e.value?e.value+` -`:"",r=e.lang?e.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return e.meta&&(o.data={meta:e.meta}),t.patch(e,o),o=t.applyData(e,o),o={type:"element",tagName:"pre",properties:{},children:[o]},t.patch(e,o),o}function dqe(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function hqe(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function ty(t){const e=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const s=t.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function Zse(t,e){const n=String(e.identifier).toUpperCase(),r=ty(n.toLowerCase()),i=t.footnoteOrder.indexOf(n);let o;i===-1?(t.footnoteOrder.push(n),t.footnoteCounts[n]=1,o=t.footnoteOrder.length):(t.footnoteCounts[n]++,o=i+1);const a=t.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fn-"+r,id:t.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};t.patch(e,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return t.patch(e,l),t.applyData(e,l)}function pqe(t,e){const n=t.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:e.children}],position:e.position},Zse(t,{type:"footnoteReference",identifier:i,position:e.position})}function mqe(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function gqe(t,e){if(t.dangerous){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}return null}function Jse(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return{type:"text",value:"!["+e.alt+r};const i=t.all(e),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function vqe(t,e){const n=t.definition(e.identifier);if(!n)return Jse(t,e);const r={src:ty(n.url||""),alt:e.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function yqe(t,e){const n={src:ty(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)}function xqe(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)}function bqe(t,e){const n=t.definition(e.identifier);if(!n)return Jse(t,e);const r={href:ty(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function _qe(t,e){const n={href:ty(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function wqe(t,e,n){const r=t.all(e),i=n?Sqe(n):ele(e),o={},a=[];if(typeof e.checked=="boolean"){const u=r[0];let f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s1}function Oqe(t,e){const n={},r=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++i-1?r.offset:null}}}function Mqe(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},s=TB(e.children[1]),l=EB(e.children[e.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)}function kqe(t,e,n){const r=n?n.children:void 0,o=(r?r.indexOf(e):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:e.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(KG(e.slice(i),i>0,!1)),o.join("")}function KG(t,e,n){let r=0,i=t.length;if(e){let o=t.codePointAt(r);for(;o===QG||o===YG;)r++,o=t.codePointAt(r)}if(n){let o=t.codePointAt(i-1);for(;o===QG||o===YG;)i--,o=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}function Iqe(t,e){const n={type:"text",value:Rqe(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function Dqe(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}const Lqe={blockquote:cqe,break:uqe,code:fqe,delete:dqe,emphasis:hqe,footnoteReference:Zse,footnote:pqe,heading:mqe,html:gqe,imageReference:vqe,image:yqe,inlineCode:xqe,linkReference:bqe,link:_qe,listItem:wqe,list:Oqe,paragraph:Cqe,root:Tqe,strong:Eqe,table:Mqe,tableCell:Aqe,tableRow:kqe,text:Iqe,thematicBreak:Dqe,toml:mS,yaml:mS,definition:mS,footnoteDefinition:mS};function mS(){return null}const nle=function(t){if(t==null)return jqe;if(typeof t=="string")return Fqe(t);if(typeof t=="object")return Array.isArray(t)?$qe(t):Nqe(t);if(typeof t=="function")return ZM(t);throw new Error("Expected function, string, or object as test")};function $qe(t){const e=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],h,p,m;if((!e||i(s,l,c[c.length-1]||null))&&(d=Wqe(n(s,c)),d[0]===ZG))return d;if(s.children&&d[0]!==zqe)for(p=(r?s.children.length:-1)+o,m=c.concat(s);p>-1&&p{const i=eH(r.identifier);i&&!JG.call(e,i)&&(e[i]=r)}),n;function n(r){const i=eH(r);return i&&JG.call(e,i)?e[i]:null}}function eH(t){return String(t||"").toUpperCase()}const $T={}.hasOwnProperty;function Hqe(t,e){const n=e||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...Lqe,...n.handlers},a.definition=Gqe(t),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=qqe,a.applyData=Xqe,a.one=s,a.all=l,a.wrap=Yqe,a.augment=o,PB(t,"footnoteDefinition",c=>{const u=String(c.identifier).toUpperCase();$T.call(i,u)||(i[u]=c)}),a;function o(c,u){if(c&&"data"in c&&c.data){const f=c.data;f.hName&&(u.type!=="element"&&(u={type:"element",tagName:"",properties:{},children:[]}),u.tagName=f.hName),u.type==="element"&&f.hProperties&&(u.properties={...u.properties,...f.hProperties}),"children"in u&&u.children&&f.hChildren&&(u.children=f.hChildren)}if(c){const f="type"in c?c:{position:c};Vqe(f)||(u.position={start:TB(f),end:EB(f)})}return u}function a(c,u,f,d){return Array.isArray(f)&&(d=f,f={}),o(c,{type:"element",tagName:u,properties:f||{},children:d||[]})}function s(c,u){return rle(a,c,u)}function l(c){return MB(a,c)}}function qqe(t,e){t.position&&(e.position=Pqe(t))}function Xqe(t,e){let n=e;if(t&&t.data){const r=t.data.hName,i=t.data.hChildren,o=t.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function rle(t,e,n){const r=e&&e.type;if(!r)throw new Error("Expected node, got `"+e+"`");return $T.call(t.handlers,r)?t.handlers[r](t,e,n):t.passThrough&&t.passThrough.includes(r)?"children"in e?{...e,children:MB(t,e)}:e:t.unknownHandler?t.unknownHandler(t,e,n):Qqe(t,e)}function MB(t,e){const n=[];if("children"in e){const r=e.children;let i=-1;for(;++i0&&n.push({type:"text",value:` -`}),n}function Kqe(t){const e=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:t.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:t.clobberPrefix+"fn-"+a},children:t.wrap(i,!0)};t.patch(r,u),e.push(u)}if(e.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:t.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(t.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:t.footnoteLabel}]},{type:"text",value:` -`},{type:"element",tagName:"ol",properties:{},children:t.wrap(e,!0)},{type:"text",value:` -`}]}}function ile(t,e){const n=Hqe(t,e),r=n.one(t,null),i=Kqe(n);return i&&r.children.push({type:"text",value:` -`},i),Array.isArray(r)?{type:"root",children:r}:r}const Zqe=function(t,e){return t&&"run"in t?eXe(t,e):tXe(t||e)},Jqe=Zqe;function eXe(t,e){return(n,r,i)=>{t.run(ile(n,e),r,o=>{i(o)})}}function tXe(t){return e=>ile(e,t)}class B1{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}B1.prototype.property={};B1.prototype.normal={};B1.prototype.space=null;function ole(t,e){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&aXe.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(nH,uXe);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!nH.test(o)){let a=o.replace(sXe,cXe);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=kB}return new i(r,e)}function cXe(t){return"-"+t.toLowerCase()}function uXe(t){return t.charAt(1).toUpperCase()}const rH={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fXe=ole([lle,sle,fle,dle,iXe],"html"),dXe=ole([lle,sle,fle,dle,oXe],"svg");function hXe(t){if(t.allowedElements&&t.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(t.allowedElements||t.disallowedElements||t.allowElement)return e=>{PB(e,"element",(n,r,i)=>{const o=i;let a;if(t.allowedElements?a=!t.allowedElements.includes(n.tagName):t.disallowedElements&&(a=t.disallowedElements.includes(n.tagName)),!a&&t.allowElement&&typeof r=="number"&&(a=!t.allowElement(n,r,o)),a&&typeof r=="number")return t.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}function pXe(t){const e=t&&typeof t=="object"&&t.type==="text"?t.value||"":t;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}function mXe(t){return t.join(" ").trim()}function gXe(t,e){const n=e||{};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var AB={exports:{}},iH=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,vXe=/\n/g,yXe=/^\s*/,xXe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,bXe=/^:\s*/,_Xe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,wXe=/^[;\s]*/,SXe=/^\s+|\s+$/g,OXe=` -`,oH="/",aH="*",Gd="",CXe="comment",TXe="declaration",EXe=function(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,r=1;function i(p){var m=p.match(vXe);m&&(n+=m.length);var g=p.lastIndexOf(OXe);r=~g?p.length-g:r+p.length}function o(){var p={line:n,column:r};return function(m){return m.position=new a(p),c(),m}}function a(p){this.start=p,this.end={line:n,column:r},this.source=e.source}a.prototype.content=t;function s(p){var m=new Error(e.source+":"+n+":"+r+": "+p);if(m.reason=p,m.filename=e.source,m.line=n,m.column=r,m.source=t,!e.silent)throw m}function l(p){var m=p.exec(t);if(m){var g=m[0];return i(g),t=t.slice(g.length),m}}function c(){l(yXe)}function u(p){var m;for(p=p||[];m=f();)m!==!1&&p.push(m);return p}function f(){var p=o();if(!(oH!=t.charAt(0)||aH!=t.charAt(1))){for(var m=2;Gd!=t.charAt(m)&&(aH!=t.charAt(m)||oH!=t.charAt(m+1));)++m;if(m+=2,Gd===t.charAt(m-1))return s("End of comment missing");var g=t.slice(2,m-2);return r+=2,i(g),t=t.slice(m),r+=2,p({type:CXe,comment:g})}}function d(){var p=o(),m=l(xXe);if(m){if(f(),!l(bXe))return s("property missing ':'");var g=l(_Xe),v=p({type:TXe,property:sH(m[0].replace(iH,Gd)),value:g?sH(g[0].replace(iH,Gd)):Gd});return l(wXe),v}}function h(){var p=[];u(p);for(var m;m=d();)m!==!1&&(p.push(m),u(p));return p}return c(),h()};function sH(t){return t?t.replace(SXe,Gd):Gd}var PXe=EXe;function hle(t,e){var n=null;if(!t||typeof t!="string")return n;for(var r,i=PXe(t),o=typeof e=="function",a,s,l=0,c=i.length;l0?ue.createElement(h,l,f):ue.createElement(h,l)}function IXe(t){let e=-1;for(;++e for more info)`),delete gS[o]}const e=JHe().use(lqe).use(t.remarkPlugins||[]).use(Jqe,{...t.remarkRehypeOptions,allowDangerousHtml:!0}).use(t.rehypePlugins||[]).use(hXe,t),n=new Lse;typeof t.children=="string"?n.value=t.children:t.children!==void 0&&t.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${t.children}\`)`);const r=e.runSync(e.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=ue.createElement(ue.Fragment,{},ple({options:t,schema:fXe,listDepth:0},r));return t.className&&(i=ue.createElement("div",{className:t.className},i)),i}JM.propTypes={children:Qe.string,className:Qe.string,allowElement:Qe.func,allowedElements:Qe.arrayOf(Qe.string),disallowedElements:Qe.arrayOf(Qe.string),unwrapDisallowed:Qe.bool,remarkPlugins:Qe.arrayOf(Qe.oneOfType([Qe.object,Qe.func,Qe.arrayOf(Qe.oneOfType([Qe.bool,Qe.string,Qe.object,Qe.func,Qe.arrayOf(Qe.any)]))])),rehypePlugins:Qe.arrayOf(Qe.oneOfType([Qe.object,Qe.func,Qe.arrayOf(Qe.oneOfType([Qe.bool,Qe.string,Qe.object,Qe.func,Qe.arrayOf(Qe.any)]))])),sourcePos:Qe.bool,rawSourcePos:Qe.bool,skipHtml:Qe.bool,includeElementIndex:Qe.bool,transformLinkUri:Qe.oneOfType([Qe.func,Qe.bool]),linkTarget:Qe.oneOfType([Qe.func,Qe.string]),transformImageUri:Qe.func,components:Qe.object};var RB={},jXe=pt;Object.defineProperty(RB,"__esModule",{value:!0});var _p=RB.default=void 0,BXe=jXe(mt()),zXe=w;_p=RB.default=(0,BXe.default)((0,zXe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function mle(t){const[e,n]=k.useState();return k.useEffect(()=>{t?fetch(t).then(r=>r.text()).then(r=>n(r)).catch(r=>{console.error(r)}):n(void 0)},[t]),e}const DA={dialog:t=>({backgroundColor:t.palette.grey[200]}),appBar:{position:"relative"},title:t=>({marginLeft:t.spacing(2),flex:1})},UXe=fi("div")(({theme:t})=>({marginTop:t.spacing(4),marginLeft:t.spacing(40),marginRight:t.spacing(40)})),WXe=ue.forwardRef(function(e,n){return w.jsx(_2e,{direction:"up",ref:n,...e})}),VXe=({title:t,href:e,open:n,onClose:r})=>{const i=mle(e);return w.jsxs(qs,{fullScreen:!0,open:n,onClose:r,TransitionComponent:WXe,PaperProps:{tabIndex:-1},children:[w.jsx(cne,{sx:DA.appBar,children:w.jsxs(yM,{children:[w.jsx(Et,{edge:"start",color:"inherit",onClick:r,"aria-label":"close",size:"large",children:w.jsx(_p,{})}),w.jsx(zt,{variant:"h6",sx:DA.title,children:t})]})}),w.jsx(zs,{sx:DA.dialog,children:w.jsx(UXe,{children:w.jsx(JM,{children:i||"",linkTarget:"_blank"})})})]})};var IB={},GXe=pt;Object.defineProperty(IB,"__esModule",{value:!0});var o$=IB.default=void 0,HXe=GXe(mt()),qXe=w;o$=IB.default=(0,HXe.default)((0,qXe.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person");const XXe=({userInfo:t})=>w.jsxs(iC,{container:!0,justifyContent:"center",spacing:1,children:[w.jsx(iC,{item:!0,children:w.jsx("img",{src:t.picture,width:84,alt:pe.get("User Profile")})}),w.jsx(iC,{item:!0,children:w.jsx(Di,{elevation:3,children:w.jsxs(gM,{children:[w.jsx(yx,{children:w.jsx(qa,{primary:t.name,secondary:pe.get("User name")})}),w.jsx(cg,{light:!0}),w.jsx(yx,{children:w.jsx(qa,{primary:`${t.email} (${t.email_verified?pe.get("verified"):pe.get("not verified")})`,secondary:pe.get("E-mail")})}),w.jsx(cg,{light:!0}),w.jsx(yx,{children:w.jsx(qa,{primary:t.nickname,secondary:pe.get("Nickname")})})]})})})]}),n0={imageAvatar:{width:32,height:32,color:"#fff",backgroundColor:vh[300]},letterAvatar:{width:32,height:32,color:"#fff",backgroundColor:vh[300]},signInProgress:{color:vh[300],position:"absolute",top:"50%",left:"50%",zIndex:1,marginTop:-12,marginLeft:-12},iconButton:{padding:0}},QXe=fi("div")(({theme:t})=>({margin:t.spacing(1),position:"relative"})),YXe=({updateAccessToken:t})=>{const e=Y$e(),[n,r]=k.useState(null),[i,o]=k.useState(!1);k.useEffect(()=>{e.user&&e.user.access_token?t(e.user.access_token):t(null)},[e.user,t]);const a=()=>{c(),o(!0)},s=()=>{o(!1)},l=d=>{r(d.currentTarget)},c=()=>{r(null)},u=()=>{e.signinRedirect().then(()=>{}).catch(d=>{console.error(d)})},f=()=>{c(),e.signoutRedirect().then(()=>{}).catch(d=>{console.error(d)})};if(e.user){const d=e.user.profile;let h,p=w.jsx(o$,{});if(!d)h=w.jsx(Hk,{sx:n0.letterAvatar,children:"?"});else if(d.picture)h=w.jsx(Hk,{sx:n0.imageAvatar,src:d.picture,alt:d.name});else{const m=d.given_name||d.name||d.nickname,g=d.family_name;let v=null;m&&g?v=m[0]+g[0]:m?v=m[0]:g&&(v=g[0]),v!==null&&(p=v.toUpperCase()),h=w.jsx(Hk,{sx:n0.letterAvatar,children:p})}return w.jsxs(k.Fragment,{children:[w.jsx(Et,{onClick:l,"aria-controls":"user-menu","aria-haspopup":"true",size:"small",sx:n0.iconButton,children:h}),w.jsxs(f1,{id:"user-menu",anchorEl:n,keepMounted:!0,open:!!n,onClose:c,children:[w.jsx(Yr,{onClick:a,children:pe.get("Profile")}),w.jsx(Yr,{onClick:f,children:pe.get("Log out")})]}),w.jsxs(qs,{open:i,keepMounted:!0,onClose:s,"aria-labelledby":"alert-dialog-slide-title","aria-describedby":"alert-dialog-slide-description",children:[w.jsx(rd,{id:"alert-dialog-slide-title",children:pe.get("User Profile")}),w.jsx(zs,{children:w.jsx(XXe,{userInfo:e.user.profile})}),w.jsx(lp,{children:w.jsx(Jn,{onClick:s,children:"OK"})})]})]})}else{let d=w.jsx(Et,{onClick:e.isLoading?void 0:u,size:"small",children:w.jsx(o$,{})});return e.isLoading&&(d=w.jsxs(QXe,{children:[d,w.jsx(Fv,{size:24,sx:n0.signInProgress})]})),d}},KXe=t=>Wt.instance.authClient?w.jsx(YXe,{...t}):null,ZXe=KXe,gle="UPDATE_ACCESS_TOKEN";function JXe(t){return(e,n)=>{const r=n().userAuthState.accessToken;r!==t&&(e(eQe(t)),(t===null||r===null)&&e(Dae()))}}function eQe(t){return{type:gle,accessToken:t}}const tQe=t=>({}),nQe={updateAccessToken:JXe},rQe=sn(tQe,nQe)(ZXe),iQe=t=>({locale:t.controlState.locale,appName:Wt.instance.branding.appBarTitle,allowRefresh:Wt.instance.branding.allowRefresh}),oQe={openDialog:xp,updateResources:Iae},aQe={appBar:t=>({zIndex:t.zIndex.drawer+1,transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.leavingScreen})})},sQe=be("a")(()=>({display:"flex",alignItems:"center"})),lQe=be("img")(({theme:t})=>({marginLeft:t.spacing(1)})),Cd={toolbar:t=>({backgroundColor:Wt.instance.branding.headerBackgroundColor,paddingRight:t.spacing(1)}),logo:t=>({marginLeft:t.spacing(1)}),title:t=>({flexGrow:1,marginLeft:t.spacing(1),...Wt.instance.branding.headerTitleStyle}),imageAvatar:{width:24,height:24,color:"#fff",backgroundColor:vh[300]},letterAvatar:{width:24,height:24,color:"#fff",backgroundColor:vh[300]},signInWrapper:t=>({margin:t.spacing(1),position:"relative"}),signInProgress:{color:vh[300],position:"absolute",top:"50%",left:"50%",zIndex:1,marginTop:"-12px",marginLeft:"-12px"},iconButton:t=>({marginLeft:t.spacing(2),...Wt.instance.branding.headerIconStyle})},cQe=({appName:t,openDialog:e,allowRefresh:n,updateResources:r})=>{const[i,o]=k.useState(!1),a=()=>{e("settings")},s=()=>{window.open("https://xcube.readthedocs.io/en/latest/viewer.html","Manual")},l=()=>{o(!0)},c=()=>{o(!1)};return w.jsxs(cne,{position:"absolute",sx:aQe.appBar,elevation:0,children:[w.jsxs(yM,{disableGutters:!0,sx:Cd.toolbar,variant:"dense",children:[w.jsx(sQe,{href:Wt.instance.branding.organisationUrl||"",target:"_blank",rel:"noreferrer",children:w.jsx(lQe,{src:Wt.instance.branding.logoImage,width:Wt.instance.branding.logoWidth,alt:"xcube logo"})}),w.jsx(zt,{component:"h1",variant:"h6",color:"inherit",noWrap:!0,sx:Cd.title,children:t}),w.jsx(rQe,{}),n&&w.jsx(Ct,{arrow:!0,title:pe.get("Refresh"),children:w.jsx(Et,{onClick:r,size:"small",sx:Cd.iconButton,children:w.jsx(Jj,{})})}),Wt.instance.branding.allowDownloads&&w.jsx(Ct,{arrow:!0,title:pe.get("Export data"),children:w.jsx(Et,{onClick:()=>e("export"),size:"small",sx:Cd.iconButton,children:w.jsx(n5,{})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Help"),children:w.jsx(Et,{onClick:s,size:"small",sx:Cd.iconButton,children:w.jsx(Qj,{})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Imprint"),children:w.jsx(Et,{onClick:l,size:"small",sx:Cd.iconButton,children:w.jsx(bre,{})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Settings"),children:w.jsx(Et,{onClick:a,size:"small",sx:Cd.iconButton,children:w.jsx(Kj,{})})})]}),w.jsx(VXe,{title:pe.get("Imprint"),href:"docs/imprint.md",open:i,onClose:c})]})},uQe=sn(iQe,oQe)(cQe),fQe=fi("form")(({theme:t})=>({display:"flex",flexWrap:"wrap",paddingTop:t.spacing(1),paddingLeft:t.spacing(1),paddingRight:t.spacing(1),flexGrow:0}));function dQe({children:t}){return w.jsx(fQe,{autoComplete:"off",children:t})}var DB={},hQe=pt;Object.defineProperty(DB,"__esModule",{value:!0});var LB=DB.default=void 0,pQe=hQe(mt()),mQe=w;LB=DB.default=(0,pQe.default)((0,mQe.jsx)("path",{d:"M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5M12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07c-.64-2.46-2.4-4.47-4.73-5.41V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8"}),"TravelExplore");const Pf=({className:t,disabled:e,onClick:n,icon:r,tooltipText:i})=>{const o=i?w.jsx(Ct,{arrow:!0,title:i,children:r}):r;return w.jsx(Et,{className:t,disabled:e,onClick:n,size:"small",children:o})},gQe=fi(jv)(({theme:t})=>({marginRight:t.spacing(1)}));function Tb({label:t,control:e,actions:n}){return w.jsx(gQe,{variant:"standard",children:w.jsxs(tt,{children:[t,e,n]})})}function vQe({selectedDatasetId:t,datasets:e,selectDataset:n,locateSelectedDataset:r}){const i=l=>{const c=l.target.value||null;n(c,e,!0)};t=t||"",e=e||[];const o=w.jsx(Bv,{shrink:!0,htmlFor:"dataset-select",children:pe.get("Dataset")}),a=w.jsx(up,{variant:"standard",value:t,onChange:i,input:w.jsx(cp,{name:"dataset",id:"dataset-select"}),displayEmpty:!0,name:"dataset",children:e.map(l=>w.jsx(Yr,{value:l.id,selected:l.id===t,children:l.title},l.id))}),s=w.jsx(Pf,{onClick:r,tooltipText:pe.get("Locate dataset in map"),icon:w.jsx(LB,{})});return w.jsx(Tb,{label:o,control:a,actions:s})}const yQe=t=>({locale:t.controlState.locale,selectedDatasetId:t.controlState.selectedDatasetId,datasets:t.dataState.datasets}),xQe={selectDataset:Kae,locateSelectedDataset:dHe},bQe=sn(yQe,xQe)(vQe);var $B={},_Qe=pt;Object.defineProperty($B,"__esModule",{value:!0});var NT=$B.default=void 0,wQe=_Qe(mt()),SQe=w;NT=$B.default=(0,wQe.default)((0,SQe.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"}),"Calculate");var NB={},OQe=pt;Object.defineProperty(NB,"__esModule",{value:!0});var vle=NB.default=void 0,CQe=OQe(mt()),TQe=w;vle=NB.default=(0,CQe.default)((0,TQe.jsx)("path",{d:"M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2zm0 15H5l5-6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"Compare");var FB={},EQe=pt;Object.defineProperty(FB,"__esModule",{value:!0});var yle=FB.default=void 0,PQe=EQe(mt()),MQe=w;yle=FB.default=(0,PQe.default)((0,MQe.jsx)("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline");const lo={toggleButton:{padding:.3}},FT="userVariablesDialog";function kQe(){return{id:Wl("user"),name:"",title:"",units:"",expression:"",colorBarName:"bone",colorBarMin:0,colorBarMax:1,shape:[],dims:[],dtype:"float64",timeChunkSize:null,attrs:{}}}function AQe({selectedDatasetId:t,selectedVariableName:e,selectedDataset2Id:n,selectedVariable2Name:r,variables:i,canAddTimeSeries:o,addTimeSeries:a,selectVariable:s,selectVariable2:l,openDialog:c}){const u=b=>{s(b.target.value||null)},f=()=>{c(FT)},d=()=>{a()},h=t===n&&e===r,p=w.jsx(Bv,{shrink:!0,htmlFor:"variable-select",children:pe.get("Variable")});function m(b){if(!b)return"?";const _=b.title||b.name;return t===n&&b.name===r?`${_} (#2)`:_}const g=w.jsx(up,{variant:"standard",value:e||"",onChange:u,input:w.jsx(cp,{name:"variable",id:"variable-select"}),displayEmpty:!0,name:"variable",renderValue:()=>m(i.find(b=>b.name===e)),children:(i||[]).map(b=>w.jsxs(Yr,{value:b.name,selected:b.name===e,children:[kM(b)&&w.jsx(Gne,{children:w.jsx(NT,{fontSize:"small"})}),w.jsx(qa,{children:m(b)})]},b.name))}),v=w.jsx(Pf,{onClick:f,tooltipText:pe.get("Add/manage user-defined variables"),icon:w.jsx(NT,{})},"userVariables"),y=w.jsx(Pf,{disabled:!o,onClick:d,tooltipText:pe.get("Show time-series diagram"),icon:w.jsx(yle,{})},"timeSeries"),x=w.jsx(fn,{selected:h,value:"comparison",size:"small",sx:lo.toggleButton,onClick:()=>l(t,e),children:w.jsx(Ct,{arrow:!0,title:pe.get("Make it 2nd variable for comparison"),children:w.jsx(vle,{})})},"variable2");return w.jsx(Tb,{label:p,control:g,actions:[v,y,x]})}const RQe=t=>({locale:t.controlState.locale,selectedDatasetId:t.controlState.selectedDatasetId,selectedVariableName:t.controlState.selectedVariableName,selectedDataset2Id:t.controlState.selectedDataset2Id,selectedVariable2Name:t.controlState.selectedVariable2Name,canAddTimeSeries:uae(t),variables:j8e(t)}),IQe={openDialog:xp,selectVariable:bHe,selectVariable2:_He,addTimeSeries:HM},DQe=sn(RQe,IQe)(AQe);var jB={},LQe=pt;Object.defineProperty(jB,"__esModule",{value:!0});var wp=jB.default=void 0,$Qe=LQe(mt()),NQe=w;wp=jB.default=(0,$Qe.default)((0,NQe.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");var BB={},FQe=pt;Object.defineProperty(BB,"__esModule",{value:!0});var z1=BB.default=void 0,jQe=FQe(mt()),BQe=w;z1=BB.default=(0,jQe.default)((0,BQe.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline");const xle=({itemValue:t,setItemValue:e,validateItemValue:n,editMode:r,setEditMode:i,labelText:o,select:a,actions:s})=>{const l=k.useRef(null),[c,u]=k.useState("");k.useEffect(()=>{r&&u(t)},[r,t,u]),k.useEffect(()=>{if(r){const p=l.current;p!==null&&(p.focus(),p.select())}},[r]);const f=w.jsx(Bv,{shrink:!0,htmlFor:"place-select",children:o});if(!r)return w.jsx(Tb,{label:f,control:a,actions:s});const d=n?n(c):!0,h=w.jsx(cp,{value:c,error:!d,inputRef:l,onBlur:()=>i(!1),onKeyUp:p=>{p.code==="Escape"?i(!1):p.code==="Enter"&&d&&(i(!1),e(c))},onChange:p=>{u(p.currentTarget.value)}});return w.jsx(Tb,{label:f,control:h})},zQe={select:{minWidth:"5em"}};function UQe({placeGroups:t,selectPlaceGroups:e,renameUserPlaceGroup:n,removeUserPlaceGroup:r,selectedPlaceGroupIds:i,selectedPlaceGroupsTitle:o}){const[a,s]=k.useState(!1);if(t=t||[],i=i||[],t.length===0)return null;const l=i.length===1?i[0]:null,c=m=>{n(l,m)},u=m=>{e(m.target.value||null)},f=()=>o,d=w.jsx(up,{variant:"standard",multiple:!0,displayEmpty:!0,onChange:u,input:w.jsx(cp,{name:"place-groups",id:"place-groups-select"}),value:i,renderValue:f,name:"place-groups",sx:zQe.select,children:t.map(m=>w.jsxs(Yr,{value:m.id,children:[w.jsx(iL,{checked:i.indexOf(m.id)>-1}),w.jsx(qa,{primary:m.title})]},m.id))});let h=!1;l!==null&&l.startsWith(Wv)&&(h=!!t.find(m=>m.id===l&&m.features&&m.features.length>=0));let p;if(h){const m=()=>{s(!0)},g=()=>{r(l)};p=[w.jsx(Pf,{onClick:m,tooltipText:pe.get("Rename place group"),icon:w.jsx(wp,{})},"editPlaceGroup"),w.jsx(Pf,{onClick:g,tooltipText:pe.get("Remove places"),icon:w.jsx(z1,{})},"removePlaceGroup")]}return w.jsx(xle,{itemValue:o,setItemValue:c,validateItemValue:m=>m.trim().length>0,editMode:a,setEditMode:s,labelText:pe.get("Places"),select:d,actions:p})}const WQe=t=>({locale:t.controlState.locale,selectedPlaceGroupIds:t.controlState.selectedPlaceGroupIds,placeGroups:aB(t),selectedPlaceGroupsTitle:Z8e(t)}),VQe={selectPlaceGroups:gHe,renameUserPlaceGroup:WGe,removeUserPlaceGroup:qGe},GQe=sn(WQe,VQe)(UQe),HQe={select:{minWidth:"5em"}};function qQe({selectPlace:t,placeLabels:e,selectedPlaceId:n,selectedPlaceGroupIds:r,renameUserPlace:i,removeUserPlace:o,places:a,locateSelectedPlace:s}){const[l,c]=k.useState(!1);a=a||[],e=e||[],n=n||"",r=r||[];const u=r.length===1?r[0]:null,f=a.findIndex(y=>y.id===n),d=f>=0?e[f]:"",h=y=>{i(u,n,y)},p=y=>{t(y.target.value||null,a,!0)},m=w.jsx(up,{variant:"standard",value:n,onChange:p,input:w.jsx(cp,{name:"place",id:"place-select"}),displayEmpty:!0,name:"place",sx:HQe.select,disabled:a.length===0,children:a.map((y,x)=>w.jsx(Yr,{value:y.id,selected:y.id===n,children:e[x]},y.id))}),g=u!==null&&u.startsWith(Wv)&&n!=="";let v;if(!l&&g){const y=()=>{c(!0)},x=()=>{o(u,n,a)};v=[w.jsx(Pf,{onClick:y,tooltipText:pe.get("Rename place"),icon:w.jsx(wp,{})},"editButton"),w.jsx(Pf,{onClick:x,tooltipText:pe.get("Remove place"),icon:w.jsx(z1,{})},"removeButton"),w.jsx(Pf,{onClick:s,tooltipText:pe.get("Locate place in map"),icon:w.jsx(LB,{})},"locatePlace")]}return w.jsx(xle,{itemValue:d,setItemValue:h,validateItemValue:y=>y.trim().length>0,editMode:l,setEditMode:c,labelText:pe.get("Place"),select:m,actions:v})}const XQe=t=>({locale:t.controlState.locale,datasets:t.dataState.datasets,selectedPlaceGroupIds:t.controlState.selectedPlaceGroupIds,selectedPlaceId:t.controlState.selectedPlaceId,places:$1(t),placeLabels:tGe(t)}),QQe={selectPlace:qM,renameUserPlace:VGe,removeUserPlace:HGe,locateSelectedPlace:hHe,openDialog:xp},YQe=sn(XQe,QQe)(qQe);var zB={},KQe=pt;Object.defineProperty(zB,"__esModule",{value:!0});var ble=zB.default=void 0,ZQe=KQe(mt()),JQe=w;ble=zB.default=(0,ZQe.default)((0,JQe.jsx)("path",{d:"M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7m4 8h-3v3h-2v-3H8V8h3V5h2v3h3z"}),"AddLocation");var UB={},eYe=pt;Object.defineProperty(UB,"__esModule",{value:!0});var _le=UB.default=void 0,tYe=eYe(mt()),nYe=w;_le=UB.default=(0,tYe.default)((0,nYe.jsx)("path",{d:"M11.71 17.99C8.53 17.84 6 15.22 6 12c0-3.31 2.69-6 6-6 3.22 0 5.84 2.53 5.99 5.71l-2.1-.63C15.48 9.31 13.89 8 12 8c-2.21 0-4 1.79-4 4 0 1.89 1.31 3.48 3.08 3.89zM22 12c0 .3-.01.6-.04.9l-1.97-.59c.01-.1.01-.21.01-.31 0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8c.1 0 .21 0 .31-.01l.59 1.97c-.3.03-.6.04-.9.04-5.52 0-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10m-3.77 4.26L22 15l-10-3 3 10 1.26-3.77 4.27 4.27 1.98-1.98z"}),"AdsClick");var WB={},rYe=pt;Object.defineProperty(WB,"__esModule",{value:!0});var wle=WB.default=void 0,iYe=rYe(mt()),LA=w;wle=WB.default=(0,iYe.default)([(0,LA.jsx)("path",{d:"m12 2-5.5 9h11z"},"0"),(0,LA.jsx)("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),(0,LA.jsx)("path",{d:"M3 13.5h8v8H3z"},"2")],"Category");var VB={},oYe=pt;Object.defineProperty(VB,"__esModule",{value:!0});var Sle=VB.default=void 0,aYe=oYe(mt()),sYe=w;Sle=VB.default=(0,aYe.default)((0,sYe.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");var GB={},lYe=pt;Object.defineProperty(GB,"__esModule",{value:!0});var Ole=GB.default=void 0,cYe=lYe(mt()),uYe=w;Ole=GB.default=(0,cYe.default)((0,uYe.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload");const fYe=fi(jv)(({theme:t})=>({marginTop:t.spacing(2),marginLeft:t.spacing(1),marginRight:t.spacing(2)}));function dYe({mapInteraction:t,setMapInteraction:e}){function n(r,i){e(i!==null?i:"Select")}return w.jsx(fYe,{variant:"standard",children:w.jsxs(fp,{size:"small",value:t,exclusive:!0,onChange:n,children:[w.jsx(fn,{value:"Select",size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Select a place in map"),children:w.jsx(_le,{})})},0),w.jsx(fn,{value:"Point",size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Add a point location in map"),children:w.jsx(ble,{})})},1),w.jsx(fn,{value:"Polygon",size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Draw a polygon area in map"),children:w.jsx(wle,{})})},2),w.jsx(fn,{value:"Circle",size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Draw a circular area in map"),children:w.jsx(Sle,{})})},3),w.jsx(fn,{value:"Geometry",size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Import places"),children:w.jsx(Ole,{})})},4)]})})}const hYe=t=>({mapInteraction:t.controlState.mapInteraction}),pYe={setMapInteraction:pse},mYe=sn(hYe,pYe)(dYe);var cH=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U1=(typeof window>"u"?"undefined":cH(window))==="object"&&(typeof document>"u"?"undefined":cH(document))==="object"&&document.nodeType===9,gYe={}.constructor;function a$(t){if(t==null||typeof t!="object")return t;if(Array.isArray(t))return t.map(a$);if(t.constructor!==gYe)return t;var e={};for(var n in t)e[n]=a$(t[n]);return e}function HB(t,e,n){t===void 0&&(t="unnamed");var r=n.jss,i=a$(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var uH=function(e,n){for(var r="",i=0;i<+~=|^:(),"'`\s])/g,fH=typeof CSS<"u"&&CSS.escape,qB=function(t){return fH?fH(t):t.replace(vYe,"\\$1")},Cle=function(){function t(n,r,i){this.type="style",this.isProcessed=!1;var o=i.sheet,a=i.Renderer;this.key=n,this.options=i,this.style=r,o?this.renderer=o.renderer:a&&(this.renderer=new a)}var e=t.prototype;return e.prop=function(r,i,o){if(i===void 0)return this.style[r];var a=o?o.force:!1;if(!a&&this.style[r]===i)return this;var s=i;(!o||o.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(i,r,this));var l=s==null||s===!1,c=r in this.style;if(l&&!c&&!a)return this;var u=l&&c;if(u?delete this.style[r]:this.style[r]=s,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,r):this.renderer.setProperty(this.renderable,r,s),this;var f=this.options.sheet;return f&&f.attached,this},t}(),s$=function(t){s1(e,t);function e(r,i,o){var a;a=t.call(this,r,i,o)||this;var s=o.selector,l=o.scoped,c=o.sheet,u=o.generateId;return s?a.selectorText=s:l!==!1&&(a.id=u(st(st(a)),c),a.selectorText="."+qB(a.id)),a}var n=e.prototype;return n.applyTo=function(i){var o=this.renderer;if(o){var a=this.toJSON();for(var s in a)o.setProperty(i,s,a[s])}return this},n.toJSON=function(){var i={};for(var o in this.style){var a=this.style[o];typeof a!="object"?i[o]=a:Array.isArray(a)&&(i[o]=Ch(a))}return i},n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?j({},i,{allowEmpty:!0}):i;return Eb(this.selectorText,this.style,s)},Qt(e,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var o=this.renderer,a=this.renderable;if(!(!a||!o)){var s=o.setSelector(a,i);s||o.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),e}(Cle),yYe={onCreateRule:function(e,n,r){return e[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new s$(e,n,r)}},$A={indent:1,children:!0},xYe=/@([\w-]+)/,bYe=function(){function t(n,r,i){this.type="conditional",this.isProcessed=!1,this.key=n;var o=n.match(xYe);this.at=o?o[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new e2(j({},i,{parent:this}));for(var a in r)this.rules.add(a,r[a]);this.rules.process()}var e=t.prototype;return e.getRule=function(r){return this.rules.get(r)},e.indexOf=function(r){return this.rules.indexOf(r)},e.addRule=function(r,i,o){var a=this.rules.add(r,i,o);return a?(this.options.jss.plugins.onProcessRule(a),a):null},e.replaceRule=function(r,i,o){var a=this.rules.replace(r,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},e.toString=function(r){r===void 0&&(r=$A);var i=ry(r),o=i.linebreak;if(r.indent==null&&(r.indent=$A.indent),r.children==null&&(r.children=$A.children),r.children===!1)return this.query+" {}";var a=this.rules.toString(r);return a?this.query+" {"+o+a+o+"}":""},t}(),_Ye=/@container|@media|@supports\s+/,wYe={onCreateRule:function(e,n,r){return _Ye.test(e)?new bYe(e,n,r):null}},NA={indent:1,children:!0},SYe=/@keyframes\s+([\w-]+)/,l$=function(){function t(n,r,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=n.match(SYe);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=i;var a=i.scoped,s=i.sheet,l=i.generateId;this.id=a===!1?this.name:qB(l(this,s)),this.rules=new e2(j({},i,{parent:this}));for(var c in r)this.rules.add(c,r[c],j({},i,{parent:this}));this.rules.process()}var e=t.prototype;return e.toString=function(r){r===void 0&&(r=NA);var i=ry(r),o=i.linebreak;if(r.indent==null&&(r.indent=NA.indent),r.children==null&&(r.children=NA.children),r.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(r);return a&&(a=""+o+a+o),this.at+" "+this.id+" {"+a+"}"},t}(),OYe=/@keyframes\s+/,CYe=/\$([\w-]+)/g,c$=function(e,n){return typeof e=="string"?e.replace(CYe,function(r,i){return i in n?n[i]:r}):e},dH=function(e,n,r){var i=e[n],o=c$(i,r);o!==i&&(e[n]=o)},TYe={onCreateRule:function(e,n,r){return typeof e=="string"&&OYe.test(e)?new l$(e,n,r):null},onProcessStyle:function(e,n,r){return n.type!=="style"||!r||("animation-name"in e&&dH(e,"animation-name",r.keyframes),"animation"in e&&dH(e,"animation",r.keyframes)),e},onChangeValue:function(e,n,r){var i=r.options.sheet;if(!i)return e;switch(n){case"animation":return c$(e,i.keyframes);case"animation-name":return c$(e,i.keyframes);default:return e}}},EYe=function(t){s1(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?j({},i,{allowEmpty:!0}):i;return Eb(this.key,this.style,s)},e}(Cle),PYe={onCreateRule:function(e,n,r){return r.parent&&r.parent.type==="keyframes"?new EYe(e,n,r):null}},MYe=function(){function t(n,r,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=r,this.options=i}var e=t.prototype;return e.toString=function(r){var i=ry(r),o=i.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s=this.index){i.push(r);return}for(var a=0;ao){i.splice(a,0,r);return}}},e.reset=function(){this.registry=[]},e.remove=function(r){var i=this.registry.indexOf(r);this.registry.splice(i,1)},e.toString=function(r){for(var i=r===void 0?{}:r,o=i.attached,a=Ae(i,["attached"]),s=ry(a),l=s.linebreak,c="",u=0;u-1?i.substr(0,o-1):i;e.style.setProperty(n,a,o>-1?"important":"")}}catch{return!1}return!0},UYe=function(e,n){try{e.attributeStyleMap?e.attributeStyleMap.delete(n):e.style.removeProperty(n)}catch{}},WYe=function(e,n){return e.selectorText=n,e.selectorText===n},Ple=Ele(function(){return document.querySelector("head")});function VYe(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}function GYe(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}function HYe(t){for(var e=Ple(),n=0;n0){var n=VYe(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=GYe(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&typeof r=="string"){var i=HYe(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}function XYe(t,e){var n=e.insertionPoint,r=qYe(e);if(r!==!1&&r.parent){r.parent.insertBefore(t,r.node);return}if(n&&typeof n.nodeType=="number"){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling);return}Ple().appendChild(t)}var QYe=Ele(function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}),vH=function(e,n,r){try{"insertRule"in e?e.insertRule(n,r):"appendRule"in e&&e.appendRule(n)}catch{return!1}return e.cssRules[r]},yH=function(e,n){var r=e.cssRules.length;return n===void 0||n>r?r:n},YYe=function(){var e=document.createElement("style");return e.textContent=` -`,e},KYe=function(){function t(n){this.getPropertyValue=BYe,this.setProperty=zYe,this.removeProperty=UYe,this.setSelector=WYe,this.hasInsertedRules=!1,this.cssRules=[],n&&Tx.add(n),this.sheet=n;var r=this.sheet?this.sheet.options:{},i=r.media,o=r.meta,a=r.element;this.element=a||YYe(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),o&&this.element.setAttribute("data-meta",o);var s=QYe();s&&this.element.setAttribute("nonce",s)}var e=t.prototype;return e.attach=function(){if(!(this.element.parentNode||!this.sheet)){XYe(this.element,this.sheet.options);var r=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&r&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var r=this.element.parentNode;r&&r.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=` -`)}},e.deploy=function(){var r=this.sheet;if(r){if(r.options.link){this.insertRules(r.rules);return}this.element.textContent=` -`+r.toString()+` -`}},e.insertRules=function(r,i){for(var o=0;o{n[o]&&(i[o]=`${e[o]} ${n[o]}`)}),i}const eKe={set:(t,e,n,r)=>{let i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)},get:(t,e,n)=>{const r=t.get(e);return r?r.get(n):void 0},delete:(t,e,n)=>{t.get(e).delete(n)}},zm=eKe;function Rle(){var t;const e=mj();return(t=e==null?void 0:e.$$material)!=null?t:e}const tKe=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function nKe(t={}){const{disableGlobal:e=!1,productionPrefix:n="jss",seed:r=""}=t,i=r===""?"":`${r}-`;let o=0;const a=()=>(o+=1,o);return(s,l)=>{const c=l.options.name;if(c&&c.indexOf("Mui")===0&&!l.options.link&&!e){if(tKe.indexOf(s.key)!==-1)return`Mui-${s.key}`;const u=`${i}${c}-${s.key}`;return!l.options.theme[Hte]||r!==""?u:`${u}-${a()}`}return`${i}${n}${a()}`}}var Ile=Date.now(),FA="fnValues"+Ile,jA="fnStyle"+ ++Ile,rKe=function(){return{onCreateRule:function(n,r,i){if(typeof r!="function")return null;var o=HB(n,{},i);return o[jA]=r,o},onProcessStyle:function(n,r){if(FA in r||jA in r)return n;var i={};for(var o in n){var a=n[o];typeof a=="function"&&(delete n[o],i[o]=a)}return r[FA]=i,n},onUpdate:function(n,r,i,o){var a=r,s=a[jA];s&&(a.style=s(n)||{});var l=a[FA];if(l)for(var c in l)a.prop(c,l[c](n),o)}}},Mf="@global",d$="@global ",iKe=function(){function t(n,r,i){this.type="global",this.at=Mf,this.isProcessed=!1,this.key=n,this.options=i,this.rules=new e2(j({},i,{parent:this}));for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(r){return this.rules.get(r)},e.addRule=function(r,i,o){var a=this.rules.add(r,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},e.replaceRule=function(r,i,o){var a=this.rules.replace(r,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},e.indexOf=function(r){return this.rules.indexOf(r)},e.toString=function(r){return this.rules.toString(r)},t}(),oKe=function(){function t(n,r,i){this.type="global",this.at=Mf,this.isProcessed=!1,this.key=n,this.options=i;var o=n.substr(d$.length);this.rule=i.jss.createRule(o,r,j({},i,{parent:this}))}var e=t.prototype;return e.toString=function(r){return this.rule?this.rule.toString(r):""},t}(),aKe=/\s*,\s*/g;function Dle(t,e){for(var n=t.split(aKe),r="",i=0;i-1){var o=jle[e];if(!Array.isArray(o))return Lt.js+Vf(o)in n?Lt.css+o:!1;if(!i)return!1;for(var a=0;ar?1:-1:n.length-r.length};return{onProcessStyle:function(n,r){if(r.type!=="style")return n;for(var i={},o=Object.keys(n).sort(t),a=0;a"u"?null:JKe(),eZe()]}}const nZe=Mle(tZe()),rZe=nKe(),iZe=new Map,oZe={disableGeneration:!1,generateClassName:rZe,jss:nZe,sheetsCache:null,sheetsManager:iZe,sheetsRegistry:null},aZe=k.createContext(oZe);let wH=-1e9;function sZe(){return wH+=1,wH}const lZe=["variant"];function SH(t){return t.length===0}function cZe(t){const{variant:e}=t,n=Ae(t,lZe);let r=e||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=SH(r)?t[i]:De(t[i]):r+=`${SH(r)?i:De(i)}${De(t[i].toString())}`}),r}const uZe={},fZe=uZe;function dZe(t){const e=typeof t=="function";return{create:(n,r)=>{let i;try{i=e?t(n):t}catch(l){throw l}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return i;const o=n.components[r].styleOverrides||{},a=n.components[r].variants||[],s=j({},i);return Object.keys(o).forEach(l=>{s[l]=Ri(s[l]||{},o[l])}),a.forEach(l=>{const c=cZe(l.props);s[c]=Ri(s[c]||{},l.style)}),s},options:{}}}const hZe=["name","classNamePrefix","Component","defaultTheme"];function pZe({state:t,stylesOptions:e},n,r){if(e.disableGeneration)return n||{};t.cacheClasses||(t.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return t.classes!==t.cacheClasses.lastJSS&&(t.cacheClasses.lastJSS=t.classes,i=!0),n!==t.cacheClasses.lastProp&&(t.cacheClasses.lastProp=n,i=!0),i&&(t.cacheClasses.value=Ale({baseClasses:t.cacheClasses.lastJSS,newClasses:n,Component:r})),t.cacheClasses.value}function mZe({state:t,theme:e,stylesOptions:n,stylesCreator:r,name:i},o){if(n.disableGeneration)return;let a=zm.get(n.sheetsManager,r,e);a||(a={refs:0,staticSheet:null,dynamicStyles:null},zm.set(n.sheetsManager,r,e,a));const s=j({},r.options,n,{theme:e,flip:typeof n.flip=="boolean"?n.flip:e.direction==="rtl"});s.generateId=s.serverGenerateClassName||s.generateClassName;const l=n.sheetsRegistry;if(a.refs===0){let c;n.sheetsCache&&(c=zm.get(n.sheetsCache,r,e));const u=r.create(e,i);c||(c=n.jss.createStyleSheet(u,j({link:!1},s)),c.attach(),n.sheetsCache&&zm.set(n.sheetsCache,r,e,c)),l&&l.add(c),a.staticSheet=c,a.dynamicStyles=kle(u)}if(a.dynamicStyles){const c=n.jss.createStyleSheet(a.dynamicStyles,j({link:!0},s));c.update(o),c.attach(),t.dynamicSheet=c,t.classes=Ale({baseClasses:a.staticSheet.classes,newClasses:c.classes}),l&&l.add(c)}else t.classes=a.staticSheet.classes;a.refs+=1}function gZe({state:t},e){t.dynamicSheet&&t.dynamicSheet.update(e)}function vZe({state:t,theme:e,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=zm.get(n.sheetsManager,r,e);i.refs-=1;const o=n.sheetsRegistry;i.refs===0&&(zm.delete(n.sheetsManager,r,e),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),o&&o.remove(t.dynamicSheet))}function yZe(t,e){const n=k.useRef([]);let r;const i=k.useMemo(()=>({}),e);n.current!==i&&(n.current=i,r=t()),k.useEffect(()=>()=>{r&&r()},[i])}function xZe(t,e={}){const{name:n,classNamePrefix:r,Component:i,defaultTheme:o=fZe}=e,a=Ae(e,hZe),s=dZe(t),l=n||r||"makeStyles";return s.options={index:sZe(),name:n,meta:l,classNamePrefix:l},(u={})=>{const f=Rle()||o,d=j({},k.useContext(aZe),a),h=k.useRef(),p=k.useRef();return yZe(()=>{const g={name:n,state:{},stylesCreator:s,stylesOptions:d,theme:f};return mZe(g,u),p.current=!1,h.current=g,()=>{vZe(g)}},[f,s]),k.useEffect(()=>{p.current&&gZe(h.current,u),p.current=!0}),pZe(h.current,u.classes,i)}}function bZe(t){const{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n]||!e.components[n].defaultProps)return r;const i=j({},r),o=e.components[n].defaultProps;let a;for(a in o)i[a]===void 0&&(i[a]=o[a]);return i}const _Ze=["defaultTheme","withTheme","name"],wZe=["classes"],SZe=(t,e={})=>n=>{const{defaultTheme:r,withTheme:i=!1,name:o}=e,a=Ae(e,_Ze);let s=o;const l=xZe(t,j({defaultTheme:r,Component:n,name:o||n.displayName,classNamePrefix:s},a)),c=k.forwardRef(function(f,d){const h=Ae(f,wZe),p=l(j({},n.defaultProps,f));let m,g=h;return(typeof o=="string"||i)&&(m=Rle()||r,o&&(g=bZe({theme:m,name:o,props:h})),i&&!g.theme&&(g.theme=m)),w.jsx(n,j({ref:d,classes:p},g))});return WD(c,n),c},OZe=t=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:j({},t)}}}}),zle={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:t=>t==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",inputModeToggleButtonAriaLabel:(t,e)=>t?`text input view is open, go to ${e} view`:`${e} view is open, go to text input view`,start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerDefaultToolbarTitle:"Select date",dateTimePickerDefaultToolbarTitle:"Select date & time",timePickerDefaultToolbarTitle:"Select time",dateRangePickerDefaultToolbarTitle:"Select date range",clockLabelText:(t,e,n)=>`Select ${t}. ${e===null?"No time selected":`Selected time is ${n.format(e,"fullTime")}`}`,hoursClockNumberText:t=>`${t} hours`,minutesClockNumberText:t=>`${t} minutes`,secondsClockNumberText:t=>`${t} seconds`,openDatePickerDialogue:(t,e)=>t&&e.isValid(e.date(t))?`Choose date, selected date is ${e.format(e.date(t),"fullDate")}`:"Choose date",openTimePickerDialogue:(t,e)=>t&&e.isValid(e.date(t))?`Choose time, selected time is ${e.format(e.date(t),"fullTime")}`:"Choose time",timeTableLabel:"pick time",dateTableLabel:"pick date"},CZe=zle;OZe(zle);const Ule=k.createContext(null);function TZe(t){const e=qe({props:t,name:"MuiLocalizationProvider"}),{children:n,dateAdapter:r,dateFormats:i,dateLibInstance:o,locale:a,adapterLocale:s,localeText:l}=e,c=k.useMemo(()=>new r({locale:s??a,formats:i,instance:o}),[r,a,s,i,o]),u=k.useMemo(()=>({minDate:c.date("1900-01-01T00:00:00.000"),maxDate:c.date("2099-12-31T00:00:00.000")}),[c]),f=k.useMemo(()=>({utils:c,defaultDates:u,localeText:j({},CZe,l??{})}),[u,c,l]);return w.jsx(Ule.Provider,{value:f,children:n})}var m$={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(l,c){switch(l){case"P":return c.date({width:"short"});case"PP":return c.date({width:"medium"});case"PPP":return c.date({width:"long"});case"PPPP":default:return c.date({width:"full"})}},r=function(l,c){switch(l){case"p":return c.time({width:"short"});case"pp":return c.time({width:"medium"});case"ppp":return c.time({width:"long"});case"pppp":default:return c.time({width:"full"})}},i=function(l,c){var u=l.match(/(P+)(p+)?/)||[],f=u[1],d=u[2];if(!d)return n(l,c);var h;switch(f){case"P":h=c.dateTime({width:"short"});break;case"PP":h=c.dateTime({width:"medium"});break;case"PPP":h=c.dateTime({width:"long"});break;case"PPPP":default:h=c.dateTime({width:"full"});break}return h.replace("{{date}}",n(f,c)).replace("{{time}}",r(d,c))},o={p:r,P:i},a=o;e.default=a,t.exports=e.default})(m$,m$.exports);var EZe=m$.exports;const Wle=$t(EZe),PZe={dayOfMonth:"d",fullDate:"PP",fullDateWithWeekday:"PPPP",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aaa",fullDateTime24h:"PP HH:mm",fullTime:"p",fullTime12h:"hh:mm aaa",fullTime24h:"HH:mm",hours12h:"hh",hours24h:"HH",keyboardDate:"P",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aaa",keyboardDateTime24h:"P HH:mm",minutes:"mm",month:"LLLL",monthAndDate:"MMMM d",monthAndYear:"LLLL yyyy",monthShort:"MMM",weekday:"EEEE",weekdayShort:"EEE",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",seconds:"ss",shortDate:"MMM d",year:"yyyy"};class MZe{constructor({locale:e,formats:n}={}){this.lib="date-fns",this.is12HourCycleInCurrentLocale=()=>{var r;return this.locale?/a/.test((r=this.locale.formatLong)===null||r===void 0?void 0:r.time()):!0},this.getFormatHelperText=r=>{var i,o;const a=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,s=this.locale||UM;return(o=(i=r.match(a))===null||i===void 0?void 0:i.map(l=>{const c=l[0];if(c==="p"||c==="P"){const u=Wle[c];return u(l,s.formatLong,{})}return l}).join("").replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase())!==null&&o!==void 0?o:r},this.parseISO=r=>Ooe(r),this.toISO=r=>D6e(r,{format:"extended"}),this.getCurrentLocaleCode=()=>{var r;return((r=this.locale)===null||r===void 0?void 0:r.code)||"en-US"},this.addSeconds=(r,i)=>gUe(r,i),this.addMinutes=(r,i)=>mUe(r,i),this.addHours=(r,i)=>uUe(r,i),this.addDays=(r,i)=>NL(r,i),this.addWeeks=(r,i)=>vUe(r,i),this.addMonths=(r,i)=>lC(r,i),this.addYears=(r,i)=>sG(r,i),this.isValid=r=>soe(this.date(r)),this.getDiff=(r,i,o)=>{var a;const s=(a=this.date(i))!==null&&a!==void 0?a:r;if(!this.isValid(s))return 0;switch(o){case"years":return kUe(r,s);case"quarters":return EUe(r,s);case"months":return coe(r,s);case"weeks":return MUe(r,s);case"days":return loe(r,s);case"hours":return OUe(r,s);case"minutes":return CUe(r,s);case"seconds":return PUe(r,s);default:return zM(r,s)}},this.isAfter=(r,i)=>dS(r,i),this.isBefore=(r,i)=>Vp(r,i),this.startOfDay=r=>Vg(r),this.endOfDay=r=>FL(r),this.getHours=r=>N6e(r),this.setHours=(r,i)=>oVe(r,i),this.setMinutes=(r,i)=>aVe(r,i),this.getSeconds=r=>B6e(r),this.setSeconds=(r,i)=>sVe(r,i),this.isSameDay=(r,i)=>xUe(r,i),this.isSameMonth=(r,i)=>jWe(r,i),this.isSameYear=(r,i)=>BWe(r,i),this.isSameHour=(r,i)=>FWe(r,i),this.startOfYear=r=>fS(r),this.endOfYear=r=>yA(r),this.startOfMonth=r=>uS(r),this.endOfMonth=r=>jL(r),this.startOfWeek=r=>vA(r,{locale:this.locale}),this.endOfWeek=r=>xA(r,{locale:this.locale}),this.getYear=r=>z6e(r),this.setYear=(r,i)=>lVe(r,i),this.date=r=>typeof r>"u"?new Date:r===null?null:new Date(r),this.toJsDate=r=>r,this.parse=(r,i)=>r===""?null:$We(r,i,new Date,{locale:this.locale}),this.format=(r,i)=>this.formatByString(r,this.formats[i]),this.formatByString=(r,i)=>A6e(r,i,{locale:this.locale}),this.isEqual=(r,i)=>r===null&&i===null?!0:U6e(r,i),this.isNull=r=>r===null,this.isAfterDay=(r,i)=>dS(r,FL(i)),this.isBeforeDay=(r,i)=>Vp(r,Vg(i)),this.isBeforeYear=(r,i)=>Vp(r,fS(i)),this.isAfterYear=(r,i)=>dS(r,yA(i)),this.isWithinRange=(r,[i,o])=>zWe(r,{start:i,end:o}),this.formatNumber=r=>r,this.getMinutes=r=>F6e(r),this.getDate=r=>L6e(r),this.setDate=(r,i)=>iVe(r,i),this.getMonth=r=>j6e(r),this.getDaysInMonth=r=>voe(r),this.setMonth=(r,i)=>rVe(r,i),this.getMeridiemText=r=>r==="am"?"AM":"PM",this.getNextMonth=r=>lC(r,1),this.getPreviousMonth=r=>lC(r,-1),this.getMonthArray=r=>{const o=[fS(r)];for(;o.length<12;){const a=o[o.length-1];o.push(this.getNextMonth(a))}return o},this.mergeDateAndTime=(r,i)=>this.setSeconds(this.setMinutes(this.setHours(r,this.getHours(i)),this.getMinutes(i)),this.getSeconds(i)),this.getWeekdays=()=>{const r=new Date;return AUe({start:vA(r,{locale:this.locale}),end:xA(r,{locale:this.locale})}).map(i=>this.formatByString(i,"EEEEEE"))},this.getWeekArray=r=>{const i=vA(uS(r),{locale:this.locale}),o=xA(jL(r),{locale:this.locale});let a=0,s=i;const l=[];let c=null;for(;Vp(s,o);){const u=Math.floor(a/7);l[u]=l[u]||[];const f=$6e(s);c!==f&&(c=f,l[u].push(s),a+=1),s=NL(s,1)}return l},this.getYearRange=(r,i)=>{const o=fS(r),a=yA(i),s=[];let l=o;for(;Vp(l,a);)s.push(l),l=sG(l,1);return s},this.locale=e,this.formats=Object.assign({},PZe,n)}isBeforeMonth(e,n){return Vp(e,uS(n))}isAfterMonth(e,n){return dS(e,uS(n))}}const kZe={y:"year",yy:"year",yyy:"year",yyyy:"year",MMMM:"month",MM:"month",DD:"day",d:"day",dd:"day",H:"hour",HH:"hour",h:"hour",hh:"hour",mm:"minute",ss:"second",a:"am-pm",aa:"am-pm",aaa:"am-pm"};class AZe extends MZe{constructor(...e){super(...e),this.formatTokenMap=kZe,this.expandFormat=n=>{const r=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return n.match(r).map(i=>{const o=i[0];if(o==="p"||o==="P"){const a=Wle[o],s=this.locale||UM;return a(i,s.formatLong,{})}return i}).join("")},this.getFormatHelperText=n=>this.expandFormat(n).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase()}}const W1=()=>{const t=k.useContext(Ule);if(t===null)throw new Error("MUI: Can not find utils in context. It looks like you forgot to wrap your component in LocalizationProvider, or pass dateAdapter prop directly.");return t},_r=()=>W1().utils,t2=()=>W1().defaultDates,ld=()=>W1().localeText,V1=()=>{const t=_r();return k.useRef(t.date()).current},Px=({date:t,disableFuture:e,disablePast:n,maxDate:r,minDate:i,isDateDisabled:o,utils:a})=>{const s=a.startOfDay(a.date());n&&a.isBefore(i,s)&&(i=s),e&&a.isAfter(r,s)&&(r=s);let l=t,c=t;for(a.isBefore(t,i)&&(l=a.date(i),c=null),a.isAfter(t,r)&&(c&&(c=a.date(r)),l=null);l||c;){if(l&&a.isAfter(l,r)&&(l=null),c&&a.isBefore(c,i)&&(c=null),l){if(!o(l))return l;l=a.addDays(l,1)}if(c){if(!o(c))return c;c=a.addDays(c,-1)}}return null},RZe=(t,e)=>{const n=t.date(e);return t.isValid(n)?n:null},Gl=(t,e,n)=>{if(e==null)return n;const r=t.date(e);return t.isValid(r)?r:n};function Vle(t,e){var n,r,i,o,a;const s=qe({props:t,name:e}),l=_r(),c=t2(),u=(n=s.ampm)!=null?n:l.is12HourCycleInCurrentLocale();if(s.orientation!=null&&s.orientation!=="portrait")throw new Error("We are not supporting custom orientation for DateTimePicker yet :(");return j({ampm:u,orientation:"portrait",openTo:"day",views:["year","day","hours","minutes"],ampmInClock:!0,acceptRegex:u?/[\dap]/gi:/\d/gi,disableMaskedInput:!1,inputFormat:u?l.formats.keyboardDateTime12h:l.formats.keyboardDateTime24h,disableIgnoringDatePartForTimeValidation:!!(s.minDateTime||s.maxDateTime),disablePast:!1,disableFuture:!1},s,{minDate:Gl(l,(r=s.minDateTime)!=null?r:s.minDate,c.minDate),maxDate:Gl(l,(i=s.maxDateTime)!=null?i:s.maxDate,c.maxDate),minTime:(o=s.minDateTime)!=null?o:s.minTime,maxTime:(a=s.maxDateTime)!=null?a:s.maxTime})}const Gle={emptyValue:null,getTodayValue:t=>t.date(),parseInput:RZe,areValuesEqual:(t,e,n)=>t.isEqual(e,n)},IZe=t=>{switch(t){case"year":case"month":case"day":return"calendar";default:return"clock"}};function Hle(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e{const{classes:e,selected:n}=t;return Ue({root:["root",n&&"selected"]},DZe,e)},NZe=be(zt,{name:"PrivatePickersToolbarText",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${OH.selected}`]:e.selected}]})(({theme:t})=>({transition:t.transitions.create("color"),color:t.palette.text.secondary,[`&.${OH.selected}`]:{color:t.palette.text.primary}})),qle=k.forwardRef(function(e,n){const{className:r,value:i}=e,o=Ae(e,LZe),a=$Ze(e);return w.jsx(NZe,j({ref:n,className:Br(r,a.root),component:"span"},o,{children:i}))}),FZe=Jr(w.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),jZe=Jr(w.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),BZe=Jr(w.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),Xle=Jr(w.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),zZe=Jr(w.jsxs(k.Fragment,{children:[w.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),w.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),UZe=Jr(w.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),WZe=Jr(w.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Pen"),VZe=Jr(w.jsxs(k.Fragment,{children:[w.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),w.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");function Qle(t){return We("MuiPickersToolbar",t)}const Yle=Ve("MuiPickersToolbar",["root","content","penIconButton","penIconButtonLandscape"]),GZe=t=>{const{classes:e,isLandscape:n}=t;return Ue({root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]},Qle,e)},HZe=be("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>j({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3)},e.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})),qZe=be(iC,{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(t,e)=>e.content})(({ownerState:t})=>j({flex:1},!t.isLandscape&&{alignItems:"center"})),XZe=be(Et,{name:"MuiPickersToolbar",slot:"PenIconButton",overridesResolver:(t,e)=>[{[`&.${Yle.penIconButtonLandscape}`]:e.penIconButtonLandscape},e.penIconButton]})({}),QZe=t=>t==="clock"?w.jsx(zZe,{color:"inherit"}):w.jsx(Xle,{color:"inherit"}),YZe=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersToolbar"}),{children:i,className:o,getMobileKeyboardInputViewButtonText:a,isLandscape:s,isMobileKeyboardViewOpen:l,landscapeDirection:c="column",toggleMobileKeyboardView:u,toolbarTitle:f,viewType:d="calendar"}=r,h=r,p=ld(),m=GZe(h);return w.jsxs(HZe,{ref:n,className:Br(m.root,o),ownerState:h,children:[w.jsx(zt,{color:"text.secondary",variant:"overline",children:f}),w.jsxs(qZe,{container:!0,justifyContent:"space-between",className:m.content,ownerState:h,direction:s?c:"row",alignItems:s?"flex-start":"flex-end",children:[i,w.jsx(XZe,{onClick:u,className:m.penIconButton,ownerState:h,color:"inherit","aria-label":a?a(l,d):p.inputModeToggleButtonAriaLabel(l,d),children:l?QZe(d):w.jsx(WZe,{color:"inherit"})})]})]})}),KZe=["align","className","selected","typographyClassName","value","variant"],ZZe=t=>{const{classes:e}=t;return Ue({root:["root"]},Qle,e)},JZe=be(Jn,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:0,minWidth:16,textTransform:"none"}),i0=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersToolbarButton"}),{align:i,className:o,selected:a,typographyClassName:s,value:l,variant:c}=r,u=Ae(r,KZe),f=ZZe(r);return w.jsx(JZe,j({variant:"text",ref:n,className:Br(o,f.root)},u,{children:w.jsx(qle,{align:i,className:s,variant:c,value:l,selected:a})}))});function eJe(t){return We("MuiDateTimePickerToolbar",t)}Ve("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","separator"]);const tJe=["ampm","parsedValue","isMobileKeyboardViewOpen","onChange","openView","setOpenView","toggleMobileKeyboardView","toolbarFormat","toolbarPlaceholder","toolbarTitle","views"],nJe=t=>{const{classes:e}=t;return Ue({root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer"],separator:["separator"]},eJe,e)},rJe=be(YZe,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",[`& .${Yle.penIconButton}`]:j({position:"absolute",top:8},t.direction==="rtl"?{left:8}:{right:8})})),iJe=be("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(t,e)=>e.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),oJe=be("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(t,e)=>e.timeContainer})({display:"flex"}),CH=be(qle,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(t,e)=>e.separator})({margin:"0 4px 0 2px",cursor:"default"});function Kle(t){const e=qe({props:t,name:"MuiDateTimePickerToolbar"}),{ampm:n,parsedValue:r,isMobileKeyboardViewOpen:i,openView:o,setOpenView:a,toggleMobileKeyboardView:s,toolbarFormat:l,toolbarPlaceholder:c="––",toolbarTitle:u,views:f}=e,d=Ae(e,tJe),h=e,p=_r(),m=ld(),g=nJe(h),v=u??m.dateTimePickerDefaultToolbarTitle,y=b=>n?p.format(b,"hours12h"):p.format(b,"hours24h"),x=k.useMemo(()=>r?l?p.formatByString(r,l):p.format(r,"shortDate"):c,[r,l,c,p]);return w.jsxs(rJe,j({toolbarTitle:v,isMobileKeyboardViewOpen:i,toggleMobileKeyboardView:s,className:g.root,viewType:IZe(o)},d,{isLandscape:!1,ownerState:h,children:[w.jsxs(iJe,{className:g.dateContainer,ownerState:h,children:[f.includes("year")&&w.jsx(i0,{tabIndex:-1,variant:"subtitle1",onClick:()=>a("year"),selected:o==="year",value:r?p.format(r,"year"):"–"}),f.includes("day")&&w.jsx(i0,{tabIndex:-1,variant:"h4",onClick:()=>a("day"),selected:o==="day",value:x})]}),w.jsxs(oJe,{className:g.timeContainer,ownerState:h,children:[f.includes("hours")&&w.jsx(i0,{variant:"h3",onClick:()=>a("hours"),selected:o==="hours",value:r?y(r):"--"}),f.includes("minutes")&&w.jsxs(k.Fragment,{children:[w.jsx(CH,{variant:"h3",value:":",className:g.separator,ownerState:h}),w.jsx(i0,{variant:"h3",onClick:()=>a("minutes"),selected:o==="minutes",value:r?p.format(r,"minutes"):"--"})]}),f.includes("seconds")&&w.jsxs(k.Fragment,{children:[w.jsx(CH,{variant:"h3",value:":",className:g.separator,ownerState:h}),w.jsx(i0,{variant:"h3",onClick:()=>a("seconds"),selected:o==="seconds",value:r?p.format(r,"seconds"):"--"})]})]})]}))}const cd=k.createContext(null),aJe=["onAccept","onClear","onCancel","onSetToday","actions"],Zle=t=>{const{onAccept:e,onClear:n,onCancel:r,onSetToday:i,actions:o}=t,a=Ae(t,aJe),s=k.useContext(cd),l=ld(),c=typeof o=="function"?o(s):o;if(c==null||c.length===0)return null;const u=c==null?void 0:c.map(f=>{switch(f){case"clear":return w.jsx(Jn,{onClick:n,children:l.clearButtonLabel},f);case"cancel":return w.jsx(Jn,{onClick:r,children:l.cancelButtonLabel},f);case"accept":return w.jsx(Jn,{onClick:e,children:l.okButtonLabel},f);case"today":return w.jsx(Jn,{onClick:i,children:l.todayButtonLabel},f);default:return null}});return w.jsx(lp,j({},a,{children:u}))};function sJe(t){return We("MuiPickersPopper",t)}Ve("MuiPickersPopper",["root","paper"]);function Jle(t,e){return Array.isArray(e)?e.every(n=>t.indexOf(n)!==-1):t.indexOf(e)!==-1}const ece=(t,e)=>n=>{(n.key==="Enter"||n.key===" ")&&(t(n),n.preventDefault(),n.stopPropagation()),e&&e(n)},tce=(t=document)=>{const e=t.activeElement;return e?e.shadowRoot?tce(e.shadowRoot):e:null},lJe=["onClick","onTouchStart"],cJe=t=>{const{classes:e}=t;return Ue({root:["root"],paper:["paper"]},sJe,e)},uJe=be(Dj,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({zIndex:t.zIndex.modal})),fJe=be(Di,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(t,e)=>e.paper})(({ownerState:t})=>j({transformOrigin:"top center",outline:0},t.placement==="top"&&{transformOrigin:"bottom center"}));function dJe(t,e){return e.documentElement.clientWidth{if(!t)return;function l(){o.current=!0}return document.addEventListener("mousedown",l,!0),document.addEventListener("touchstart",l,!0),()=>{document.removeEventListener("mousedown",l,!0),document.removeEventListener("touchstart",l,!0),o.current=!1}},[t]);const a=xr(l=>{if(!o.current)return;const c=r.current;r.current=!1;const u=Dn(i.current);if(!i.current||"clientX"in l&&dJe(l,u))return;if(n.current){n.current=!1;return}let f;l.composedPath?f=l.composedPath().indexOf(i.current)>-1:f=!u.documentElement.contains(l.target)||i.current.contains(l.target),!f&&!c&&e(l)}),s=()=>{r.current=!0};return k.useEffect(()=>{if(t){const l=Dn(i.current),c=()=>{n.current=!0};return l.addEventListener("touchstart",a),l.addEventListener("touchmove",c),()=>{l.removeEventListener("touchstart",a),l.removeEventListener("touchmove",c)}}},[t,a]),k.useEffect(()=>{if(t){const l=Dn(i.current);return l.addEventListener("click",a),()=>{l.removeEventListener("click",a),r.current=!1}}},[t,a]),[i,s,s]}function pJe(t){var e;const n=qe({props:t,name:"MuiPickersPopper"}),{anchorEl:r,children:i,containerRef:o=null,onBlur:a,onClose:s,onClear:l,onAccept:c,onCancel:u,onSetToday:f,open:d,PopperProps:h,role:p,TransitionComponent:m=fb,TrapFocusProps:g,PaperProps:v={},components:y,componentsProps:x}=n;k.useEffect(()=>{function z($){d&&($.key==="Escape"||$.key==="Esc")&&s()}return document.addEventListener("keydown",z),()=>{document.removeEventListener("keydown",z)}},[s,d]);const b=k.useRef(null);k.useEffect(()=>{p!=="tooltip"&&(d?b.current=tce(document):b.current&&b.current instanceof HTMLElement&&setTimeout(()=>{b.current instanceof HTMLElement&&b.current.focus()}))},[d,p]);const[_,S,O]=hJe(d,a??s),C=k.useRef(null),E=Kt(C,o),M=Kt(E,_),I=n,P=cJe(I),{onClick:R,onTouchStart:T}=v,D=Ae(v,lJe),U=z=>{z.key==="Escape"&&(z.stopPropagation(),s())},B=(e=y==null?void 0:y.ActionBar)!=null?e:Zle,W=(y==null?void 0:y.PaperContent)||k.Fragment;return w.jsx(uJe,j({transition:!0,role:p,open:d,anchorEl:r,onKeyDown:U,className:P.root},h,{children:({TransitionProps:z,placement:$})=>w.jsx(dne,j({open:d,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:p==="tooltip",isEnabled:()=>!0},g,{children:w.jsx(m,j({},z,{children:w.jsx(fJe,j({tabIndex:-1,elevation:8,ref:M,onClick:N=>{S(N),R&&R(N)},onTouchStart:N=>{O(N),T&&T(N)},ownerState:j({},I,{placement:$}),className:P.paper},D,{children:w.jsxs(W,j({},x==null?void 0:x.paperContent,{children:[i,w.jsx(B,j({onAccept:c,onClear:l,onCancel:u,onSetToday:f,actions:[]},x==null?void 0:x.actionBar))]}))}))}))}))}))}function mJe(t){const{children:e,DateInputProps:n,KeyboardDateInputComponent:r,onClear:i,onDismiss:o,onCancel:a,onAccept:s,onSetToday:l,open:c,PopperProps:u,PaperProps:f,TransitionComponent:d,components:h,componentsProps:p}=t,m=k.useRef(null),g=Kt(n.inputRef,m);return w.jsxs(cd.Provider,{value:"desktop",children:[w.jsx(r,j({},n,{inputRef:g})),w.jsx(pJe,{role:"dialog",open:c,anchorEl:m.current,TransitionComponent:d,PopperProps:u,PaperProps:f,onClose:o,onCancel:a,onClear:i,onAccept:s,onSetToday:l,components:h,componentsProps:p,children:e})]})}function YB({onChange:t,onViewChange:e,openTo:n,view:r,views:i}){var o,a;const[s,l]=Bs({name:"Picker",state:"view",controlled:r,default:n&&Jle(i,n)?n:i[0]}),c=(o=i[i.indexOf(s)-1])!=null?o:null,u=(a=i[i.indexOf(s)+1])!=null?a:null,f=k.useCallback(p=>{l(p),e&&e(p)},[l,e]),d=k.useCallback(()=>{u&&f(u)},[u,f]);return{handleChangeAndOpenNext:k.useCallback((p,m)=>{const g=m==="finish";t(p,g&&u?"partial":m),g&&d()},[u,t,d]),nextView:u,previousView:c,openNext:d,openView:s,setOpenView:f}}const Hg=220,kf=36,Pb={x:Hg/2,y:Hg/2},nce={x:Pb.x,y:0},gJe=nce.x-Pb.x,vJe=nce.y-Pb.y,yJe=t=>t*(180/Math.PI),rce=(t,e,n)=>{const r=e-Pb.x,i=n-Pb.y,o=Math.atan2(gJe,vJe)-Math.atan2(r,i);let a=yJe(o);a=Math.round(a/t)*t,a%=360;const s=Math.floor(a/t)||0,l=r**2+i**2,c=Math.sqrt(l);return{value:s,distance:c}},xJe=(t,e,n=1)=>{const r=n*6;let{value:i}=rce(r,t,e);return i=i*n%60,i},bJe=(t,e,n)=>{const{value:r,distance:i}=rce(30,t,e);let o=r||12;return n?o%=12:i{const{classes:e}=t;return Ue({root:["root"],thumb:["thumb"]},_Je,e)},OJe=be("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>j({width:2,backgroundColor:t.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},e.shouldAnimate&&{transition:t.transitions.create(["transform","height"])})),CJe=be("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(({theme:t,ownerState:e})=>j({width:4,height:4,backgroundColor:t.palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:`calc(50% - ${kf/2}px)`,border:`${(kf-4)/2}px solid ${t.palette.primary.main}`,boxSizing:"content-box"},e.hasSelected&&{backgroundColor:t.palette.primary.main}));function TJe(t){const e=qe({props:t,name:"MuiClockPointer"}),{className:n,isInner:r,type:i,value:o}=e,a=Ae(e,wJe),s=k.useRef(i);k.useEffect(()=>{s.current=i},[i]);const l=j({},e,{shouldAnimate:s.current!==i}),c=SJe(l),u=()=>{let d=360/(i==="hours"?12:60)*o;return i==="hours"&&o>12&&(d-=360),{height:Math.round((r?.26:.4)*Hg),transform:`rotateZ(${d}deg)`}};return w.jsx(OJe,j({style:u(),className:Br(n,c.root),ownerState:l},a,{children:w.jsx(CJe,{ownerState:l,className:c.thumb})}))}function EJe(t){return We("MuiClock",t)}Ve("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton"]);const PJe=t=>{const{classes:e}=t;return Ue({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"]},EJe,e)},MJe=be("div",{name:"MuiClock",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:t.spacing(2)})),kJe=be("div",{name:"MuiClock",slot:"Clock",overridesResolver:(t,e)=>e.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),AJe=be("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({"&:focus":{outline:"none"}}),RJe=be("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(t,e)=>e.squareMask})(({ownerState:t})=>j({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},t.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}})),IJe=be("div",{name:"MuiClock",slot:"Pin",overridesResolver:(t,e)=>e.pin})(({theme:t})=>({width:6,height:6,borderRadius:"50%",backgroundColor:t.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"})),DJe=be(Et,{name:"MuiClock",slot:"AmButton",overridesResolver:(t,e)=>e.amButton})(({theme:t,ownerState:e})=>j({zIndex:1,position:"absolute",bottom:e.ampmInClock?64:8,left:8},e.meridiemMode==="am"&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}})),LJe=be(Et,{name:"MuiClock",slot:"PmButton",overridesResolver:(t,e)=>e.pmButton})(({theme:t,ownerState:e})=>j({zIndex:1,position:"absolute",bottom:e.ampmInClock?64:8,right:8},e.meridiemMode==="pm"&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}}));function $Je(t){const e=qe({props:t,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:i,children:o,date:a,getClockLabelText:s,handleMeridiemChange:l,isTimeDisabled:c,meridiemMode:u,minutesStep:f=1,onChange:d,selectedId:h,type:p,value:m,disabled:g,readOnly:v,className:y}=e,x=e,b=_r(),_=k.useContext(cd),S=k.useRef(!1),O=PJe(x),C=c(m,p),E=!n&&p==="hours"&&(m<1||m>12),M=($,N)=>{g||v||c($,p)||d($,N)},I=($,N)=>{let{offsetX:L,offsetY:A}=$;if(L===void 0){const Y=$.target.getBoundingClientRect();L=$.changedTouches[0].clientX-Y.left,A=$.changedTouches[0].clientY-Y.top}const q=p==="seconds"||p==="minutes"?xJe(L,A,f):bJe(L,A,!!n);M(q,N)},P=$=>{S.current=!0,I($,"shallow")},R=$=>{S.current&&(I($,"finish"),S.current=!1)},T=$=>{$.buttons>0&&I($.nativeEvent,"shallow")},D=$=>{S.current&&(S.current=!1),I($.nativeEvent,"finish")},U=k.useMemo(()=>p==="hours"?!0:m%5===0,[p,m]),B=p==="minutes"?f:1,W=k.useRef(null);Ur(()=>{i&&W.current.focus()},[i]);const z=$=>{if(!S.current)switch($.key){case"Home":M(0,"partial"),$.preventDefault();break;case"End":M(p==="minutes"?59:23,"partial"),$.preventDefault();break;case"ArrowUp":M(m+B,"partial"),$.preventDefault();break;case"ArrowDown":M(m-B,"partial"),$.preventDefault();break}};return w.jsxs(MJe,{className:Br(y,O.root),children:[w.jsxs(kJe,{className:O.clock,children:[w.jsx(RJe,{onTouchMove:P,onTouchEnd:R,onMouseUp:D,onMouseMove:T,ownerState:{disabled:g},className:O.squareMask}),!C&&w.jsxs(k.Fragment,{children:[w.jsx(IJe,{className:O.pin}),a&&w.jsx(TJe,{type:p,value:m,isInner:E,hasSelected:U})]}),w.jsx(AJe,{"aria-activedescendant":h,"aria-label":s(p,a,b),ref:W,role:"listbox",onKeyDown:z,tabIndex:0,className:O.wrapper,children:o})]}),n&&(_==="desktop"||r)&&w.jsxs(k.Fragment,{children:[w.jsx(DJe,{onClick:v?void 0:()=>l("am"),disabled:g||u===null,ownerState:x,className:O.amButton,children:w.jsx(zt,{variant:"caption",children:"AM"})}),w.jsx(LJe,{disabled:g||u===null,onClick:v?void 0:()=>l("pm"),ownerState:x,className:O.pmButton,children:w.jsx(zt,{variant:"caption",children:"PM"})})]})]})}const ice=t=>()=>{};function NJe(t){return We("MuiClockNumber",t)}const yS=Ve("MuiClockNumber",["root","selected","disabled"]),FJe=["className","disabled","index","inner","label","selected"],jJe=t=>{const{classes:e,selected:n,disabled:r}=t;return Ue({root:["root",n&&"selected",r&&"disabled"]},NJe,e)},BJe=be("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${yS.disabled}`]:e.disabled},{[`&.${yS.selected}`]:e.selected}]})(({theme:t,ownerState:e})=>j({height:kf,width:kf,position:"absolute",left:`calc((100% - ${kf}px) / 2)`,display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:t.palette.text.primary,fontFamily:t.typography.fontFamily,"&:focused":{backgroundColor:t.palette.background.paper},[`&.${yS.selected}`]:{color:t.palette.primary.contrastText},[`&.${yS.disabled}`]:{pointerEvents:"none",color:t.palette.text.disabled}},e.inner&&j({},t.typography.body2,{color:t.palette.text.secondary})));function oce(t){const e=qe({props:t,name:"MuiClockNumber"}),{className:n,disabled:r,index:i,inner:o,label:a,selected:s}=e,l=Ae(e,FJe),c=e,u=jJe(c),f=i%12/12*Math.PI*2-Math.PI/2,d=(Hg-kf-2)/2*(o?.65:1),h=Math.round(Math.cos(f)*d),p=Math.round(Math.sin(f)*d);return w.jsx(BJe,j({className:Br(n,u.root),"aria-disabled":r?!0:void 0,"aria-selected":s?!0:void 0,role:"option",style:{transform:`translate(${h}px, ${p+(Hg-kf)/2}px`},ownerState:c},l,{children:a}))}const zJe=({ampm:t,date:e,getClockNumberText:n,isDisabled:r,selectedId:i,utils:o})=>{const a=e?o.getHours(e):null,s=[],l=t?1:0,c=t?12:23,u=f=>a===null?!1:t?f===12?a===12||a===0:a===f||a-12===f:a===f;for(let f=l;f<=c;f+=1){let d=f.toString();f===0&&(d="00");const h=!t&&(f===0||f>12);d=o.formatNumber(d);const p=u(f);s.push(w.jsx(oce,{id:p?i:void 0,index:f,inner:h,selected:p,disabled:r(f),label:d,"aria-label":n(d)},f))}return s},TH=({utils:t,value:e,isDisabled:n,getClockNumberText:r,selectedId:i})=>{const o=t.formatNumber;return[[5,o("05")],[10,o("10")],[15,o("15")],[20,o("20")],[25,o("25")],[30,o("30")],[35,o("35")],[40,o("40")],[45,o("45")],[50,o("50")],[55,o("55")],[0,o("00")]].map(([a,s],l)=>{const c=a===e;return w.jsx(oce,{label:s,id:c?i:void 0,index:l+1,inner:!1,disabled:n(a),selected:c,"aria-label":r(s)},a)})};function UJe(t){return We("MuiPickersArrowSwitcher",t)}Ve("MuiPickersArrowSwitcher",["root","spacer","button"]);const WJe=["children","className","components","componentsProps","isLeftDisabled","isLeftHidden","isRightDisabled","isRightHidden","leftArrowButtonText","onLeftClick","onRightClick","rightArrowButtonText"],VJe=t=>{const{classes:e}=t;return Ue({root:["root"],spacer:["spacer"],button:["button"]},UJe,e)},GJe=be("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex"}),HJe=be("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})(({theme:t})=>({width:t.spacing(3)})),EH=be(Et,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(t,e)=>e.button})(({ownerState:t})=>j({},t.hidden&&{visibility:"hidden"})),ace=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersArrowSwitcher"}),{children:i,className:o,components:a,componentsProps:s,isLeftDisabled:l,isLeftHidden:c,isRightDisabled:u,isRightHidden:f,leftArrowButtonText:d,onLeftClick:h,onRightClick:p,rightArrowButtonText:m}=r,g=Ae(r,WJe),y=Wo().direction==="rtl",x=(s==null?void 0:s.leftArrowButton)||{},b=(a==null?void 0:a.LeftArrowIcon)||jZe,_=(s==null?void 0:s.rightArrowButton)||{},S=(a==null?void 0:a.RightArrowIcon)||BZe,O=r,C=VJe(O);return w.jsxs(GJe,j({ref:n,className:Br(C.root,o),ownerState:O},g,{children:[w.jsx(EH,j({as:a==null?void 0:a.LeftArrowButton,size:"small","aria-label":d,title:d,disabled:l,edge:"end",onClick:h},x,{className:Br(C.button,x.className),ownerState:j({},O,x,{hidden:c}),children:y?w.jsx(S,{}):w.jsx(b,{})})),i?w.jsx(zt,{variant:"subtitle1",component:"span",children:i}):w.jsx(HJe,{className:C.spacer,ownerState:O}),w.jsx(EH,j({as:a==null?void 0:a.RightArrowButton,size:"small","aria-label":m,title:m,edge:"start",disabled:u,onClick:p},_,{className:Br(C.button,_.className),ownerState:j({},O,_,{hidden:f}),children:y?w.jsx(b,{}):w.jsx(S,{})}))]}))}),qJe=(t,e)=>t?e.getHours(t)>=12?"pm":"am":null,g$=(t,e,n)=>n&&(t>=12?"pm":"am")!==e?e==="am"?t-12:t+12:t,XJe=(t,e,n,r)=>{const i=g$(r.getHours(t),e,n);return r.setHours(t,i)},PH=(t,e)=>e.getHours(t)*3600+e.getMinutes(t)*60+e.getSeconds(t),sce=(t=!1,e)=>(n,r)=>t?e.isAfter(n,r):PH(n,e)>PH(r,e);function QJe(t,{disableFuture:e,maxDate:n}){const r=_r();return k.useMemo(()=>{const i=r.date(),o=r.startOfMonth(e&&r.isBefore(i,n)?i:n);return!r.isAfter(o,t)},[e,n,t,r])}function YJe(t,{disablePast:e,minDate:n}){const r=_r();return k.useMemo(()=>{const i=r.date(),o=r.startOfMonth(e&&r.isAfter(i,n)?i:n);return!r.isBefore(o,t)},[e,n,t,r])}function KJe(t,e,n){const r=_r(),i=qJe(t,r),o=k.useCallback(a=>{const s=t==null?null:XJe(t,a,!!e,r);n(s,"partial")},[e,t,n,r]);return{meridiemMode:i,handleMeridiemChange:o}}function ZJe(t){return We("MuiClockPicker",t)}Ve("MuiClockPicker",["root","arrowSwitcher"]);const v$=36,KB=2,lce=320,JJe=358,ZB=be("div")({overflowX:"hidden",width:lce,maxHeight:JJe,display:"flex",flexDirection:"column",margin:"0 auto"}),eet=t=>{const{classes:e}=t;return Ue({root:["root"],arrowSwitcher:["arrowSwitcher"]},ZJe,e)},tet=be(ZB,{name:"MuiClockPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column"}),net=be(ace,{name:"MuiClockPicker",slot:"ArrowSwitcher",overridesResolver:(t,e)=>e.arrowSwitcher})({position:"absolute",right:12,top:15}),ret=ice(),iet=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiClockPicker"}),{ampm:i=!1,ampmInClock:o=!1,autoFocus:a,components:s,componentsProps:l,date:c,disableIgnoringDatePartForTimeValidation:u,getClockLabelText:f,getHoursClockNumberText:d,getMinutesClockNumberText:h,getSecondsClockNumberText:p,leftArrowButtonText:m,maxTime:g,minTime:v,minutesStep:y=1,rightArrowButtonText:x,shouldDisableTime:b,showViewSwitcher:_,onChange:S,view:O,views:C=["hours","minutes"],openTo:E,onViewChange:M,className:I,disabled:P,readOnly:R}=r;ret({leftArrowButtonText:m,rightArrowButtonText:x,getClockLabelText:f,getHoursClockNumberText:d,getMinutesClockNumberText:h,getSecondsClockNumberText:p});const T=ld(),D=m??T.openPreviousView,U=x??T.openNextView,B=f??T.clockLabelText,W=d??T.hoursClockNumberText,z=h??T.minutesClockNumberText,$=p??T.secondsClockNumberText,{openView:N,setOpenView:L,nextView:A,previousView:q,handleChangeAndOpenNext:Y}=YB({view:O,views:C,openTo:E,onViewChange:M,onChange:S}),K=V1(),se=_r(),ee=k.useMemo(()=>c||se.setSeconds(se.setMinutes(se.setHours(K,0),0),0),[c,K,se]),{meridiemMode:te,handleMeridiemChange:de}=KJe(ee,i,Y),xe=k.useCallback((le,Q)=>{const X=sce(u,se),J=({start:ye,end:V})=>!(v&&X(v,V)||g&&X(ye,g)),ge=(ye,V=1)=>ye%V!==0?!1:b?!b(ye,Q):!0;switch(Q){case"hours":{const ye=g$(le,te,i),V=se.setHours(ee,ye),H=se.setSeconds(se.setMinutes(V,0),0),re=se.setSeconds(se.setMinutes(V,59),59);return!J({start:H,end:re})||!ge(ye)}case"minutes":{const ye=se.setMinutes(ee,le),V=se.setSeconds(ye,0),H=se.setSeconds(ye,59);return!J({start:V,end:H})||!ge(le,y)}case"seconds":{const ye=se.setSeconds(ee,le);return!J({start:ye,end:ye})||!ge(le)}default:throw new Error("not supported")}},[i,ee,u,g,te,v,y,b,se]),ie=ed(),ve=k.useMemo(()=>{switch(N){case"hours":{const le=(Q,X)=>{const J=g$(Q,te,i);Y(se.setHours(ee,J),X)};return{onChange:le,value:se.getHours(ee),children:zJe({date:c,utils:se,ampm:i,onChange:le,getClockNumberText:W,isDisabled:Q=>P||xe(Q,"hours"),selectedId:ie})}}case"minutes":{const le=se.getMinutes(ee),Q=(X,J)=>{Y(se.setMinutes(ee,X),J)};return{value:le,onChange:Q,children:TH({utils:se,value:le,onChange:Q,getClockNumberText:z,isDisabled:X=>P||xe(X,"minutes"),selectedId:ie})}}case"seconds":{const le=se.getSeconds(ee),Q=(X,J)=>{Y(se.setSeconds(ee,X),J)};return{value:le,onChange:Q,children:TH({utils:se,value:le,onChange:Q,getClockNumberText:$,isDisabled:X=>P||xe(X,"seconds"),selectedId:ie})}}default:throw new Error("You must provide the type for ClockView")}},[N,se,c,i,W,z,$,te,Y,ee,xe,ie,P]),F=r,ce=eet(F);return w.jsxs(tet,{ref:n,className:Br(ce.root,I),ownerState:F,children:[_&&w.jsx(net,{className:ce.arrowSwitcher,leftArrowButtonText:D,rightArrowButtonText:U,components:s,componentsProps:l,onLeftClick:()=>L(q),onRightClick:()=>L(A),isLeftDisabled:!q,isRightDisabled:!A,ownerState:F}),w.jsx($Je,j({autoFocus:a,date:c,ampmInClock:o,type:N,ampm:i,getClockLabelText:B,minutesStep:y,isTimeDisabled:xe,meridiemMode:te,handleMeridiemChange:de,selectedId:ie,disabled:P,readOnly:R},ve))]})});function oet(t){return We("PrivatePickersMonth",t)}const MH=Ve("PrivatePickersMonth",["root","selected"]),aet=["disabled","onSelect","selected","value","tabIndex","hasFocus","onFocus","onBlur"],set=t=>{const{classes:e,selected:n}=t;return Ue({root:["root",n&&"selected"]},oet,e)},cet=be(zt,{name:"PrivatePickersMonth",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${MH.selected}`]:e.selected}]})(({theme:t})=>j({flex:"1 0 33.33%",display:"flex",alignItems:"center",justifyContent:"center",color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"8px 0",height:36,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:$c(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{pointerEvents:"none",color:t.palette.text.secondary},[`&.${MH.selected}`]:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:focus, &:hover":{backgroundColor:t.palette.primary.dark}}})),kH=()=>{},uet=t=>{const{disabled:e,onSelect:n,selected:r,value:i,tabIndex:o,hasFocus:a,onFocus:s=kH,onBlur:l=kH}=t,c=Ae(t,aet),u=set(t),f=()=>{n(i)},d=k.useRef(null);return Ur(()=>{if(a){var h;(h=d.current)==null||h.focus()}},[a]),w.jsx(cet,j({ref:d,component:"button",type:"button",className:u.root,tabIndex:o,onClick:f,onKeyDown:ece(f),color:r?"primary":void 0,variant:r?"h5":"subtitle1",disabled:e,onFocus:h=>s(h,i),onBlur:h=>l(h,i)},c))};function fet(t){return We("MuiMonthPicker",t)}Ve("MuiMonthPicker",["root"]);const det=["className","date","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange"],het=t=>{const{classes:e}=t;return Ue({root:["root"]},fet,e)};function pet(t,e){const n=_r(),r=t2(),i=qe({props:t,name:e});return j({disableFuture:!1,disablePast:!1},i,{minDate:Gl(n,i.minDate,r.minDate),maxDate:Gl(n,i.maxDate,r.maxDate)})}const met=be("div",{name:"MuiMonthPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({width:310,display:"flex",flexWrap:"wrap",alignContent:"stretch",margin:"0 4px"}),get=k.forwardRef(function(e,n){const r=_r(),i=V1(),o=pet(e,"MuiMonthPicker"),{className:a,date:s,disabled:l,disableFuture:c,disablePast:u,maxDate:f,minDate:d,onChange:h,shouldDisableMonth:p,readOnly:m,disableHighlightToday:g,autoFocus:v=!1,onMonthFocus:y,hasFocus:x,onFocusedViewChange:b}=o,_=Ae(o,det),S=o,O=het(S),C=sp(),E=k.useMemo(()=>s??r.startOfMonth(i),[i,r,s]),M=k.useMemo(()=>s!=null?r.getMonth(s):g?null:r.getMonth(i),[i,s,r,g]),[I,P]=k.useState(()=>M||r.getMonth(i)),R=k.useCallback(A=>{const q=r.startOfMonth(u&&r.isAfter(i,d)?i:d),Y=r.startOfMonth(c&&r.isBefore(i,f)?i:f);return r.isBefore(A,q)||r.isAfter(A,Y)?!0:p?p(A):!1},[c,u,f,d,i,p,r]),T=A=>{if(m)return;const q=r.setMonth(E,A);h(q,"finish")},[D,U]=Bs({name:"MonthPicker",state:"hasFocus",controlled:x,default:v}),B=k.useCallback(A=>{U(A),b&&b(A)},[U,b]),W=k.useCallback(A=>{R(r.setMonth(E,A))||(P(A),B(!0),y&&y(A))},[R,r,E,B,y]);k.useEffect(()=>{P(A=>M!==null&&A!==M?M:A)},[M]);const z=xr(A=>{switch(A.key){case"ArrowUp":W((12+I-3)%12),A.preventDefault();break;case"ArrowDown":W((12+I+3)%12),A.preventDefault();break;case"ArrowLeft":W((12+I+(C.direction==="ltr"?-1:1))%12),A.preventDefault();break;case"ArrowRight":W((12+I+(C.direction==="ltr"?1:-1))%12),A.preventDefault();break}}),$=k.useCallback((A,q)=>{W(q)},[W]),N=k.useCallback(()=>{B(!1)},[B]),L=r.getMonth(i);return w.jsx(met,j({ref:n,className:Br(O.root,a),ownerState:S,onKeyDown:z},_,{children:r.getMonthArray(E).map(A=>{const q=r.getMonth(A),Y=r.format(A,"monthShort"),K=l||R(A);return w.jsx(uet,{value:q,selected:q===M,tabIndex:q===I&&!K?0:-1,hasFocus:D&&q===I,onSelect:T,onFocus:$,onBlur:N,disabled:K,"aria-current":L===q?"date":void 0,children:Y},Y)})}))});function vet(t,e,n){const{value:r,onError:i}=t,o=W1(),a=k.useRef(null),s=e({adapter:o,value:r,props:t});return k.useEffect(()=>{i&&!n(s,a.current)&&i(s,r),a.current=s},[n,i,a,s,r]),s}const cce=({props:t,value:e,adapter:n})=>{const r=n.utils.date(),i=n.utils.date(e),o=Gl(n.utils,t.minDate,n.defaultDates.minDate),a=Gl(n.utils,t.maxDate,n.defaultDates.maxDate);if(i===null)return null;switch(!0){case!n.utils.isValid(e):return"invalidDate";case!!(t.shouldDisableDate&&t.shouldDisableDate(i)):return"shouldDisableDate";case!!(t.disableFuture&&n.utils.isAfterDay(i,r)):return"disableFuture";case!!(t.disablePast&&n.utils.isBeforeDay(i,r)):return"disablePast";case!!(o&&n.utils.isBeforeDay(i,o)):return"minDate";case!!(a&&n.utils.isAfterDay(i,a)):return"maxDate";default:return null}},uce=({shouldDisableDate:t,minDate:e,maxDate:n,disableFuture:r,disablePast:i})=>{const o=W1();return k.useCallback(a=>cce({adapter:o,value:a,props:{shouldDisableDate:t,minDate:e,maxDate:n,disableFuture:r,disablePast:i}})!==null,[o,t,e,n,r,i])},yet=(t,e,n)=>(r,i)=>{switch(i.type){case"changeMonth":return j({},r,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!t});case"finishMonthSwitchingAnimation":return j({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(r.focusedDay!=null&&i.focusedDay!=null&&n.isSameDay(i.focusedDay,r.focusedDay))return r;const o=i.focusedDay!=null&&!e&&!n.isSameMonth(r.currentMonth,i.focusedDay);return j({},r,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:o&&!t&&!i.withoutMonthSwitchingAnimation,currentMonth:o?n.startOfMonth(i.focusedDay):r.currentMonth,slideDirection:i.focusedDay!=null&&n.isAfterDay(i.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}},xet=({date:t,defaultCalendarMonth:e,disableFuture:n,disablePast:r,disableSwitchToMonthOnDayFocus:i=!1,maxDate:o,minDate:a,onMonthChange:s,reduceAnimations:l,shouldDisableDate:c})=>{var u;const f=V1(),d=_r(),h=k.useRef(yet(!!l,i,d)).current,[p,m]=k.useReducer(h,{isMonthSwitchingAnimating:!1,focusedDay:t||f,currentMonth:d.startOfMonth((u=t??e)!=null?u:f),slideDirection:"left"}),g=k.useCallback(_=>{m(j({type:"changeMonth"},_)),s&&s(_.newMonth)},[s]),v=k.useCallback(_=>{const S=_??f;d.isSameMonth(S,p.currentMonth)||g({newMonth:d.startOfMonth(S),direction:d.isAfterDay(S,p.currentMonth)?"left":"right"})},[p.currentMonth,g,f,d]),y=uce({shouldDisableDate:c,minDate:a,maxDate:o,disableFuture:n,disablePast:r}),x=k.useCallback(()=>{m({type:"finishMonthSwitchingAnimation"})},[]),b=k.useCallback((_,S)=>{y(_)||m({type:"changeFocusedDay",focusedDay:_,withoutMonthSwitchingAnimation:S})},[y]);return{calendarState:p,changeMonth:v,changeFocusedDay:b,isDateDisabled:y,onMonthSwitchingAnimationEnd:x,handleChangeMonth:g}},bet=t=>We("MuiPickersFadeTransitionGroup",t);Ve("MuiPickersFadeTransitionGroup",["root"]);const _et=t=>{const{classes:e}=t;return Ue({root:["root"]},bet,e)},AH=500,wet=be(Oj,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"block",position:"relative"});function fce(t){const e=qe({props:t,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:i,transKey:o}=e,a=_et(e);return i?n:w.jsx(wet,{className:Br(a.root,r),children:w.jsx(pM,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:AH,enter:AH/2,exit:0},children:n},o)})}function Oet(t){return We("MuiPickersDay",t)}const xS=Ve("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),Cet=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today"],Tet=t=>{const{selected:e,disableMargin:n,disableHighlightToday:r,today:i,disabled:o,outsideCurrentMonth:a,showDaysOutsideCurrentMonth:s,classes:l}=t;return Ue({root:["root",e&&"selected",o&&"disabled",!n&&"dayWithMargin",!r&&i&&"today",a&&s&&"dayOutsideMonth",a&&!s&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},Oet,l)},dce=({theme:t,ownerState:e})=>j({},t.typography.caption,{width:v$,height:v$,borderRadius:"50%",padding:0,backgroundColor:t.palette.background.paper,color:t.palette.text.primary,"&:hover":{backgroundColor:$c(t.palette.action.active,t.palette.action.hoverOpacity)},"&:focus":{backgroundColor:$c(t.palette.action.active,t.palette.action.hoverOpacity),[`&.${xS.selected}`]:{willChange:"background-color",backgroundColor:t.palette.primary.dark}},[`&.${xS.selected}`]:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,fontWeight:t.typography.fontWeightMedium,transition:t.transitions.create("background-color",{duration:t.transitions.duration.short}),"&:hover":{willChange:"background-color",backgroundColor:t.palette.primary.dark}},[`&.${xS.disabled}`]:{color:t.palette.text.disabled}},!e.disableMargin&&{margin:`0 ${KB}px`},e.outsideCurrentMonth&&e.showDaysOutsideCurrentMonth&&{color:t.palette.text.secondary},!e.disableHighlightToday&&e.today&&{[`&:not(.${xS.selected})`]:{border:`1px solid ${t.palette.text.secondary}`}}),hce=(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableMargin&&e.dayWithMargin,!n.disableHighlightToday&&n.today&&e.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&e.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&e.hiddenDaySpacingFiller]},Eet=be(rs,{name:"MuiPickersDay",slot:"Root",overridesResolver:hce})(dce),Pet=be("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:hce})(({theme:t,ownerState:e})=>j({},dce({theme:t,ownerState:e}),{opacity:0,pointerEvents:"none"})),HA=()=>{},Met=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersDay"}),{autoFocus:i=!1,className:o,day:a,disabled:s=!1,disableHighlightToday:l=!1,disableMargin:c=!1,isAnimating:u,onClick:f,onDaySelect:d,onFocus:h=HA,onBlur:p=HA,onKeyDown:m=HA,onMouseDown:g,outsideCurrentMonth:v,selected:y=!1,showDaysOutsideCurrentMonth:x=!1,children:b,today:_=!1}=r,S=Ae(r,Cet),O=j({},r,{autoFocus:i,disabled:s,disableHighlightToday:l,disableMargin:c,selected:y,showDaysOutsideCurrentMonth:x,today:_}),C=Tet(O),E=_r(),M=k.useRef(null),I=Kt(M,n);Ur(()=>{i&&!s&&!u&&!v&&M.current.focus()},[i,s,u,v]);const P=T=>{g&&g(T),v&&T.preventDefault()},R=T=>{s||d(a,"finish"),v&&T.currentTarget.focus(),f&&f(T)};return v&&!x?w.jsx(Pet,{className:Br(C.root,C.hiddenDaySpacingFiller,o),ownerState:O,role:S.role}):w.jsx(Eet,j({className:Br(C.root,o),ownerState:O,ref:I,centerRipple:!0,disabled:s,tabIndex:y?0:-1,onKeyDown:T=>m(T,a),onFocus:T=>h(T,a),onBlur:T=>p(T,a),onClick:R,onMouseDown:P},S,{children:b||E.format(a,"dayOfMonth")}))}),ket=(t,e)=>t.autoFocus===e.autoFocus&&t.isAnimating===e.isAnimating&&t.today===e.today&&t.disabled===e.disabled&&t.selected===e.selected&&t.disableMargin===e.disableMargin&&t.showDaysOutsideCurrentMonth===e.showDaysOutsideCurrentMonth&&t.disableHighlightToday===e.disableHighlightToday&&t.className===e.className&&t.sx===e.sx&&t.outsideCurrentMonth===e.outsideCurrentMonth&&t.onFocus===e.onFocus&&t.onBlur===e.onBlur&&t.onDaySelect===e.onDaySelect,Aet=k.memo(Met,ket),Ret=t=>We("PrivatePickersSlideTransition",t),Ui=Ve("PrivatePickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),Iet=["children","className","reduceAnimations","slideDirection","transKey"],Det=t=>{const{classes:e}=t;return Ue({root:["root"]},Ret,e)},pce=350,Let=be(Oj,{name:"PrivatePickersSlideTransition",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`.${Ui["slideEnter-left"]}`]:e["slideEnter-left"]},{[`.${Ui["slideEnter-right"]}`]:e["slideEnter-right"]},{[`.${Ui.slideEnterActive}`]:e.slideEnterActive},{[`.${Ui.slideExit}`]:e.slideExit},{[`.${Ui["slideExitActiveLeft-left"]}`]:e["slideExitActiveLeft-left"]},{[`.${Ui["slideExitActiveLeft-right"]}`]:e["slideExitActiveLeft-right"]}]})(({theme:t})=>{const e=t.transitions.create("transform",{duration:pce,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${Ui["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${Ui["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${Ui.slideEnterActive}`]:{transform:"translate(0%)",transition:e},[`& .${Ui.slideExit}`]:{transform:"translate(0%)"},[`& .${Ui["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:e,zIndex:0},[`& .${Ui["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:e,zIndex:0}}}),$et=t=>{const{children:e,className:n,reduceAnimations:r,slideDirection:i,transKey:o}=t,a=Ae(t,Iet),s=Det(t);if(r)return w.jsx("div",{className:Br(s.root,n),children:e});const l={exit:Ui.slideExit,enterActive:Ui.slideEnterActive,enter:Ui[`slideEnter-${i}`],exitActive:Ui[`slideExitActiveLeft-${i}`]};return w.jsx(Let,{className:Br(s.root,n),childFactory:c=>k.cloneElement(c,{classNames:l}),role:"presentation",children:w.jsx(oOe,j({mountOnEnter:!0,unmountOnExit:!0,timeout:pce,classNames:l},a,{children:e}),o)})},Net=t=>We("MuiDayPicker",t);Ve("MuiDayPicker",["header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer"]);const Fet=t=>{const{classes:e}=t;return Ue({header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"]},Net,e)},jet=t=>t.charAt(0).toUpperCase(),mce=(v$+KB*2)*6,Bet=be("div",{name:"MuiDayPicker",slot:"Header",overridesResolver:(t,e)=>e.header})({display:"flex",justifyContent:"center",alignItems:"center"}),zet=be(zt,{name:"MuiDayPicker",slot:"WeekDayLabel",overridesResolver:(t,e)=>e.weekDayLabel})(({theme:t})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:t.palette.text.secondary})),Uet=be("div",{name:"MuiDayPicker",slot:"LoadingContainer",overridesResolver:(t,e)=>e.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:mce}),Wet=be($et,{name:"MuiDayPicker",slot:"SlideTransition",overridesResolver:(t,e)=>e.slideTransition})({minHeight:mce}),Vet=be("div",{name:"MuiDayPicker",slot:"MonthContainer",overridesResolver:(t,e)=>e.monthContainer})({overflow:"hidden"}),Get=be("div",{name:"MuiDayPicker",slot:"WeekContainer",overridesResolver:(t,e)=>e.weekContainer})({margin:`${KB}px 0`,display:"flex",justifyContent:"center"});function Het(t){const e=V1(),n=_r(),r=qe({props:t,name:"MuiDayPicker"}),i=Fet(r),{onFocusedDayChange:o,className:a,currentMonth:s,selectedDays:l,disabled:c,disableHighlightToday:u,focusedDay:f,isMonthSwitchingAnimating:d,loading:h,onSelectedDaysChange:p,onMonthSwitchingAnimationEnd:m,readOnly:g,reduceAnimations:v,renderDay:y,renderLoading:x=()=>w.jsx("span",{children:"..."}),showDaysOutsideCurrentMonth:b,slideDirection:_,TransitionProps:S,disablePast:O,disableFuture:C,minDate:E,maxDate:M,shouldDisableDate:I,dayOfWeekFormatter:P=jet,hasFocus:R,onFocusedViewChange:T,gridLabelId:D}=r,U=uce({shouldDisableDate:I,minDate:E,maxDate:M,disablePast:O,disableFuture:C}),[B,W]=k.useState(()=>f||e),z=k.useCallback(ie=>{T&&T(ie)},[T]),$=k.useCallback((ie,ve="finish")=>{g||p(ie,ve)},[p,g]),N=k.useCallback(ie=>{U(ie)||(o(ie),W(ie),z(!0))},[U,o,z]),L=Wo();function A(ie,ve){switch(ie.key){case"ArrowUp":N(n.addDays(ve,-7)),ie.preventDefault();break;case"ArrowDown":N(n.addDays(ve,7)),ie.preventDefault();break;case"ArrowLeft":{const F=n.addDays(ve,L.direction==="ltr"?-1:1),ce=L.direction==="ltr"?n.getPreviousMonth(ve):n.getNextMonth(ve),le=Px({utils:n,date:F,minDate:L.direction==="ltr"?n.startOfMonth(ce):F,maxDate:L.direction==="ltr"?F:n.endOfMonth(ce),isDateDisabled:U});N(le||F),ie.preventDefault();break}case"ArrowRight":{const F=n.addDays(ve,L.direction==="ltr"?1:-1),ce=L.direction==="ltr"?n.getNextMonth(ve):n.getPreviousMonth(ve),le=Px({utils:n,date:F,minDate:L.direction==="ltr"?F:n.startOfMonth(ce),maxDate:L.direction==="ltr"?n.endOfMonth(ce):F,isDateDisabled:U});N(le||F),ie.preventDefault();break}case"Home":N(n.startOfWeek(ve)),ie.preventDefault();break;case"End":N(n.endOfWeek(ve)),ie.preventDefault();break;case"PageUp":N(n.getNextMonth(ve)),ie.preventDefault();break;case"PageDown":N(n.getPreviousMonth(ve)),ie.preventDefault();break}}function q(ie,ve){N(ve)}function Y(ie,ve){R&&n.isSameDay(B,ve)&&z(!1)}const K=n.getMonth(s),se=l.filter(ie=>!!ie).map(ie=>n.startOfDay(ie)),ee=K,te=k.useMemo(()=>k.createRef(),[ee]),de=n.startOfWeek(e),xe=k.useMemo(()=>{const ie=n.startOfMonth(s),ve=n.endOfMonth(s);return U(B)||n.isAfterDay(B,ve)||n.isBeforeDay(B,ie)?Px({utils:n,date:B,minDate:ie,maxDate:ve,disablePast:O,disableFuture:C,isDateDisabled:U}):B},[s,C,O,B,U,n]);return w.jsxs("div",{role:"grid","aria-labelledby":D,children:[w.jsx(Bet,{role:"row",className:i.header,children:n.getWeekdays().map((ie,ve)=>{var F;return w.jsx(zet,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(de,ve),"weekday"),className:i.weekDayLabel,children:(F=P==null?void 0:P(ie))!=null?F:ie},ie+ve.toString())})}),h?w.jsx(Uet,{className:i.loadingContainer,children:x()}):w.jsx(Wet,j({transKey:ee,onExited:m,reduceAnimations:v,slideDirection:_,className:Br(a,i.slideTransition)},S,{nodeRef:te,children:w.jsx(Vet,{ref:te,role:"rowgroup",className:i.monthContainer,children:n.getWeekArray(s).map(ie=>w.jsx(Get,{role:"row",className:i.weekContainer,children:ie.map(ve=>{const F=xe!==null&&n.isSameDay(ve,xe),ce=se.some(X=>n.isSameDay(X,ve)),le=n.isSameDay(ve,e),Q={key:ve==null?void 0:ve.toString(),day:ve,isAnimating:d,disabled:c||U(ve),autoFocus:R&&F,today:le,outsideCurrentMonth:n.getMonth(ve)!==K,selected:ce,disableHighlightToday:u,showDaysOutsideCurrentMonth:b,onKeyDown:A,onFocus:q,onBlur:Y,onDaySelect:$,tabIndex:F?0:-1,role:"gridcell","aria-selected":ce};return le&&(Q["aria-current"]="date"),y?y(ve,se,Q):k.createElement(Aet,j({},Q,{key:Q.key}))})},`week-${ie[0]}`))})}))]})}const qet=t=>We("MuiPickersCalendarHeader",t);Ve("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]);const Xet=t=>{const{classes:e}=t;return Ue({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},qet,e)},Qet=be("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30}),Yet=be("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(t,e)=>e.labelContainer})(({theme:t})=>j({display:"flex",maxHeight:30,overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},t.typography.body1,{fontWeight:t.typography.fontWeightMedium})),Ket=be("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(t,e)=>e.label})({marginRight:6}),Zet=be(Et,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(t,e)=>e.switchViewButton})({marginRight:"auto"}),Jet=be(FZe,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(t,e)=>e.switchViewIcon})(({theme:t,ownerState:e})=>j({willChange:"transform",transition:t.transitions.create("transform"),transform:"rotate(0deg)"},e.openView==="year"&&{transform:"rotate(180deg)"})),ett=ice();function ttt(t){const e=qe({props:t,name:"MuiPickersCalendarHeader"}),{components:n={},componentsProps:r={},currentMonth:i,disabled:o,disableFuture:a,disablePast:s,getViewSwitchingButtonText:l,leftArrowButtonText:c,maxDate:u,minDate:f,onMonthChange:d,onViewChange:h,openView:p,reduceAnimations:m,rightArrowButtonText:g,views:v,labelId:y}=e;ett({leftArrowButtonText:c,rightArrowButtonText:g,getViewSwitchingButtonText:l});const x=ld(),b=c??x.previousMonth,_=g??x.nextMonth,S=l??x.calendarViewSwitchingButtonAriaLabel,O=_r(),C=Xet(e),E=r.switchViewButton||{},M=()=>d(O.getNextMonth(i),"left"),I=()=>d(O.getPreviousMonth(i),"right"),P=QJe(i,{disableFuture:a,maxDate:u}),R=YJe(i,{disablePast:s,minDate:f}),T=()=>{if(!(v.length===1||!h||o))if(v.length===2)h(v.find(U=>U!==p)||v[0]);else{const U=v.indexOf(p)!==0?0:1;h(v[U])}};if(v.length===1&&v[0]==="year")return null;const D=e;return w.jsxs(Qet,{ownerState:D,className:C.root,children:[w.jsxs(Yet,{role:"presentation",onClick:T,ownerState:D,"aria-live":"polite",className:C.labelContainer,children:[w.jsx(fce,{reduceAnimations:m,transKey:O.format(i,"monthAndYear"),children:w.jsx(Ket,{id:y,ownerState:D,className:C.label,children:O.format(i,"monthAndYear")})}),v.length>1&&!o&&w.jsx(Zet,j({size:"small",as:n.SwitchViewButton,"aria-label":S(p),className:C.switchViewButton},E,{children:w.jsx(Jet,{as:n.SwitchViewIcon,ownerState:D,className:C.switchViewIcon})}))]}),w.jsx(pM,{in:p==="day",children:w.jsx(ace,{leftArrowButtonText:b,rightArrowButtonText:_,components:n,componentsProps:r,onLeftClick:I,onRightClick:M,isLeftDisabled:R,isRightDisabled:P})})]})}function ntt(t){return We("PrivatePickersYear",t)}const Um=Ve("PrivatePickersYear",["root","modeDesktop","modeMobile","yearButton","selected","disabled"]),rtt=["autoFocus","className","children","disabled","onClick","onKeyDown","value","tabIndex","onFocus","onBlur"],itt=t=>{const{wrapperVariant:e,disabled:n,selected:r,classes:i}=t,o={root:["root",e&&`mode${De(e)}`],yearButton:["yearButton",n&&"disabled",r&&"selected"]};return Ue(o,ntt,i)},ott=be("div",{name:"PrivatePickersYear",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${Um.modeDesktop}`]:e.modeDesktop},{[`&.${Um.modeMobile}`]:e.modeMobile}]})(({ownerState:t})=>j({flexBasis:"33.3%",display:"flex",alignItems:"center",justifyContent:"center"},(t==null?void 0:t.wrapperVariant)==="desktop"&&{flexBasis:"25%"})),att=be("button",{name:"PrivatePickersYear",slot:"Button",overridesResolver:(t,e)=>[e.button,{[`&.${Um.disabled}`]:e.disabled},{[`&.${Um.selected}`]:e.selected}]})(({theme:t})=>j({color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:$c(t.palette.action.active,t.palette.action.hoverOpacity)},[`&.${Um.disabled}`]:{color:t.palette.text.secondary},[`&.${Um.selected}`]:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:focus, &:hover":{backgroundColor:t.palette.primary.dark}}})),RH=()=>{},stt=k.forwardRef(function(e,n){const{autoFocus:r,className:i,children:o,disabled:a,onClick:s,onKeyDown:l,value:c,tabIndex:u,onFocus:f=RH,onBlur:d=RH}=e,h=Ae(e,rtt),p=k.useRef(null),m=Kt(p,n),g=k.useContext(cd),v=j({},e,{wrapperVariant:g}),y=itt(v);return k.useEffect(()=>{r&&p.current.focus()},[r]),w.jsx(ott,{className:Br(y.root,i),ownerState:v,children:w.jsx(att,j({ref:m,disabled:a,type:"button",tabIndex:a?-1:u,onClick:x=>s(x,c),onKeyDown:x=>l(x,c),onFocus:x=>f(x,c),onBlur:x=>d(x,c),className:y.yearButton,ownerState:v},h,{children:o}))})});function ltt(t){return We("MuiYearPicker",t)}Ve("MuiYearPicker",["root"]);const ctt=t=>{const{classes:e}=t;return Ue({root:["root"]},ltt,e)};function utt(t,e){const n=_r(),r=t2(),i=qe({props:t,name:e});return j({disablePast:!1,disableFuture:!1},i,{minDate:Gl(n,i.minDate,r.minDate),maxDate:Gl(n,i.maxDate,r.maxDate)})}const ftt=be("div",{name:"MuiYearPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",maxHeight:"304px"}),dtt=k.forwardRef(function(e,n){const r=V1(),i=Wo(),o=_r(),a=utt(e,"MuiYearPicker"),{autoFocus:s,className:l,date:c,disabled:u,disableFuture:f,disablePast:d,maxDate:h,minDate:p,onChange:m,readOnly:g,shouldDisableYear:v,disableHighlightToday:y,onYearFocus:x,hasFocus:b,onFocusedViewChange:_}=a,S=a,O=ctt(S),C=k.useMemo(()=>c??o.startOfYear(r),[r,o,c]),E=k.useMemo(()=>c!=null?o.getYear(c):y?null:o.getYear(r),[r,c,o,y]),M=k.useContext(cd),I=k.useRef(null),[P,R]=k.useState(()=>E||o.getYear(r)),[T,D]=Bs({name:"YearPicker",state:"hasFocus",controlled:b,default:s}),U=k.useCallback(se=>{D(se),_&&_(se)},[D,_]),B=k.useCallback(se=>!!(d&&o.isBeforeYear(se,r)||f&&o.isAfterYear(se,r)||p&&o.isBeforeYear(se,p)||h&&o.isAfterYear(se,h)||v&&v(se)),[f,d,h,p,r,v,o]),W=(se,ee,te="finish")=>{if(g)return;const de=o.setYear(C,ee);m(de,te)},z=k.useCallback(se=>{B(o.setYear(C,se))||(R(se),U(!0),x==null||x(se))},[B,o,C,U,x]);k.useEffect(()=>{R(se=>E!==null&&se!==E?E:se)},[E]);const $=M==="desktop"?4:3,N=k.useCallback((se,ee)=>{switch(se.key){case"ArrowUp":z(ee-$),se.preventDefault();break;case"ArrowDown":z(ee+$),se.preventDefault();break;case"ArrowLeft":z(ee+(i.direction==="ltr"?-1:1)),se.preventDefault();break;case"ArrowRight":z(ee+(i.direction==="ltr"?1:-1)),se.preventDefault();break}},[z,i.direction,$]),L=k.useCallback((se,ee)=>{z(ee)},[z]),A=k.useCallback((se,ee)=>{P===ee&&U(!1)},[P,U]),q=o.getYear(r),Y=k.useRef(null),K=Kt(n,Y);return k.useEffect(()=>{if(s||Y.current===null)return;const se=Y.current.querySelector('[tabindex="0"]');if(!se)return;const ee=se.offsetHeight,te=se.offsetTop,de=Y.current.clientHeight,xe=Y.current.scrollTop,ie=te+ee;ee>de||te{const ee=o.getYear(se),te=ee===E;return w.jsx(stt,{selected:te,value:ee,onClick:W,onKeyDown:N,autoFocus:T&&ee===P,ref:te?I:void 0,disabled:u||B(se),tabIndex:ee===P?0:-1,onFocus:L,onBlur:A,"aria-current":q===ee?"date":void 0,children:o.format(se,"year")},o.format(se,"year"))})})}),htt=typeof navigator<"u"&&/(android)/i.test(navigator.userAgent),ptt=t=>We("MuiCalendarPicker",t);Ve("MuiCalendarPicker",["root","viewTransitionContainer"]);const mtt=["autoFocus","onViewChange","date","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","classes"],gtt=t=>{const{classes:e}=t;return Ue({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},ptt,e)};function vtt(t,e){const n=_r(),r=t2(),i=qe({props:t,name:e});return j({loading:!1,disablePast:!1,disableFuture:!1,openTo:"day",views:["year","day"],reduceAnimations:htt,renderLoading:()=>w.jsx("span",{children:"..."})},i,{minDate:Gl(n,i.minDate,r.minDate),maxDate:Gl(n,i.maxDate,r.maxDate)})}const ytt=be(ZB,{name:"MuiCalendarPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column"}),xtt=be(fce,{name:"MuiCalendarPicker",slot:"ViewTransitionContainer",overridesResolver:(t,e)=>e.viewTransitionContainer})({}),btt=k.forwardRef(function(e,n){const r=_r(),i=ed(),o=vtt(e,"MuiCalendarPicker"),{autoFocus:a,onViewChange:s,date:l,disableFuture:c,disablePast:u,defaultCalendarMonth:f,onChange:d,onYearChange:h,onMonthChange:p,reduceAnimations:m,shouldDisableDate:g,shouldDisableMonth:v,shouldDisableYear:y,view:x,views:b,openTo:_,className:S,disabled:O,readOnly:C,minDate:E,maxDate:M,disableHighlightToday:I,focusedView:P,onFocusedViewChange:R}=o,T=Ae(o,mtt),{openView:D,setOpenView:U,openNext:B}=YB({view:x,views:b,openTo:_,onChange:d,onViewChange:s}),{calendarState:W,changeFocusedDay:z,changeMonth:$,handleChangeMonth:N,isDateDisabled:L,onMonthSwitchingAnimationEnd:A}=xet({date:l,defaultCalendarMonth:f,reduceAnimations:m,onMonthChange:p,minDate:E,maxDate:M,shouldDisableDate:g,disablePast:u,disableFuture:c}),q=k.useCallback((J,ge)=>{const ye=r.startOfMonth(J),V=r.endOfMonth(J),H=L(J)?Px({utils:r,date:J,minDate:r.isBefore(E,ye)?ye:E,maxDate:r.isAfter(M,V)?V:M,disablePast:u,disableFuture:c,isDateDisabled:L}):J;H?(d(H,ge),p==null||p(ye)):(B(),$(ye)),z(H,!0)},[z,c,u,L,M,E,d,p,$,B,r]),Y=k.useCallback((J,ge)=>{const ye=r.startOfYear(J),V=r.endOfYear(J),H=L(J)?Px({utils:r,date:J,minDate:r.isBefore(E,ye)?ye:E,maxDate:r.isAfter(M,V)?V:M,disablePast:u,disableFuture:c,isDateDisabled:L}):J;H?(d(H,ge),h==null||h(H)):(B(),$(ye)),z(H,!0)},[z,c,u,L,M,E,d,h,B,r,$]),K=k.useCallback((J,ge)=>d(l&&J?r.mergeDateAndTime(J,l):J,ge),[r,l,d]);k.useEffect(()=>{l&&$(l)},[l]);const se=o,ee=gtt(se),te={disablePast:u,disableFuture:c,maxDate:M,minDate:E},de=O&&l||E,xe=O&&l||M,ie={disableHighlightToday:I,readOnly:C,disabled:O},ve=`${i}-grid-label`,[F,ce]=Bs({name:"DayPicker",state:"focusedView",controlled:P,default:a?D:null}),le=F!==null,Q=xr(J=>ge=>{if(R){R(J)(ge);return}ce(ge?J:ye=>ye===J?null:ye)}),X=k.useRef(D);return k.useEffect(()=>{X.current!==D&&(X.current=D,Q(D)(!0))},[D,Q]),w.jsxs(ytt,{ref:n,className:Br(ee.root,S),ownerState:se,children:[w.jsx(ttt,j({},T,{views:b,openView:D,currentMonth:W.currentMonth,onViewChange:U,onMonthChange:(J,ge)=>N({newMonth:J,direction:ge}),minDate:de,maxDate:xe,disabled:O,disablePast:u,disableFuture:c,reduceAnimations:m,labelId:ve})),w.jsx(xtt,{reduceAnimations:m,className:ee.viewTransitionContainer,transKey:D,ownerState:se,children:w.jsxs("div",{children:[D==="year"&&w.jsx(dtt,j({},T,te,ie,{autoFocus:a,date:l,onChange:Y,shouldDisableYear:y,hasFocus:le,onFocusedViewChange:Q("year")})),D==="month"&&w.jsx(get,j({},te,ie,{autoFocus:a,hasFocus:le,className:S,date:l,onChange:q,shouldDisableMonth:v,onFocusedViewChange:Q("month")})),D==="day"&&w.jsx(Het,j({},T,W,te,ie,{autoFocus:a,onMonthSwitchingAnimationEnd:A,onFocusedDayChange:z,reduceAnimations:m,selectedDays:[l],onSelectedDaysChange:K,shouldDisableDate:g,hasFocus:le,onFocusedViewChange:Q("day"),gridLabelId:ve}))]})})]})}),_tt=t=>{const[,e]=k.useReducer(l=>l+1,0),n=k.useRef(null),{replace:r,append:i}=t,o=r?r(t.format(t.value)):t.format(t.value),a=k.useRef(!1),s=l=>{const c=l.target.value;n.current=[c,l.target,c.length>o.length,a.current,o===t.format(c)],e()};return k.useLayoutEffect(()=>{if(n.current==null)return;let[l,c,u,f,d]=n.current;n.current=null;const h=f&&d,m=l.slice(c.selectionStart).search(t.accept||/\d/g),g=m!==-1?m:0,v=S=>(S.match(t.accept||/\d/g)||[]).join(""),y=v(l.substr(0,c.selectionStart)),x=S=>{let O=0,C=0;for(let E=0;E!==y.length;++E){let M=S.indexOf(y[E],O)+1,I=v(S).indexOf(y[E],C)+1;I-C>1&&(M=O,I=C),C=Math.max(I,C),O=Math.max(O,M)}return O};if(t.mask===!0&&u&&!d){let S=x(l);const O=v(l.substr(S))[0];S=l.indexOf(O,S),l=`${l.substr(0,S)}${l.substr(S+1)}`}let b=t.format(l);i!=null&&c.selectionStart===l.length&&!d&&(u?b=i(b):v(b.slice(-1))===""&&(b=b.slice(0,-1)));const _=r?r(b):b;return o===_?e():t.onChange(_),()=>{let S=x(b);if(t.mask!=null&&(u||f&&!h))for(;b[S]&&v(b[S])==="";)S+=1;c.selectionStart=c.selectionEnd=S+(h?1+g:0)}}),k.useEffect(()=>{const l=u=>{u.code==="Delete"&&(a.current=!0)},c=u=>{u.code==="Delete"&&(a.current=!1)};return document.addEventListener("keydown",l),document.addEventListener("keyup",c),()=>{document.removeEventListener("keydown",l),document.removeEventListener("keyup",c)}},[]),{value:n.current!=null?n.current[0]:o,onChange:s}},y$=(t,e,n)=>{const r=t.date(e);return e===null?"":t.isValid(r)?t.formatByString(r,n):""},BT="_",gce="2019-11-21T22:30:00.000",vce="2019-01-01T09:00:00.000";function wtt(t,e,n,r){if(t)return t;const o=r.formatByString(r.date(vce),e).replace(n,BT),a=r.formatByString(r.date(gce),e).replace(n,"_");return o===a?o:""}function Stt(t,e,n,r){if(!t)return!1;const o=r.formatByString(r.date(vce),e).replace(n,BT),a=r.formatByString(r.date(gce),e).replace(n,"_"),s=a===o&&t===a;return!s&&r.lib,s}const Ott=(t,e)=>n=>{let r=0;return n.split("").map((i,o)=>{if(e.lastIndex=0,r>t.length-1)return"";const a=t[r],s=t[r+1],l=e.test(i)?i:"",c=a===BT?l:a+l;return r+=c.length,o===n.length-1&&s&&s!==BT?c?c+s:"":c}).join("")},Ctt=({acceptRegex:t=/[\d]/gi,disabled:e,disableMaskedInput:n,ignoreInvalidInputs:r,inputFormat:i,inputProps:o,label:a,mask:s,onChange:l,rawValue:c,readOnly:u,rifmFormatter:f,TextFieldProps:d,validationError:h})=>{const p=_r(),m=p.getFormatHelperText(i),{shouldUseMaskedInput:g,maskToUse:v}=k.useMemo(()=>{if(n)return{shouldUseMaskedInput:!1,maskToUse:""};const T=wtt(s,i,t,p);return{shouldUseMaskedInput:Stt(T,i,t,p),maskToUse:T}},[t,n,i,s,p]),y=k.useMemo(()=>g&&v?Ott(v,t):T=>T,[t,v,g]),x=c===null?null:p.date(c),[b,_]=k.useState(x),[S,O]=k.useState(y$(p,c,i)),C=k.useRef(),E=k.useRef(p.locale),M=k.useRef(i);k.useEffect(()=>{const T=c!==C.current,D=p.locale!==E.current,U=i!==M.current;if(C.current=c,E.current=p.locale,M.current=i,!T&&!D&&!U)return;const B=c===null?null:p.date(c),W=c===null||p.isValid(B);let z=b===null&&B===null;if(b!==null&&B!==null){const N=p.isEqual(b,B);if(N)z=!0;else{const L=Math.abs(p.getDiff(b,B));z=L===0?N:L<1e3}}if(!D&&!U&&(!W||z))return;const $=y$(p,c,i);_(B),O($)},[p,c,i,b]);const I=T=>{const D=T===""||T===s?"":T;O(D);const U=D===null?null:p.parse(D,i);r&&!p.isValid(U)||(_(U),l(U,D||void 0))},P=_tt({value:S,onChange:I,format:f||y});return j({label:a,disabled:e,error:h,inputProps:j({},g?P:{value:S,onChange:T=>{I(T.currentTarget.value)}},{disabled:e,placeholder:m,readOnly:u,type:g?"tel":"text"},o)},d)},Ttt=["className","components","disableOpenPicker","getOpenDialogAriaText","InputAdornmentProps","InputProps","inputRef","openPicker","OpenPickerButtonProps","renderInput"],yce=k.forwardRef(function(e,n){const{className:r,components:i={},disableOpenPicker:o,getOpenDialogAriaText:a,InputAdornmentProps:s,InputProps:l,inputRef:c,openPicker:u,OpenPickerButtonProps:f,renderInput:d}=e,h=Ae(e,Ttt),p=ld(),m=a??p.openDatePickerDialogue,g=_r(),v=Ctt(h),y=(s==null?void 0:s.position)||"end",x=i.OpenPickerIcon||Xle;return d(j({ref:n,inputRef:c,className:r},v,{InputProps:j({},l,{[`${y}Adornment`]:o?void 0:w.jsx(Dke,j({position:y},s,{children:w.jsx(Et,j({edge:y,disabled:h.disabled||h.readOnly,"aria-label":m(h.rawValue,g)},f,{onClick:u,children:w.jsx(x,{})}))}))})}))});function IH(){return typeof window>"u"?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?Math.abs(window.screen.orientation.angle)===90?"landscape":"portrait":window.orientation&&Math.abs(Number(window.orientation))===90?"landscape":"portrait"}const Ett=(t,e)=>{const[n,r]=k.useState(IH);return Ur(()=>{const o=()=>{r(IH())};return window.addEventListener("orientationchange",o),()=>{window.removeEventListener("orientationchange",o)}},[]),Jle(t,["hours","minutes","seconds"])?!1:(e||n)==="landscape"},Ptt=({autoFocus:t,openView:e})=>{const[n,r]=k.useState(t?e:null),i=k.useCallback(o=>a=>{r(a?o:s=>o===s?null:s)},[]);return{focusedView:n,setFocusedView:i}};function Mtt(t){return We("MuiCalendarOrClockPicker",t)}Ve("MuiCalendarOrClockPicker",["root","mobileKeyboardInputView"]);const ktt=["autoFocus","className","parsedValue","DateInputProps","isMobileKeyboardViewOpen","onDateChange","onViewChange","openTo","orientation","showToolbar","toggleMobileKeyboardView","ToolbarComponent","toolbarFormat","toolbarPlaceholder","toolbarTitle","views","dateRangeIcon","timeIcon","hideTabs","classes"],Att=t=>{const{classes:e}=t;return Ue({root:["root"],mobileKeyboardInputView:["mobileKeyboardInputView"]},Mtt,e)},Rtt=be("div",{name:"MuiCalendarOrClockPicker",slot:"MobileKeyboardInputView",overridesResolver:(t,e)=>e.mobileKeyboardInputView})({padding:"16px 24px"}),Itt=be("div",{name:"MuiCalendarOrClockPicker",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>j({display:"flex",flexDirection:"column"},t.isLandscape&&{flexDirection:"row"})),Dtt={fullWidth:!0},DH=t=>t==="year"||t==="month"||t==="day",LH=t=>t==="hours"||t==="minutes"||t==="seconds";function xce(t){var e,n;const r=qe({props:t,name:"MuiCalendarOrClockPicker"}),{autoFocus:i,parsedValue:o,DateInputProps:a,isMobileKeyboardViewOpen:s,onDateChange:l,onViewChange:c,openTo:u,orientation:f,showToolbar:d,toggleMobileKeyboardView:h,ToolbarComponent:p=()=>null,toolbarFormat:m,toolbarPlaceholder:g,toolbarTitle:v,views:y,dateRangeIcon:x,timeIcon:b,hideTabs:_}=r,S=Ae(r,ktt),O=(e=S.components)==null?void 0:e.Tabs,C=Ett(y,f),E=k.useContext(cd),M=Att(r),I=d??E!=="desktop",P=!_&&typeof window<"u"&&window.innerHeight>667,R=k.useCallback(($,N)=>{l($,E,N)},[l,E]),T=k.useCallback($=>{s&&h(),c&&c($)},[s,c,h]),{openView:D,setOpenView:U,handleChangeAndOpenNext:B}=YB({view:void 0,views:y,openTo:u,onChange:R,onViewChange:T}),{focusedView:W,setFocusedView:z}=Ptt({autoFocus:i,openView:D});return w.jsxs(Itt,{ownerState:{isLandscape:C},className:M.root,children:[I&&w.jsx(p,j({},S,{views:y,isLandscape:C,parsedValue:o,onChange:R,setOpenView:U,openView:D,toolbarTitle:v,toolbarFormat:m,toolbarPlaceholder:g,isMobileKeyboardViewOpen:s,toggleMobileKeyboardView:h})),P&&!!O&&w.jsx(O,j({dateRangeIcon:x,timeIcon:b,view:D,onChange:U},(n=S.componentsProps)==null?void 0:n.tabs)),w.jsx(ZB,{children:s?w.jsx(Rtt,{className:M.mobileKeyboardInputView,children:w.jsx(yce,j({},a,{ignoreInvalidInputs:!0,disableOpenPicker:!0,TextFieldProps:Dtt}))}):w.jsxs(k.Fragment,{children:[DH(D)&&w.jsx(btt,j({autoFocus:i,date:o,onViewChange:U,onChange:B,view:D,views:y.filter(DH),focusedView:W,onFocusedViewChange:z},S)),LH(D)&&w.jsx(iet,j({},S,{autoFocus:i,date:o,view:D,views:y.filter(LH),onChange:B,onViewChange:U,showViewSwitcher:E==="desktop"}))]})})]})}const Ltt=({adapter:t,value:e,props:n})=>{const{minTime:r,maxTime:i,minutesStep:o,shouldDisableTime:a,disableIgnoringDatePartForTimeValidation:s}=n,l=t.utils.date(e),c=sce(s,t.utils);if(e===null)return null;switch(!0){case!t.utils.isValid(e):return"invalidDate";case!!(r&&c(r,l)):return"minTime";case!!(i&&c(l,i)):return"maxTime";case!!(a&&a(t.utils.getHours(l),"hours")):return"shouldDisableTime-hours";case!!(a&&a(t.utils.getMinutes(l),"minutes")):return"shouldDisableTime-minutes";case!!(a&&a(t.utils.getSeconds(l),"seconds")):return"shouldDisableTime-seconds";case!!(o&&t.utils.getMinutes(l)%o!==0):return"minutesStep";default:return null}},$tt=["minDate","maxDate","disableFuture","shouldDisableDate","disablePast"],Ntt=({props:t,value:e,adapter:n})=>{const{minDate:r,maxDate:i,disableFuture:o,shouldDisableDate:a,disablePast:s}=t,l=Ae(t,$tt),c=cce({adapter:n,value:e,props:{minDate:r,maxDate:i,disableFuture:o,shouldDisableDate:a,disablePast:s}});return c!==null?c:Ltt({adapter:n,value:e,props:l})},Ftt=(t,e)=>t===e;function bce(t){return vet(t,Ntt,Ftt)}const jtt=({open:t,onOpen:e,onClose:n})=>{const r=k.useRef(typeof t=="boolean").current,[i,o]=k.useState(!1);k.useEffect(()=>{if(r){if(typeof t!="boolean")throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");o(t)}},[r,t]);const a=k.useCallback(s=>{r||o(s),s&&e&&e(),!s&&n&&n()},[r,e,n]);return{isOpen:i,setIsOpen:a}},_ce=(t,e)=>{const{onAccept:n,onChange:r,value:i,closeOnSelect:o}=t,a=_r(),{isOpen:s,setIsOpen:l}=jtt(t),c=k.useMemo(()=>e.parseInput(a,i),[e,a,i]),[u,f]=k.useState(c),[d,h]=k.useState(()=>({committed:c,draft:c,resetFallback:c})),p=k.useCallback(S=>{h(O=>{switch(S.action){case"setAll":case"acceptAndClose":return{draft:S.value,committed:S.value,resetFallback:S.value};case"setCommitted":return j({},O,{draft:S.value,committed:S.value});case"setDraft":return j({},O,{draft:S.value});default:return O}}),(S.forceOnChangeCall||!S.skipOnChangeCall&&!e.areValuesEqual(a,d.committed,S.value))&&r(S.value),S.action==="acceptAndClose"&&(l(!1),n&&!e.areValuesEqual(a,d.resetFallback,S.value)&&n(S.value))},[n,r,l,d,a,e]);k.useEffect(()=>{a.isValid(c)&&f(c)},[a,c]),k.useEffect(()=>{s&&p({action:"setAll",value:c,skipOnChangeCall:!0})},[s]),e.areValuesEqual(a,d.committed,c)||p({action:"setCommitted",value:c,skipOnChangeCall:!0});const m=k.useMemo(()=>({open:s,onClear:()=>{p({value:e.emptyValue,action:"acceptAndClose",forceOnChangeCall:!e.areValuesEqual(a,i,e.emptyValue)})},onAccept:()=>{p({value:d.draft,action:"acceptAndClose",forceOnChangeCall:!e.areValuesEqual(a,i,c)})},onDismiss:()=>{p({value:d.committed,action:"acceptAndClose"})},onCancel:()=>{p({value:d.resetFallback,action:"acceptAndClose"})},onSetToday:()=>{p({value:e.getTodayValue(a),action:"acceptAndClose"})}}),[p,s,a,d,e,i,c]),[g,v]=k.useState(!1),y=k.useMemo(()=>({parsedValue:d.draft,isMobileKeyboardViewOpen:g,toggleMobileKeyboardView:()=>v(!g),onDateChange:(S,O,C="partial")=>{switch(C){case"shallow":return p({action:"setDraft",value:S,skipOnChangeCall:!0});case"partial":return p({action:"setDraft",value:S});case"finish":return p(o??O==="desktop"?{value:S,action:"acceptAndClose"}:{value:S,action:"setCommitted"});default:throw new Error("MUI: Invalid selectionState passed to `onDateChange`")}}}),[p,g,d.draft,o]),x=k.useCallback((S,O)=>{const C=e.valueReducer?e.valueReducer(a,u,S):S;r(C,O)},[r,e,u,a]),b=k.useMemo(()=>({onChange:x,open:s,rawValue:i,openPicker:()=>l(!0)}),[x,s,i,l]),_={pickerProps:y,inputProps:b,wrapperProps:m};return k.useDebugValue(_,()=>({MuiPickerState:{dateState:d,other:_}})),_};function Btt(t){return We("MuiDateTimePickerTabs",t)}Ve("MuiDateTimePickerTabs",["root"]);const ztt=t=>["day","month","year"].includes(t)?"date":"time",Utt=t=>t==="date"?"day":"hours",Wtt=t=>{const{classes:e}=t;return Ue({root:["root"]},Btt,e)},Vtt=be(Wj,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t,theme:e})=>j({boxShadow:`0 -1px 0 0 inset ${e.palette.divider}`},t.wrapperVariant==="desktop"&&{order:1,boxShadow:`0 1px 0 0 inset ${e.palette.divider}`,[`& .${oC.indicator}`]:{bottom:"auto",top:0}})),wce=function(e){const n=qe({props:e,name:"MuiDateTimePickerTabs"}),{dateRangeIcon:r=w.jsx(UZe,{}),onChange:i,timeIcon:o=w.jsx(VZe,{}),view:a}=n,s=ld(),l=k.useContext(cd),c=j({},n,{wrapperVariant:l}),u=Wtt(c),f=(d,h)=>{i(Utt(h))};return w.jsxs(Vtt,{ownerState:c,variant:"fullWidth",value:ztt(a),onChange:f,className:u.root,children:[w.jsx(db,{value:"date","aria-label":s.dateTableLabel,icon:w.jsx(k.Fragment,{children:r})}),w.jsx(db,{value:"time","aria-label":s.timeTableLabel,icon:w.jsx(k.Fragment,{children:o})})]})},Gtt=["onChange","PaperProps","PopperProps","ToolbarComponent","TransitionComponent","value","components","componentsProps","hideTabs"],Htt=k.forwardRef(function(e,n){const r=Vle(e,"MuiDesktopDateTimePicker"),i=bce(r)!==null,{pickerProps:o,inputProps:a,wrapperProps:s}=_ce(r,Gle),{PaperProps:l,PopperProps:c,ToolbarComponent:u=Kle,TransitionComponent:f,components:d,componentsProps:h,hideTabs:p=!0}=r,m=Ae(r,Gtt),g=k.useMemo(()=>j({Tabs:wce},d),[d]),v=j({},a,m,{components:g,componentsProps:h,ref:n,validationError:i});return w.jsx(mJe,j({},s,{DateInputProps:v,KeyboardDateInputComponent:yce,PopperProps:c,PaperProps:l,TransitionComponent:f,components:g,componentsProps:h,children:w.jsx(xce,j({},o,{autoFocus:!0,toolbarTitle:r.label||r.toolbarTitle,ToolbarComponent:u,DateInputProps:v,components:g,componentsProps:h,hideTabs:p},m))}))}),qtt=be(qs)({[`& .${mx.container}`]:{outline:0},[`& .${mx.paper}`]:{outline:0,minWidth:lce}}),Xtt=be(zs)({"&:first-of-type":{padding:0}}),Qtt=t=>{var e;const{children:n,DialogProps:r={},onAccept:i,onClear:o,onDismiss:a,onCancel:s,onSetToday:l,open:c,components:u,componentsProps:f}=t,d=(e=u==null?void 0:u.ActionBar)!=null?e:Zle;return w.jsxs(qtt,j({open:c,onClose:a},r,{children:[w.jsx(Xtt,{children:n}),w.jsx(d,j({onAccept:i,onClear:o,onCancel:s,onSetToday:l,actions:["cancel","accept"]},f==null?void 0:f.actionBar))]}))},Ytt=["children","DateInputProps","DialogProps","onAccept","onClear","onDismiss","onCancel","onSetToday","open","PureDateInputComponent","components","componentsProps"];function Ktt(t){const{children:e,DateInputProps:n,DialogProps:r,onAccept:i,onClear:o,onDismiss:a,onCancel:s,onSetToday:l,open:c,PureDateInputComponent:u,components:f,componentsProps:d}=t,h=Ae(t,Ytt);return w.jsxs(cd.Provider,{value:"mobile",children:[w.jsx(u,j({components:f},h,n)),w.jsx(Qtt,{DialogProps:r,onAccept:i,onClear:o,onDismiss:a,onCancel:s,onSetToday:l,open:c,components:f,componentsProps:d,children:e})]})}const Ztt=k.forwardRef(function(e,n){const{disabled:r,getOpenDialogAriaText:i,inputFormat:o,InputProps:a,inputRef:s,label:l,openPicker:c,rawValue:u,renderInput:f,TextFieldProps:d={},validationError:h,className:p}=e,m=ld(),g=i??m.openDatePickerDialogue,v=_r(),y=k.useMemo(()=>j({},a,{readOnly:!0}),[a]),x=y$(v,u,o),b=xr(_=>{_.stopPropagation(),c()});return f(j({label:l,disabled:r,ref:n,inputRef:s,error:h,InputProps:y,className:p},!e.readOnly&&!e.disabled&&{onClick:b},{inputProps:j({disabled:r,readOnly:!0,"aria-readonly":!0,"aria-label":g(u,v),value:x},!e.readOnly&&{onClick:b},{onKeyDown:ece(c)})},d))}),Jtt=["ToolbarComponent","value","onChange","components","componentsProps","hideTabs"],ent=k.forwardRef(function(e,n){const r=Vle(e,"MuiMobileDateTimePicker"),i=bce(r)!==null,{pickerProps:o,inputProps:a,wrapperProps:s}=_ce(r,Gle),{ToolbarComponent:l=Kle,components:c,componentsProps:u,hideTabs:f=!1}=r,d=Ae(r,Jtt),h=k.useMemo(()=>j({Tabs:wce},c),[c]),p=j({},a,d,{components:h,componentsProps:u,ref:n,validationError:i});return w.jsx(Ktt,j({},d,s,{DateInputProps:p,PureDateInputComponent:Ztt,components:h,componentsProps:u,children:w.jsx(xce,j({},o,{autoFocus:!0,toolbarTitle:r.label||r.toolbarTitle,ToolbarComponent:l,DateInputProps:p,components:h,componentsProps:u,hideTabs:f},d))}))}),tnt=["desktopModeMediaQuery","DialogProps","PopperProps","TransitionComponent"],nnt=k.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:i="@media (pointer: fine)",DialogProps:o,PopperProps:a,TransitionComponent:s}=r,l=Ae(r,tnt);return owe(i,{defaultMatches:!0})?w.jsx(Htt,j({ref:n,PopperProps:a,TransitionComponent:s},l)):w.jsx(ent,j({ref:n,DialogProps:o},l))}),rnt=t=>({dateTimePicker:{marginTop:t.spacing(2.5)}}),int=({classes:t,hasTimeDimension:e,selectedTime:n,selectedTimeRange:r,selectTime:i})=>{const o=d=>{i(d!==null?cVe(d):null)},a=w.jsx(Bv,{shrink:!0,htmlFor:"time-select",children:`${pe.get("Time")} (UTC)`}),l=typeof n=="number"?wA(n):null;let c,u;Array.isArray(r)&&(c=wA(r[0]),u=wA(r[1]));const f=w.jsx(TZe,{dateAdapter:AZe,children:w.jsx(nnt,{disabled:!e,className:t.dateTimePicker,inputFormat:"yyyy-MM-dd hh:mm:ss",value:l,minDateTime:c,maxDateTime:u,onChange:o,ampm:!1,renderInput:d=>w.jsx(sr,{...d,variant:"standard",size:"small"})})});return w.jsx(Tb,{label:a,control:f})},ont=SZe(rnt)(int),ant=t=>({locale:t.controlState.locale,hasTimeDimension:!!Jv(t),selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange}),snt={selectTime:XM},lnt=sn(ant,snt)(ont),$H=5,cnt={box:t=>({marginTop:t.spacing(1),marginLeft:t.spacing($H),marginRight:t.spacing($H),minWidth:200}),label:{color:"grey",fontSize:"1em"}};function unt({hasTimeDimension:t,selectedTime:e,selectTime:n,selectedTimeRange:r}){const[i,o]=k.useState(e);if(k.useEffect(()=>{o(e||(r?r[0]:0))},[e,r]),!t)return null;const a=(f,d)=>{typeof d=="number"&&o(d)},s=(f,d)=>{n&&typeof d=="number"&&n(d)},l=Array.isArray(r);l||(r=[Date.now()-2*Poe.years,Date.now()]);const c=[{value:r[0],label:Ob(r[0])},{value:r[1],label:Ob(r[1])}];function u(f){return Xv(f)}return w.jsx(tt,{sx:cnt.box,children:w.jsx(Ct,{arrow:!0,title:pe.get("Select time in dataset"),children:w.jsx(d1,{disabled:!l,min:r[0],max:r[1],value:i||0,valueLabelDisplay:"off",valueLabelFormat:u,marks:c,onChange:a,onChangeCommitted:s,size:"small"})})})}const fnt=t=>({locale:t.controlState.locale,hasTimeDimension:!!Jv(t),selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange}),dnt={selectTime:XM,selectTimeRange:fse},hnt=sn(fnt,dnt)(unt);var JB={},pnt=pt;Object.defineProperty(JB,"__esModule",{value:!0});var Sce=JB.default=void 0,mnt=pnt(mt()),gnt=w;Sce=JB.default=(0,mnt.default)((0,gnt.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");var ez={},vnt=pt;Object.defineProperty(ez,"__esModule",{value:!0});var Oce=ez.default=void 0,ynt=vnt(mt()),xnt=w;Oce=ez.default=(0,ynt.default)((0,xnt.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");var tz={},bnt=pt;Object.defineProperty(tz,"__esModule",{value:!0});var Cce=tz.default=void 0,_nt=bnt(mt()),wnt=w;Cce=tz.default=(0,_nt.default)((0,wnt.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");var nz={},Snt=pt;Object.defineProperty(nz,"__esModule",{value:!0});var Tce=nz.default=void 0,Ont=Snt(mt()),Cnt=w;Tce=nz.default=(0,Ont.default)((0,Cnt.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");var rz={},Tnt=pt;Object.defineProperty(rz,"__esModule",{value:!0});var Ece=rz.default=void 0,Ent=Tnt(mt()),Pnt=w;Ece=rz.default=(0,Ent.default)((0,Pnt.jsx)("path",{d:"M9 16h2V8H9zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m1-4h2V8h-2z"}),"PauseCircleOutline");var iz={},Mnt=pt;Object.defineProperty(iz,"__esModule",{value:!0});var Pce=iz.default=void 0,knt=Mnt(mt()),Ant=w;Pce=iz.default=(0,knt.default)((0,Ant.jsx)("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline");const Xp={formControl:t=>({marginTop:t.spacing(2.5),marginLeft:t.spacing(1),marginRight:t.spacing(1)}),iconButton:{padding:"2px"}};function Rnt({timeAnimationActive:t,timeAnimationInterval:e,updateTimeAnimation:n,selectedTime:r,selectedTimeRange:i,selectTime:o,incSelectedTime:a}){const s=k.useRef(null);k.useEffect(()=>(p(),g));const l=()=>{a(1)},c=()=>{n(!t,e)},u=()=>{a(1)},f=()=>{a(-1)},d=()=>{o(i?i[0]:null)},h=()=>{o(i?i[1]:null)},p=()=>{t?m():g()},m=()=>{g(),s.current=window.setInterval(l,e)},g=()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},v=typeof r=="number",y=t?w.jsx(Ece,{}):w.jsx(Pce,{}),x=w.jsx(Et,{disabled:!v,onClick:c,size:"small",sx:Xp.iconButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Auto-step through times in the dataset"),children:y})}),b=w.jsx(Et,{disabled:!v||t,onClick:d,size:"small",sx:Xp.iconButton,children:w.jsx(Cce,{})}),_=w.jsx(Et,{disabled:!v||t,onClick:f,size:"small",sx:Xp.iconButton,children:w.jsx(Sce,{})}),S=w.jsx(Et,{disabled:!v||t,onClick:u,size:"small",sx:Xp.iconButton,children:w.jsx(Oce,{})}),O=w.jsx(Et,{disabled:!v||t,onClick:h,size:"small",sx:Xp.iconButton,children:w.jsx(Tce,{})});return w.jsx(jv,{sx:Xp.formControl,variant:"standard",children:w.jsxs(tt,{children:[b,_,x,S,O]})})}const Int=t=>({locale:t.controlState.locale,selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange,timeAnimationActive:t.controlState.timeAnimationActive,timeAnimationInterval:t.controlState.timeAnimationInterval}),Dnt={selectTime:XM,incSelectedTime:wHe,updateTimeAnimation:OHe},Lnt=sn(Int,Dnt)(Rnt);var oz={},$nt=pt;Object.defineProperty(oz,"__esModule",{value:!0});var Mce=oz.default=void 0,Nnt=$nt(mt()),Fnt=w;Mce=oz.default=(0,Nnt.default)((0,Fnt.jsx)("path",{d:"M16 20H2V4h14zm2-12h4V4h-4zm0 12h4v-4h-4zm0-6h4v-4h-4z"}),"ViewSidebar");var az={},jnt=pt;Object.defineProperty(az,"__esModule",{value:!0});var sz=az.default=void 0,Bnt=jnt(mt()),znt=w;sz=az.default=(0,Bnt.default)((0,znt.jsx)("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"}),"Layers");const Unt=fi(jv)(({theme:t})=>({marginTop:t.spacing(2),marginRight:t.spacing(.5),marginLeft:"auto"}));function Wnt({visible:t,layerMenuOpen:e,setLayerMenuOpen:n,sidebarOpen:r,setSidebarOpen:i,openDialog:o,allowRefresh:a,updateResources:s,compact:l}){if(!t)return null;const c=w.jsx(fn,{value:"open",selected:e,onClick:()=>n(!e),size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Layer visibilities"),children:w.jsx(sz,{})})}),u=w.jsx(fn,{value:"sidebar",selected:r,onClick:()=>i(!r),size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Show or hide sidebar"),children:w.jsx(Mce,{})})});let f,d,h;return l&&(f=a&&w.jsx(Et,{onClick:s,size:"small",children:w.jsx(Ct,{arrow:!0,title:pe.get("Refresh"),children:w.jsx(Jj,{})})}),d=Wt.instance.branding.allowDownloads&&w.jsx(Et,{onClick:()=>o("export"),size:"small",children:w.jsx(Ct,{arrow:!0,title:pe.get("Export data"),children:w.jsx(n5,{})})}),h=w.jsx(Et,{onClick:()=>o("settings"),size:"small",children:w.jsx(Ct,{arrow:!0,title:pe.get("Settings"),children:w.jsx(Kj,{})})})),w.jsx(Unt,{variant:"standard",children:w.jsxs(tt,{children:[f,d,h,c,u]})})}const Vnt=t=>({locale:t.controlState.locale,visible:!!(t.controlState.selectedDatasetId||t.controlState.selectedPlaceId),layerMenuOpen:t.controlState.layerMenuOpen,sidebarOpen:t.controlState.sidebarOpen,compact:Wt.instance.branding.compact,allowRefresh:Wt.instance.branding.allowRefresh,layerTitles:Cae(),layerSubtitles:Tae(t),layerDisablements:Eae(t),layerVisibilities:Xoe(t),variableCompareMode:t.controlState.variableCompareMode}),Gnt={setLayerMenuOpen:gse,setSidebarOpen:xB,openDialog:xp,updateResources:Iae,setLayerVisibility:ise,setVariableCompareMode:ase},Hnt=sn(Vnt,Gnt)(Wnt),qnt=t=>({locale:t.controlState.locale,show:t.dataState.datasets.length>0}),Xnt={},Qnt=({show:t})=>t?w.jsxs(dQe,{children:[w.jsx(bQe,{}),w.jsx(DQe,{}),w.jsx(GQe,{}),w.jsx(YQe,{}),w.jsx(mYe,{}),w.jsx(lnt,{}),w.jsx(Lnt,{}),w.jsx(hnt,{}),w.jsx(Hnt,{})]}):null,Ynt=sn(qnt,Xnt)(Qnt);function kce(t){const e=k.useRef(null),n=k.useRef(o=>{if(o.buttons===1&&e.current!==null){o.preventDefault();const{screenX:a,screenY:s}=o,[l,c]=e.current,u=[a-l,s-c];e.current=[a,s],t(u)}}),r=k.useRef(o=>{o.buttons===1&&(o.preventDefault(),document.body.addEventListener("mousemove",n.current),document.body.addEventListener("mouseup",i.current),document.body.addEventListener("onmouseleave",i.current),e.current=[o.screenX,o.screenY])}),i=k.useRef(o=>{e.current!==null&&(o.preventDefault(),e.current=null,document.body.removeEventListener("mousemove",n.current),document.body.removeEventListener("mouseup",i.current),document.body.removeEventListener("onmouseleave",i.current))});return r.current}const NH={hor:t=>({flex:"none",border:"none",outline:"none",width:"8px",minHeight:"100%",maxHeight:"100%",cursor:"col-resize",backgroundColor:t.palette.mode==="dark"?"white":"black",opacity:0}),ver:t=>({flex:"none",border:"none",outline:"none",height:"8px",minWidth:"100%",maxWidth:"100%",cursor:"row-resize",backgroundColor:t.palette.mode==="dark"?"white":"black",opacity:0})};function Knt({dir:t,onChange:e}){const r=kce(([i,o])=>{e(i)});return w.jsx(tt,{sx:t==="hor"?NH.hor:NH.ver,onMouseDown:r})}const bS={hor:{display:"flex",flexFlow:"row nowrap",flex:"auto"},ver:{height:"100%",display:"flex",flexFlow:"column nowrap",flex:"auto"},childHor:{flex:"none"},childVer:{flex:"none"}};function Znt({dir:t,splitPosition:e,setSplitPosition:n,children:r,style:i,child1Style:o,child2Style:a}){const s=k.useRef(null);if(!r||!Array.isArray(r)||r.length!==2)return null;const l=t==="hor"?bS.childHor:bS.childVer,c=t==="hor"?{width:e}:{height:e},u=f=>{s.current&&Bn(s.current.clientWidth)&&n(s.current.clientWidth+f)};return w.jsxs("div",{id:"SplitPane",style:{...i,...t==="hor"?bS.hor:bS.ver},children:[w.jsx("div",{ref:s,id:"SplitPane-Child-1",style:{...l,...o,...c},children:r[0]}),w.jsx(Knt,{dir:t,onChange:u}),w.jsx("div",{id:"SplitPane-Child-2",style:{...l,...a},children:r[1]})]})}var Jnt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const FH=$t(Jnt);var jH={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function ert(t){var e,n=[],r=1,i;if(typeof t=="string")if(t=t.toLowerCase(),FH[t])n=FH[t].slice(),i="rgb";else if(t==="transparent")r=0,i="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var o=t.slice(1),a=o.length,s=a<=4;r=1,s?(n=[parseInt(o[0]+o[0],16),parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16)],a===4&&(r=parseInt(o[3]+o[3],16)/255)):(n=[parseInt(o[0]+o[1],16),parseInt(o[2]+o[3],16),parseInt(o[4]+o[5],16)],a===8&&(r=parseInt(o[6]+o[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),i="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var l=e[1],c=l==="rgb",o=l.replace(/a$/,"");i=o;var a=o==="cmyk"?4:o==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(d,h){if(/%$/.test(d))return h===a?parseFloat(d)/100:o==="rgb"?parseFloat(d)*255/100:parseFloat(d);if(o[h]==="h"){if(/deg$/.test(d))return parseFloat(d);if(jH[d]!==void 0)return jH[d]}return parseFloat(d)}),l===o&&n.push(1),r=c||n[a]===void 0?1:n[a],n=n.slice(0,a)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(u){return parseFloat(u)}),i=t.match(/([a-z])/ig).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(n=[t[0],t[1],t[2]],i="rgb",r=t.length===4?t[3]:1):t instanceof Object&&(t.r!=null||t.red!=null||t.R!=null?(i="rgb",n=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(i="hsl",n=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),r=t.a||t.alpha||t.opacity||1,t.opacity!=null&&(r/=100)):(i="rgb",n=[t>>>16,(t&65280)>>>8,t&255]);return{space:i,values:n,alpha:r}}const x$={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]},qA={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100,i,o,a,s,l,c=0;if(n===0)return l=r*255,[l,l,l];for(o=r<.5?r*(1+n):r+n-r*n,i=2*r-o,s=[0,0,0];c<3;)a=e+1/3*-(c-1),a<0?a++:a>1&&a--,l=6*a<1?i+(o-i)*6*a:2*a<1?o:3*a<2?i+(o-i)*(2/3-a)*6:i,s[c++]=l*255;return s}};x$.hsl=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=o-i,s,l,c;return o===i?s=0:e===o?s=(n-r)/a:n===o?s=2+(r-e)/a:r===o&&(s=4+(e-n)/a),s=Math.min(s*60,360),s<0&&(s+=360),c=(i+o)/2,o===i?l=0:c<=.5?l=a/(o+i):l=a/(2-o-i),[s,l*100,c*100]};function trt(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var e,n=ert(t);if(!n.space)return[];const r=n.space[0]==="h"?qA.min:x$.min,i=n.space[0]==="h"?qA.max:x$.max;return e=Array(3),e[0]=Math.min(Math.max(n.values[0],r[0]),i[0]),e[1]=Math.min(Math.max(n.values[1],r[1]),i[1]),e[2]=Math.min(Math.max(n.values[2],r[2]),i[2]),n.space[0]==="h"&&(e=qA.rgb(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e}function Ace(t,e,n,r="circle"){if(t.getGeometry()instanceof $l)t.setStyle(nrt(7,e,"white",1,r));else{n=typeof n=="number"?n:.25;let i=trt(e);Array.isArray(i)?i=[i[0],i[1],i[2],n]:i=[255,255,255,n],t.setStyle(irt(i,e,2))}}function nrt(t,e,n,r,i="circle"){return new w1({image:rrt(t,e,n,r,i)})}function rrt(t,e,n,r,i){const o=new zh({color:e}),a=new Wc({color:n,width:r});switch(i){case"square":return new ML({fill:o,stroke:a,radius:t,points:4,angle:Math.PI/4,rotation:0});case"diamond":return new ML({fill:o,stroke:a,radius:t,points:4,angle:Math.PI/4,rotation:Math.PI/4});default:return new _1({fill:o,stroke:a,radius:t})}}function irt(t,e,n){const r=new zh({color:t}),i=new Wc({color:e,width:n});return new w1({fill:r,stroke:i})}const ort=({placeGroup:t,mapProjection:e,visible:n})=>{const r=k.useRef(new O1);return k.useEffect(()=>{const i=r.current,o=t.features;if(o.length===0)i.clear();else{const a=i.getFeatures(),s=new Set(a.map(f=>f.getId())),l=new Set(o.map(f=>f.id)),c=o.filter(f=>!s.has(f.id));a.filter(f=>!l.has(f.getId()+"")).forEach(f=>i.removeFeature(f)),c.forEach(f=>{const d=new mp().readFeature(f,{dataProjection:"EPSG:4326",featureProjection:e});d.getId()!==f.id&&d.setId(f.id);const h=(f.properties||{}).color||"red",p=(f.properties||{}).source?"diamond":"circle";Ace(d,h,Wt.instance.branding.polygonFillOpacity,p),i.addFeature(d)})}},[t,e]),w.jsx(NM,{id:t.id,opacity:t.id===Ds?1:.8,visible:n,zIndex:500,source:r.current})};class art extends vp{constructor(){super(...arguments);Ut(this,"divRef",null);Ut(this,"handleDivRef",n=>{this.divRef=n})}addMapObject(n){const r=new C1({element:this.divRef});return n.addControl(r),r}updateMapObject(n,r,i){return r}removeMapObject(n,r){for(const i of n.getControls().getArray())if(i===r){n.removeControl(r);break}}render(){const{children:n,style:r,className:i}=this.props,o=(i?i+" ":"")+"ol-unselectable ol-control";return w.jsx("div",{style:r,className:o,ref:this.handleDivRef,children:n})}}class srt extends vp{addMapObject(e){const n=new Sze(this.getOptions());return e.addControl(n),n}updateMapObject(e,n,r){return n.setProperties(this.getOptions()),n}removeMapObject(e,n){e.removeControl(n)}}class XA extends vp{addMapObject(e){const n=new c4e(this.getOptions()),r=!!this.props.active;return n.setActive(r),e.addInteraction(n),r&&this.listen(n,this.props),n}updateMapObject(e,n,r){n.setProperties(this.getOptions());const i=!!this.props.active;return n.setActive(i),this.unlisten(n,r),i&&this.listen(n,this.props),n}removeMapObject(e,n){this.unlisten(n,this.props),e.removeInteraction(n)}getOptions(){const e=super.getOptions();delete e.layerId,delete e.active,delete e.onDrawStart,delete e.onDrawEnd;const n=this.props.layerId;if(n&&!e.source){const r=this.getMapObject(n);r&&(e.source=r.getSource())}return e}listen(e,n){const{onDrawStart:r,onDrawEnd:i}=n;r&&e.on("drawstart",r),i&&e.on("drawend",i)}unlisten(e,n){const{onDrawStart:r,onDrawEnd:i}=n;r&&e.un("drawstart",r),i&&e.un("drawend",i)}}class lrt extends vp{addMapObject(e){return this.updateView(e)}removeMapObject(e,n){}updateMapObject(e,n){return this.updateView(e)}updateView(e){const n=this.props.projection;let r=e.getView().getProjection();if(typeof n=="string"&&r&&(r=r.getCode()),n&&n!==r){const i=e.getView(),o=new Ac({...this.props,center:h5(i.getCenter()||[0,0],r,n),minZoom:i.getMinZoom(),zoom:i.getZoom()});e.getLayers().forEach(a=>{a instanceof DM&&a.getSource().forEachFeature(s=>{var l;(l=s.getGeometry())==null||l.transform(r,n)})}),e.setView(o)}else e.getView().setProperties(this.props);return e.getView()}}function BH(t,e){const n=t.getLayers();for(let r=0;r{if(M){const z=_||null;if(z!==P&&Rc[QA]){const N=Rc[QA].getSource();if(N.clear(),z){const L=hrt(M,z);if(L){const A=L.clone();A.setId("select-"+L.getId()),A.setStyle(void 0),N.addFeature(A)}}R(z)}}},[M,_,P]),k.useEffect(()=>{M&&M.getLayers().forEach(z=>{z instanceof toe?z.getSource().changed():z.changed()})},[M,O]),k.useEffect(()=>{if(M===null||!Bn(C))return;const z=A=>{const q=M.getSize();if(!q)return;const Y=q[0],K=q[1],se=rS(A,[C,0]),ee=rS(A,[Y,0]),te=rS(A,[C,K]),de=rS(A,[Y,K]),xe=A.context;xe.save(),xe.beginPath(),xe.moveTo(se[0],se[1]),xe.lineTo(te[0],te[1]),xe.lineTo(de[0],de[1]),xe.lineTo(ee[0],ee[1]),xe.closePath(),xe.clip()},$=A=>{A.context.restore()},N=BH(M,"rgb"),L=BH(M,"variable");if(N||L){const A=[N,L];for(const q of A)q&&(q.on("prerender",z),q.on("postrender",$));return()=>{for(const q of A)q&&(q.un("prerender",z),q.un("postrender",$))}}},[M,C]);const T=z=>{if(n==="Select"){const $=z.map;let N=null;const L=$.getFeaturesAtPixel(z.pixel);if(L){for(const A of L)if(typeof A.getId=="function"){N=A.getId()+"";break}}b&&b(N,S,!1)}},D=z=>{var $;if(M!==null&&m&&n!=="Select"){const N=z.feature;let L=N.getGeometry();if(!L)return;const A=Wl(Wv+n.toLowerCase()+"-"),q=M.getView().getProjection();if(L instanceof Wie){const de=dFe(L);N.setGeometry(de)}L=N.clone().getGeometry().transform(q,E1);const Y=new mp().writeGeometryObject(L);N.setId(A);let K=0;if(Rc[Ds]){const de=Rc[Ds],xe=($=de==null?void 0:de.getSource())==null?void 0:$.getFeatures();xe&&(K=xe.length)}const se=prt(v,n),ee=Nh(K),te=lre(ee,t.palette.mode);Ace(N,te,Wt.instance.branding.polygonFillOpacity),m(p,A,{label:se,color:ee},Y,!0)}return!0};function U(z){E&&E(z),I(z)}let B=null;d&&(B=w.jsx(art,{id:"legend",style:urt,children:d}));const W=z=>{g&&z.forEach($=>{const N=new FileReader;N.onloadend=()=>{typeof N.result=="string"&&g(N.result)},N.readAsText($,"UTF-8")})};return w.jsx(xre,{children:w.jsxs(sUe,{id:e,onClick:z=>T(z),onMapRef:U,mapObjects:Rc,isStale:!0,onDropFiles:W,children:[w.jsx(lrt,{id:"view",projection:r}),w.jsxs(eoe,{children:[i,o,a,s,l,f,c,w.jsx(w.Fragment,{children:v.map(z=>w.jsx(ort,{placeGroup:z,mapProjection:r,visible:x&&y[z.id]},z.id))}),w.jsx(NM,{id:QA,opacity:.7,zIndex:510,style:frt,source:crt})]}),u,w.jsx(XA,{id:"drawPoint",layerId:Ds,active:n==="Point",type:"Point",wrapX:!0,stopClick:!0,onDrawEnd:D}),w.jsx(XA,{id:"drawPolygon",layerId:Ds,active:n==="Polygon",type:"Polygon",wrapX:!0,stopClick:!0,onDrawEnd:D}),w.jsx(XA,{id:"drawCircle",layerId:Ds,active:n==="Circle",type:"Circle",wrapX:!0,stopClick:!0,onDrawEnd:D}),B,h,w.jsx(srt,{bar:!1})]})})}function hrt(t,e){var n;for(const r of t.getLayers().getArray())if(r instanceof DM){const o=(n=r.getSource())==null?void 0:n.getFeatureById(e);if(o)return o}return null}function prt(t,e){const n=pe.get(e),r=t.find(i=>i.id===Ds);if(r)for(let i=1;;i++){const o=`${n} ${i}`;if(!!!r.features.find(s=>s.properties?s.properties.label===o:!1))return o}return`${n} 1`}const _S=1,Mb=.2,G1=240,Rce=20,wS={container:{width:G1},itemContainer:{display:"flex",alignItems:"center",justifyContent:"flex-start"},itemLabelBox:{paddingLeft:1,fontSize:"small"},itemColorBox:t=>({width:"48px",height:"16px",borderStyle:"solid",borderColor:t.palette.mode==="dark"?"lightgray":"darkgray",borderWidth:1})};function mrt({variableColorBarCategories:t,onOpenColorBarEditor:e}){return w.jsx(tt,{sx:wS.container,children:t.map((n,r)=>w.jsxs(tt,{onClick:e,sx:wS.itemContainer,children:[w.jsx(tt,{sx:{...wS.itemColorBox,backgroundColor:n.color}}),w.jsx(tt,{component:"span",sx:wS.itemLabelBox,children:`${n.label||`Category ${r+1}`} (${n.value})`})]},r))})}const grt={error:{border:"0.5px solid red"}};function vrt({colorBar:t,opacity:e,width:n,height:r,onClick:i}){const o=k.useRef(null);k.useEffect(()=>{const c=o.current;c!==null&&u8e(t,e,c)},[t,e]);const{baseName:a,imageData:s}=t,l=s?a:pe.get("Unknown color bar")+`: ${a}`;return w.jsx(Ct,{title:l,children:w.jsx("canvas",{ref:o,width:n||G1,height:r||Rce+4,onClick:i,style:s?void 0:grt.error})})}function yrt(t,e,n=5,r=!1,i=!1){return b$(brt(t,e,n,r),i)}function b$(t,e=!1){return t.map(n=>kb(n,void 0,e))}function kb(t,e,n){if(e===void 0&&(e=n?2:xrt(t)),n)return t.toExponential(e);const r=Math.round(t);if(r===t||Math.abs(r-t)<1e-8)return r+"";{let i=t.toFixed(e);if(i.includes("."))for(;i.endsWith("0")&&!i.endsWith(".0");)i=i.substring(0,i.length-1);return i}}function xrt(t){if(t===0||t===Math.floor(t))return 0;const e=Math.floor(Math.log10(Math.abs(t)));return Math.min(16,Math.max(2,e<0?1-e:0))}function brt(t,e,n,r){const i=new Array(n);if(r){const o=Math.log10(t),s=(Math.log10(e)-o)/(n-1);for(let l=1;lt,_rt=t=>Math.pow(10,t),wrt=Math.log10,VH=(t,e)=>typeof t=="number"?e(t):t.map(e);class Srt{constructor(e){Ut(this,"_fn");Ut(this,"_invFn");e?(this._fn=wrt,this._invFn=_rt):(this._fn=WH,this._invFn=WH)}scale(e){return VH(e,this._fn)}scaleInv(e){return VH(e,this._invFn)}}function Ort({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableOpacity:r,updateVariableColorBar:i,originalColorBarMinMax:o}){const a=k.useMemo(()=>new Srt(n==="log"),[n]),[s,l]=k.useState(()=>a.scale(e));k.useEffect(()=>{l(a.scale(e))},[a,e]);const c=(E,M)=>{Array.isArray(M)&&l(M)},u=(E,M)=>{if(Array.isArray(M)){const P=b$(a.scaleInv(M)).map(R=>Number.parseFloat(R));i(t,P,n,r)}},[f,d]=a.scale(o),h=f=2?v=Math.max(2,Math.round(g/2)):(v=4,g=8);const y=f({value:O[M],label:E}));return w.jsx(d1,{min:b,max:_,value:s,marks:C,step:S,valueLabelFormat:E=>kb(a.scaleInv(E)),onChange:c,onChangeCommitted:u,valueLabelDisplay:"auto",size:"small"})}const YA=5,o0={colorBarMinMaxEditor:t=>({marginTop:t.spacing(2),marginBottom:t.spacing(2)}),sliderBox:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(YA),marginRight:t.spacing(YA),minWidth:320,width:`calc(100% - ${t.spacing(2*(YA+1))}px)`}),minMaxBox:{display:"flex",justifyContent:"center"},minTextField:{maxWidth:"8em",paddingRight:2},maxTextField:{maxWidth:"8em",paddingLeft:2}};function Crt({variableTitle:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o}){const[a,s]=k.useState(n),[l,c]=k.useState(n),[u,f]=k.useState(GH(n)),[d,h]=k.useState([!1,!1]);k.useEffect(()=>{f(GH(n))},[n]);const p=g=>{const v=g.target.value;f([v,u[1]]);const y=Number.parseFloat(v);let x=!1;if(!Number.isNaN(y)&&y{const v=g.target.value;f([u[0],v]);const y=Number.parseFloat(v);let x=!1;if(!Number.isNaN(y)&&y>a[0]){if(y!==a[1]){const b=[a[0],y];s(b),c(b),o(e,b,r,i)}}else x=!0;h([d[0],x])};return w.jsxs(tt,{sx:o0.colorBarMinMaxEditor,children:[w.jsx("span",{style:{paddingLeft:14},children:t}),w.jsx(tt,{sx:o0.sliderBox,children:w.jsx(Ort,{variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,updateVariableColorBar:o,originalColorBarMinMax:l,variableOpacity:i})}),w.jsxs(tt,{component:"form",sx:o0.minMaxBox,children:[w.jsx(sr,{sx:o0.minTextField,label:"Minimum",variant:"filled",size:"small",value:u[0],error:d[0],onChange:g=>p(g)}),w.jsx(sr,{sx:o0.maxTextField,label:"Maximum",variant:"filled",size:"small",value:u[1],error:d[1],onChange:g=>m(g)})]})]})}function GH(t){return[t[0]+"",t[1]+""]}const Trt={label:{fontSize:"x-small",fontWeight:"bold",width:"100%",display:"flex",flexWrap:"nowrap",justifyContent:"space-between"}};function Ert({minValue:t,maxValue:e,numTicks:n,logScaled:r,onClick:i}){const o=k.useMemo(()=>yrt(t,e,n,r),[t,e,n,r]);return w.jsx(tt,{sx:Trt.label,onClick:i,children:o.map((a,s)=>w.jsx("span",{children:a},s))})}function Prt({variableTitle:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableColorBar:i,variableOpacity:o,updateVariableColorBar:a,onOpenColorBarEditor:s}){const[l,c]=k.useState(null),u=d=>{c(d.currentTarget)},f=()=>{c(null)};return w.jsxs(w.Fragment,{children:[w.jsx(vrt,{colorBar:i,opacity:o,onClick:s}),w.jsx(Ert,{minValue:n[0],maxValue:n[1],numTicks:5,logScaled:r==="log",onClick:u}),w.jsx(zv,{anchorEl:l,open:!!l,onClose:f,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},children:w.jsx(Crt,{variableTitle:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:o,updateVariableColorBar:a})})]})}var lz={},Mrt=pt;Object.defineProperty(lz,"__esModule",{value:!0});var Ice=lz.default=void 0,krt=Mrt(mt()),Art=w;Ice=lz.default=(0,krt.default)((0,Art.jsx)("path",{d:"M12 4.81V19c-3.31 0-6-2.63-6-5.87 0-1.56.62-3.03 1.75-4.14zM6.35 7.56C4.9 8.99 4 10.96 4 13.13 4 17.48 7.58 21 12 21s8-3.52 8-7.87c0-2.17-.9-4.14-2.35-5.57L12 2z"}),"InvertColors");var cz={},Rrt=pt;Object.defineProperty(cz,"__esModule",{value:!0});var Dce=cz.default=void 0,Irt=Rrt(mt()),Drt=w;Dce=cz.default=(0,Irt.default)((0,Drt.jsx)("path",{d:"M17.66 8 12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8M6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14z"}),"Opacity");const Tu={container:{display:"flex",alignItems:"center",justifyContent:"space-between"},settingsBar:{display:"flex",gap:"1px"},toggleButton:{paddingTop:"2px",paddingBottom:"2px"},opacityContainer:{display:"flex",alignItems:"center"},opacityLabel:t=>({color:t.palette.text.secondary}),opacitySlider:{flexGrow:"1px",marginLeft:"10px",marginRight:"10px"}};function Lrt({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableColorBar:r,variableOpacity:i,updateVariableColorBar:o}){const a=()=>{const u=!r.isAlpha;t=DT({...r,isAlpha:u}),o(t,e,n,i)},s=()=>{const u=!r.isReversed;t=DT({...r,isReversed:u}),o(t,e,n,i)},l=(u,f)=>{o(t,e,f,i)},c=(u,f)=>{o(t,e,n,f)};return w.jsxs(w.Fragment,{children:[w.jsxs(tt,{sx:Tu.container,children:[w.jsxs(tt,{sx:Tu.settingsBar,children:[w.jsx(Ct,{arrow:!0,title:pe.get("Hide small values"),children:w.jsx(fn,{value:"alpha",selected:r.isAlpha,onChange:a,size:"small",children:w.jsx(Dce,{fontSize:"inherit"})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Reverse"),children:w.jsx(fn,{value:"reverse",selected:r.isReversed,onChange:s,size:"small",children:w.jsx(Ice,{fontSize:"inherit"})})})]}),w.jsxs(fp,{exclusive:!0,value:n,onChange:l,size:"small",children:[w.jsx(fn,{value:"lin",sx:Tu.toggleButton,children:w.jsx(tt,{fontSize:"small",children:"Lin"})}),w.jsx(fn,{value:"log",sx:Tu.toggleButton,children:w.jsx(tt,{fontSize:"small",children:"Log"})}),w.jsx(fn,{value:"cat",sx:Tu.toggleButton,disabled:!r.categories,children:w.jsx(tt,{fontSize:"small",children:"Cat"})})]})]}),w.jsxs(tt,{component:"div",sx:Tu.opacityContainer,children:[w.jsx(tt,{component:"span",fontSize:"small",sx:Tu.opacityLabel,children:pe.get("Opacity")}),w.jsx(d1,{min:0,max:1,value:i,step:.01,sx:Tu.opacitySlider,onChange:c,size:"small"})]})]})}const $rt={colorBarGroupTitle:t=>({marginTop:t.spacing(2*Mb),fontSize:"small",color:t.palette.text.secondary})};function Lce({title:t,description:e}){return w.jsx(Ct,{arrow:!0,title:e,placement:"left",children:w.jsx(tt,{sx:$rt.colorBarGroupTitle,children:t})})}const HH=t=>({marginTop:t.spacing(Mb),height:20,borderWidth:1,borderStyle:"solid"}),qH={colorBarItem:t=>({...HH(t),borderColor:t.palette.mode==="dark"?"lightgray":"darkgray"}),colorBarItemSelected:t=>({...HH(t),borderColor:"blue"})};function uz({imageData:t,selected:e,onSelect:n,width:r,title:i}){let o=w.jsx("img",{src:t?`data:image/png;base64,${t}`:void 0,alt:t?"color bar":"error",width:"100%",height:"100%",onClick:n});return i&&(o=w.jsx(Ct,{arrow:!0,title:i,placement:"left",children:o})),w.jsx(tt,{width:r||G1,sx:e?qH.colorBarItemSelected:qH.colorBarItem,children:o})}function Nrt({colorBarGroup:t,selectedColorBarName:e,onSelectColorBar:n,images:r}){return w.jsxs(w.Fragment,{children:[w.jsx(Lce,{title:t.title,description:t.description}),t.names.map(i=>w.jsx(uz,{title:i,imageData:r[i],selected:i===e,onSelect:()=>n(i)},i))]})}var fz={},Frt=pt;Object.defineProperty(fz,"__esModule",{value:!0});var H1=fz.default=void 0,jrt=Frt(mt()),Brt=w;H1=fz.default=(0,jrt.default)((0,Brt.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline");function $ce(){const t=k.useRef(),e=k.useRef(()=>{t.current&&(t.current(),t.current=void 0)}),n=k.useRef(r=>{t.current=r});return k.useEffect(()=>e.current,[]),[e.current,n.current]}var dz={},zrt=pt;Object.defineProperty(dz,"__esModule",{value:!0});var Nce=dz.default=void 0,Urt=zrt(mt()),Wrt=w;Nce=dz.default=(0,Urt.default)((0,Wrt.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel");var hz={},Vrt=pt;Object.defineProperty(hz,"__esModule",{value:!0});var Fce=hz.default=void 0,Grt=Vrt(mt()),Hrt=w;Fce=hz.default=(0,Grt.default)((0,Hrt.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done");function qrt({anchorEl:t,markdownText:e,open:n,onClose:r}){if(!e)return null;const i={code:o=>{const{node:a,...s}=o;return w.jsx("code",{...s,style:{color:"green"}})}};return w.jsx(zv,{anchorEl:t,open:n,onClose:r,children:w.jsx(Di,{sx:{width:"32em",overflowY:"auto",fontSize:"smaller",paddingLeft:2,paddingRight:2},children:w.jsx(JM,{children:e,components:i,linkTarget:"_blank"})})})}const XH={container:{display:"flex",justifyContent:"space-between",gap:.2},doneCancel:{display:"flex",gap:.2}};function q1({onDone:t,onCancel:e,doneDisabled:n,cancelDisabled:r,size:i,helpUrl:o}){const[a,s]=k.useState(null),l=k.useRef(null),c=mle(o),u=()=>{s(l.current)},f=()=>{s(null)};return w.jsxs(tt,{sx:XH.container,children:[w.jsx(tt,{children:c&&w.jsxs(w.Fragment,{children:[w.jsx(Et,{onClick:u,size:i,ref:l,children:w.jsx(Qj,{fontSize:"inherit"})}),w.jsx(qrt,{anchorEl:a,open:!!a,onClose:f,markdownText:c})]})}),w.jsxs(tt,{sx:XH.doneCancel,children:[w.jsx(Et,{onClick:t,color:"primary",disabled:n,size:i,children:w.jsx(Fce,{fontSize:"inherit"})}),w.jsx(Et,{onClick:e,color:"primary",disabled:r,size:i,children:w.jsx(Nce,{fontSize:"inherit"})})]})]})}const KA={radioGroup:{marginLeft:1},radio:{padding:"4px"},label:{fontSize:"small"}},Xrt=[["node","Values are nodes of a continuous color gradient"],["bound","Values are bounds identifying individual colors"],["key","Values are integer keys identifying individual colors"]];function Qrt({colorMapType:t,setColorMapType:e}){return w.jsx(Fj,{row:!0,value:t,onChange:(n,r)=>{e(r)},sx:KA.radioGroup,children:Xrt.map(([n,r])=>w.jsx(Ct,{arrow:!0,title:pe.get(r),children:w.jsx(gx,{value:n,control:w.jsx(xx,{size:"small",sx:KA.radio}),label:w.jsx(tt,{component:"span",sx:KA.label,children:pe.get(Yrt(n))})})},n))})}function Yrt(t){return t[0].toUpperCase()+t.substring(1)}function Krt({userColorBar:t,updateUserColorBar:e,selected:n,onSelect:r,onDone:i,onCancel:o}){const a=l=>{e({...t,code:l.currentTarget.value})},s=l=>{e({...t,type:l})};return w.jsxs(tt,{children:[w.jsx(uz,{imageData:t.imageData,title:t.errorMessage,selected:n,onSelect:r}),w.jsx(Qrt,{colorMapType:t.type,setColorMapType:s}),w.jsx(sr,{label:"Color mapping",placeholder:sie,multiline:!0,fullWidth:!0,size:"small",minRows:3,sx:{marginTop:1,fontFamily:"monospace"},value:t.code,onChange:a,color:t.errorMessage?"error":"primary",inputProps:{style:{fontFamily:"monospace",fontSize:12}}}),w.jsx(q1,{onDone:i,onCancel:o,doneDisabled:!!t.errorMessage,size:"small",helpUrl:pe.get("docs/color-mappings.en.md")})]})}var pz={},Zrt=pt;Object.defineProperty(pz,"__esModule",{value:!0});var jce=pz.default=void 0,Jrt=Zrt(mt()),eit=w;jce=pz.default=(0,Jrt.default)((0,eit.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz");const tit={container:{display:"flex",alignItems:"center",width:G1,height:Rce,gap:Mb,marginTop:Mb}};function nit({imageData:t,title:e,selected:n,onEdit:r,onRemove:i,onSelect:o,disabled:a}){const[s,l]=k.useState(null),c=p=>{l(p.currentTarget)},u=()=>{l(null)},f=()=>{l(null),r()},d=()=>{l(null),i()},h=!!s;return w.jsxs(w.Fragment,{children:[w.jsxs(tt,{sx:tit.container,children:[w.jsx(uz,{imageData:t,selected:n,onSelect:o,width:G1-20,title:e}),w.jsx(Et,{size:"small",onClick:c,children:w.jsx(jce,{fontSize:"inherit"})})]}),w.jsx(zv,{anchorOrigin:{vertical:"center",horizontal:"center"},transformOrigin:{vertical:"center",horizontal:"center"},open:h,anchorEl:s,onClose:u,children:w.jsxs(tt,{children:[w.jsx(Et,{onClick:f,size:"small",disabled:a,children:w.jsx(wp,{fontSize:"inherit"})}),w.jsx(Et,{onClick:d,size:"small",disabled:a,children:w.jsx(z1,{fontSize:"inherit"})})]})})]})}const rit={container:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:1}};function iit({colorBarGroup:t,selectedColorBarName:e,onSelectColorBar:n,userColorBars:r,addUserColorBar:i,removeUserColorBar:o,updateUserColorBar:a,updateUserColorBars:s}){const[l,c]=k.useState({}),[u,f]=$ce(),d=k.useMemo(()=>r.findIndex(y=>y.id===l.colorBarId),[r,l.colorBarId]),h=()=>{f(()=>s(r));const y=Wl("ucb");i(y),c({action:"add",colorBarId:y})},p=y=>{f(()=>s(r)),c({action:"edit",colorBarId:y})},m=y=>{f(void 0),o(y)},g=()=>{f(void 0),c({})},v=()=>{u(),c({})};return w.jsxs(w.Fragment,{children:[w.jsxs(tt,{sx:rit.container,children:[w.jsx(Lce,{title:pe.get(t.title),description:pe.get(t.description)}),w.jsx(Et,{onClick:h,size:"small",color:"primary",disabled:!!l.action,children:w.jsx(H1,{fontSize:"inherit"})})]}),r.map(y=>y.id===l.colorBarId&&d>=0?w.jsx(Krt,{userColorBar:y,updateUserColorBar:a,selected:y.id===e,onSelect:()=>n(y.id),onDone:g,onCancel:v},y.id):w.jsx(nit,{imageData:y.imageData,title:y.errorMessage,disabled:!!l.action,selected:y.id===e,onSelect:()=>n(y.id),onEdit:()=>p(y.id),onRemove:()=>m(y.id)},y.id))]})}function oit({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableColorBar:r,variableOpacity:i,updateVariableColorBar:o,colorBars:a,userColorBars:s,addUserColorBar:l,removeUserColorBar:c,updateUserColorBar:u,updateUserColorBars:f}){const d=h=>{t=DT({...r,baseName:h}),o(t,e,n,i)};return w.jsx(w.Fragment,{children:a.groups.map(h=>h.title===aie?w.jsx(iit,{colorBarGroup:h,selectedColorBarName:r.baseName,onSelectColorBar:d,userColorBars:s,addUserColorBar:l,removeUserColorBar:c,updateUserColorBar:u,updateUserColorBars:f},h.title):w.jsx(Nrt,{colorBarGroup:h,selectedColorBarName:r.baseName,onSelectColorBar:d,images:a.images},h.title))})}const ait={colorBarBox:t=>({marginTop:t.spacing(_S-2*Mb),marginLeft:t.spacing(_S),marginRight:t.spacing(_S),marginBottom:t.spacing(_S)})};function sit(t){const{colorBars:e,userColorBars:n,addUserColorBar:r,removeUserColorBar:i,updateUserColorBar:o,updateUserColorBars:a,...s}=t;return w.jsxs(tt,{sx:ait.colorBarBox,children:[w.jsx(Lrt,{...s}),w.jsx(oit,{...s,colorBars:e,userColorBars:n,addUserColorBar:r,removeUserColorBar:i,updateUserColorBar:o,updateUserColorBars:a})]})}const QH={container:t=>({paddingLeft:t.spacing(1.5),paddingRight:t.spacing(1.5),paddingBottom:t.spacing(.5),paddingTop:t.spacing(.5),color:"black"}),title:t=>({fontSize:"small",fontWeight:"bold",width:"100%",display:"flex",flexWrap:"nowrap",justifyContent:"center",paddingBottom:t.spacing(.5)})};function lit(t){const{variableName:e,variableUnits:n,variableColorBar:r,variableColorBarNorm:i}=t,o=k.useRef(null),[a,s]=k.useState(null),l=()=>{s(o.current)},c=()=>{s(null)};if(!e)return null;const u=r.categories?e:`${e} (${n||"-"})`;return w.jsxs(tt,{sx:QH.container,ref:o,children:[w.jsx(tt,{sx:QH.title,children:w.jsx("span",{children:u})}),i==="cat"&&r.categories?w.jsx(mrt,{variableColorBarCategories:r.categories,onOpenColorBarEditor:l,...t}):w.jsx(Prt,{variableTitle:e,onOpenColorBarEditor:l,...t}),w.jsx(zv,{anchorEl:a,open:!!a,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:w.jsx(sit,{...t})})]})}const cit=t=>({variableName:Yv(t),variableUnits:z8e(t),variableColorBarName:VM(t),variableColorBarMinMax:Joe(t),variableColorBarNorm:tae(t),variableColorBar:oB(t),variableOpacity:oae(t),userColorBars:Kv(t),colorBars:iB(t)}),uit={updateVariableColorBar:iHe,addUserColorBar:kHe,removeUserColorBar:RHe,updateUserColorBar:IHe,updateUserColorBars:$He},fit=sn(cit,uit)(lit),dit={splitter:{position:"absolute",top:0,left:"50%",width:"6px",height:"100%",backgroundColor:"#ffffff60",zIndex:999,borderLeft:"0.5px solid #ffffffd0",borderRight:"0.5px solid #ffffffd0",cursor:"col-resize"}};function hit({hidden:t,position:e,onPositionChange:n}){const r=k.useRef(null),i=k.useRef(([a,s])=>{r.current!==null&&n(r.current.offsetLeft+a)}),o=kce(i.current);return k.useEffect(()=>{!t&&!Bn(e)&&r.current!==null&&r.current.parentElement!==null&&n(Math.round(r.current.parentElement.clientWidth/2))},[t,e,n]),t?null:w.jsx(tt,{id:"MapSplitter",ref:r,sx:dit.splitter,style:{left:Bn(e)?e:"50%"},onMouseDown:o})}const pit=t=>({hidden:!t.controlState.variableCompareMode,position:t.controlState.variableSplitPos}),mit={onPositionChange:xHe},git=sn(pit,mit)(hit),vit=(t,e)=>({locale:t.controlState.locale,variableLayer:pGe(t),variable2Layer:mGe(t),rgbLayer:gGe(t),rgb2Layer:vGe(t),datasetBoundaryLayer:hGe(t),placeGroupLayers:_Ge(t),colorBarLegend:w.jsx(fit,{}),mapSplitter:w.jsx(git,{}),userDrawnPlaceGroupName:t.controlState.userDrawnPlaceGroupName,userPlaceGroups:k1(t),userPlaceGroupsVisibility:K8e(t),showUserPlaces:qoe(t),mapId:"map",mapInteraction:t.controlState.mapInteraction,mapProjection:ad(t),selectedPlaceId:t.controlState.selectedPlaceId,places:$1(t),baseMapLayer:CGe(t),overlayLayer:TGe(t),imageSmoothing:D1(t),variableSplitPos:t.controlState.variableSplitPos,onMapRef:e.onMapRef}),yit={addDrawnUserPlace:BGe,importUserPlacesFromText:$ae,selectPlace:qM},YH=sn(vit,yit)(drt);var mz={},xit=pt;Object.defineProperty(mz,"__esModule",{value:!0});var gz=mz.default=void 0,bit=xit(mt()),_it=w;gz=mz.default=(0,bit.default)((0,_it.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var vz={},wit=pt;Object.defineProperty(vz,"__esModule",{value:!0});var Bce=vz.default=void 0,Sit=wit(mt()),Oit=w;Bce=vz.default=(0,Sit.default)((0,Oit.jsx)("path",{d:"M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"}),"Functions");var yz={},Cit=pt;Object.defineProperty(yz,"__esModule",{value:!0});var zce=yz.default=void 0,Tit=Cit(mt()),Eit=w;zce=yz.default=(0,Tit.default)((0,Eit.jsx)("path",{d:"m2 19.99 7.5-7.51 4 4 7.09-7.97L22 9.92l-8.5 9.56-4-4-6 6.01zm1.5-4.5 6-6.01 4 4L22 3.92l-1.41-1.41-7.09 7.97-4-4L2 13.99z"}),"StackedLineChart");var xz={},Pit=pt;Object.defineProperty(xz,"__esModule",{value:!0});var Uce=xz.default=void 0,Mit=Pit(mt()),kit=w;Uce=xz.default=(0,Mit.default)((0,kit.jsx)("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33m8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2m-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0"}),"ThreeDRotation");var bz={},Ait=pt;Object.defineProperty(bz,"__esModule",{value:!0});var Wce=bz.default=void 0,Rit=Ait(mt()),Iit=w;Wce=bz.default=(0,Rit.default)((0,Iit.jsx)("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject");var _z={},Dit=pt;Object.defineProperty(_z,"__esModule",{value:!0});var Vce=_z.default=void 0,Lit=Dit(mt()),$it=w;Vce=_z.default=(0,Lit.default)((0,$it.jsx)("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt");var wz={},Nit=pt;Object.defineProperty(wz,"__esModule",{value:!0});var Gce=wz.default=void 0,Fit=Nit(mt()),jit=w;Gce=wz.default=(0,Fit.default)((0,jit.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"Place");var Sz={},Bit=pt;Object.defineProperty(Sz,"__esModule",{value:!0});var Hce=Sz.default=void 0,zit=Bit(mt()),Uit=w;Hce=Sz.default=(0,zit.default)((0,Uit.jsx)("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFields");var Oz={},Wit=pt;Object.defineProperty(Oz,"__esModule",{value:!0});var qce=Oz.default=void 0,Vit=Wit(mt()),Git=w;qce=Oz.default=(0,Vit.default)((0,Git.jsx)("path",{d:"M13 13v8h8v-8zM3 21h8v-8H3zM3 3v8h8V3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66z"}),"Widgets");let Sn=class Xce{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,r){[e,n]=qg(this,e,n);let i=[];return this.decompose(0,e,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),gl.from(i,this.length-(n-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){[e,n]=qg(this,e,n);let r=[];return this.decompose(e,n,r,0),gl.from(r,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),i=new Mx(this),o=new Mx(e);for(let a=n,s=n;;){if(i.next(a),o.next(a),a=0,i.lineBreak!=o.lineBreak||i.done!=o.done||i.value!=o.value)return!1;if(s+=i.value.length,i.done||s>=r)return!0}}iter(e=1){return new Mx(this,e)}iterRange(e,n=this.length){return new Qce(this,e,n)}iterLines(e,n){let r;if(e==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(e).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new Yce(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Xce.empty:e.length<=32?new Or(e):gl.from(Or.split(e,[]))}};class Or extends Sn{constructor(e,n=Hit(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,r,i){for(let o=0;;o++){let a=this.text[o],s=i+a.length;if((n?r:s)>=e)return new qit(i,s,r,a);i=s+1,r++}}decompose(e,n,r,i){let o=e<=0&&n>=this.length?this:new Or(KH(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(i&1){let a=r.pop(),s=dC(o.text,a.text.slice(),0,o.length);if(s.length<=32)r.push(new Or(s,a.length+o.length));else{let l=s.length>>1;r.push(new Or(s.slice(0,l)),new Or(s.slice(l)))}}else r.push(o)}replace(e,n,r){if(!(r instanceof Or))return super.replace(e,n,r);[e,n]=qg(this,e,n);let i=dC(this.text,dC(r.text,KH(this.text,0,e)),n),o=this.length+r.length-(n-e);return i.length<=32?new Or(i,o):gl.from(Or.split(i,[]),o)}sliceString(e,n=this.length,r=` -`){[e,n]=qg(this,e,n);let i="";for(let o=0,a=0;o<=n&&ae&&a&&(i+=r),eo&&(i+=s.slice(Math.max(0,e-o),n-o)),o=l+1}return i}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let r=[],i=-1;for(let o of e)r.push(o),i+=o.length+1,r.length==32&&(n.push(new Or(r,i)),r=[],i=-1);return i>-1&&n.push(new Or(r,i)),n}}class gl extends Sn{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,n,r,i){for(let o=0;;o++){let a=this.children[o],s=i+a.length,l=r+a.lines-1;if((n?l:s)>=e)return a.lineInner(e,n,r,i);i=s+1,r=l+1}}decompose(e,n,r,i){for(let o=0,a=0;a<=n&&o=a){let c=i&((a<=e?1:0)|(l>=n?2:0));a>=e&&l<=n&&!c?r.push(s):s.decompose(e-a,n-a,r,c)}a=l+1}}replace(e,n,r){if([e,n]=qg(this,e,n),r.lines=o&&n<=s){let l=a.replace(e-o,n-o,r),c=this.lines-a.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let u=this.children.slice();return u[i]=l,new gl(u,this.length-(n-e)+r.length)}return super.replace(o,s,l)}o=s+1}return super.replace(e,n,r)}sliceString(e,n=this.length,r=` -`){[e,n]=qg(this,e,n);let i="";for(let o=0,a=0;oe&&o&&(i+=r),ea&&(i+=s.sliceString(e-a,n-a,r)),a=l+1}return i}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof gl))return 0;let r=0,[i,o,a,s]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=n,o+=n){if(i==a||o==s)return r;let l=this.children[i],c=e.children[o];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(e,n=e.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let h of e)r+=h.lines;if(r<32){let h=[];for(let p of e)p.flatten(h);return new Or(h,n)}let i=Math.max(32,r>>5),o=i<<1,a=i>>1,s=[],l=0,c=-1,u=[];function f(h){let p;if(h.lines>o&&h instanceof gl)for(let m of h.children)f(m);else h.lines>a&&(l>a||!l)?(d(),s.push(h)):h instanceof Or&&l&&(p=u[u.length-1])instanceof Or&&h.lines+p.lines<=32?(l+=h.lines,c+=h.length+1,u[u.length-1]=new Or(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>i&&d(),l+=h.lines,c+=h.length+1,u.push(h))}function d(){l!=0&&(s.push(u.length==1?u[0]:gl.from(u,c)),c=-1,l=u.length=0)}for(let h of e)f(h);return d(),s.length==1?s[0]:new gl(s,n)}}Sn.empty=new Or([""],0);function Hit(t){let e=-1;for(let n of t)e+=n.length+1;return e}function dC(t,e,n=0,r=1e9){for(let i=0,o=0,a=!0;o=n&&(l>r&&(s=s.slice(0,r-i)),i0?1:(e instanceof Or?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],o=this.offsets[r],a=o>>1,s=i instanceof Or?i.text.length:i.children.length;if(a==(n>0?s:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(n>0?0:1)){if(this.offsets[r]+=n,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(i instanceof Or){let l=i.text[a+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,e))return this.value=e==0?l:n>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=i.children[a+(n<0?-1:0)];e>l.length?(e-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof Or?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Qce{constructor(e,n,r){this.value="",this.done=!1,this.cursor=new Mx(e,n>r?-1:1),this.pos=n>r?e.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Yce{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:r,value:i}=this.inner.next(e);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Sn.prototype[Symbol.iterator]=function(){return this.iter()},Mx.prototype[Symbol.iterator]=Qce.prototype[Symbol.iterator]=Yce.prototype[Symbol.iterator]=function(){return this});let qit=class{constructor(e,n,r,i){this.from=e,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}};function qg(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,n))]}let pg="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return pg[e-1]<=t;return!1}function ZH(t){return t>=127462&&t<=127487}const JH=8205;function Mi(t,e,n=!0,r=!0){return(n?Kce:Qit)(t,e,r)}function Kce(t,e,n){if(e==t.length)return e;e&&Zce(t.charCodeAt(e))&&Jce(t.charCodeAt(e-1))&&e--;let r=Oi(t,e);for(e+=ja(r);e=0&&ZH(Oi(t,a));)o++,a-=2;if(o%2==0)break;e+=2}else break}return e}function Qit(t,e,n){for(;e>0;){let r=Kce(t,e-2,n);if(r=56320&&t<57344}function Jce(t){return t>=55296&&t<56320}function Oi(t,e){let n=t.charCodeAt(e);if(!Jce(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return Zce(r)?(n-55296<<10)+(r-56320)+65536:n}function Cz(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function ja(t){return t<65536?1:2}const _$=/\r\n?|\n/;var Ei=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(Ei||(Ei={}));class Fl{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return o+(e-i);o+=s}else{if(r!=Ei.Simple&&c>=e&&(r==Ei.TrackDel&&ie||r==Ei.TrackBefore&&ie))return null;if(c>e||c==e&&n<0&&!s)return e==i||n<0?o:o+l;o+=l}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return o}touchesRange(e,n=e){for(let r=0,i=0;r=0&&i<=n&&s>=e)return in?"cover":!0;i=s}return!1}toString(){let e="";for(let n=0;n=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Fl(e)}static create(e){return new Fl(e)}}class Xr extends Fl{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return w$(this,(n,r,i,o,a)=>e=e.replace(i,i+(r-n),a),!1),e}mapDesc(e,n=!1){return S$(this,e,n,!0)}invert(e){let n=this.sections.slice(),r=[];for(let i=0,o=0;i=0){n[i]=s,n[i+1]=a;let l=i>>1;for(;r.length0&&ff(r,n,o.text),o.forward(u),s+=u}let c=e[a++];for(;s>1].toJSON()))}return e}static of(e,n,r){let i=[],o=[],a=0,s=null;function l(u=!1){if(!u&&!i.length)return;ad||f<0||d>n)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${n})`);let p=h?typeof h=="string"?Sn.of(h.split(r||_$)):h:Sn.empty,m=p.length;if(f==d&&m==0)return;fa&&Hi(i,f-a,-1),Hi(i,d-f,m),ff(o,i,p),a=d}}return c(e),l(!s),s}static empty(e){return new Xr(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;is&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)n.push(o[0],0);else{for(;r.length=0&&n<=0&&n==t[i+1]?t[i]+=e:e==0&&t[i]==0?t[i+1]+=n:r?(t[i]+=e,t[i+1]+=n):t.push(e,n)}function ff(t,e,n){if(n.length==0)return;let r=e.length-2>>1;if(r>1])),!(n||a==t.sections.length||t.sections[a+1]<0);)s=t.sections[a++],l=t.sections[a++];e(i,c,o,u,f),i=c,o=u}}}function S$(t,e,n,r=!1){let i=[],o=r?[]:null,a=new Ab(t),s=new Ab(e);for(let l=-1;;)if(a.ins==-1&&s.ins==-1){let c=Math.min(a.len,s.len);Hi(i,c,-1),a.forward(c),s.forward(c)}else if(s.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(s.len=0&&l=0){let c=0,u=a.len;for(;u;)if(s.ins==-1){let f=Math.min(u,s.len);c+=f,u-=f,s.forward(f)}else if(s.ins==0&&s.lenl||a.ins>=0&&a.len>l)&&(s||r.length>c),o.forward2(l),a.forward(l)}}}}class Ab{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?Sn.empty:e[n]}textBit(e){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!e?Sn.empty:n[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class ah{constructor(e,n,r){this.from=e,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,n=-1){let r,i;return this.empty?r=i=e.mapPos(this.from,n):(r=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new ah(r,i,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return je.range(e,n);let r=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return je.range(this.anchor,r)}eq(e,n=!1){return this.anchor==e.anchor&&this.head==e.head&&(!n||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return je.range(e.anchor,e.head)}static create(e,n,r){return new ah(e,n,r)}}class je{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:je.create(this.ranges.map(r=>r.map(e,n)),this.mainIndex)}eq(e,n=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;re.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new je(e.ranges.map(n=>ah.fromJSON(n)),e.main)}static single(e,n=e){return new je([je.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;ie?8:0)|o)}static normalized(e,n=0){let r=e[n];e.sort((i,o)=>i.from-o.from),n=e.indexOf(r);for(let i=1;io.head?je.range(l,s):je.range(s,l))}}return new je(e,n)}}function tue(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let Tz=0;class ut{constructor(e,n,r,i,o){this.combine=e,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=Tz++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new ut(e.combine||(n=>n),e.compareInput||((n,r)=>n===r),e.compare||(e.combine?(n,r)=>n===r:Ez),!!e.static,e.enables)}of(e){return new hC([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new hC(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new hC(e,this,2,n)}from(e,n){return n||(n=r=>r),this.compute([e],r=>n(r.field(e)))}}function Ez(t,e){return t==e||t.length==e.length&&t.every((n,r)=>n===e[r])}class hC{constructor(e,n,r,i){this.dependencies=e,this.facet=n,this.type=r,this.value=i,this.id=Tz++}dynamicSlot(e){var n;let r=this.value,i=this.facet.compareInput,o=this.id,a=e[o]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((n=e[f.id])!==null&&n!==void 0?n:1)&1||u.push(e[f.id]);return{create(f){return f.values[a]=r(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||O$(f,u)){let h=r(f);if(s?!e9(h,f.values[a],i):!i(h,f.values[a]))return f.values[a]=h,1}return 0},reconfigure:(f,d)=>{let h,p=d.config.address[o];if(p!=null){let m=UT(d,p);if(this.dependencies.every(g=>g instanceof ut?d.facet(g)===f.facet(g):g instanceof hi?d.field(g,!1)==f.field(g,!1):!0)||(s?e9(h=r(f),m,i):i(h=r(f),m)))return f.values[a]=m,0}else h=r(f);return f.values[a]=h,1}}}}function e9(t,e,n){if(t.length!=e.length)return!1;for(let r=0;rt[l.id]),i=n.map(l=>l.type),o=r.filter(l=>!(l&1)),a=t[e.id]>>1;function s(l){let c=[];for(let u=0;ur===i),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(t9).find(r=>r.field==this);return((n==null?void 0:n.create)||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let o=r.values[n],a=this.updateF(o,i);return this.compareF(o,a)?0:(r.values[n]=a,1)},reconfigure:(r,i)=>i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}init(e){return[this,t9.of({field:this,create:e})]}get extension(){return this}}const qd={lowest:4,low:3,default:2,high:1,highest:0};function a0(t){return e=>new nue(e,t)}const ud={highest:a0(qd.highest),high:a0(qd.high),default:a0(qd.default),low:a0(qd.low),lowest:a0(qd.lowest)};class nue{constructor(e,n){this.inner=e,this.prec=n}}class n2{of(e){return new C$(this,e)}reconfigure(e){return n2.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class C${constructor(e,n){this.compartment=e,this.inner=n}}class zT{constructor(e,n,r,i,o,a){for(this.base=e,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=o,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,r){let i=[],o=Object.create(null),a=new Map;for(let d of Kit(e,n,a))d instanceof hi?i.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let s=Object.create(null),l=[],c=[];for(let d of i)s[d.id]=c.length<<1,c.push(h=>d.slot(h));let u=r==null?void 0:r.config.facets;for(let d in o){let h=o[d],p=h[0].facet,m=u&&u[d]||[];if(h.every(g=>g.type==0))if(s[p.id]=l.length<<1|1,Ez(m,h))l.push(r.facet(p));else{let g=p.combine(h.map(v=>v.value));l.push(r&&p.compare(g,r.facet(p))?r.facet(p):g)}else{for(let g of h)g.type==0?(s[g.id]=l.length<<1|1,l.push(g.value)):(s[g.id]=c.length<<1,c.push(v=>g.dynamicSlot(v)));s[p.id]=c.length<<1,c.push(g=>Yit(g,p,h))}}let f=c.map(d=>d(s));return new zT(e,a,f,s,l,o)}}function Kit(t,e,n){let r=[[],[],[],[],[]],i=new Map;function o(a,s){let l=i.get(a);if(l!=null){if(l<=s)return;let c=r[l].indexOf(a);c>-1&&r[l].splice(c,1),a instanceof C$&&n.delete(a.compartment)}if(i.set(a,s),Array.isArray(a))for(let c of a)o(c,s);else if(a instanceof C$){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;n.set(a.compartment,c),o(c,s)}else if(a instanceof nue)o(a.inner,a.prec);else if(a instanceof hi)r[s].push(a),a.provides&&o(a.provides,s);else if(a instanceof hC)r[s].push(a),a.facet.extensions&&o(a.facet.extensions,qd.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,s)}}return o(t,qd.default),r.reduce((a,s)=>a.concat(s))}function kx(t,e){if(e&1)return 2;let n=e>>1,r=t.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[n]=4;let i=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|i}function UT(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const rue=ut.define(),T$=ut.define({combine:t=>t.some(e=>e),static:!0}),iue=ut.define({combine:t=>t.length?t[0]:void 0,static:!0}),oue=ut.define(),aue=ut.define(),sue=ut.define(),lue=ut.define({combine:t=>t.length?t[0]:!1});class Zl{constructor(e,n){this.type=e,this.value=n}static define(){return new Zit}}class Zit{of(e){return new Zl(this,e)}}class Jit{constructor(e){this.map=e}of(e){return new Rt(this,e)}}class Rt{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new Rt(this.type,n)}is(e){return this.type==e}static define(e={}){return new Jit(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let r=[];for(let i of e){let o=i.map(n);o&&r.push(o)}return r}}Rt.reconfigure=Rt.define();Rt.appendConfig=Rt.define();class Fr{constructor(e,n,r,i,o,a){this.startState=e,this.changes=n,this.selection=r,this.effects=i,this.annotations=o,this.scrollIntoView=a,this._doc=null,this._state=null,r&&tue(r,n.newLength),o.some(s=>s.type==Fr.time)||(this.annotations=o.concat(Fr.time.of(Date.now())))}static create(e,n,r,i,o,a){return new Fr(e,n,r,i,o,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation(Fr.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}}Fr.time=Zl.define();Fr.userEvent=Zl.define();Fr.addToHistory=Zl.define();Fr.remote=Zl.define();function eot(t,e){let n=[];for(let r=0,i=0;;){let o,a;if(r=t[r]))o=t[r++],a=t[r++];else if(i=0;i--){let o=r[i](t);o instanceof Fr?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Fr?t=o[0]:t=uue(e,mg(o),!1)}return t}function not(t){let e=t.startState,n=e.facet(sue),r=t;for(let i=n.length-1;i>=0;i--){let o=n[i](t);o&&Object.keys(o).length&&(r=cue(r,E$(e,o,t.changes.newLength),!0))}return r==t?t:Fr.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}const rot=[];function mg(t){return t==null?rot:Array.isArray(t)?t:[t]}var cr=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(cr||(cr={}));const iot=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let P$;try{P$=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function oot(t){if(P$)return P$.test(t);for(let e=0;e"€"&&(n.toUpperCase()!=n.toLowerCase()||iot.test(n)))return!0}return!1}function aot(t){return e=>{if(!/\S/.test(e))return cr.Space;if(oot(e))return cr.Word;for(let n=0;n-1)return cr.Word;return cr.Other}}class Zt{constructor(e,n,r,i,o,a){this.config=e,this.doc=n,this.selection=r,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this);for(let s=0;si.set(c,l)),n=null),i.set(s.value.compartment,s.value.extension)):s.is(Rt.reconfigure)?(n=null,r=s.value):s.is(Rt.appendConfig)&&(n=null,r=mg(r).concat(s.value));let o;n?o=e.startState.values.slice():(n=zT.resolve(r,i,this),o=new Zt(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let a=e.startState.facet(T$)?e.newSelection:e.newSelection.asSingle();new Zt(n,e.newDoc,a,o,(s,l)=>l.update(s,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:je.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,r=e(n.ranges[0]),i=this.changes(r.changes),o=[r.range],a=mg(r.effects);for(let s=1;sa.spec.fromJSON(s,l)))}}return Zt.create({doc:e.doc,selection:je.fromJSON(e.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(e={}){let n=zT.resolve(e.extensions||[],new Map),r=e.doc instanceof Sn?e.doc:Sn.of((e.doc||"").split(n.staticFacet(Zt.lineSeparator)||_$)),i=e.selection?e.selection instanceof je?e.selection:je.single(e.selection.anchor,e.selection.head):je.single(0);return tue(i,r.length),n.staticFacet(T$)||(i=i.asSingle()),new Zt(n,r,i,n.dynamicSlots.map(()=>null),(o,a)=>a.create(o),null)}get tabSize(){return this.facet(Zt.tabSize)}get lineBreak(){return this.facet(Zt.lineSeparator)||` -`}get readOnly(){return this.facet(lue)}phrase(e,...n){for(let r of this.facet(Zt.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let o=+(i||1);return!o||o>n.length?r:n[o-1]})),e}languageDataAt(e,n,r=-1){let i=[];for(let o of this.facet(rue))for(let a of o(this,n,r))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){return aot(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:r,length:i}=this.doc.lineAt(e),o=this.charCategorizer(e),a=e-r,s=e-r;for(;a>0;){let l=Mi(n,a,!1);if(o(n.slice(l,a))!=cr.Word)break;a=l}for(;st.length?t[0]:4});Zt.lineSeparator=iue;Zt.readOnly=lue;Zt.phrases=ut.define({compare(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length==r.length&&n.every(i=>t[i]==e[i])}});Zt.languageData=rue;Zt.changeFilter=oue;Zt.transactionFilter=aue;Zt.transactionExtender=sue;n2.reconfigure=Rt.define();function Jl(t,e,n={}){let r={};for(let i of t)for(let o of Object.keys(i)){let a=i[o],s=r[o];if(s===void 0)r[o]=a;else if(!(s===a||a===void 0))if(Object.hasOwnProperty.call(n,o))r[o]=n[o](s,a);else throw new Error("Config merge conflict for field "+o)}for(let i in e)r[i]===void 0&&(r[i]=e[i]);return r}class Wh{eq(e){return this==e}range(e,n=e){return M$.create(e,n,this)}}Wh.prototype.startSide=Wh.prototype.endSide=0;Wh.prototype.point=!1;Wh.prototype.mapMode=Ei.TrackDel;let M$=class fue{constructor(e,n,r){this.from=e,this.to=n,this.value=r}static create(e,n,r){return new fue(e,n,r)}};function k$(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Pz{constructor(e,n,r,i){this.from=e,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,n,r,i=0){let o=r?this.to:this.from;for(let a=i,s=o.length;;){if(a==s)return a;let l=a+s>>1,c=o[l]-e||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==a)return c>=0?a:s;c>=0?s=l:a=l+1}}between(e,n,r,i){for(let o=this.findIndex(n,-1e9,!0),a=this.findIndex(r,1e9,!1,o);oh||d==h&&c.startSide>0&&c.endSide<=0)continue;(h-d||c.endSide-c.startSide)<0||(a<0&&(a=d),c.point&&(s=Math.max(s,h-d)),r.push(c),i.push(d-a),o.push(h-a))}return{mapped:r.length?new Pz(i,o,r,s):null,pos:a}}}class on{constructor(e,n,r,i){this.chunkPos=e,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(e,n,r,i){return new on(e,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:o=this.length}=e,a=e.filter;if(n.length==0&&!a)return this;if(r&&(n=n.slice().sort(k$)),this.isEmpty)return n.length?on.of(n):this;let s=new due(this,null,-1).goto(0),l=0,c=[],u=new Gf;for(;s.value||l=0){let f=n[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else s.rangeIndex==1&&s.chunkIndexthis.chunkEnd(s.chunkIndex)||os.to||o=o&&e<=o+a.length&&a.between(o,e-o,n-o,r)===!1)return}this.nextLayer.between(e,n,r)}}iter(e=0){return Rb.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return Rb.from(e).goto(n)}static compare(e,n,r,i,o=-1){let a=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),s=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=n9(a,s,r),c=new s0(a,l,o),u=new s0(s,l,o);r.iterGaps((f,d,h)=>r9(c,f,u,d,h,i)),r.empty&&r.length==0&&r9(c,0,u,0,0,i)}static eq(e,n,r=0,i){i==null&&(i=999999999);let o=e.filter(u=>!u.isEmpty&&n.indexOf(u)<0),a=n.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=a.length)return!1;if(!o.length)return!0;let s=n9(o,a),l=new s0(o,s,0).goto(r),c=new s0(a,s,0).goto(r);for(;;){if(l.to!=c.to||!A$(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>i)return!0;l.next(),c.next()}}static spans(e,n,r,i,o=-1){let a=new s0(e,null,o).goto(n),s=n,l=a.openStart;for(;;){let c=Math.min(a.to,r);if(a.point){let u=a.activeForPoint(a.to),f=a.pointFroms&&(i.span(s,c,a.active,l),l=a.openEnd(c));if(a.to>r)return l+(a.point&&a.to>r?1:0);s=a.to,a.next()}}static of(e,n=!1){let r=new Gf;for(let i of e instanceof M$?[e]:n?sot(e):e)r.add(i.from,i.to,i.value);return r.finish()}static join(e){if(!e.length)return on.empty;let n=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let i=e[r];i!=on.empty;i=i.nextLayer)n=new on(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}}on.empty=new on([],[],null,-1);function sot(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(k$);e=r}return t}on.empty.nextLayer=on.empty;class Gf{finishChunk(e){this.chunks.push(new Pz(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,n,r){this.addInner(e,n,r)||(this.nextLayer||(this.nextLayer=new Gf)).add(e,n,r)}addInner(e,n,r){let i=e-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+e,this.lastTo=n.to[r]+e,!0}finish(){return this.finishInner(on.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=on.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}}function n9(t,e,n){let r=new Map;for(let o of t)for(let a=0;a=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&i.push(new due(a,n,r,o));return i.length==1?i[0]:new Rb(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let r of this.heap)r.goto(e,n);for(let r=this.heap.length>>1;r>=0;r--)ZA(this.heap,r);return this.next(),this}forward(e,n){for(let r of this.heap)r.forward(e,n);for(let r=this.heap.length>>1;r>=0;r--)ZA(this.heap,r);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),ZA(this.heap,0)}}}function ZA(t,e){for(let n=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let i=t[r];if(r+1=0&&(i=t[r+1],r++),n.compare(i)<0)break;t[r]=n,t[e]=i,e=r}}class s0{constructor(e,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Rb.from(e,n,r)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){SS(this.active,e),SS(this.activeTo,e),SS(this.activeRank,e),this.minActive=i9(this.active,this.activeTo)}addActive(e){let n=0,{value:r,to:i,rank:o}=this.cursor;for(;n0;)n++;OS(this.active,n,r),OS(this.activeTo,n,i),OS(this.activeRank,n,o),e&&OS(e,n,this.cursor.from),this.minActive=i9(this.active,this.activeTo)}next(){let e=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&SS(r,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[i]=0&&!(this.activeRank[r]e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(e){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)n++;return n}}function r9(t,e,n,r,i,o){t.goto(e),n.goto(r);let a=r+i,s=r,l=r-e;for(;;){let c=t.to+l-n.to||t.endSide-n.endSide,u=c<0?t.to+l:n.to,f=Math.min(u,a);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&A$(t.activeForPoint(t.to),n.activeForPoint(n.to))||o.comparePoint(s,f,t.point,n.point):f>s&&!A$(t.active,n.active)&&o.compareRange(s,f,t.active,n.active),u>a)break;s=u,c<=0&&t.next(),c>=0&&n.next()}}function A$(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;r--)t[r+1]=t[r];t[e]=n}function i9(t,e){let n=-1,r=1e9;for(let i=0;i=e)return i;if(i==t.length)break;o+=t.charCodeAt(i)==9?n-o%n:1,i=Mi(t,i)}return r===!0?-1:t.length}const I$="ͼ",o9=typeof Symbol>"u"?"__"+I$:Symbol.for(I$),D$=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),a9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Hf{constructor(e,n){this.rules=[];let{finish:r}=n||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function o(a,s,l,c){let u=[],f=/^@(\w+)\b/.exec(a[0]),d=f&&f[1]=="keyframes";if(f&&s==null)return l.push(a[0]+";");for(let h in s){let p=s[h];if(/&/.test(h))o(h.split(/,\s*/).map(m=>a.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,l);else if(p&&typeof p=="object"){if(!f)throw new RangeError("The value of a property ("+h+") should be a primitive value.");o(i(h),p,u,d)}else p!=null&&u.push(h.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(u.length||d)&&l.push((r&&!f&&!c?a.map(r):a).join(", ")+" {"+u.join(" ")+"}")}for(let a in e)o(i(a),e[a],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=a9[o9]||1;return a9[o9]=e+1,I$+e.toString(36)}static mount(e,n,r){let i=e[D$],o=r&&r.nonce;i?o&&i.setNonce(o):i=new lot(e,o),i.mount(Array.isArray(n)?n:[n],e)}}let s9=new Map;class lot{constructor(e,n){let r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let o=s9.get(r);if(o)return e[D$]=o;this.sheet=new i.CSSStyleSheet,s9.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],e[D$]=this}mount(e,n){let r=this.sheet,i=0,o=0;for(let a=0;a-1&&(this.modules.splice(l,1),o--,l=-1),l==-1){if(this.modules.splice(o++,0,s),r)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},cot=typeof navigator<"u"&&/Mac/.test(navigator.platform),uot=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ci=0;Ci<10;Ci++)qf[48+Ci]=qf[96+Ci]=String(Ci);for(var Ci=1;Ci<=24;Ci++)qf[Ci+111]="F"+Ci;for(var Ci=65;Ci<=90;Ci++)qf[Ci]=String.fromCharCode(Ci+32),Ib[Ci]=String.fromCharCode(Ci);for(var JA in qf)Ib.hasOwnProperty(JA)||(Ib[JA]=qf[JA]);function fot(t){var e=cot&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||uot&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Ib:qf)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function WT(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function L$(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function dot(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function pC(t,e){if(!e.anchorNode)return!1;try{return L$(t,e.anchorNode)}catch{return!1}}function Xg(t){return t.nodeType==3?Gh(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Ax(t,e,n,r){return n?l9(t,e,n,r,-1)||l9(t,e,n,r,1):!1}function Vh(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function VT(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function l9(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:ru(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=Vh(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?ru(t):0}else return!1}}function ru(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function r2(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}function hot(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function hue(t,e){let n=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function pot(t,e,n,r,i,o,a,s){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,f=!1;u&&!f;)if(u.nodeType==1){let d,h=u==l.body,p=1,m=1;if(h)d=hot(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(f=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let y=u.getBoundingClientRect();({scaleX:p,scaleY:m}=hue(u,y)),d={left:y.left,right:y.left+u.clientWidth*p,top:y.top,bottom:y.top+u.clientHeight*m}}let g=0,v=0;if(i=="nearest")e.top0&&e.bottom>d.bottom+v&&(v=e.bottom-d.bottom+v+a)):e.bottom>d.bottom&&(v=e.bottom-d.bottom+a,n<0&&e.top-v0&&e.right>d.right+g&&(g=e.right-d.right+g+o)):e.right>d.right&&(g=e.right-d.right+o,n<0&&e.leftn.clientHeight||n.scrollWidth>n.clientWidth)return n;n=n.assignedSlot||n.parentNode}else if(n.nodeType==11)n=n.host;else break;return null}class got{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:n,focusNode:r}=e;this.set(n,Math.min(e.anchorOffset,n?ru(n):0),r,Math.min(e.focusOffset,r?ru(r):0))}set(e,n,r,i){this.anchorNode=e,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}}let Qp=null;function pue(t){if(t.setActive)return t.setActive();if(Qp)return t.focus(Qp);let e=[];for(let n=t;n&&(e.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(t.focus(Qp==null?{get preventScroll(){return Qp={preventScroll:!0},!0}}:void 0),!Qp){Qp=!1;for(let n=0;nMath.max(1,t.scrollHeight-t.clientHeight-4)}function vue(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=ru(n)}else if(n.parentNode&&!VT(n))r=Vh(n),n=n.parentNode;else return null}}function yue(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&rn)return f.domBoundsAround(e,n,c);if(d>=e&&i==-1&&(i=l,o=c),c>n&&f.dom.parentNode==this.dom){a=l,s=u;break}u=d,c=d+f.breakAfter}return{from:o,to:s<0?r+this.length:s,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.flags|=2),n.flags&1)return;n.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,r=Mz){this.markDirty();for(let i=e;ithis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function bue(t,e,n,r,i,o,a,s,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:a;if(!(e==r&&u&&!a&&!d&&o.length<2&&u.merge(n,i,o.length?f:null,n==0,s,l))){if(r0&&(!a&&o.length&&u.merge(n,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(n2);var dt={mac:h9||/Mac/.test(la.platform),windows:/Win/.test(la.platform),linux:/Linux|X11/.test(la.platform),ie:i2,ie_version:wue?$$.documentMode||6:F$?+F$[1]:N$?+N$[1]:0,gecko:f9,gecko_version:f9?+(/Firefox\/(\d+)/.exec(la.userAgent)||[0,0])[1]:0,chrome:!!eR,chrome_version:eR?+eR[1]:0,ios:h9,android:/Android\b/.test(la.userAgent),webkit:d9,safari:Sue,webkit_version:d9?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:$$.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const xot=256;class Vs extends Rn{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,r){return this.flags&8||r&&(!(r instanceof Vs)||this.length-(n-e)+r.length>xot||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new Vs(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new Qi(this.dom,e)}domBoundsAround(e,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return bot(this.dom,e,n)}}class iu extends Rn{constructor(e,n=[],r=0){super(),this.mark=e,this.children=n,this.length=r;for(let i of n)i.setParent(this)}setAttrs(e){if(mue(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,n)}merge(e,n,r,i,o,a){return r&&(!(r instanceof iu&&r.mark.eq(this.mark))||e&&o<=0||ne&&n.push(r=e&&(i=o),r=l,o++}let a=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new iu(this.mark,n,a)}domAtPos(e){return Oue(this,e)}coordsAt(e,n){return Tue(this,e,n)}}function bot(t,e,n){let r=t.nodeValue.length;e>r&&(e=r);let i=e,o=e,a=0;e==0&&n<0||e==r&&n>=0?dt.chrome||dt.gecko||(e?(i--,a=1):o=0)?0:s.length-1];return dt.safari&&!a&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),a?r2(l,a<0):l||null}class df extends Rn{static create(e,n,r){return new df(e,n,r)}constructor(e,n,r){super(),this.widget=e,this.length=n,this.side=r,this.prevWidget=null}split(e){let n=df.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,n,r,i,o,a){return r&&(!(r instanceof df)||!this.widget.compare(r.widget)||e>0&&o<=0||n0)?Qi.before(this.dom):Qi.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,n){let r=this.widget.coordsAt(this.dom,e,n);if(r)return r;let i=this.dom.getClientRects(),o=null;if(!i.length)return null;let a=this.side?this.side<0:e>0;for(let s=a?i.length-1:0;o=i[s],!(e>0?s==0:s==i.length-1||o.top0?Qi.before(this.dom):Qi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Sn.empty}get isHidden(){return!0}}Vs.prototype.children=df.prototype.children=Qg.prototype.children=Mz;function Oue(t,e){let n=t.dom,{children:r}=t,i=0;for(let o=0;io&&e0;o--){let a=r[o-1];if(a.dom.parentNode==n)return a.domAtPos(a.length)}for(let o=i;o0&&e instanceof iu&&i.length&&(r=i[i.length-1])instanceof iu&&r.mark.eq(e.mark)?Cue(r,e.children[0],n-1):(i.push(e),e.setParent(t)),t.length+=e.length}function Tue(t,e,n){let r=null,i=-1,o=null,a=-1;function s(c,u){for(let f=0,d=0;f=u&&(h.children.length?s(h,u-d):(!o||o.isHidden&&n>0)&&(p>u||d==p&&h.getSide()>0)?(o=h,a=u-d):(d-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let o of r)if(o!=n&&(i.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function B$(t,e,n){let r=!1;if(e)for(let i in e)n&&i in n||(r=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(n)for(let i in n)e&&e[i]==n[i]||(r=!0,i=="style"?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r}function wot(t){let e=Object.create(null);for(let n=0;n0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,n}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){kz(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){Cue(this,e,n)}addLineDeco(e){let n=e.spec.attributes,r=e.spec.class;n&&(this.attrs=j$(n,this.attrs||{})),r&&(this.attrs=j$({class:r},this.attrs||{}))}domAtPos(e){return Oue(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,n){var r;this.dom?this.flags&4&&(mue(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(B$(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,n);let i=this.dom.lastChild;for(;i&&Rn.get(i)instanceof iu;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((r=Rn.get(i))===null||r===void 0?void 0:r.isEditable)==!1&&(!dt.ios||!this.children.some(o=>o instanceof Vs))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,n;for(let r of this.children){if(!(r instanceof Vs)||/[^ -~]/.test(r.text))return null;let i=Xg(r.dom);if(i.length!=1)return null;e+=i[0].width,n=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:n}:null}coordsAt(e,n){let r=Tue(this,e,n);if(!this.children.length&&r&&this.parent){let{heightOracle:i}=this.parent.view.viewState,o=r.bottom-r.top;if(Math.abs(o-i.lineHeight)<2&&i.textHeight=n){if(o instanceof qr)return o;if(a>n)break}i=a+o.breakAfter}return null}}class Af extends Rn{constructor(e,n,r){super(),this.widget=e,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,n,r,i,o,a){return r&&(!(r instanceof Af)||!this.widget.compare(r.widget)||e>0&&o<=0||n0}}class ec{eq(e){return!1}updateDOM(e,n){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,n,r){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var fo=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(fo||(fo={}));class yt extends Wh{constructor(e,n,r,i){super(),this.startSide=e,this.endSide=n,this.widget=r,this.spec=i}get heightRelevant(){return!1}static mark(e){return new X1(e)}static widget(e){let n=Math.max(-1e4,Math.min(1e4,e.side||0)),r=!!e.block;return n+=r&&!e.inlineOrder?n>0?3e8:-4e8:n>0?1e8:-1e8,new Xf(e,n,n,r,e.widget||null,!1)}static replace(e){let n=!!e.block,r,i;if(e.isBlockGap)r=-5e8,i=4e8;else{let{start:o,end:a}=Eue(e,n);r=(o?n?-3e8:-1:5e8)-1,i=(a?n?2e8:1:-6e8)+1}return new Xf(e,r,i,n,e.widget||null,!0)}static line(e){return new Q1(e)}static set(e,n=!1){return on.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}yt.none=on.empty;class X1 extends yt{constructor(e){let{start:n,end:r}=Eue(e);super(n?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var n,r;return this==e||e instanceof X1&&this.tagName==e.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&kz(this.attrs,e.attrs,"class")}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}}X1.prototype.point=!1;class Q1 extends yt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Q1&&this.spec.class==e.spec.class&&kz(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}}Q1.prototype.mapMode=Ei.TrackBefore;Q1.prototype.point=!0;class Xf extends yt{constructor(e,n,r,i,o,a){super(n,r,o,e),this.block=i,this.isReplace=a,this.mapMode=i?n<=0?Ei.TrackBefore:Ei.TrackAfter:Ei.TrackDel}get type(){return this.startSide!=this.endSide?fo.WidgetRange:this.startSide<=0?fo.WidgetBefore:fo.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Xf&&Sot(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}}Xf.prototype.point=!0;function Eue(t,e=!1){let{inclusiveStart:n,inclusiveEnd:r}=t;return n==null&&(n=t.inclusive),r==null&&(r=t.inclusive),{start:n??e,end:r??e}}function Sot(t,e){return t==e||!!(t&&e&&t.compare(e))}function z$(t,e,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=t?n[i]=Math.max(n[i],e):n.push(t,e)}class Rx{constructor(e,n,r,i){this.doc=e,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Af&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new qr),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(CS(new Qg(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Af)&&this.getLine()}buildText(e,n,r){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:a,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(CS(new Vs(this.text.slice(this.textOff,this.textOff+i)),n),r),this.atCursorPos=!0,this.textOff+=i,e-=i,r=0}}span(e,n,r,i){this.buildText(n-e,r,i),this.pos=n,this.openStart<0&&(this.openStart=i)}point(e,n,r,i,o,a){if(this.disallowBlockEffectsFor[a]&&r instanceof Xf){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let s=n-e;if(r instanceof Xf)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Af(r.widget||Yg.block,s,r));else{let l=df.create(r.widget||Yg.inline,s,s?0:r.startSide),c=this.atCursorPos&&!l.isEditable&&o<=i.length&&(e0),u=!l.isEditable&&(ei.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),c&&(f.append(CS(new Qg(1),i),o),o=i.length+Math.max(0,o-i.length)),f.append(CS(l,i),o),this.atCursorPos=u,this.pendingBuffer=u?ei.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);s&&(this.textOff+s<=this.text.length?this.textOff+=s:(this.skip+=s-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=o)}static build(e,n,r,i,o){let a=new Rx(e,n,r,o);return a.openEnd=on.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function CS(t,e){for(let n of e)t=new iu(n,[t],t.length);return t}class Yg extends ec{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}Yg.inline=new Yg("span");Yg.block=new Yg("div");var tr=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(tr||(tr={}));const Hh=tr.LTR,Az=tr.RTL;function Pue(t){let e=[];for(let n=0;n=n){if(s.level==r)return a;(o<0||(i!=0?i<0?s.fromn:e[o].level>s.level))&&(o=a)}}if(o<0)throw new RangeError("Index out of range");return o}}function kue(t,e){if(t.length!=e.length)return!1;for(let n=0;n=0;m-=3)if(Zs[m+1]==-h){let g=Zs[m+2],v=g&2?i:g&4?g&1?o:i:0;v&&(An[f]=An[Zs[m]]=v),s=m;break}}else{if(Zs.length==189)break;Zs[s++]=f,Zs[s++]=d,Zs[s++]=l}else if((p=An[f])==2||p==1){let m=p==i;l=m?0:1;for(let g=s-3;g>=0;g-=3){let v=Zs[g+2];if(v&2)break;if(m)Zs[g+2]|=2;else{if(v&4)break;Zs[g+2]|=4}}}}}function Mot(t,e,n,r){for(let i=0,o=r;i<=n.length;i++){let a=i?n[i-1].to:t,s=il;)p==g&&(p=n[--m].from,g=m?n[m-1].to:t),An[--p]=h;l=u}else o=c,l++}}}function W$(t,e,n,r,i,o,a){let s=r%2?2:1;if(r%2==i%2)for(let l=e,c=0;ll&&a.push(new hf(l,m.from,h));let g=m.direction==Hh!=!(h%2);V$(t,g?r+1:r,i,m.inner,m.from,m.to,a),l=m.to}p=m.to}else{if(p==n||(u?An[p]!=s:An[p]==s))break;p++}d?W$(t,l,p,r+1,i,d,a):le;){let u=!0,f=!1;if(!c||l>o[c-1].to){let m=An[l-1];m!=s&&(u=!1,f=m==16)}let d=!u&&s==1?[]:null,h=u?r:r+1,p=l;e:for(;;)if(c&&p==o[c-1].to){if(f)break e;let m=o[--c];if(!u)for(let g=m.from,v=c;;){if(g==e)break e;if(v&&o[v-1].to==g)g=o[--v].from;else{if(An[g-1]==s)break e;break}}if(d)d.push(m);else{m.toAn.length;)An[An.length]=256;let r=[],i=e==Hh?0:1;return V$(t,i,i,n,0,t.length,r),r}function Aue(t){return[new hf(0,t,0)]}let Rue="";function Aot(t,e,n,r,i){var o;let a=r.head-t.from,s=hf.find(e,a,(o=r.bidiLevel)!==null&&o!==void 0?o:-1,r.assoc),l=e[s],c=l.side(i,n);if(a==c){let d=s+=i?1:-1;if(d<0||d>=e.length)return null;l=e[s=d],a=l.side(!i,n),c=l.side(i,n)}let u=Mi(t.text,a,l.forward(i,n));(ul.to)&&(u=c),Rue=t.text.slice(Math.min(a,u),Math.max(a,u));let f=s==(i?e.length-1:0)?null:e[s+(i?1:-1)];return f&&u==c&&f.level+(i?0:1)t.some(e=>e)}),Bue=ut.define({combine:t=>t.some(e=>e)}),zue=ut.define();class vg{constructor(e,n="nearest",r="nearest",i=5,o=5,a=!1){this.range=e,this.y=n,this.x=r,this.yMargin=i,this.xMargin=o,this.isSnapshot=a}map(e){return e.empty?this:new vg(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new vg(je.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const TS=Rt.define({map:(t,e)=>t.map(e)});function ko(t,e,n){let r=t.facet($ue);r.length?r[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}const o2=ut.define({combine:t=>t.length?t[0]:!0});let Iot=0;const U0=ut.define();class Pr{constructor(e,n,r,i,o){this.id=e,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.extension=o(this)}static define(e,n){const{eventHandlers:r,eventObservers:i,provide:o,decorations:a}=n||{};return new Pr(Iot++,e,r,i,s=>{let l=[U0.of(s)];return a&&l.push(Db.of(c=>{let u=c.plugin(s);return u?a(u):yt.none})),o&&l.push(o(s)),l})}static fromClass(e,n){return Pr.define(r=>new e(r),n)}}class tR{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(ko(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){ko(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){ko(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const Uue=ut.define(),Rz=ut.define(),Db=ut.define(),Wue=ut.define(),Iz=ut.define(),Vue=ut.define();function m9(t,e){let n=t.state.facet(Vue);if(!n.length)return n;let r=n.map(o=>o instanceof Function?o(t):o),i=[];return on.spans(r,e.from,e.to,{point(){},span(o,a,s,l){let c=o-e.from,u=a-e.from,f=i;for(let d=s.length-1;d>=0;d--,l--){let h=s[d].spec.bidiIsolate,p;if(h==null&&(h=Rot(e.text,c,u)),l>0&&f.length&&(p=f[f.length-1]).to==c&&p.direction==h)p.to=u,f=p.inner;else{let m={from:c,to:u,direction:h,inner:[]};f.push(m),f=m.inner}}}}),i}const Gue=ut.define();function Hue(t){let e=0,n=0,r=0,i=0;for(let o of t.state.facet(Gue)){let a=o(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(n=Math.max(n,a.right)),a.top!=null&&(r=Math.max(r,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:n,top:r,bottom:i}}const W0=ut.define();class Qa{constructor(e,n,r,i){this.fromA=e,this.toA=n,this.fromB=r,this.toB=i}join(e){return new Qa(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,r=this;for(;n>0;n--){let i=e[n-1];if(!(i.fromA>r.toA)){if(i.toAu)break;o+=2}if(!l)return r;new Qa(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),a=l.toA,s=l.toB}}}class GT{constructor(e,n,r){this.view=e,this.state=n,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=Xr.empty(this.startState.doc.length);for(let o of r)this.changes=this.changes.compose(o.changes);let i=[];this.changes.iterChangedRanges((o,a,s,l)=>i.push(new Qa(o,a,s,l))),this.changedRanges=i}static create(e,n,r){return new GT(e,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class g9 extends Rn{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new qr],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Qa(0,0,0,e.state.doc.length)],0,null)}update(e){var n;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:u})=>uthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let i=-1;this.view.inputState.composing>=0&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!Bot(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let o=i>-1?Lot(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;r=new Qa(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(r.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(dt.ie||dt.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,s=this.updateDeco(),l=Fot(a,s,e.changes);return r=Qa.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n,r);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=dt.chrome||dt.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to=0?i[a]:null;if(!s)break;let{fromA:l,toA:c,fromB:u,toB:f}=s,d,h,p,m;if(r&&r.range.fromBu){let b=Rx.build(this.view.state.doc,u,r.range.fromB,this.decorations,this.dynamicDecorationMap),_=Rx.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);h=b.breakAtStart,p=b.openStart,m=_.openEnd;let S=this.compositionView(r);_.breakAtStart?S.breakAfter=1:_.content.length&&S.merge(S.length,S.length,_.content[0],!1,_.openStart,0)&&(S.breakAfter=_.content[0].breakAfter,_.content.shift()),b.content.length&&S.merge(0,0,b.content[b.content.length-1],!0,0,b.openEnd)&&b.content.pop(),d=b.content.concat(S).concat(_.content)}else({content:d,breakAtStart:h,openStart:p,openEnd:m}=Rx.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:g,off:v}=o.findPos(c,1),{i:y,off:x}=o.findPos(l,-1);bue(this,y,x,g,v,d,h,p,m)}r&&this.fixCompositionDOM(r)}compositionView(e){let n=new Vs(e.text.nodeValue);n.flags|=8;for(let{deco:i}of e.marks)n=new iu(i,[n],n.length);let r=new qr;return r.append(n,0),r}fixCompositionDOM(e){let n=(o,a)=>{a.flags|=8|(a.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(a);let s=Rn.get(o);s&&s!=a&&(s.dom=null),a.setDOM(o)},r=this.childPos(e.range.fromB,1),i=this.children[r.i];n(e.line,i);for(let o=e.marks.length-1;o>=-1;o--)r=i.childPos(r.off,1),i=i.children[r.i],n(o>=0?e.marks[o].node:e.text,i)}updateSelection(e=!1,n=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,i=r==this.dom,o=!i&&pC(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(i||n||o))return;let a=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(s.anchor)),c=s.empty?l:this.moveToLine(this.domAtPos(s.head));if(dt.gecko&&s.empty&&!this.hasComposition&&Dot(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new Qi(f,0),a=!0}let u=this.view.observer.selectionRange;(a||!u.focusNode||(!Ax(l.node,l.offset,u.anchorNode,u.anchorOffset)||!Ax(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,s))&&(this.view.observer.ignore(()=>{dt.android&&dt.chrome&&this.dom.contains(u.focusNode)&&jot(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=WT(this.view.root);if(f)if(s.empty){if(dt.gecko){let d=$ot(l.node,l.offset);if(d&&d!=3){let h=(d==1?vue:yue)(l.node,l.offset);h&&(l=new Qi(h.node,h.offset))}}f.collapse(l.node,l.offset),s.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=s.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch{}}else{let d=document.createRange();s.anchor>s.head&&([l,c]=[c,l]),d.setEnd(c.node,c.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Qi(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Qi(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,n){return this.hasComposition&&n.empty&&Ax(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,n=e.state.selection.main,r=WT(e.root),{anchorNode:i,anchorOffset:o}=e.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let a=qr.find(this,n.head);if(!a)return;let s=a.posAtStart;if(n.head==s||n.head==s+a.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(n.head+n.assoc);r.collapse(u.node,u.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,o)}moveToLine(e){let n=this.dom,r;if(e.node!=n)return e;for(let i=e.offset;!r&&i=0;i--){let o=Rn.get(n.childNodes[i]);o instanceof qr&&(r=o.domAtPos(o.length))}return r?new Qi(r.node,r.offset,!0):e}nearest(e){for(let n=e;n;){let r=Rn.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(e,n){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,n)+r.posAtStart}domAtPos(e){let{i:n,off:r}=this.childCursor().findPos(e,-1);for(;n=0;a--){let s=this.children[a],l=o-s.breakAfter,c=l-s.length;if(le||s.covers(1))&&(!r||s instanceof qr&&!(r instanceof qr&&n>=0))&&(r=s,i=c),o=c}return r?r.coordsAt(e-i,n):null}coordsForChar(e){let{i:n,off:r}=this.childPos(e,1),i=this.children[n];if(!(i instanceof qr))return null;for(;i.children.length;){let{i:s,off:l}=i.childPos(r,1);for(;;s++){if(s==i.children.length)return null;if((i=i.children[s]).length)break}r=l}if(!(i instanceof Vs))return null;let o=Mi(i.text,r);if(o==r)return null;let a=Gh(i.dom,r,o).getClientRects();for(let s=0;sMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==tr.LTR;for(let c=0,u=0;ui)break;if(c>=r){let h=f.dom.getBoundingClientRect();if(n.push(h.height),a){let p=f.dom.lastChild,m=p?Xg(p):[];if(m.length){let g=m[m.length-1],v=l?g.right-h.left:h.right-g.left;v>s&&(s=v,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?tr.RTL:tr.LTR}measureTextSize(){for(let o of this.children)if(o instanceof qr){let a=o.measureTextSize();if(a)return a}let e=document.createElement("div"),n,r,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=Xg(e.firstChild)[0];n=e.getBoundingClientRect().height,r=o?o.width/27:7,i=o?o.height:n,e.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new xue(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let r=0,i=0;;i++){let o=i==n.viewports.length?null:n.viewports[i],a=o?o.from-1:this.length;if(a>r){let s=(n.lineBlockAt(a).bottom-n.lineBlockAt(r).top)/this.view.scaleY;e.push(yt.replace({widget:new v9(s),block:!0,inclusive:!0,isBlockGap:!0}).range(r,a))}if(!o)break;r=o.to+1}return yt.set(e)}updateDeco(){let e=0,n=this.view.state.facet(Db).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),r=!1,i=this.view.state.facet(Wue).map((o,a)=>{let s=typeof o=="function";return s&&(r=!0),s?o(this.view):o});for(i.length&&(this.dynamicDecorationMap[e++]=r,n.push(on.join(i))),this.decorations=[...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];en.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let o=Hue(this.view),a={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:s,offsetHeight:l}=this.view.scrollDOM;pot(this.view.scrollDOM,a,n.head{re.from&&(n=!0)}),n}function zot(t,e,n=1){let r=t.charCategorizer(e),i=t.doc.lineAt(e),o=e-i.from;if(i.length==0)return je.cursor(e);o==0?n=1:o==i.length&&(n=-1);let a=o,s=o;n<0?a=Mi(i.text,o,!1):s=Mi(i.text,o);let l=r(i.text.slice(a,s));for(;a>0;){let c=Mi(i.text,a,!1);if(r(i.text.slice(c,a))!=l)break;a=c}for(;st?e.left-t:Math.max(0,t-e.right)}function Wot(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function nR(t,e){return t.tope.top+1}function y9(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function H$(t,e,n){let r,i,o,a,s=!1,l,c,u,f;for(let p=t.firstChild;p;p=p.nextSibling){let m=Xg(p);for(let g=0;gx||a==x&&o>y){r=p,i=v,o=y,a=x;let b=x?n0?g0)}y==0?n>v.bottom&&(!u||u.bottomv.top)&&(c=p,f=v):u&&nR(u,v)?u=x9(u,v.bottom):f&&nR(f,v)&&(f=y9(f,v.top))}}if(u&&u.bottom>=n?(r=l,i=u):f&&f.top<=n&&(r=c,i=f),!r)return{node:t,offset:0};let d=Math.max(i.left,Math.min(i.right,e));if(r.nodeType==3)return b9(r,d,n);if(s&&r.contentEditable!="false")return H$(r,d,n);let h=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:h}}function b9(t,e,n){let r=t.nodeValue.length,i=-1,o=1e9,a=0;for(let s=0;sn?u.top-n:n-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f=(u.left+u.right)/2,h=d;if((dt.chrome||dt.gecko)&&Gh(t,s).getBoundingClientRect().left==u.right&&(h=!d),f<=0)return{node:t,offset:s+(h?1:0)};i=s+(h?1:0),o=f}}}return{node:t,offset:i>-1?i:a>0?t.nodeValue.length:0}}function Xue(t,e,n,r=-1){var i,o;let a=t.contentDOM.getBoundingClientRect(),s=a.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-s;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let b=t.viewState.heightOracle.textHeight/2,_=!1;l=t.elementAtHeight(d),l.type!=fo.Text;)for(;d=r>0?l.bottom+b:l.top-b,!(d>=0&&d<=c);){if(_)return n?null:0;_=!0,r=-r}f=s+d;let h=l.from;if(ht.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:_9(t,a,l,u,f);let p=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:p,g=m.elementFromPoint(u,f);g&&!t.contentDOM.contains(g)&&(g=null),g||(u=Math.max(a.left+1,Math.min(a.right-1,u)),g=m.elementFromPoint(u,f),g&&!t.contentDOM.contains(g)&&(g=null));let v,y=-1;if(g&&((i=t.docView.nearest(g))===null||i===void 0?void 0:i.isEditable)!=!1){if(p.caretPositionFromPoint){let b=p.caretPositionFromPoint(u,f);b&&({offsetNode:v,offset:y}=b)}else if(p.caretRangeFromPoint){let b=p.caretRangeFromPoint(u,f);b&&({startContainer:v,startOffset:y}=b,(!t.contentDOM.contains(v)||dt.safari&&Vot(v,y,u)||dt.chrome&&Got(v,y,u))&&(v=void 0))}}if(!v||!t.docView.dom.contains(v)){let b=qr.find(t.docView,h);if(!b)return d>l.top+l.height/2?l.to:l.from;({node:v,offset:y}=H$(b.dom,u,f))}let x=t.docView.nearest(v);if(!x)return null;if(x.isWidget&&((o=x.dom)===null||o===void 0?void 0:o.nodeType)==1){let b=x.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let s=t.viewState.heightOracle.textHeight,l=Math.floor((i-n.top-(t.defaultLineHeight-s)*.5)/s);o+=l*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(n.from,n.to);return n.from+R$(a,o,t.state.tabSize)}function Vot(t,e,n){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let i=t.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return Gh(t,r-1,r).getBoundingClientRect().left>n}function Got(t,e,n){if(e!=0)return!1;for(let i=t;;){let o=i.parentNode;if(!o||o.nodeType!=1||o.firstChild!=i)return!1;if(o.classList.contains("cm-line"))break;i=o}let r=t.nodeType==1?t.getBoundingClientRect():Gh(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}function q$(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>e||r.to==e&&(r.to==n.to||r.type==fo.Text))return r}return n}function Hot(t,e,n,r){let i=q$(t,e.head),o=!r||i.type!=fo.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(o){let a=t.dom.getBoundingClientRect(),s=t.textDirectionAt(i.from),l=t.posAtCoords({x:n==(s==tr.LTR)?a.right-1:a.left+1,y:(o.top+o.bottom)/2});if(l!=null)return je.cursor(l,n?-1:1)}return je.cursor(n?i.to:i.from,n?-1:1)}function w9(t,e,n,r){let i=t.state.doc.lineAt(e.head),o=t.bidiSpans(i),a=t.textDirectionAt(i.from);for(let s=e,l=null;;){let c=Aot(i,o,a,s,n),u=Rue;if(!c){if(i.number==(n?t.state.doc.lines:1))return s;u=` -`,i=t.state.doc.line(i.number+(n?1:-1)),o=t.bidiSpans(i),c=t.visualLineSide(i,!n)}if(l){if(!l(u))return s}else{if(!r)return c;l=r(u)}s=c}}function qot(t,e,n){let r=t.state.charCategorizer(e),i=r(n);return o=>{let a=r(o);return i==cr.Space&&(i=a),i==a}}function Xot(t,e,n,r){let i=e.head,o=n?1:-1;if(i==(n?t.state.doc.length:0))return je.cursor(i,e.assoc);let a=e.goalColumn,s,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i,e.assoc||-1),u=t.documentTop;if(c)a==null&&(a=c.left-l.left),s=o<0?c.top:c.bottom;else{let h=t.viewState.lineBlockAt(i);a==null&&(a=Math.min(l.right-l.left,t.defaultCharacterWidth*(i-h.from))),s=(o<0?h.top:h.bottom)+u}let f=l.left+a,d=r??t.viewState.heightOracle.textHeight>>1;for(let h=0;;h+=10){let p=s+(d+h)*o,m=Xue(t,{x:f,y:p},!1,o);if(pl.bottom||(o<0?mi)){let g=t.docView.coordsForChar(m),v=!g||p{if(e>o&&ei(t)),n.from,e.head>n.from?-1:1);return r==n.from?n:je.cursor(r,rnull),dt.gecko&&fat(e.contentDOM.ownerDocument)}handleEvent(e){!rat(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,n){let r=this.handlers[e];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(e){let n=Yot(e),r=this.handlers,i=this.view.contentDOM;for(let o in n)if(o!="scroll"){let a=!n[o].handlers.length,s=r[o];s&&a!=!s.handlers.length&&(i.removeEventListener(o,this.handleEvent),s=null),s||i.addEventListener(o,this.handleEvent,{passive:a})}for(let o in r)o!="scroll"&&!n[o]&&i.removeEventListener(o,this.handleEvent);this.handlers=n}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()r.keyCode==e.keyCode))&&!e.ctrlKey||Kot.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=n||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&e&&e.from0?!0:dt.safari&&!dt.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function S9(t,e){return(n,r)=>{try{return e.call(t,r,n)}catch(i){ko(n.state,i)}}}function Yot(t){let e=Object.create(null);function n(r){return e[r]||(e[r]={observers:[],handlers:[]})}for(let r of t){let i=r.spec;if(i&&i.domEventHandlers)for(let o in i.domEventHandlers){let a=i.domEventHandlers[o];a&&n(o).handlers.push(S9(r.value,a))}if(i&&i.domEventObservers)for(let o in i.domEventObservers){let a=i.domEventObservers[o];a&&n(o).observers.push(S9(r.value,a))}}for(let r in Gs)n(r).handlers.push(Gs[r]);for(let r in ss)n(r).observers.push(ss[r]);return e}const Que=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Kot="dthko",Yue=[16,17,18,20,91,92,224,225],ES=6;function PS(t){return Math.max(0,t)*.7+8}function Zot(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class Jot{constructor(e,n,r,i){this.view=e,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParent=mot(e.contentDOM),this.atoms=e.state.facet(Iz).map(a=>a(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(Zt.allowMultipleSelections)&&eat(e,n),this.dragging=nat(e,n)&&efe(n)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var n;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Zot(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let r=0,i=0,o=((n=this.scrollParent)===null||n===void 0?void 0:n.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},a=Hue(this.view);e.clientX-a.left<=o.left+ES?r=-PS(o.left-e.clientX):e.clientX+a.right>=o.right-ES&&(r=PS(e.clientX-o.right)),e.clientY-a.top<=o.top+ES?i=-PS(o.top-e.clientY):e.clientY+a.bottom>=o.bottom-ES&&(i=PS(e.clientY-o.bottom)),this.setScrollSpeed(r,i)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,n){this.scrollSpeed={x:e,y:n},e||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let n=null;for(let r=0;rthis.select(this.lastEvent),20)}}function eat(t,e){let n=t.state.facet(Iue);return n.length?n[0](e):dt.mac?e.metaKey:e.ctrlKey}function tat(t,e){let n=t.state.facet(Due);return n.length?n[0](e):dt.mac?!e.altKey:!e.ctrlKey}function nat(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let r=WT(t.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let o=0;o=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function rat(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,r;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Rn.get(n))&&r.ignoreEvent(e))return!1;return!0}const Gs=Object.create(null),ss=Object.create(null),Kue=dt.ie&&dt.ie_version<15||dt.ios&&dt.webkit_version<604;function iat(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),Zue(t,n.value)},50)}function Zue(t,e){let{state:n}=t,r,i=1,o=n.toText(e),a=o.lines==n.selection.ranges.length;if(X$!=null&&n.selection.ranges.every(l=>l.empty)&&X$==o.toString()){let l=-1;r=n.changeByRange(c=>{let u=n.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=n.toText((a?o.line(i++).text:e)+n.lineBreak);return{changes:{from:u.from,insert:f},range:je.cursor(c.from+f.length)}})}else a?r=n.changeByRange(l=>{let c=o.line(i++);return{changes:{from:l.from,to:l.to,insert:c.text},range:je.cursor(l.from+c.length)}}):r=n.replaceSelection(o);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}ss.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Gs.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);ss.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};ss.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Gs.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of t.state.facet(Lue))if(n=r(t,e),n)break;if(!n&&e.button==0&&(n=sat(t,e)),n){let r=!t.hasFocus;t.inputState.startMouseSelection(new Jot(t,e,n,r)),r&&t.observer.ignore(()=>pue(t.contentDOM));let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}return!1};function O9(t,e,n,r){if(r==1)return je.cursor(e,n);if(r==2)return zot(t.state,e,n);{let i=qr.find(t.docView,e),o=t.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:o.from,s=i?i.posAtEnd:o.to;return st>=e.top&&t<=e.bottom,C9=(t,e,n)=>Jue(e,n)&&t>=n.left&&t<=n.right;function oat(t,e,n,r){let i=qr.find(t.docView,e);if(!i)return 1;let o=e-i.posAtStart;if(o==0)return 1;if(o==i.length)return-1;let a=i.coordsAt(o,-1);if(a&&C9(n,r,a))return-1;let s=i.coordsAt(o,1);return s&&C9(n,r,s)?1:a&&Jue(r,a)?-1:1}function T9(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:oat(t,n,e.clientX,e.clientY)}}const aat=dt.ie&&dt.ie_version<=11;let E9=null,P9=0,M9=0;function efe(t){if(!aat)return t.detail;let e=E9,n=M9;return E9=t,M9=Date.now(),P9=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(P9+1)%3:1}function sat(t,e){let n=T9(t,e),r=efe(e),i=t.state.selection;return{update(o){o.docChanged&&(n.pos=o.changes.mapPos(n.pos),i=i.map(o.changes))},get(o,a,s){let l=T9(t,o),c,u=O9(t,l.pos,l.bias,r);if(n.pos!=l.pos&&!a){let f=O9(t,n.pos,n.bias,r),d=Math.min(f.from,u.from),h=Math.max(f.to,u.to);u=d1&&(c=lat(i,l.pos))?c:s?i.addRange(u):je.create([u])}}}function lat(t,e){for(let n=0;n=e)return je.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}Gs.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let i=t.docView.nearest(e.target);if(i&&i.isWidget){let o=i.posAtStart,a=o+i.length;(o>=n.to||a<=n.from)&&(n=je.range(o,a))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(n.from,n.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Gs.dragend=t=>(t.inputState.draggedContent=null,!1);function k9(t,e,n,r){if(!n)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,a=r&&o&&tat(t,e)?{from:o.from,to:o.to}:null,s={from:i,insert:n},l=t.state.changes(a?[a,s]:s);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Gs.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,o=()=>{++i==n.length&&k9(t,e,r.filter(a=>a!=null).join(t.state.lineBreak),!1)};for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(r[a]=s.result),o()},s.readAsText(n[a])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return k9(t,e,r,!0),!0}return!1};Gs.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=Kue?null:e.clipboardData;return n?(Zue(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(iat(t),!1)};function cat(t,e){let n=t.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}function uat(t){let e=[],n=[],r=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),n.push(i));if(!e.length){let i=-1;for(let{from:o}of t.selection.ranges){let a=t.doc.lineAt(o);a.number>i&&(e.push(a.text),n.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),i=a.number}r=!0}return{text:e.join(t.lineBreak),ranges:n,linewise:r}}let X$=null;Gs.copy=Gs.cut=(t,e)=>{let{text:n,ranges:r,linewise:i}=uat(t.state);if(!n&&!i)return!1;X$=i?n:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=Kue?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",n),!0):(cat(t,n),!1)};const tfe=Zl.define();function nfe(t,e){let n=[];for(let r of t.facet(Fue)){let i=r(t,e);i&&n.push(i)}return n?t.update({effects:n,annotations:tfe.of(!0)}):null}function rfe(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=nfe(t.state,e);n?t.dispatch(n):t.update([])}},10)}ss.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),rfe(t)};ss.blur=t=>{t.observer.clearSelectionRange(),rfe(t)};ss.compositionstart=ss.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0)};ss.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,dt.chrome&&dt.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};ss.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Gs.beforeinput=(t,e)=>{var n;let r;if(dt.chrome&&dt.android&&(r=Que.find(i=>i.inputType==e.inputType))&&(t.observer.delayAndroidKey(r.key,r.keyCode),r.key=="Backspace"||r.key=="Delete")){let i=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var o;(((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0)>i+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return dt.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),dt.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>ss.compositionend(t,e),20),!1};const A9=new Set;function fat(t){A9.has(t)||(A9.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const R9=["pre-wrap","normal","pre-line","break-spaces"];class dat{constructor(e){this.lineWrapping=e,this.doc=Sn.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return R9.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let r=0;r-1,l=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=o,l){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,n){this.height!=n&&(Math.abs(this.height-n)>gC&&(e.heightChanged=!0),this.height=n)}replace(e,n,r){return ho.of(r)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,r,i){let o=this,a=r.doc;for(let s=i.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:f}=i[s],d=o.lineAt(l,qn.ByPosNoHeight,r.setDoc(n),0,0),h=d.to>=c?d:o.lineAt(c,qn.ByPosNoHeight,r,0,0);for(f+=h.to-c,c=h.to;s>0&&d.from<=i[s-1].toA;)l=i[s-1].fromA,u=i[s-1].fromB,s--,lo*2){let s=e[n-1];s.break?e.splice(--n,1,s.left,null,s.right):e.splice(--n,1,s.left,s.right),r+=1+s.break,i-=s.size}else if(o>i*2){let s=e[r];s.break?e.splice(r,1,s.left,null,s.right):e.splice(r,1,s.left,s.right),r+=2+s.break,o-=s.size}else break;else if(i=o&&a(this.blockAt(0,r,i,o))}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setHeight(e,i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class ia extends ife{constructor(e,n){super(e,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,n,r,i){return new vl(i,this.length,r,this.height,this.breaks)}replace(e,n,r){let i=r[0];return r.length==1&&(i instanceof ia||i instanceof bi&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof bi?i=new ia(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):ho.of(r)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setHeight(e,i.heights[i.index++]):(r||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class bi extends ho{constructor(e){super(e,0)}heightMetrics(e,n){let r=e.doc.lineAt(n).number,i=e.doc.lineAt(n+this.length).number,o=i-r+1,a,s=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);a=l/o,this.length>o+1&&(s=(this.height-l)/(this.length-o-1))}else a=this.height/o;return{firstLine:r,lastLine:i,perLine:a,perChar:s}}blockAt(e,n,r,i){let{firstLine:o,lastLine:a,perLine:s,perChar:l}=this.heightMetrics(n,i);if(n.lineWrapping){let c=i+(e0){let o=r[r.length-1];o instanceof bi?r[r.length-1]=new bi(o.length+i):r.push(null,new bi(i-1))}if(e>0){let o=r[0];o instanceof bi?r[0]=new bi(e+o.length):r.unshift(new bi(e-1),null)}return ho.of(r)}decomposeLeft(e,n){n.push(new bi(e-1),null)}decomposeRight(e,n){n.push(null,new bi(this.length-e-1))}updateHeight(e,n=0,r=!1,i){let o=n+this.length;if(i&&i.from<=n+this.length&&i.more){let a=[],s=Math.max(n,i.from),l=-1;for(i.from>n&&a.push(new bi(i.from-n-1).updateHeight(e,n));s<=o&&i.more;){let u=e.doc.lineAt(s).length;a.length&&a.push(null);let f=i.heights[i.index++];l==-1?l=f:Math.abs(f-l)>=gC&&(l=-2);let d=new ia(u,f);d.outdated=!1,a.push(d),s+=u+1}s<=o&&a.push(null,new bi(o-s).updateHeight(e,s));let c=ho.of(a);return(l<0||Math.abs(c.height-this.height)>=gC||Math.abs(l-this.heightMetrics(e,n).perLine)>=gC)&&(e.heightChanged=!0),c}else(r||this.outdated)&&(this.setHeight(e,e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class pat extends ho{constructor(e,n,r){super(e.length+n+r.length,e.height+r.height,n|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,n,r,i){let o=r+this.left.height;return es))return c;let u=n==qn.ByPosNoHeight?qn.ByPosNoHeight:qn.ByPos;return l?c.join(this.right.lineAt(s,u,r,a,s)):this.left.lineAt(s,u,r,i,o).join(c)}forEachLine(e,n,r,i,o,a){let s=i+this.left.height,l=o+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,n,r,s,l,a);else{let c=this.lineAt(l,qn.ByPos,r,i,o);e=e&&c.from<=n&&a(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,s,l,a)}}replace(e,n,r){let i=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-i,n-i,r));let o=[];e>0&&this.decomposeLeft(e,o);let a=o.length;for(let s of r)o.push(s);if(e>0&&I9(o,a-1),n=r&&n.push(null)),e>r&&this.right.decomposeLeft(e-r,n)}decomposeRight(e,n){let r=this.left.length,i=r+this.break;if(e>=i)return this.right.decomposeRight(e-i,n);e2*n.size||n.size>2*e.size?ho.of(this.break?[e,null,n]:[e,n]):(this.left=e,this.right=n,this.height=e.height+n.height,this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,r=!1,i){let{left:o,right:a}=this,s=n+o.length+this.break,l=null;return i&&i.from<=n+o.length&&i.more?l=o=o.updateHeight(e,n,r,i):o.updateHeight(e,n,r),i&&i.from<=s+a.length&&i.more?l=a=a.updateHeight(e,s,r,i):a.updateHeight(e,s,r),l?this.balanced(o,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function I9(t,e){let n,r;t[e]==null&&(n=t[e-1])instanceof bi&&(r=t[e+1])instanceof bi&&t.splice(e-1,3,new bi(n.length+1+r.length))}const mat=5;class Dz{constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof ia?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new ia(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,r){if(e=mat)&&this.addLineDeco(i,o,a)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new ia(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let r=new bi(n-e);return this.oracle.doc.lineAt(e).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof ia)return e;let n=new ia(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine();let n=e.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n&&n.endSide>0&&(this.covering=e)}addLineDeco(e,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof ia)&&!this.isCovered?this.nodes.push(new ia(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&f.overflow!="visible"){let d=u.getBoundingClientRect();o=Math.max(o,d.left),a=Math.min(a,d.right),s=Math.max(s,d.top),l=c==t.parentNode?d.bottom:Math.min(l,d.bottom)}c=f.position=="absolute"||f.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:o-n.left,right:Math.max(o,a)-n.left,top:s-(n.top+e),bottom:Math.max(s,l)-(n.top+e)}}function xat(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class iR{constructor(e,n,r){this.from=e,this.to=n,this.size=r}static same(e,n){if(e.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new dat(n),this.stateDeco=e.facet(Db).filter(r=>typeof r!="function"),this.heightMap=ho.empty().applyChanges(this.stateDeco,Sn.empty,this.heightOracle.setDoc(e.doc),[new Qa(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=yt.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!e.some(({from:o,to:a})=>i>=o&&i<=a)){let{from:o,to:a}=this.lineBlockAt(i);e.push(new MS(o,a))}}this.viewports=e.sort((r,i)=>r.from-i.from),this.scaler=this.heightMap.height<=7e6?L9:new Sat(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:V0(e,this.scaler))})}update(e,n=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(Db).filter(u=>typeof u!="function");let i=e.changedRanges,o=Qa.extendWithRanges(i,gat(r,this.stateDeco,e?e.changes:Xr.empty(this.state.doc.length))),a=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),this.heightMap.height!=a&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=!e.changes.empty||e.flags&2||l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,this.updateForViewport(),c&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Bue)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,o=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?tr.RTL:tr.LTR;let a=this.heightOracle.mustRefreshForWrapping(o),s=n.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0;if(s.width&&s.height){let{scaleX:b,scaleY:_}=hue(n,s);(b>.005&&Math.abs(this.scaleX-b)>.005||_>.005&&Math.abs(this.scaleY-_)>.005)&&(this.scaleX=b,this.scaleY=_,c|=8,a=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,d=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=gue(e.scrollDOM);let p=(this.printing?xat:yat)(n,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let y=s.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let b=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(b)&&(a=!0),a||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:_,charWidth:S,textHeight:O}=e.docView.measureTextSize();a=_>0&&i.refresh(o,_,S,O,y/S,b),a&&(e.docView.minWidth=0,c|=8)}m>0&&g>0?u=Math.max(m,g):m<0&&g<0&&(u=Math.min(m,g)),i.heightChanged=!1;for(let _ of this.viewports){let S=_.from==this.viewport.from?b:e.docView.measureVisibleLineHeights(_);this.heightMap=(a?ho.empty().applyChanges(this.stateDeco,Sn.empty,this.heightOracle,[new Qa(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new hat(_.from,S))}i.heightChanged&&(c|=2)}let x=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return x&&(this.viewport=this.getViewport(u,this.scrollTarget)),this.updateForViewport(),(c&2||x)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,o=this.heightOracle,{visibleTop:a,visibleBottom:s}=this,l=new MS(i.lineAt(a-r*1e3,qn.ByHeight,o,0,0).from,i.lineAt(s+(1-r)*1e3,qn.ByHeight,o,0,0).to);if(n){let{head:c}=n.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,qn.ByPos,o,0,0),d;n.y=="center"?d=(f.top+f.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c=s+Math.max(10,Math.min(r,250)))&&i>a-2*1e3&&o>1,a=i<<1;if(this.defaultTextDirection!=tr.LTR&&!r)return[];let s=[],l=(c,u,f,d)=>{if(u-cc&&gg.from>=f.from&&g.to<=f.to&&Math.abs(g.from-c)g.fromv));if(!m){if(ug.from<=u&&g.to>=u)){let g=n.moveToLineBoundary(je.cursor(u),!1,!0).head;g>c&&(u=g)}m=new iR(c,u,this.gapSize(f,c,u,d))}s.push(m)};for(let c of this.viewportLines){if(c.lengthc.from&&l(c.from,d,c,u),hn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];on.spans(e,this.viewport.from,this.viewport.to,{span(i,o){n.push({from:i,to:o})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((i,o)=>i.from!=n[o].from||i.to!=n[o].to);return this.visibleRanges=n,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||V0(this.heightMap.lineAt(e,qn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return V0(this.heightMap.lineAt(this.scaler.fromDOM(e),qn.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let n=this.lineBlockAtHeight(e+8);return n.from>=this.viewport.from||this.viewportLines[0].top-e>200?n:this.viewportLines[0]}elementAtHeight(e){return V0(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class MS{constructor(e,n){this.from=e,this.to=n}}function _at(t,e,n){let r=[],i=t,o=0;return on.spans(n,t,e,{span(){},point(a,s){a>i&&(r.push({from:i,to:a}),o+=a-i),i=s}},20),i=1)return e[e.length-1].to;let r=Math.floor(t*n);for(let i=0;;i++){let{from:o,to:a}=e[i],s=a-o;if(r<=s)return o+r;r-=s}}function AS(t,e){let n=0;for(let{from:r,to:i}of t.ranges){if(e<=i){n+=e-r;break}n+=i-r}return n/t.total}function wat(t,e){for(let n of t)if(e(n))return n}const L9={toDOM(t){return t},fromDOM(t){return t},scale:1};class Sat{constructor(e,n,r){let i=0,o=0,a=0;this.viewports=r.map(({from:s,to:l})=>{let c=n.lineAt(s,qn.ByPos,e,0,0).top,u=n.lineAt(l,qn.ByPos,e,0,0).bottom;return i+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let s of this.viewports)s.domTop=a+(s.top-o)*this.scale,a=s.domBottom=s.domTop+(s.bottom-s.top),o=s.bottom}toDOM(e){for(let n=0,r=0,i=0;;n++){let o=nV0(i,e)):t._content)}const RS=ut.define({combine:t=>t.join(" ")}),Q$=ut.define({combine:t=>t.indexOf(!0)>-1}),Y$=Hf.newName(),ofe=Hf.newName(),afe=Hf.newName(),sfe={"&light":"."+ofe,"&dark":"."+afe};function K$(t,e,n){return new Hf(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return t;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):t+" "+r}})}const Oat=K$("."+Y$,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},sfe),G0="￿";class Cat{constructor(e,n){this.points=e,this.text="",this.lineSeparator=n.facet(Zt.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=G0}readRange(e,n){if(!e)return this;let r=e.parentNode;for(let i=e;;){this.findPointBefore(r,i);let o=this.text.length;this.readNode(i);let a=i.nextSibling;if(a==n)break;let s=Rn.get(i),l=Rn.get(a);(s&&l?s.breakAfter:(s?s.breakAfter:VT(i))||VT(a)&&(i.nodeName!="BR"||i.cmIgnore)&&this.text.length>o)&&this.lineBreak(),i=a}return this.findPointBefore(r,n),this}readTextNode(e){let n=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,a=1,s;if(this.lineSeparator?(o=n.indexOf(this.lineSeparator,r),a=this.lineSeparator.length):(s=i.exec(n))&&(o=s.index,a=s[0].length),this.append(n.slice(r,o<0?n.length:o)),o<0)break;if(this.lineBreak(),a>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=a-1);r=o+a}}readNode(e){if(e.cmIgnore)return;let n=Rn.get(e),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(e,n){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(Tat(e,r.node,r.offset)?n:0))}}function Tat(t,e,n){for(;;){if(!e||n-1)this.newSel=null;else if(n>-1&&(this.bounds=e.docView.domBoundsAround(n,r,0))){let s=o||a?[]:kat(e),l=new Cat(s,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=Aat(s,this.bounds.from)}else{let s=e.observer.selectionRange,l=o&&o.node==s.focusNode&&o.offset==s.focusOffset||!L$(e.contentDOM,s.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(s.focusNode,s.focusOffset),c=a&&a.node==s.anchorNode&&a.offset==s.anchorOffset||!L$(e.contentDOM,s.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(s.anchorNode,s.anchorOffset),u=e.viewport;if((dt.ios||dt.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:s}=e.bounds,l=i.from,c=null;(o===8||dt.android&&e.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,i.to))}:(dt.mac||dt.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=je.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:Sn.of([" "])}):dt.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` - `&&t.lineWrapping&&(r&&(r=je.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:Sn.of([" "])}),n){if(dt.ios&&t.inputState.flushIOSKey(n)||dt.android&&(n.to==i.to&&(n.from==i.from||n.from==i.from-1&&t.state.sliceDoc(n.from,i.from)==" ")&&n.insert.length==1&&n.insert.lines==2&&gg(t.contentDOM,"Enter",13)||(n.from==i.from-1&&n.to==i.to&&n.insert.length==0||o==8&&n.insert.lengthi.head)&&gg(t.contentDOM,"Backspace",8)||n.from==i.from&&n.to==i.to+1&&n.insert.length==0&&gg(t.contentDOM,"Delete",46)))return!0;let a=n.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,l=()=>s||(s=Pat(t,n,r));return t.state.facet(Nue).some(c=>c(t,n.from,n.to,a,l))||t.dispatch(l()),!0}else if(r&&!r.main.eq(i)){let a=!1,s="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),s=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:a,userEvent:s}),!0}else return!1}function Pat(t,e,n){let r,i=t.state,o=i.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let s=o.frome.to?i.sliceDoc(e.to,o.to):"";r=i.replaceSelection(t.state.toText(s+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let s=i.changes(e),l=n&&n.main.to<=s.newLength?n.main:void 0;if(i.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c=t.state.sliceDoc(e.from,e.to),u,f=n&&que(t,n.main.head);if(f){let p=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-p}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,h=o.to-o.from;r=i.changeByRange(p=>{if(p.from==o.from&&p.to==o.to)return{changes:s,range:l||p.map(s)};let m=p.to-d,g=m-c.length;if(p.to-p.from!=h||t.state.sliceDoc(g,m)!=c||p.to>=u.from&&p.from<=u.to)return{range:p};let v=i.changes({from:g,to:m,insert:e.insert}),y=p.to-o.to;return{changes:v,range:l?je.range(Math.max(0,l.anchor+y),Math.max(0,l.head+y)):p.map(v)}})}else r={changes:s,selection:l&&i.selection.replaceRange(l)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:a,scrollIntoView:!0})}function Mat(t,e,n,r){let i=Math.min(t.length,e.length),o=0;for(;o0&&s>0&&t.charCodeAt(a-1)==e.charCodeAt(s-1);)a--,s--;if(r=="end"){let l=Math.max(0,o-Math.min(a,s));n-=a+l-o}if(a=a?o-n:0;o-=l,s=o+(s-a),a=o}else if(s=s?o-n:0;o-=l,a=o+(a-s),s=o}return{from:o,toA:a,toB:s}}function kat(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}=t.observer.selectionRange;return n&&(e.push(new $9(n,r)),(i!=n||o!=r)&&e.push(new $9(i,o))),e}function Aat(t,e){if(t.length==0)return null;let n=t[0].pos,r=t.length==2?t[1].pos:n;return n>-1&&r>-1?je.single(n+e,r+e):null}const Rat={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},oR=dt.ie&&dt.ie_version<=11;class Iat{constructor(e){this.view=e,this.active=!1,this.selectionRange=new got,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(dt.ie&&dt.ie_version<=11||dt.ios&&e.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),oR&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){e.type=="change"&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,r)=>n!=e[r]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(o2)?r.root.activeElement!=this.dom:!pC(r.dom,i))return;let o=i.anchorNode&&r.docView.nearest(i.anchorNode);if(o&&o.ignoreEvent(e)){n||(this.selectionChanged=!1);return}(dt.ie&&dt.ie_version<=11||dt.android&&dt.chrome)&&!r.state.selection.main.empty&&i.focusNode&&Ax(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,n=WT(e.root);if(!n)return!1;let r=dt.safari&&e.root.nodeType==11&&dot(this.dom.ownerDocument)==this.dom&&Dat(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let i=pC(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&gg(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let o of e){let a=this.readMutation(o);a&&(a.typeOver&&(i=!0),n==-1?{from:n,to:r}=a:(n=Math.min(a.from,n),r=Math.max(a.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:e,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&pC(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new Eat(this.view,e,n,r);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=lfe(this.view,n);return this.view.state==r&&this.view.update([]),i}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.flags|=4),e.type=="childList"){let r=N9(n,e.previousSibling||e.target.previousSibling,-1),i=N9(n,e.nextSibling||e.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener("change",this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener("change",this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function N9(t,e,n){for(;e;){let r=Rn.get(e);if(r&&r.parent==t)return r;let i=e.parentNode;e=i!=t.dom?i:n>0?e.nextSibling:e.previousSibling}return null}function F9(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return Ax(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function Dat(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return F9(t,i)}let n=null;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),n?F9(t,n):null}class rt{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:n}=e;this.dispatchTransactions=e.dispatchTransactions||n&&(r=>r.forEach(i=>n(i,this)))||(r=>this.update(r)),this.dispatch=this.dispatch.bind(this),this._root=e.root||vot(e.parent)||document,this.viewState=new D9(e.state||Zt.create(e)),e.scrollTo&&e.scrollTo.is(TS)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(U0).map(r=>new tR(r));for(let r of this.plugins)r.update(this);this.observer=new Iat(this),this.inputState=new Qot(this),this.inputState.ensureHandlers(this.plugins),this.docView=new g9(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let n=e.length==1&&e[0]instanceof Fr?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(n,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let a=this.hasFocus,s=0,l=null;e.some(d=>d.annotation(tfe))?(this.inputState.notifiedFocused=a,s=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=nfe(o,a),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(u=null)):this.observer.clear(),o.facet(Zt.phrases)!=this.state.facet(Zt.phrases))return this.setState(o);i=GT.create(this,o,e),i.flags|=s;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:h}=d.state.selection;f=new vg(h.empty?h:je.cursor(h.head,h.head>h.anchor?-1:1))}for(let h of d.effects)h.is(TS)&&(f=h.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=HT.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(W0)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(RS)!=i.state.facet(RS)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let d of this.state.facet(G$))try{d(i)}catch(h){ko(this.state,h,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!lfe(this,u)&&c.force&&gg(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new D9(e),this.plugins=e.facet(U0).map(r=>new tR(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new g9(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(U0),r=e.state.facet(U0);if(n!=r){let i=[];for(let o of r){let a=n.indexOf(o);if(a<0)i.push(new tR(o));else{let s=this.plugins[a];s.mustUpdate=e,i.push(s)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(a<0)if(gue(r))o=-1,a=this.viewState.heightMap.height;else{let h=this.viewState.scrollAnchorAt(i);o=h.from,a=h.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(s>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(h=>{try{return h.read(this)}catch(p){return ko(this.state,p),j9}}),f=GT.create(this,this.state,[]),d=!1;f.flags|=l,n?n.flags|=l:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let h=0;h1||p<-1){i=i+p,r.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let s of this.state.facet(G$))s(n)}get themeClasses(){return Y$+" "+(this.state.facet(Q$)?afe:ofe)+" "+this.state.facet(RS)}updateAttrs(){let e=B9(this,Uue,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(o2)?"true":"false",class:"cm-content",style:`${dt.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),B9(this,Rz,n);let r=this.observer.ignore(()=>{let i=B$(this.contentDOM,this.contentAttrs,n),o=B$(this.dom,this.editorAttrs,e);return i||o});return this.editorAttrs=e,this.contentAttrs=n,r}showAnnouncements(e){let n=!0;for(let r of e)for(let i of r.effects)if(i.is(rt.announce)){n&&(this.announceDOM.textContent=""),n=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(W0);let e=this.state.facet(rt.cspNonce);Hf.mount(this.root,this.styleModules.concat(Oat).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let n=0;nr.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,r){return rR(this,e,w9(this,e,n,r))}moveByGroup(e,n){return rR(this,e,w9(this,e,n,r=>qot(this,e.head,r)))}visualLineSide(e,n){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),o=r[n?r.length-1:0];return je.cursor(o.side(n,i)+e.from,o.forward(!n,i)?1:-1)}moveToLineBoundary(e,n,r=!0){return Hot(this,e,n,r)}moveVertically(e,n,r){return rR(this,e,Xot(this,e,n,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),Xue(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let r=this.docView.coordsAt(e,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(e),o=this.bidiSpans(i),a=o[hf.find(o,e-i.from,-1,n)];return r2(r,a.dir==tr.LTR==n>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(jue)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Lat)return Aue(e.length);let n=this.textDirectionAt(e.from),r;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==n&&(o.fresh||kue(o.isolates,r=m9(this,e))))return o.order;r||(r=m9(this,e));let i=kot(e.text,n,r);return this.bidiCache.push(new HT(e.from,e.to,n,r,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||dt.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{pue(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return TS.of(new vg(typeof e=="number"?je.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return TS.of(new vg(je.cursor(r.from),"start","start",r.top-e,n,!0))}static domEventHandlers(e){return Pr.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Pr.define(()=>({}),{eventObservers:e})}static theme(e,n){let r=Hf.newName(),i=[RS.of(r),W0.of(K$(`.${r}`,e))];return n&&n.dark&&i.push(Q$.of(!0)),i}static baseTheme(e){return ud.lowest(W0.of(K$("."+Y$,e,sfe)))}static findFromDOM(e){var n;let r=e.querySelector(".cm-content"),i=r&&Rn.get(r)||Rn.get(e);return((n=i==null?void 0:i.rootView)===null||n===void 0?void 0:n.view)||null}}rt.styleModule=W0;rt.inputHandler=Nue;rt.scrollHandler=zue;rt.focusChangeEffect=Fue;rt.perLineTextDirection=jue;rt.exceptionSink=$ue;rt.updateListener=G$;rt.editable=o2;rt.mouseSelectionStyle=Lue;rt.dragMovesSelection=Due;rt.clickAddsSelectionRange=Iue;rt.decorations=Db;rt.outerDecorations=Wue;rt.atomicRanges=Iz;rt.bidiIsolatedRanges=Vue;rt.scrollMargins=Gue;rt.darkTheme=Q$;rt.cspNonce=ut.define({combine:t=>t.length?t[0]:""});rt.contentAttributes=Rz;rt.editorAttributes=Uue;rt.lineWrapping=rt.contentAttributes.of({class:"cm-lineWrapping"});rt.announce=Rt.define();const Lat=4096,j9={};class HT{constructor(e,n,r,i,o,a){this.from=e,this.to=n,this.dir=r,this.isolates=i,this.fresh=o,this.order=a}static update(e,n){if(n.empty&&!e.some(o=>o.fresh))return e;let r=[],i=e.length?e[e.length-1].dir:tr.LTR;for(let o=Math.max(0,e.length-10);o=0;i--){let o=r[i],a=typeof o=="function"?o(t):o;a&&j$(a,n)}return n}const $at=dt.mac?"mac":dt.windows?"win":dt.linux?"linux":"key";function Nat(t,e){const n=t.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,o,a,s;for(let l=0;lr.concat(i),[]))),n}function jat(t,e,n){return ufe(cfe(t.state),e,t,n)}let tf=null;const Bat=4e3;function zat(t,e=$at){let n=Object.create(null),r=Object.create(null),i=(a,s)=>{let l=r[a];if(l==null)r[a]=s;else if(l!=s)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},o=(a,s,l,c,u)=>{var f,d;let h=n[a]||(n[a]=Object.create(null)),p=s.split(/ (?!$)/).map(v=>Nat(v,e));for(let v=1;v{let b=tf={view:x,prefix:y,scope:a};return setTimeout(()=>{tf==b&&(tf=null)},Bat),!0}]})}let m=p.join(" ");i(m,!1);let g=h[m]||(h[m]={preventDefault:!1,stopPropagation:!1,run:((d=(f=h._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),u&&(g.stopPropagation=!0)};for(let a of t){let s=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of s){let u=n[c]||(n[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let f in u)u[f].run.push(a.any)}let l=a[e]||a.key;if(l)for(let c of s)o(c,l,a.run,a.preventDefault,a.stopPropagation),a.shift&&o(c,"Shift-"+l,a.shift,a.preventDefault,a.stopPropagation)}return n}function ufe(t,e,n,r){let i=fot(e),o=Oi(i,0),a=ja(o)==i.length&&i!=" ",s="",l=!1,c=!1,u=!1;tf&&tf.view==n&&tf.scope==r&&(s=tf.prefix+" ",Yue.indexOf(e.keyCode)<0&&(c=!0,tf=null));let f=new Set,d=g=>{if(g){for(let v of g.run)if(!f.has(v)&&(f.add(v),v(n,e)))return g.stopPropagation&&(u=!0),!0;g.preventDefault&&(g.stopPropagation&&(u=!0),c=!0)}return!1},h=t[r],p,m;return h&&(d(h[s+IS(i,e,!a)])?l=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(dt.windows&&e.ctrlKey&&e.altKey)&&(p=qf[e.keyCode])&&p!=i?(d(h[s+IS(p,e,!0)])||e.shiftKey&&(m=Ib[e.keyCode])!=i&&m!=p&&d(h[s+IS(m,e,!1)]))&&(l=!0):a&&e.shiftKey&&d(h[s+IS(i,e,!0)])&&(l=!0),!l&&d(h._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),l}class K1{constructor(e,n,r,i,o){this.className=e,this.left=n,this.top=r,this.width=i,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,n){return n.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,n,r){if(r.empty){let i=e.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let o=ffe(e);return[new K1(n,i.left-o.left,i.top-o.top,null,i.bottom-i.top)]}else return Uat(e,n,r)}}function ffe(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==tr.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function U9(t,e,n){let r=je.cursor(e);return{from:Math.max(n.from,t.moveToLineBoundary(r,!1,!0).from),to:Math.min(n.to,t.moveToLineBoundary(r,!0,!0).from),type:fo.Text}}function Uat(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let r=Math.max(n.from,t.viewport.from),i=Math.min(n.to,t.viewport.to),o=t.textDirection==tr.LTR,a=t.contentDOM,s=a.getBoundingClientRect(),l=ffe(t),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=s.right-(u?parseInt(u.paddingRight):0),h=q$(t,r),p=q$(t,i),m=h.type==fo.Text?h:null,g=p.type==fo.Text?p:null;if(m&&(t.lineWrapping||h.widgetLineBreaks)&&(m=U9(t,r,m)),g&&(t.lineWrapping||p.widgetLineBreaks)&&(g=U9(t,i,g)),m&&g&&m.from==g.from)return y(x(n.from,n.to,m));{let _=m?x(n.from,null,m):b(h,!1),S=g?x(null,n.to,g):b(p,!0),O=[];return(m||h).to<(g||p).from-(m&&g?1:0)||h.widgetLineBreaks>1&&_.bottom+t.defaultLineHeight/2P&&T.from=U)break;$>D&&I(Math.max(z,D),_==null&&z<=P,Math.min($,U),S==null&&$>=R,W.dir)}if(D=B.to+1,D>=U)break}return M.length==0&&I(P,_==null,R,S==null,t.textDirection),{top:C,bottom:E,horizontal:M}}function b(_,S){let O=s.top+(S?_.top:_.bottom);return{top:O,bottom:O,horizontal:[]}}}function Wat(t,e){return t.constructor==e.constructor&&t.eq(e)}class Vat{constructor(e,n){this.view=e,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,e)}update(e){e.startState.facet(vC)!=e.state.facet(vC)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let n=0,r=e.facet(vC);for(;n!Wat(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of e)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const vC=ut.define();function dfe(t){return[Pr.define(e=>new Vat(e,t)),vC.of(t)]}const hfe=!dt.ios,Lb=ut.define({combine(t){return Jl(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function Gat(t={}){return[Lb.of(t),Hat,qat,Xat,Bue.of(!0)]}function pfe(t){return t.startState.facet(Lb)!=t.state.facet(Lb)}const Hat=dfe({above:!0,markers(t){let{state:e}=t,n=e.facet(Lb),r=[];for(let i of e.selection.ranges){let o=i==e.selection.main;if(i.empty?!o||hfe:n.drawRangeCursor){let a=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",s=i.empty?i:je.cursor(i.head,i.head>i.anchor?-1:1);for(let l of K1.forRange(t,a,s))r.push(l)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=pfe(t);return n&&W9(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){W9(e.state,t)},class:"cm-cursorLayer"});function W9(t,e){e.style.animationDuration=t.facet(Lb).cursorBlinkRate+"ms"}const qat=dfe({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:K1.forRange(t,"cm-selectionBackground",e)).reduce((e,n)=>e.concat(n))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||pfe(t)},class:"cm-selectionLayer"}),Z$={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};hfe&&(Z$[".cm-line"].caretColor="transparent !important",Z$[".cm-content"]={caretColor:"transparent !important"});const Xat=ud.highest(rt.theme(Z$)),mfe=Rt.define({map(t,e){return t==null?null:e.mapPos(t)}}),H0=hi.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((n,r)=>r.is(mfe)?r.value:n,t)}}),Qat=Pr.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(H0);n==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(H0)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(H0),n=e!=null&&t.coordsAtPos(e);if(!n)return null;let r=t.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+t.scrollDOM.scrollLeft*t.scaleX,top:n.top-r.top+t.scrollDOM.scrollTop*t.scaleY,height:n.bottom-n.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:n}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/n+"px",this.cursor.style.height=t.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(H0)!=t&&this.view.dispatch({effects:mfe.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function Yat(){return[H0,Qat]}function V9(t,e,n,r,i){e.lastIndex=0;for(let o=t.iterRange(n,r),a=n,s;!o.next().done;a+=o.value.length)if(!o.lineBreak)for(;s=e.exec(o.value);)i(a+s.index,s)}function Kat(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let r=[];for(let{from:i,to:o}of n)i=Math.max(t.state.doc.lineAt(i).from,i-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),r.length&&r[r.length-1].to>=i?r[r.length-1].to=o:r.push({from:i,to:o});return r}class Zat{constructor(e){const{regexp:n,decoration:r,decorate:i,boundary:o,maxLength:a=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=(s,l,c,u)=>i(u,c,c+s[0].length,s,l);else if(typeof r=="function")this.addMatch=(s,l,c,u)=>{let f=r(s,l,c);f&&u(c,c+s[0].length,f)};else if(r)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=a}createDeco(e){let n=new Gf,r=n.add.bind(n);for(let{from:i,to:o}of Kat(e,this.maxLength))V9(e.state.doc,this.regexp,i,o,(a,s)=>this.addMatch(s,e,a,r));return n.finish()}updateDeco(e,n){let r=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((o,a,s,l)=>{l>e.view.viewport.from&&s1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,n.map(e.changes),r,i):n}updateRange(e,n,r,i){for(let o of e.visibleRanges){let a=Math.max(o.from,r),s=Math.min(o.to,i);if(s>a){let l=e.state.doc.lineAt(a),c=l.tol.from;a--)if(this.boundary.test(l.text[a-1-l.from])){u=a;break}for(;sd.push(v.range(m,g));if(l==c)for(this.regexp.lastIndex=u-l.from;(h=this.regexp.exec(l.text))&&h.indexthis.addMatch(g,e,m,p));n=n.update({filterFrom:u,filterTo:f,filter:(m,g)=>mf,add:d})}}return n}}const J$=/x/.unicode!=null?"gu":"g",Jat=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,J$),est={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let aR=null;function tst(){var t;if(aR==null&&typeof document<"u"&&document.body){let e=document.body.style;aR=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return aR||!1}const yC=ut.define({combine(t){let e=Jl(t,{render:null,specialChars:Jat,addSpecialChars:null});return(e.replaceTabs=!tst())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,J$)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,J$)),e}});function nst(t={}){return[yC.of(t),rst()]}let G9=null;function rst(){return G9||(G9=Pr.fromClass(class{constructor(t){this.view=t,this.decorations=yt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(yC)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Zat({regexp:t.specialChars,decoration:(e,n,r)=>{let{doc:i}=n.state,o=Oi(e[0],0);if(o==9){let a=i.lineAt(r),s=n.state.tabSize,l=iy(a.text,s,r-a.from);return yt.replace({widget:new sst((s-l%s)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=yt.replace({widget:new ast(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(yC);t.startState.facet(yC)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const ist="•";function ost(t){return t>=32?ist:t==10?"␤":String.fromCharCode(9216+t)}class ast extends ec{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=ost(this.code),r=e.state.phrase("Control character")+" "+(est[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let o=document.createElement("span");return o.textContent=n,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class sst extends ec{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function lst(){return ust}const cst=yt.line({class:"cm-activeLine"}),ust=Pr.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let r of t.state.selection.ranges){let i=t.lineBlockAt(r.head);i.from>e&&(n.push(cst.range(i.from)),e=i.from)}return yt.set(n)}},{decorations:t=>t.decorations});class fst extends ec{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let n=e.firstChild?Xg(e.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(e.parentNode),i=r2(n[0],r.direction!="rtl"),o=parseInt(r.lineHeight);return i.bottom-i.top>o*1.5?{left:i.left,right:i.right,top:i.top,bottom:i.top+o}:i}ignoreEvent(){return!1}}function dst(t){return Pr.fromClass(class{constructor(e){this.view=e,this.placeholder=t?yt.set([yt.widget({widget:new fst(t),side:1}).range(0)]):yt.none}get decorations(){return this.view.state.doc.length?yt.none:this.placeholder}},{decorations:e=>e.decorations})}const e3=2e3;function hst(t,e,n){let r=Math.min(e.line,n.line),i=Math.max(e.line,n.line),o=[];if(e.off>e3||n.off>e3||e.col<0||n.col<0){let a=Math.min(e.off,n.off),s=Math.max(e.off,n.off);for(let l=r;l<=i;l++){let c=t.doc.line(l);c.length<=s&&o.push(je.range(c.from+a,c.to+s))}}else{let a=Math.min(e.col,n.col),s=Math.max(e.col,n.col);for(let l=r;l<=i;l++){let c=t.doc.line(l),u=R$(c.text,a,t.tabSize,!0);if(u<0)o.push(je.cursor(c.to));else{let f=R$(c.text,s,t.tabSize);o.push(je.range(c.from+u,c.from+f))}}}return o}function pst(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}function H9(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(n),i=n-r.from,o=i>e3?-1:i==r.length?pst(t,e.clientX):iy(r.text,t.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}function mst(t,e){let n=H9(t,e),r=t.state.selection;return n?{update(i){if(i.docChanged){let o=i.changes.mapPos(i.startState.doc.line(n.line).from),a=i.state.doc.lineAt(o);n={line:a.number,col:n.col,off:Math.min(n.off,a.length)},r=r.map(i.changes)}},get(i,o,a){let s=H9(t,i);if(!s)return r;let l=hst(t.state,n,s);return l.length?a?je.create(l.concat(r.ranges)):je.create(l):r}}:null}function gst(t){let e=(t==null?void 0:t.eventFilter)||(n=>n.altKey&&n.button==0);return rt.mouseSelectionStyle.of((n,r)=>e(r)?mst(n,r):null)}const vst={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},yst={style:"cursor: crosshair"};function xst(t={}){let[e,n]=vst[t.key||"Alt"],r=Pr.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||n(i))},keyup(i){(i.keyCode==e||!n(i))&&this.set(!1)},mousemove(i){this.set(n(i))}}});return[r,rt.contentAttributes.of(i=>{var o;return!((o=i.plugin(r))===null||o===void 0)&&o.isDown?yst:null})]}const l0="-10000px";class gfe{constructor(e,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(a=>a);let o=null;this.tooltipViews=this.tooltips.map(a=>o=r(a,o))}update(e,n){var r;let i=e.state.facet(this.facet),o=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let a=[],s=n?[]:null;for(let l=0;ln[c]=l),n.length=s.length),this.input=i,this.tooltips=o,this.tooltipViews=a,!0}}function bst(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const sR=ut.define({combine:t=>{var e,n,r;return{position:dt.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=t.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||bst}}}),q9=new WeakMap,Lz=Pr.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(sR);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new gfe(t,$z,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,r=t.state.facet(sR);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),r=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",n.dom.insertBefore(i,r)}return n.dom.style.position=this.position,n.dom.style.top=l0,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(dt.gecko)r=i.offsetParent!=this.container.ownerDocument.body;else if(i.style.top==l0&&i.style.left=="0px"){let o=i.getBoundingClientRect();r=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(r||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,n=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:n}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((i,o)=>{let a=this.manager.tooltipViews[o];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(sR).tooltipSpace(this.view),scaleX:e,scaleY:n,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let s of this.manager.tooltipViews)s.dom.style.position="absolute"}let{editor:n,space:r,scaleX:i,scaleY:o}=t,a=[];for(let s=0;s=Math.min(n.bottom,r.bottom)||f.rightMath.min(n.right,r.right)+.1){u.style.top=l0;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,m=d.right-d.left,g=(e=q9.get(c))!==null&&e!==void 0?e:d.bottom-d.top,v=c.offset||wst,y=this.view.textDirection==tr.LTR,x=d.width>r.right-r.left?y?r.left:r.right-d.width:y?Math.min(f.left-(h?14:0)+v.x,r.right-m):Math.max(r.left,f.left-m+(h?14:0)-v.x),b=this.above[s];!l.strictSide&&(b?f.top-(d.bottom-d.top)-v.yr.bottom)&&b==r.bottom-f.bottom>f.top-r.top&&(b=this.above[s]=!b);let _=(b?f.top-r.top:r.bottom-f.bottom)-p;if(_x&&C.topS&&(S=b?C.top-g-2-p:C.bottom+p+2);if(this.position=="absolute"?(u.style.top=(S-t.parent.top)/o+"px",u.style.left=(x-t.parent.left)/i+"px"):(u.style.top=S/o+"px",u.style.left=x/i+"px"),h){let C=f.left+(y?v.x:-v.x)-(x+14-7);h.style.left=C/i+"px"}c.overlap!==!0&&a.push({left:x,top:S,right:O,bottom:S+g}),u.classList.toggle("cm-tooltip-above",b),u.classList.toggle("cm-tooltip-below",!b),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=l0}},{eventObservers:{scroll(){this.maybeMeasure()}}}),_st=rt.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),wst={x:0,y:0},$z=ut.define({enables:[Lz,_st]}),qT=ut.define({combine:t=>t.reduce((e,n)=>e.concat(n),[])});class a2{static create(e){return new a2(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new gfe(e,qT,(n,r)=>this.createHostedView(n,r),n=>n.dom.remove())}createHostedView(e,n){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,n?n.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let n of this.manager.tooltipViews)n.mount&&n.mount(e);this.mounted=!0}positioned(e){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let n of this.manager.tooltipViews)(e=n.destroy)===null||e===void 0||e.call(n)}passProp(e){let n;for(let r of this.manager.tooltipViews){let i=r[e];if(i!==void 0){if(n===void 0)n=i;else if(n!==i)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Sst=$z.compute([qT],t=>{let e=t.facet(qT);return e.length===0?null:{pos:Math.min(...e.map(n=>n.pos)),end:Math.max(...e.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:a2.create,above:e[0].above,arrow:e.some(n=>n.arrow)}});class Ost{constructor(e,n,r,i,o){this.view=e,this.source=n,this.field=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;es.bottom||n.xs.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(i)).find(u=>u.from<=i&&u.to>=i),c=l&&l.dir==tr.RTL?-1:1;o=n.x{this.pending==s&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>ko(e.state,l,"hover tooltip"))}else a&&!(Array.isArray(a)&&!a.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(a)?a:[a])})}get tooltip(){let e=this.view.plugin(Lz),n=e?e.manager.tooltips.findIndex(r=>r.create==a2.create):-1;return n>-1?e.manager.tooltipViews[n]:null}mousemove(e){var n,r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:o}=this;if(i.length&&o&&!Cst(o.dom,e)||this.pending){let{pos:a}=i[0]||this.pending,s=(r=(n=i[0])===null||n===void 0?void 0:n.end)!==null&&r!==void 0?r:a;(a==s?this.view.posAtCoords(this.lastMove)!=a:!Tst(this.view,a,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n.length){let{tooltip:r}=this;r&&r.dom.contains(e.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let n=r=>{e.removeEventListener("mouseleave",n),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const DS=4;function Cst(t,e){let n=t.getBoundingClientRect();return e.clientX>=n.left-DS&&e.clientX<=n.right+DS&&e.clientY>=n.top-DS&&e.clientY<=n.bottom+DS}function Tst(t,e,n,r,i,o){let a=t.scrollDOM.getBoundingClientRect(),s=t.documentTop+t.documentPadding.top+t.contentHeight;if(a.left>r||a.righti||Math.min(a.bottom,s)=e&&l<=n}function Est(t,e={}){let n=Rt.define(),r=hi.define({create(){return[]},update(i,o){if(i.length&&(e.hideOnChange&&(o.docChanged||o.selection)?i=[]:e.hideOn&&(i=i.filter(a=>!e.hideOn(o,a))),o.docChanged)){let a=[];for(let s of i){let l=o.changes.mapPos(s.pos,-1,Ei.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),s);c.pos=l,c.end!=null&&(c.end=o.changes.mapPos(c.end)),a.push(c)}}i=a}for(let a of o.effects)a.is(n)&&(i=a.value),a.is(Pst)&&(i=[]);return i},provide:i=>qT.from(i)});return[r,Pr.define(i=>new Ost(i,t,r,n,e.hoverTime||300)),Sst]}function vfe(t,e){let n=t.plugin(Lz);if(!n)return null;let r=n.manager.tooltips.indexOf(e);return r<0?null:n.manager.tooltipViews[r]}const Pst=Rt.define(),X9=ut.define({combine(t){let e,n;for(let r of t)e=e||r.topContainer,n=n||r.bottomContainer;return{topContainer:e,bottomContainer:n}}});function $b(t,e){let n=t.plugin(yfe),r=n?n.specs.indexOf(e):-1;return r>-1?n.panels[r]:null}const yfe=Pr.fromClass(class{constructor(t){this.input=t.state.facet(Nb),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(t));let e=t.state.facet(X9);this.top=new LS(t,!0,e.topContainer),this.bottom=new LS(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(X9);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new LS(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new LS(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(Nb);if(n!=this.input){let r=n.filter(l=>l),i=[],o=[],a=[],s=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),s.push(u)):(u=this.panels[c],u.update&&u.update(t)),i.push(u),(u.top?o:a).push(u)}this.specs=r,this.panels=i,this.top.sync(o),this.bottom.sync(a);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>rt.scrollMargins.of(e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class LS{constructor(e,n,r){this.view=e,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let n of this.panels)n.destroy&&e.indexOf(n)<0&&n.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let e=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;e!=n.dom;)e=Q9(e);e=e.nextSibling}else this.dom.insertBefore(n.dom,e);for(;e;)e=Q9(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Q9(t){let e=t.nextSibling;return t.remove(),e}const Nb=ut.define({enables:yfe});class ou extends Wh{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}ou.prototype.elementClass="";ou.prototype.toDOM=void 0;ou.prototype.mapMode=Ei.TrackBefore;ou.prototype.startSide=ou.prototype.endSide=-1;ou.prototype.point=!0;const xC=ut.define(),Mst={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>on.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Ix=ut.define();function kst(t){return[xfe(),Ix.of(Object.assign(Object.assign({},Mst),t))]}const t3=ut.define({combine:t=>t.some(e=>e)});function xfe(t){let e=[Ast];return t&&t.fixed===!1&&e.push(t3.of(!0)),e}const Ast=Pr.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Ix).map(e=>new K9(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(t3),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,r=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(t3)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=on.iter(this.view.state.facet(xC),this.view.viewport.from),r=[],i=this.gutters.map(o=>new Rst(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(o.type)){let a=!0;for(let s of o.type)if(s.type==fo.Text&&a){n3(n,r,s.from);for(let l of i)l.line(this.view,s,r);a=!1}else if(s.widget)for(let l of i)l.widget(this.view,s)}else if(o.type==fo.Text){n3(n,r,o.from);for(let a of i)a.line(this.view,o,r)}else if(o.widget)for(let a of i)a.widget(this.view,o);for(let o of i)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Ix),n=t.state.facet(Ix),r=t.docChanged||t.heightChanged||t.viewportChanged||!on.eq(t.startState.facet(xC),t.state.facet(xC),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let o of n){let a=e.indexOf(o);a<0?i.push(new K9(this.view,o)):(this.gutters[a].update(t),i.push(this.gutters[a]))}for(let o of this.gutters)o.dom.remove(),i.indexOf(o)<0&&o.destroy();for(let o of i)this.dom.appendChild(o.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>rt.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==tr.LTR?{left:n.dom.offsetWidth*e.scaleX}:{right:n.dom.offsetWidth*e.scaleX}})});function Y9(t){return Array.isArray(t)?t:[t]}function n3(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}class Rst{constructor(e,n,r){this.gutter=e,this.height=r,this.i=0,this.cursor=on.iter(e.markers,n.from)}addElement(e,n,r){let{gutter:i}=this,o=(n.top-this.height)/e.scaleY,a=n.height/e.scaleY;if(this.i==i.elements.length){let s=new bfe(e,a,o,r);i.elements.push(s),i.dom.appendChild(s.dom)}else i.elements[this.i].update(e,a,o,r);this.height=n.bottom,this.i++}line(e,n,r){let i=[];n3(this.cursor,i,n.from),r.length&&(i=i.concat(r));let o=this.gutter.config.lineMarker(e,n,i);o&&i.unshift(o);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,n,i)}widget(e,n){let r=this.gutter.config.widgetMarker(e,n.widget,n);r&&this.addElement(e,n,[r])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}}class K9{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let o=i.target,a;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();a=(l.top+l.bottom)/2}else a=i.clientY;let s=e.lineBlockAtHeight(a-e.documentTop);n.domEventHandlers[r](e,s,i)&&i.preventDefault()});this.markers=Y9(n.markers(e)),n.initialSpacer&&(this.spacer=new bfe(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=Y9(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let r=e.view.viewport;return!on.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class bfe{constructor(e,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,r,i)}update(e,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),Ist(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let o=0,a=0;;){let s=a,l=oo(s,l,c)||a(s,l,c):a}return r}})}});class lR extends ou{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function cR(t,e){return t.state.facet(Wm).formatNumber(e,t.state)}const Lst=Ix.compute([Wm],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(Dst)},lineMarker(e,n,r){return r.some(i=>i.toDOM)?null:new lR(cR(e,e.state.doc.lineAt(n.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Wm)!=e.state.facet(Wm),initialSpacer(e){return new lR(cR(e,Z9(e.state.doc.lines)))},updateSpacer(e,n){let r=cR(n.view,Z9(n.view.state.doc.lines));return r==e.number?e:new lR(r)},domEventHandlers:t.facet(Wm).domEventHandlers}));function $st(t={}){return[Wm.of(t),xfe(),Lst]}function Z9(t){let e=9;for(;e{let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.head).from;i>n&&(n=i,e.push(Nst.range(i)))}return on.of(e)});function jst(){return Fst}const _fe=1024;let Bst=0;class uR{constructor(e,n){this.from=e,this.to=n}}class Vt{constructor(e={}){this.id=Bst++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Uo.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}}Vt.closedBy=new Vt({deserialize:t=>t.split(" ")});Vt.openedBy=new Vt({deserialize:t=>t.split(" ")});Vt.group=new Vt({deserialize:t=>t.split(" ")});Vt.isolate=new Vt({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});Vt.contextHash=new Vt({perNode:!0});Vt.lookAhead=new Vt({perNode:!0});Vt.mounted=new Vt({perNode:!0});class XT{constructor(e,n,r){this.tree=e,this.overlay=n,this.parser=r}static get(e){return e&&e.props&&e.props[Vt.mounted.id]}}const zst=Object.create(null);class Uo{constructor(e,n,r,i=0){this.name=e,this.props=n,this.id=r,this.flags=i}static define(e){let n=e.props&&e.props.length?Object.create(null):zst,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new Uo(e.name||"",n,e.id,r);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(i)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[o[0].id]=o[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(Vt.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let i of r.split(" "))n[i]=e[r];return r=>{for(let i=r.prop(Vt.group),o=-1;o<(i?i.length:0);o++){let a=n[o<0?r.name:i[o]];if(a)return a}}}}Uo.none=new Uo("",Object.create(null),0,8);class Nz{constructor(e){this.types=e;for(let n=0;n0;for(let l=this.cursor(a|Qr.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=i&&(!s&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(s||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:Bz(Uo.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new jr(this.type,n,r,i,this.propValues),e.makeTree||((n,r,i)=>new jr(Uo.none,n,r,i)))}static build(e){return Gst(e)}}jr.empty=new jr(Uo.none,[],[],0);class Fz{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Fz(this.buffer,this.index)}}class Qf{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return Uo.none}toString(){let e=[];for(let n=0;n0));l=a[l+3]);return s}slice(e,n,r){let i=this.buffer,o=new Uint16Array(n-e),a=0;for(let s=e,l=0;s=e&&ne;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}function Fb(t,e,n,r){for(var i;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?s.length:-1;e!=c;e+=n){let u=s[e],f=l[e]+a.from;if(wfe(i,r,f,f+u.length)){if(u instanceof Qf){if(o&Qr.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,n,r-f,i);if(d>-1)return new Sl(new Ust(a,u,e,f),null,d)}else if(o&Qr.IncludeAnonymous||!u.type.isAnonymous||jz(u)){let d;if(!(o&Qr.IgnoreMounts)&&(d=XT.get(u))&&!d.overlay)return new Fo(d.tree,f,e,a);let h=new Fo(u,f,e,a);return o&Qr.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?u.children.length-1:0,n,r,i)}}}if(o&Qr.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+n:e=n<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let i;if(!(r&Qr.IgnoreOverlays)&&(i=XT.get(this._tree))&&i.overlay){let o=e-this.from;for(let{from:a,to:s}of i.overlay)if((n>0?a<=o:a=o:s>o))return new Fo(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function e7(t,e,n,r){let i=t.cursor(),o=[];if(!i.firstChild())return o;if(n!=null){for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return o}for(;;){if(r!=null&&i.type.is(r))return o;if(i.type.is(e)&&o.push(i.node),!i.nextSibling())return r==null?o:[]}}function r3(t,e,n=e.length-1){for(let r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}class Ust{constructor(e,n,r,i){this.parent=e,this.buffer=n,this.index=r,this.start=i}}class Sl extends Sfe{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.context.start,r);return o<0?null:new Sl(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&Qr.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return o<0?null:new Sl(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Sl(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Sl(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,i=this.index+4,o=r.buffer[this.index+3];if(o>i){let a=r.buffer[this.index+1];e.push(r.slice(i,o,a)),n.push(0)}return new jr(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Ofe(t){if(!t.length)return null;let e=0,n=t[0];for(let o=1;on.from||a.to=e){let s=new Fo(a.tree,a.overlay[0].from+o.from,-1,o);(i||(i=[r])).push(Fb(s,e,n,!1))}}return i?Ofe(i):r}class i3{get name(){return this.type.name}constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Fo)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}yield(e){return e?e instanceof Fo?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:i}=this.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.buffer.start,r);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&Qr.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Qr.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Qr.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let o=n+e,a=e<0?-1:r._tree.children.length;o!=a;o+=e){let s=r._tree.children[o];if(this.mode&Qr.IncludeAnonymous||s instanceof Qf||!s.type.isAnonymous||jz(s))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;n=a,r=o+1;break e}i=this.stack[--o]}for(let i=r;i=0;o--){if(o<0)return r3(this.node,e,i);let a=r[n.buffer[this.stack[o]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}}function jz(t){return t.children.some(e=>e instanceof Qf||!e.type.isAnonymous||jz(e))}function Gst(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:i=_fe,reused:o=[],minRepeatType:a=r.types.length}=t,s=Array.isArray(n)?new Fz(n,n.length):n,l=r.types,c=0,u=0;function f(_,S,O,C,E,M){let{id:I,start:P,end:R,size:T}=s,D=u;for(;T<0;)if(s.next(),T==-1){let $=o[I];O.push($),C.push(P-_);return}else if(T==-3){c=I;return}else if(T==-4){u=I;return}else throw new RangeError(`Unrecognized record size: ${T}`);let U=l[I],B,W,z=P-_;if(R-P<=i&&(W=g(s.pos-S,E))){let $=new Uint16Array(W.size-W.skip),N=s.pos-W.size,L=$.length;for(;s.pos>N;)L=v(W.start,$,L);B=new Qf($,R-W.start,r),z=W.start-_}else{let $=s.pos-T;s.next();let N=[],L=[],A=I>=a?I:-1,q=0,Y=R;for(;s.pos>$;)A>=0&&s.id==A&&s.size>=0?(s.end<=Y-i&&(p(N,L,P,q,s.end,Y,A,D),q=N.length,Y=s.end),s.next()):M>2500?d(P,$,N,L):f(P,$,N,L,A,M+1);if(A>=0&&q>0&&q-1&&q>0){let K=h(U);B=Bz(U,N,L,0,N.length,0,R-P,K,K)}else B=m(U,N,L,R-P,D-R)}O.push(B),C.push(z)}function d(_,S,O,C){let E=[],M=0,I=-1;for(;s.pos>S;){let{id:P,start:R,end:T,size:D}=s;if(D>4)s.next();else{if(I>-1&&R=0;T-=3)P[D++]=E[T],P[D++]=E[T+1]-R,P[D++]=E[T+2]-R,P[D++]=D;O.push(new Qf(P,E[2]-R,r)),C.push(R-_)}}function h(_){return(S,O,C)=>{let E=0,M=S.length-1,I,P;if(M>=0&&(I=S[M])instanceof jr){if(!M&&I.type==_&&I.length==C)return I;(P=I.prop(Vt.lookAhead))&&(E=O[M]+I.length+P)}return m(_,S,O,C,E)}}function p(_,S,O,C,E,M,I,P){let R=[],T=[];for(;_.length>C;)R.push(_.pop()),T.push(S.pop()+O-E);_.push(m(r.types[I],R,T,M-E,P-M)),S.push(E-O)}function m(_,S,O,C,E=0,M){if(c){let I=[Vt.contextHash,c];M=M?[I].concat(M):[I]}if(E>25){let I=[Vt.lookAhead,E];M=M?[I].concat(M):[I]}return new jr(_,S,O,C,M)}function g(_,S){let O=s.fork(),C=0,E=0,M=0,I=O.end-i,P={size:0,start:0,skip:0};e:for(let R=O.pos-_;O.pos>R;){let T=O.size;if(O.id==S&&T>=0){P.size=C,P.start=E,P.skip=M,M+=4,C+=4,O.next();continue}let D=O.pos-T;if(T<0||D=a?4:0,B=O.start;for(O.next();O.pos>D;){if(O.size<0)if(O.size==-3)U+=4;else break e;else O.id>=a&&(U+=4);O.next()}E=B,C+=T,M+=U}return(S<0||C==_)&&(P.size=C,P.start=E,P.skip=M),P.size>4?P:void 0}function v(_,S,O){let{id:C,start:E,end:M,size:I}=s;if(s.next(),I>=0&&C4){let R=s.pos-(I-4);for(;s.pos>R;)O=v(_,S,O)}S[--O]=P,S[--O]=M-_,S[--O]=E-_,S[--O]=C}else I==-3?c=C:I==-4&&(u=C);return O}let y=[],x=[];for(;s.pos>0;)f(t.start||0,t.bufferStart||0,y,x,-1,0);let b=(e=t.length)!==null&&e!==void 0?e:y.length?x[0]+y[0].length:0;return new jr(l[t.topID],y.reverse(),x.reverse(),b)}const t7=new WeakMap;function bC(t,e){if(!t.isAnonymous||e instanceof Qf||e.type!=t)return 1;let n=t7.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof jr)){n=1;break}n+=bC(t,r)}t7.set(e,n)}return n}function Bz(t,e,n,r,i,o,a,s,l){let c=0;for(let p=r;p=u)break;S+=O}if(x==b+1){if(S>u){let O=p[b];h(O.children,O.positions,0,O.children.length,m[b]+y);continue}f.push(p[b])}else{let O=m[x-1]+p[x-1].length-_;f.push(Bz(t,p,m,b,x,_,O,null,l))}d.push(_+y-o)}}return h(e,n,r,i,0),(s||l)(f,d,a)}class Hst{constructor(){this.map=new WeakMap}setBuffer(e,n,r){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(n,r)}getBuffer(e,n){let r=this.map.get(e);return r&&r.get(n)}set(e,n){e instanceof Sl?this.setBuffer(e.context.buffer,e.index,n):e instanceof Fo&&this.map.set(e.tree,n)}get(e){return e instanceof Sl?this.getBuffer(e.context.buffer,e.index):e instanceof Fo?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Th{constructor(e,n,r,i,o=!1,a=!1){this.from=e,this.to=n,this.tree=r,this.offset=i,this.open=(o?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],r=!1){let i=[new Th(0,e.length,e,0,!1,r)];for(let o of n)o.to>e.length&&i.push(o);return i}static applyChanges(e,n,r=128){if(!n.length)return e;let i=[],o=1,a=e.length?e[0]:null;for(let s=0,l=0,c=0;;s++){let u=s=r)for(;a&&a.from=d.from||f<=d.to||c){let h=Math.max(d.from,l)-c,p=Math.min(d.to,f)-c;d=h>=p?null:new Th(h,p,d.tree,d.offset+c,s>0,!!u)}if(d&&i.push(d),a.to>f)break;a=onew uR(i.from,i.to)):[new uR(0,0)]:[new uR(0,e.length)],this.createParse(e,n||[],r)}parse(e,n,r){let i=this.startParse(e,n,r);for(;;){let o=i.advance();if(o)return o}}}class qst{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}}new Vt({perNode:!0});let Xst=0;class ul{constructor(e,n,r){this.set=e,this.base=n,this.modified=r,this.id=Xst++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let n=new ul([],null,[]);if(n.set.push(n),e)for(let r of e.set)n.set.push(r);return n}static defineModifier(){let e=new QT;return n=>n.modified.indexOf(e)>-1?n:QT.get(n.base||n,n.modified.concat(e).sort((r,i)=>r.id-i.id))}}let Qst=0;class QT{constructor(){this.instances=[],this.id=Qst++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(s=>s.base==e&&Yst(n,s.modified));if(r)return r;let i=[],o=new ul(i,e,n);for(let s of n)s.instances.push(o);let a=Kst(n);for(let s of e.set)if(!s.modified.length)for(let l of a)i.push(QT.get(s,l));return o}}function Yst(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}function Kst(t){let e=[[]];for(let n=0;nr.length-n.length)}function zz(t){let e=Object.create(null);for(let n in t){let r=t[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let o=[],a=2,s=i;for(let f=0;;){if(s=="..."&&f>0&&f+3==i.length){a=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!d)throw new RangeError("Invalid path: "+i);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==i.length)break;let h=i[f++];if(f==i.length&&h=="!"){a=0;break}if(h!="/")throw new RangeError("Invalid path: "+i);s=i.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+i);let u=new YT(r,a,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return Tfe.add(e)}const Tfe=new Vt;class YT{constructor(e,n,r,i){this.tags=e,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let a=i;for(let s of o)for(let l of s.set){let c=n[l.id];if(c){a=a?a+" "+c:c;break}}return a},scope:r}}function Zst(t,e){let n=null;for(let r of t){let i=r.style(e);i&&(n=n?n+" "+i:i)}return n}function Jst(t,e,n,r=0,i=t.length){let o=new elt(r,Array.isArray(e)?e:[e],n);o.highlightRange(t.cursor(),r,i,"",o.highlighters),o.flush(i)}class elt{constructor(e,n,r){this.at=e,this.highlighters=n,this.span=r,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,r,i,o){let{type:a,from:s,to:l}=e;if(s>=r||l<=n)return;a.isTop&&(o=this.highlighters.filter(h=>!h.scope||h.scope(a)));let c=i,u=tlt(e)||YT.empty,f=Zst(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,s),c),u.opaque)return;let d=e.tree&&e.tree.prop(Vt.mounted);if(d&&d.overlay){let h=e.node.enter(d.overlay[0].from+s,1),p=this.highlighters.filter(g=>!g.scope||g.scope(d.tree.type)),m=e.firstChild();for(let g=0,v=s;;g++){let y=g=x||!e.nextSibling())););if(!y||x>r)break;v=y.to+s,v>n&&(this.highlightRange(h.cursor(),Math.max(n,y.from+s),Math.min(r,v),"",p),this.startSpan(Math.min(r,v),c))}m&&e.parent()}else if(e.firstChild()){d&&(i="");do if(!(e.to<=n)){if(e.from>=r)break;this.highlightRange(e,n,r,i,o),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}}function tlt(t){let e=t.type.prop(Tfe);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const Je=ul.define,NS=Je(),Ku=Je(),n7=Je(Ku),r7=Je(Ku),Zu=Je(),FS=Je(Zu),fR=Je(Zu),tl=Je(),Td=Je(tl),Js=Je(),el=Je(),o3=Je(),c0=Je(o3),jS=Je(),Ce={comment:NS,lineComment:Je(NS),blockComment:Je(NS),docComment:Je(NS),name:Ku,variableName:Je(Ku),typeName:n7,tagName:Je(n7),propertyName:r7,attributeName:Je(r7),className:Je(Ku),labelName:Je(Ku),namespace:Je(Ku),macroName:Je(Ku),literal:Zu,string:FS,docString:Je(FS),character:Je(FS),attributeValue:Je(FS),number:fR,integer:Je(fR),float:Je(fR),bool:Je(Zu),regexp:Je(Zu),escape:Je(Zu),color:Je(Zu),url:Je(Zu),keyword:Js,self:Je(Js),null:Je(Js),atom:Je(Js),unit:Je(Js),modifier:Je(Js),operatorKeyword:Je(Js),controlKeyword:Je(Js),definitionKeyword:Je(Js),moduleKeyword:Je(Js),operator:el,derefOperator:Je(el),arithmeticOperator:Je(el),logicOperator:Je(el),bitwiseOperator:Je(el),compareOperator:Je(el),updateOperator:Je(el),definitionOperator:Je(el),typeOperator:Je(el),controlOperator:Je(el),punctuation:o3,separator:Je(o3),bracket:c0,angleBracket:Je(c0),squareBracket:Je(c0),paren:Je(c0),brace:Je(c0),content:tl,heading:Td,heading1:Je(Td),heading2:Je(Td),heading3:Je(Td),heading4:Je(Td),heading5:Je(Td),heading6:Je(Td),contentSeparator:Je(tl),list:Je(tl),quote:Je(tl),emphasis:Je(tl),strong:Je(tl),link:Je(tl),monospace:Je(tl),strikethrough:Je(tl),inserted:Je(),deleted:Je(),changed:Je(),invalid:Je(),meta:jS,documentMeta:Je(jS),annotation:Je(jS),processingInstruction:Je(jS),definition:ul.defineModifier(),constant:ul.defineModifier(),function:ul.defineModifier(),standard:ul.defineModifier(),local:ul.defineModifier(),special:ul.defineModifier()};Efe([{tag:Ce.link,class:"tok-link"},{tag:Ce.heading,class:"tok-heading"},{tag:Ce.emphasis,class:"tok-emphasis"},{tag:Ce.strong,class:"tok-strong"},{tag:Ce.keyword,class:"tok-keyword"},{tag:Ce.atom,class:"tok-atom"},{tag:Ce.bool,class:"tok-bool"},{tag:Ce.url,class:"tok-url"},{tag:Ce.labelName,class:"tok-labelName"},{tag:Ce.inserted,class:"tok-inserted"},{tag:Ce.deleted,class:"tok-deleted"},{tag:Ce.literal,class:"tok-literal"},{tag:Ce.string,class:"tok-string"},{tag:Ce.number,class:"tok-number"},{tag:[Ce.regexp,Ce.escape,Ce.special(Ce.string)],class:"tok-string2"},{tag:Ce.variableName,class:"tok-variableName"},{tag:Ce.local(Ce.variableName),class:"tok-variableName tok-local"},{tag:Ce.definition(Ce.variableName),class:"tok-variableName tok-definition"},{tag:Ce.special(Ce.variableName),class:"tok-variableName2"},{tag:Ce.definition(Ce.propertyName),class:"tok-propertyName tok-definition"},{tag:Ce.typeName,class:"tok-typeName"},{tag:Ce.namespace,class:"tok-namespace"},{tag:Ce.className,class:"tok-className"},{tag:Ce.macroName,class:"tok-macroName"},{tag:Ce.propertyName,class:"tok-propertyName"},{tag:Ce.operator,class:"tok-operator"},{tag:Ce.comment,class:"tok-comment"},{tag:Ce.meta,class:"tok-meta"},{tag:Ce.invalid,class:"tok-invalid"},{tag:Ce.punctuation,class:"tok-punctuation"}]);var dR;const Vm=new Vt;function nlt(t){return ut.define({combine:t?e=>e.concat(t):void 0})}const rlt=new Vt;class Ns{constructor(e,n,r=[],i=""){this.data=e,this.name=i,Zt.prototype.hasOwnProperty("tree")||Object.defineProperty(Zt.prototype,"tree",{get(){return ci(this)}}),this.parser=n,this.extension=[Yf.of(this),Zt.languageData.of((o,a,s)=>{let l=i7(o,a,s),c=l.type.prop(Vm);if(!c)return[];let u=o.facet(c),f=l.type.prop(rlt);if(f){let d=l.resolve(a-l.from,s);for(let h of f)if(h.test(d,o)){let p=o.facet(h.facet);return h.type=="replace"?p:p.concat(u)}}return u})].concat(r)}isActiveAt(e,n,r=-1){return i7(e,n,r).type.prop(Vm)==this.data}findRegions(e){let n=e.facet(Yf);if((n==null?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=(o,a)=>{if(o.prop(Vm)==this.data){r.push({from:a,to:a+o.length});return}let s=o.prop(Vt.mounted);if(s){if(s.tree.prop(Vm)==this.data){if(s.overlay)for(let l of s.overlay)r.push({from:l.from+a,to:l.to+a});else r.push({from:a,to:a+o.length});return}else if(s.overlay){let l=r.length;if(i(s.tree,s.overlay[0].from+a),r.length>l)return}}for(let l=0;lr.isTop?n:void 0)]}),e.name)}configure(e,n){return new jb(this.data,this.parser.configure(e),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function ci(t){let e=t.field(Ns.state,!1);return e?e.tree:jr.empty}class ilt{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let r=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-r,n-r)}}let u0=null;class KT{constructor(e,n,r=[],i,o,a,s,l){this.parser=e,this.state=n,this.fragments=r,this.tree=i,this.treeLen=o,this.viewport=a,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,n,r){return new KT(e,n,[],jr.empty,0,r,[],null)}startParse(){return this.parser.startParse(new ilt(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=jr.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(Th.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=u0;u0=this;try{return e()}finally{u0=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=o7(e,n.from,n.to);return e}changes(e,n){let{fragments:r,tree:i,treeLen:o,viewport:a,skipped:s}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,f,d)=>l.push({fromA:c,toA:u,fromB:f,toB:d})),r=Th.applyChanges(r,l),i=jr.empty,o=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);ue.from&&(this.fragments=o7(this.fragments,i,o),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends Cfe{createParse(n,r,i){let o=i[0].from,a=i[i.length-1].to;return{parsedPos:o,advance(){let l=u0;if(l){for(let c of i)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=a,new jr(Uo.none,[],[],a-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return u0}}function o7(t,e,n){return Th.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class Kg{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new Kg(n)}static init(e){let n=Math.min(3e3,e.doc.length),r=KT.create(e.facet(Yf).parser,e,{from:0,to:n});return r.work(20,n)||r.takeTree(),new Kg(r)}}Ns.state=hi.define({create:Kg.init,update(t,e){for(let n of e.effects)if(n.is(Ns.setState))return n.value;return e.startState.facet(Yf)!=e.state.facet(Yf)?Kg.init(e.state):t.apply(e)}});let Pfe=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Pfe=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const hR=typeof navigator<"u"&&(!((dR=navigator.scheduling)===null||dR===void 0)&&dR.isInputPending)?()=>navigator.scheduling.isInputPending():null,olt=Pr.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(Ns.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(Ns.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=Pfe(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndi+1e3,l=o.context.work(()=>hR&&hR()||Date.now()>a,i+(s?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Ns.setState.of(new Kg(o.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>ko(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Yf=ut.define({combine(t){return t.length?t[0]:null},enables:t=>[Ns.state,olt,rt.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]});class Mfe{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}}const alt=ut.define(),Z1=ut.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(n=>n!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function ZT(t){let e=t.facet(Z1);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function Bb(t,e){let n="",r=t.tabSize,i=t.facet(Z1)[0];if(i==" "){for(;e>=r;)n+=" ",e-=r;i=" "}for(let o=0;o=e?slt(t,n,e):null}class s2{constructor(e,n={}){this.state=e,this.options=n,this.unit=ZT(e)}lineAt(e,n=1){let r=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:o}=this.options;return i!=null&&i>=r.from&&i<=r.to?o&&i==e?{text:"",from:e}:(n<0?i-1&&(o+=a-this.countColumn(r,r.search(/\S|$/))),o}countColumn(e,n=e.length){return iy(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:r,from:i}=this.lineAt(e,n),o=this.options.overrideIndentation;if(o){let a=o(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Wz=new Vt;function slt(t,e,n){let r=e.resolveStack(n),i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let o=[];for(let a=i;a!=r.node;a=a.parent)o.push(a);for(let a=o.length-1;a>=0;a--)r={node:o[a],next:r}}return kfe(r,t,n)}function kfe(t,e,n){for(let r=t;r;r=r.next){let i=clt(r.node);if(i)return i(Vz.create(e,n,r))}return 0}function llt(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function clt(t){let e=t.type.prop(Wz);if(e)return e;let n=t.firstChild,r;if(n&&(r=n.type.prop(Vt.closedBy))){let i=t.lastChild,o=i&&r.indexOf(i.name)>-1;return a=>Afe(a,!0,1,void 0,o&&!llt(a)?i.from:void 0)}return t.parent==null?ult:null}function ult(){return 0}class Vz extends s2{constructor(e,n,r){super(e.state,e.options),this.base=e,this.pos=n,this.context=r}get node(){return this.context.node}static create(e,n,r){return new Vz(e,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let n=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(flt(r,e))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return kfe(this.context.next,this.base,this.pos)}}function flt(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function dlt(t){let e=t.node,n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak,o=t.state.doc.lineAt(n.from),a=i==null||i<=o.from?o.to:Math.min(o.to,i);for(let s=n.to;;){let l=e.childAfter(s);if(!l||l==r)return null;if(!l.type.isSkipped)return l.fromAfe(r,e,n,t)}function Afe(t,e,n,r,i){let o=t.textAfter,a=o.match(/^\s*/)[0].length,s=r&&o.slice(a,a+r.length)==r||i==t.pos+a,l=e?dlt(t):null;return l?s?t.column(l.from):t.column(l.to):t.baseIndent+(s?0:t.unit*n)}function a7({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const hlt=200;function plt(){return Zt.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+hlt)return t;let o=n.sliceString(i.from,r);if(!e.some(c=>c.test(o)))return t;let{state:a}=t,s=-1,l=[];for(let{head:c}of a.selection.ranges){let u=a.doc.lineAt(c);if(u.from==s)continue;s=u.from;let f=Uz(a,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],h=Bb(a,f);d!=h&&l.push({from:u.from,to:u.from+d.length,insert:h})}return l.length?[t,{changes:l,sequential:!0}]:t})}const mlt=ut.define(),Gz=new Vt;function Rfe(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(o&&s.from=e&&c.to>n&&(o=c)}}return o}function vlt(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function JT(t,e,n){for(let r of t.facet(mlt)){let i=r(t,e,n);if(i)return i}return glt(t,e,n)}function Ife(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?void 0:{from:n,to:r}}const l2=Rt.define({map:Ife}),J1=Rt.define({map:Ife});function Dfe(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(r=>r.from<=n&&r.to>=n)||e.push(t.lineBlockAt(n));return e}const qh=hi.define({create(){return yt.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)if(n.is(l2)&&!ylt(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(Hz),i=r?yt.replace({widget:new Clt(r(e.state,n.value))}):s7;t=t.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(J1)&&(t=t.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:r}=e.selection.main;t.between(r,r,(i,o)=>{ir&&(n=!0)}),n&&(t=t.update({filterFrom:r,filterTo:r,filter:(i,o)=>o<=r||i>=r}))}return t},provide:t=>rt.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!i||i.from>o)&&(i={from:o,to:a})}),i}function ylt(t,e,n){let r=!1;return t.between(e,e,(i,o)=>{i==e&&o==n&&(r=!0)}),r}function Lfe(t,e){return t.field(qh,!1)?e:e.concat(Rt.appendConfig.of(Nfe()))}const xlt=t=>{for(let e of Dfe(t)){let n=JT(t.state,e.from,e.to);if(n)return t.dispatch({effects:Lfe(t.state,[l2.of(n),$fe(t,n)])}),!0}return!1},blt=t=>{if(!t.state.field(qh,!1))return!1;let e=[];for(let n of Dfe(t)){let r=eE(t.state,n.from,n.to);r&&e.push(J1.of(r),$fe(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function $fe(t,e,n=!0){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return rt.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}const _lt=t=>{let{state:e}=t,n=[];for(let r=0;r{let e=t.state.field(qh,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(r,i)=>{n.push(J1.of({from:r,to:i}))}),t.dispatch({effects:n}),!0},Slt=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:xlt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:blt},{key:"Ctrl-Alt-[",run:_lt},{key:"Ctrl-Alt-]",run:wlt}],Olt={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},Hz=ut.define({combine(t){return Jl(t,Olt)}});function Nfe(t){let e=[qh,Plt];return t&&e.push(Hz.of(t)),e}function Ffe(t,e){let{state:n}=t,r=n.facet(Hz),i=a=>{let s=t.lineBlockAt(t.posAtDOM(a.target)),l=eE(t.state,s.from,s.to);l&&t.dispatch({effects:J1.of(l)}),a.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}const s7=yt.replace({widget:new class extends ec{toDOM(t){return Ffe(t,null)}}});class Clt extends ec{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return Ffe(e,this.value)}}const Tlt={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class mR extends ou{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}}function Elt(t={}){let e=Object.assign(Object.assign({},Tlt),t),n=new mR(e,!0),r=new mR(e,!1),i=Pr.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(Yf)!=a.state.facet(Yf)||a.startState.field(qh,!1)!=a.state.field(qh,!1)||ci(a.startState)!=ci(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let s=new Gf;for(let l of a.viewportLineBlocks){let c=eE(a.state,l.from,l.to)?r:JT(a.state,l.from,l.to)?n:null;c&&s.add(l.from,l.from,c)}return s.finish()}}),{domEventHandlers:o}=e;return[i,kst({class:"cm-foldGutter",markers(a){var s;return((s=a.plugin(i))===null||s===void 0?void 0:s.markers)||on.empty},initialSpacer(){return new mR(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(a,s,l)=>{if(o.click&&o.click(a,s,l))return!0;let c=eE(a.state,s.from,s.to);if(c)return a.dispatch({effects:J1.of(c)}),!0;let u=JT(a.state,s.from,s.to);return u?(a.dispatch({effects:l2.of(u)}),!0):!1}})}),Nfe()]}const Plt=rt.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class ew{constructor(e,n){this.specs=e;let r;function i(s){let l=Hf.newName();return(r||(r=Object.create(null)))["."+l]=s,l}const o=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof Ns?s=>s.prop(Vm)==a.data:a?s=>s==a:void 0,this.style=Efe(e.map(s=>({tag:s.tag,class:s.class||i(Object.assign({},s,{tag:null}))})),{all:o}).style,this.module=r?new Hf(r):null,this.themeType=n.themeType}static define(e,n){return new ew(e,n||{})}}const a3=ut.define(),jfe=ut.define({combine(t){return t.length?[t[0]]:null}});function gR(t){let e=t.facet(a3);return e.length?e:t.facet(jfe)}function Bfe(t,e){let n=[klt],r;return t instanceof ew&&(t.module&&n.push(rt.styleModule.of(t.module)),r=t.themeType),e!=null&&e.fallback?n.push(jfe.of(t)):r?n.push(a3.computeN([rt.darkTheme],i=>i.facet(rt.darkTheme)==(r=="dark")?[t]:[])):n.push(a3.of(t)),n}class Mlt{constructor(e){this.markCache=Object.create(null),this.tree=ci(e.state),this.decorations=this.buildDeco(e,gR(e.state)),this.decoratedTo=e.viewport.to}update(e){let n=ci(e.state),r=gR(e.state),i=r!=gR(e.startState),{viewport:o}=e.view,a=e.changes.mapPos(this.decoratedTo,1);n.length=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(n!=this.tree||e.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=o.to)}buildDeco(e,n){if(!n||!this.tree.length)return yt.none;let r=new Gf;for(let{from:i,to:o}of e.visibleRanges)Jst(this.tree,n,(a,s,l)=>{r.add(a,s,this.markCache[l]||(this.markCache[l]=yt.mark({class:l})))},i,o);return r.finish()}}const klt=ud.high(Pr.fromClass(Mlt,{decorations:t=>t.decorations})),Alt=ew.define([{tag:Ce.meta,color:"#404740"},{tag:Ce.link,textDecoration:"underline"},{tag:Ce.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Ce.emphasis,fontStyle:"italic"},{tag:Ce.strong,fontWeight:"bold"},{tag:Ce.strikethrough,textDecoration:"line-through"},{tag:Ce.keyword,color:"#708"},{tag:[Ce.atom,Ce.bool,Ce.url,Ce.contentSeparator,Ce.labelName],color:"#219"},{tag:[Ce.literal,Ce.inserted],color:"#164"},{tag:[Ce.string,Ce.deleted],color:"#a11"},{tag:[Ce.regexp,Ce.escape,Ce.special(Ce.string)],color:"#e40"},{tag:Ce.definition(Ce.variableName),color:"#00f"},{tag:Ce.local(Ce.variableName),color:"#30a"},{tag:[Ce.typeName,Ce.namespace],color:"#085"},{tag:Ce.className,color:"#167"},{tag:[Ce.special(Ce.variableName),Ce.macroName],color:"#256"},{tag:Ce.definition(Ce.propertyName),color:"#00c"},{tag:Ce.comment,color:"#940"},{tag:Ce.invalid,color:"#f00"}]),Rlt=rt.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),zfe=1e4,Ufe="()[]{}",Wfe=ut.define({combine(t){return Jl(t,{afterCursor:!0,brackets:Ufe,maxScanDistance:zfe,renderMatch:Llt})}}),Ilt=yt.mark({class:"cm-matchingBracket"}),Dlt=yt.mark({class:"cm-nonmatchingBracket"});function Llt(t){let e=[],n=t.matched?Ilt:Dlt;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const $lt=hi.define({create(){return yt.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],r=e.state.facet(Wfe);for(let i of e.state.selection.ranges){if(!i.empty)continue;let o=Ol(e.state,i.head,-1,r)||i.head>0&&Ol(e.state,i.head-1,1,r)||r.afterCursor&&(Ol(e.state,i.head,1,r)||i.headrt.decorations.from(t)}),Nlt=[$lt,Rlt];function Flt(t={}){return[Wfe.of(t),Nlt]}const jlt=new Vt;function s3(t,e,n){let r=t.prop(e<0?Vt.openedBy:Vt.closedBy);if(r)return r;if(t.name.length==1){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}function l3(t){let e=t.type.prop(jlt);return e?e(t.node):t}function Ol(t,e,n,r={}){let i=r.maxScanDistance||zfe,o=r.brackets||Ufe,a=ci(t),s=a.resolveInner(e,n);for(let l=s;l;l=l.parent){let c=s3(l.type,n,o);if(c&&l.from0?e>=u.from&&eu.from&&e<=u.to))return Blt(t,e,n,l,u,c,o)}}return zlt(t,e,n,a,s.type,i,o)}function Blt(t,e,n,r,i,o,a){let s=r.parent,l={from:i.from,to:i.to},c=0,u=s==null?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},u=t.doc.iterRange(e,n>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let h=u.value;n<0&&(d+=h.length);let p=e+d*n;for(let m=n>0?0:h.length-1,g=n>0?h.length:-1;m!=g;m+=n){let v=a.indexOf(h[m]);if(!(v<0||r.resolveInner(p+m,1).type!=i))if(v%2==0==n>0)f++;else{if(f==1)return{start:c,end:{from:p+m,to:p+m+1},matched:v>>1==l>>1};f--}}n>0&&(d+=h.length)}return u.done?{start:c,matched:!1}:null}const Ult=Object.create(null),l7=[Uo.none],c7=[],u7=Object.create(null),Wlt=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Wlt[t]=Vlt(Ult,e);function vR(t,e){c7.indexOf(t)>-1||(c7.push(t),console.warn(e))}function Vlt(t,e){let n=[];for(let s of e.split(" ")){let l=[];for(let c of s.split(".")){let u=t[c]||Ce[c];u?typeof u=="function"?l.length?l=l.map(u):vR(c,`Modifier ${c} used at start of tag`):l.length?vR(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:vR(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=e.replace(/ /g,"_"),i=r+" "+n.map(s=>s.id),o=u7[i];if(o)return o.id;let a=u7[i]=Uo.define({id:l7.length,name:r,props:[zz({[r]:n})]});return l7.push(a),a.id}tr.RTL,tr.LTR;const Glt=t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),r=Xz(t.state,n.from);return r.line?Hlt(t):r.block?Xlt(t):!1};function qz(t,e){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=t(e,n);return i?(r(n.update(i)),!0):!1}}const Hlt=qz(Klt,0),qlt=qz(Vfe,0),Xlt=qz((t,e)=>Vfe(t,e,Ylt(e)),0);function Xz(t,e){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}const f0=50;function Qlt(t,{open:e,close:n},r,i){let o=t.sliceDoc(r-f0,r),a=t.sliceDoc(i,i+f0),s=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(a)[0].length,c=o.length-s;if(o.slice(c-e.length,c)==e&&a.slice(l,l+n.length)==n)return{open:{pos:r-s,margin:s&&1},close:{pos:i+l,margin:l&&1}};let u,f;i-r<=2*f0?u=f=t.sliceDoc(r,i):(u=t.sliceDoc(r,r+f0),f=t.sliceDoc(i-f0,i));let d=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(f)[0].length,p=f.length-h-n.length;return u.slice(d,d+e.length)==e&&f.slice(p,p+n.length)==n?{open:{pos:r+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:i-h-n.length,margin:/\s/.test(f.charAt(p-1))?1:0}}:null}function Ylt(t){let e=[];for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),i=n.to<=r.to?r:t.doc.lineAt(n.to),o=e.length-1;o>=0&&e[o].to>r.from?e[o].to=i.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return e}function Vfe(t,e,n=e.selection.ranges){let r=n.map(o=>Xz(e,o.from).block);if(!r.every(o=>o))return null;let i=n.map((o,a)=>Qlt(e,r[a],o.from,o.to));if(t!=2&&!i.every(o=>o))return{changes:e.changes(n.map((o,a)=>i[a]?[]:[{from:o.from,insert:r[a].open+" "},{from:o.to,insert:" "+r[a].close}]))};if(t!=1&&i.some(o=>o)){let o=[];for(let a=0,s;ai&&(o==a||a>f.from)){i=f.from;let d=/^\s*/.exec(f.text)[0].length,h=d==f.length,p=f.text.slice(d,d+c.length)==c?d:-1;do.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:s,token:l,indent:c,empty:u,single:f}of r)(f||!u)&&o.push({from:s.from+c,insert:l+" "});let a=e.changes(o);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&r.some(o=>o.comment>=0)){let o=[];for(let{line:a,comment:s,token:l}of r)if(s>=0){let c=a.from+s,u=c+l.length;a.text[u-a.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}const c3=Zl.define(),Zlt=Zl.define(),Jlt=ut.define(),Gfe=ut.define({combine(t){return Jl(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,n)=>(r,i)=>e(r,i)||n(r,i)})}}),Hfe=hi.define({create(){return Cl.empty},update(t,e){let n=e.state.facet(Gfe),r=e.annotation(c3);if(r){let l=Ao.fromTransaction(e,r.selection),c=r.side,u=c==0?t.undone:t.done;return l?u=tE(u,u.length,n.minDepth,l):u=Qfe(u,e.startState.selection),new Cl(c==0?r.rest:u,c==0?u:r.rest)}let i=e.annotation(Zlt);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(Fr.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=Ao.fromTransaction(e),a=e.annotation(Fr.time),s=e.annotation(Fr.userEvent);return o?t=t.addChanges(o,a,s,n,e):e.selection&&(t=t.addSelection(e.startState.selection,a,s,n.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Cl(t.done.map(Ao.fromJSON),t.undone.map(Ao.fromJSON))}});function ect(t={}){return[Hfe,Gfe.of(t),rt.domEventHandlers({beforeinput(e,n){let r=e.inputType=="historyUndo"?qfe:e.inputType=="historyRedo"?u3:null;return r?(e.preventDefault(),r(n)):!1}})]}function c2(t,e){return function({state:n,dispatch:r}){if(!e&&n.readOnly)return!1;let i=n.field(Hfe,!1);if(!i)return!1;let o=i.pop(t,n,e);return o?(r(o),!0):!1}}const qfe=c2(0,!1),u3=c2(1,!1),tct=c2(0,!0),nct=c2(1,!0);class Ao{constructor(e,n,r,i,o){this.changes=e,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=o}setSelAfter(e){return new Ao(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Ao(e.changes&&Xr.fromJSON(e.changes),[],e.mapped&&Fl.fromJSON(e.mapped),e.startSelection&&je.fromJSON(e.startSelection),e.selectionsAfter.map(je.fromJSON))}static fromTransaction(e,n){let r=Wa;for(let i of e.startState.facet(Jlt)){let o=i(e);o.length&&(r=r.concat(o))}return!r.length&&e.changes.empty?null:new Ao(e.changes.invert(e.startState.doc),r,void 0,n||e.startState.selection,Wa)}static selection(e){return new Ao(void 0,Wa,void 0,void 0,e)}}function tE(t,e,n,r){let i=e+1>n+20?e-n-1:0,o=t.slice(i,e);return o.push(r),o}function rct(t,e){let n=[],r=!1;return t.iterChangedRanges((i,o)=>n.push(i,o)),e.iterChangedRanges((i,o,a,s)=>{for(let l=0;l=c&&a<=u&&(r=!0)}}),r}function ict(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,r)=>n.empty!=e.ranges[r].empty).length===0}function Xfe(t,e){return t.length?e.length?t.concat(e):t:e}const Wa=[],oct=200;function Qfe(t,e){if(t.length){let n=t[t.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-oct));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),tE(t,t.length-1,1e9,n.setSelAfter(r)))}else return[Ao.selection([e])]}function act(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function yR(t,e){if(!t.length)return t;let n=t.length,r=Wa;for(;n;){let i=sct(t[n-1],e,r);if(i.changes&&!i.changes.empty||i.effects.length){let o=t.slice(0,n);return o[n-1]=i,o}else e=i.mapped,n--,r=i.selectionsAfter}return r.length?[Ao.selection(r)]:Wa}function sct(t,e,n){let r=Xfe(t.selectionsAfter.length?t.selectionsAfter.map(s=>s.map(e)):Wa,n);if(!t.changes)return Ao.selection(r);let i=t.changes.map(e),o=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(o):o;return new Ao(i,Rt.mapEffects(t.effects,e),a,t.startSelection.map(o),r)}const lct=/^(input\.type|delete)($|\.)/;class Cl{constructor(e,n,r=0,i=void 0){this.done=e,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new Cl(this.done,this.undone):this}addChanges(e,n,r,i,o){let a=this.done,s=a[a.length-1];return s&&s.changes&&!s.changes.empty&&e.changes&&(!r||lct.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):u2(n,e))}function Ji(t){return t.textDirectionAt(t.state.selection.main.head)==tr.LTR}const Kfe=t=>Yfe(t,!Ji(t)),Zfe=t=>Yfe(t,Ji(t));function Jfe(t,e){return Xs(t,n=>n.empty?t.moveByGroup(n,e):u2(n,e))}const uct=t=>Jfe(t,!Ji(t)),fct=t=>Jfe(t,Ji(t));function dct(t,e,n){if(e.type.prop(n))return!0;let r=e.to-e.from;return r&&(r>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function f2(t,e,n){let r=ci(t).resolveInner(e.head),i=n?Vt.closedBy:Vt.openedBy;for(let l=e.head;;){let c=n?r.childAfter(l):r.childBefore(l);if(!c)break;dct(t,c,i)?r=c:l=n?c.to:c.from}let o=r.type.prop(i),a,s;return o&&(a=n?Ol(t,r.from,1):Ol(t,r.to,-1))&&a.matched?s=n?a.end.to:a.end.from:s=n?r.to:r.from,je.cursor(s,n?-1:1)}const hct=t=>Xs(t,e=>f2(t.state,e,!Ji(t))),pct=t=>Xs(t,e=>f2(t.state,e,Ji(t)));function ede(t,e){return Xs(t,n=>{if(!n.empty)return u2(n,e);let r=t.moveVertically(n,e);return r.head!=n.head?r:t.moveToLineBoundary(n,e)})}const tde=t=>ede(t,!1),nde=t=>ede(t,!0);function rde(t){let e=t.scrollDOM.clientHeighta.empty?t.moveVertically(a,e,n.height):u2(a,e));if(i.eq(r.selection))return!1;let o;if(n.selfScroll){let a=t.coordsAtPos(r.selection.main.head),s=t.scrollDOM.getBoundingClientRect(),l=s.top+n.marginTop,c=s.bottom-n.marginBottom;a&&a.top>l&&a.bottomide(t,!1),f3=t=>ide(t,!0);function fd(t,e,n){let r=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,n);if(i.head==e.head&&i.head!=(n?r.to:r.from)&&(i=t.moveToLineBoundary(e,n,!1)),!n&&i.head==r.from&&r.length){let o=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&e.head!=r.from+o&&(i=je.cursor(r.from+o))}return i}const mct=t=>Xs(t,e=>fd(t,e,!0)),gct=t=>Xs(t,e=>fd(t,e,!1)),vct=t=>Xs(t,e=>fd(t,e,!Ji(t))),yct=t=>Xs(t,e=>fd(t,e,Ji(t))),xct=t=>Xs(t,e=>je.cursor(t.lineBlockAt(e.head).from,1)),bct=t=>Xs(t,e=>je.cursor(t.lineBlockAt(e.head).to,-1));function _ct(t,e,n){let r=!1,i=oy(t.selection,o=>{let a=Ol(t,o.head,-1)||Ol(t,o.head,1)||o.head>0&&Ol(t,o.head-1,1)||o.head_ct(t,e,!1);function ms(t,e){let n=oy(t.state.selection,r=>{let i=e(r);return je.range(r.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return n.eq(t.state.selection)?!1:(t.dispatch(tc(t.state,n)),!0)}function ode(t,e){return ms(t,n=>t.moveByChar(n,e))}const ade=t=>ode(t,!Ji(t)),sde=t=>ode(t,Ji(t));function lde(t,e){return ms(t,n=>t.moveByGroup(n,e))}const Sct=t=>lde(t,!Ji(t)),Oct=t=>lde(t,Ji(t)),Cct=t=>ms(t,e=>f2(t.state,e,!Ji(t))),Tct=t=>ms(t,e=>f2(t.state,e,Ji(t)));function cde(t,e){return ms(t,n=>t.moveVertically(n,e))}const ude=t=>cde(t,!1),fde=t=>cde(t,!0);function dde(t,e){return ms(t,n=>t.moveVertically(n,e,rde(t).height))}const d7=t=>dde(t,!1),h7=t=>dde(t,!0),Ect=t=>ms(t,e=>fd(t,e,!0)),Pct=t=>ms(t,e=>fd(t,e,!1)),Mct=t=>ms(t,e=>fd(t,e,!Ji(t))),kct=t=>ms(t,e=>fd(t,e,Ji(t))),Act=t=>ms(t,e=>je.cursor(t.lineBlockAt(e.head).from)),Rct=t=>ms(t,e=>je.cursor(t.lineBlockAt(e.head).to)),p7=({state:t,dispatch:e})=>(e(tc(t,{anchor:0})),!0),m7=({state:t,dispatch:e})=>(e(tc(t,{anchor:t.doc.length})),!0),g7=({state:t,dispatch:e})=>(e(tc(t,{anchor:t.selection.main.anchor,head:0})),!0),v7=({state:t,dispatch:e})=>(e(tc(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),Ict=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),Dct=({state:t,dispatch:e})=>{let n=d2(t).map(({from:r,to:i})=>je.range(r,Math.min(i+1,t.doc.length)));return e(t.update({selection:je.create(n),userEvent:"select"})),!0},Lct=({state:t,dispatch:e})=>{let n=oy(t.selection,r=>{var i;let o=ci(t).resolveStack(r.from,1);for(let a=o;a;a=a.next){let{node:s}=a;if((s.from=r.to||s.to>r.to&&s.from<=r.from)&&(!((i=s.parent)===null||i===void 0)&&i.parent))return je.range(s.to,s.from)}return r});return e(tc(t,n)),!0},$ct=({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=je.create([n.main]):n.main.empty||(r=je.create([je.cursor(n.main.head)])),r?(e(tc(t,r)),!0):!1};function tw(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:r}=t,i=r.changeByRange(o=>{let{from:a,to:s}=o;if(a==s){let l=e(o);la&&(n="delete.forward",l=BS(t,l,!0)),a=Math.min(a,l),s=Math.max(s,l)}else a=BS(t,a,!1),s=BS(t,s,!0);return a==s?{range:o}:{changes:{from:a,to:s},range:je.cursor(a,ai(t)))r.between(e,e,(i,o)=>{ie&&(e=n?o:i)});return e}const hde=(t,e)=>tw(t,n=>{let r=n.from,{state:i}=t,o=i.doc.lineAt(r),a,s;if(!e&&r>o.from&&rhde(t,!1),pde=t=>hde(t,!0),mde=(t,e)=>tw(t,n=>{let r=n.head,{state:i}=t,o=i.doc.lineAt(r),a=i.charCategorizer(r);for(let s=null;;){if(r==(e?o.to:o.from)){r==n.head&&o.number!=(e?i.doc.lines:1)&&(r+=e?1:-1);break}let l=Mi(o.text,r-o.from,e)+o.from,c=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),u=a(c);if(s!=null&&u!=s)break;(c!=" "||r!=n.head)&&(s=u),r=l}return r}),gde=t=>mde(t,!1),Nct=t=>mde(t,!0),Fct=t=>tw(t,e=>{let n=t.lineBlockAt(e.head).to;return e.headtw(t,e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)}),Bct=t=>tw(t,e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let n=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:Sn.of(["",""])},range:je.cursor(r.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},Uct=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let i=r.from,o=t.doc.lineAt(i),a=i==o.from?i-1:Mi(o.text,i-o.from,!1)+o.from,s=i==o.to?i+1:Mi(o.text,i-o.from,!0)+o.from;return{changes:{from:a,to:s,insert:t.doc.slice(i,s).append(t.doc.slice(a,i))},range:je.cursor(s)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function d2(t){let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),o=t.doc.lineAt(r.to);if(!r.empty&&r.to==o.from&&(o=t.doc.lineAt(r.to-1)),n>=i.number){let a=e[e.length-1];a.to=o.to,a.ranges.push(r)}else e.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return e}function vde(t,e,n){if(t.readOnly)return!1;let r=[],i=[];for(let o of d2(t)){if(n?o.to==t.doc.length:o.from==0)continue;let a=t.doc.lineAt(n?o.to+1:o.from-1),s=a.length+1;if(n){r.push({from:o.to,to:a.to},{from:o.from,insert:a.text+t.lineBreak});for(let l of o.ranges)i.push(je.range(Math.min(t.doc.length,l.anchor+s),Math.min(t.doc.length,l.head+s)))}else{r.push({from:a.from,to:o.from},{from:o.to,insert:t.lineBreak+a.text});for(let l of o.ranges)i.push(je.range(l.anchor-s,l.head-s))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:je.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const Wct=({state:t,dispatch:e})=>vde(t,e,!1),Vct=({state:t,dispatch:e})=>vde(t,e,!0);function yde(t,e,n){if(t.readOnly)return!1;let r=[];for(let i of d2(t))n?r.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):r.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Gct=({state:t,dispatch:e})=>yde(t,e,!1),Hct=({state:t,dispatch:e})=>yde(t,e,!0),qct=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(d2(e).map(({from:i,to:o})=>(i>0?i--:ot.moveVertically(i,!0)).map(n);return t.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Xct(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=ci(t).resolveInner(e),r=n.childBefore(e),i=n.childAfter(e),o;return r&&i&&r.to<=e&&i.from>=e&&(o=r.type.prop(Vt.closedBy))&&o.indexOf(i.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}const Qct=xde(!1),Yct=xde(!0);function xde(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange(i=>{let{from:o,to:a}=i,s=e.doc.lineAt(o),l=!t&&o==a&&Xct(e,o);t&&(o=a=(a<=s.to?s:e.doc.lineAt(a)).to);let c=new s2(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=Uz(c,o);for(u==null&&(u=iy(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));as.from&&o{let i=[];for(let a=r.from;a<=r.to;){let s=t.doc.lineAt(a);s.number>n&&(r.empty||r.to>s.from)&&(e(s,i,r),n=s.number),a=s.to+1}let o=t.changes(i);return{changes:i,range:je.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}const Kct=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),r=new s2(t,{overrideIndentation:o=>{let a=n[o];return a??-1}}),i=Qz(t,(o,a,s)=>{let l=Uz(r,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=Bb(t,l);(c!=u||s.fromt.readOnly?!1:(e(t.update(Qz(t,(n,r)=>{r.push({from:n.from,insert:t.facet(Z1)})}),{userEvent:"input.indent"})),!0),_de=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Qz(t,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let o=iy(i,t.tabSize),a=0,s=Bb(t,Math.max(0,o-ZT(t)));for(;a({mac:t.key,run:t.run,shift:t.shift}))),eut=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:hct,shift:Cct},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:pct,shift:Tct},{key:"Alt-ArrowUp",run:Wct},{key:"Shift-Alt-ArrowUp",run:Gct},{key:"Alt-ArrowDown",run:Vct},{key:"Shift-Alt-ArrowDown",run:Hct},{key:"Escape",run:$ct},{key:"Mod-Enter",run:Yct},{key:"Alt-l",mac:"Ctrl-l",run:Dct},{key:"Mod-i",run:Lct,preventDefault:!0},{key:"Mod-[",run:_de},{key:"Mod-]",run:bde},{key:"Mod-Alt-\\",run:Kct},{key:"Shift-Mod-k",run:qct},{key:"Shift-Mod-\\",run:wct},{key:"Mod-/",run:Glt},{key:"Alt-A",run:qlt}].concat(Jct),tut={key:"Tab",run:bde,shift:_de};function Fn(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?t.setAttribute(r,i):i!=null&&(t[r]=i)}e++}for(;et.normalize("NFKD"):t=>t;class Zg{constructor(e,n,r=0,i=e.length,o,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,i),this.bufferStart=r,this.normalize=o?s=>o(y7(s)):y7,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Oi(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=Cz(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=ja(e);let i=this.normalize(n);for(let o=0,a=r;;o++){let s=i.charCodeAt(o),l=this.match(s,a,this.bufferPos+this.bufferStart);if(o==i.length-1){if(l)return this.value=l,this;break}a==r&&othis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let r=this.curLineStart+n.index,i=r+n[0].length;if(this.matchPos=nE(this.text,i+(r==i?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(rthis.value.to)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=r||i.to<=n){let s=new yg(n,e.sliceString(n,r));return xR.set(e,s),s}if(i.from==n&&i.to==r)return i;let{text:o,from:a}=i;return a>n&&(o=e.sliceString(n,a)+o,a=n),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n){let r=this.flat.from+n.index,i=r+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this.matchPos=nE(this.text,i+(r==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=yg.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Ode.prototype[Symbol.iterator]=Cde.prototype[Symbol.iterator]=function(){return this});function nut(t){try{return new RegExp(t,Yz),!0}catch{return!1}}function nE(t,e){if(e>=t.length)return e;let n=t.lineAt(e),r;for(;e=56320&&r<57344;)e++;return e}function h3(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),n=Fn("input",{class:"cm-textfield",name:"line",value:e}),r=Fn("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:rE.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),i())},onsubmit:o=>{o.preventDefault(),i()}},Fn("label",t.state.phrase("Go to line"),": ",n)," ",Fn("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function i(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!o)return;let{state:a}=t,s=a.doc.lineAt(a.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,h=c?+c:s.number;if(c&&f){let g=h/100;l&&(g=g*(l=="-"?-1:1)+s.number/a.doc.lines),h=Math.round(a.doc.lines*g)}else c&&l&&(h=h*(l=="-"?-1:1)+s.number);let p=a.doc.line(Math.max(1,Math.min(a.doc.lines,h))),m=je.cursor(p.from+Math.max(0,Math.min(d,p.length)));t.dispatch({effects:[rE.of(!1),rt.scrollIntoView(m.from,{y:"center"})],selection:m}),t.focus()}return{dom:r}}const rE=Rt.define(),x7=hi.define({create(){return!0},update(t,e){for(let n of e.effects)n.is(rE)&&(t=n.value);return t},provide:t=>Nb.from(t,e=>e?h3:null)}),rut=t=>{let e=$b(t,h3);if(!e){let n=[rE.of(!0)];t.state.field(x7,!1)==null&&n.push(Rt.appendConfig.of([x7,iut])),t.dispatch({effects:n}),e=$b(t,h3)}return e&&e.dom.querySelector("input").select(),!0},iut=rt.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),out={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},Tde=ut.define({combine(t){return Jl(t,out,{highlightWordAroundCursor:(e,n)=>e||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function aut(t){let e=[fut,uut];return t&&e.push(Tde.of(t)),e}const sut=yt.mark({class:"cm-selectionMatch"}),lut=yt.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function b7(t,e,n,r){return(n==0||t(e.sliceDoc(n-1,n))!=cr.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=cr.Word)}function cut(t,e,n,r){return t(e.sliceDoc(n,n+1))==cr.Word&&t(e.sliceDoc(r-1,r))==cr.Word}const uut=Pr.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(Tde),{state:n}=t,r=n.selection;if(r.ranges.length>1)return yt.none;let i=r.main,o,a=null;if(i.empty){if(!e.highlightWordAroundCursor)return yt.none;let l=n.wordAt(i.head);if(!l)return yt.none;a=n.charCategorizer(i.head),o=n.sliceDoc(l.from,l.to)}else{let l=i.to-i.from;if(l200)return yt.none;if(e.wholeWords){if(o=n.sliceDoc(i.from,i.to),a=n.charCategorizer(i.head),!(b7(a,n,i.from,i.to)&&cut(a,n,i.from,i.to)))return yt.none}else if(o=n.sliceDoc(i.from,i.to),!o)return yt.none}let s=[];for(let l of t.visibleRanges){let c=new Zg(n.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!a||b7(a,n,u,f))&&(i.empty&&u<=i.from&&f>=i.to?s.push(lut.range(u,f)):(u>=i.to||f<=i.from)&&s.push(sut.range(u,f)),s.length>e.maxMatches))return yt.none}}return yt.set(s)}},{decorations:t=>t.decorations}),fut=rt.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),dut=({state:t,dispatch:e})=>{let{selection:n}=t,r=je.create(n.ranges.map(i=>t.wordAt(i.head)||je.cursor(i.head)),n.mainIndex);return r.eq(n)?!1:(e(t.update({selection:r})),!0)};function hut(t,e){let{main:n,ranges:r}=t.selection,i=t.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let a=!1,s=new Zg(t.doc,e,r[r.length-1].to);;)if(s.next(),s.done){if(a)return null;s=new Zg(t.doc,e,0,Math.max(0,r[r.length-1].from-1)),a=!0}else{if(a&&r.some(l=>l.from==s.value.from))continue;if(o){let l=t.wordAt(s.value.from);if(!l||l.from!=s.value.from||l.to!=s.value.to)continue}return s.value}}const put=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(o=>o.from===o.to))return dut({state:t,dispatch:e});let r=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=r))return!1;let i=hut(t,r);return i?(e(t.update({selection:t.selection.addRange(je.range(i.from,i.to),!1),effects:rt.scrollIntoView(i.to)})),!0):!1},ay=ut.define({combine(t){return Jl(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Tut(e),scrollToMatch:e=>rt.scrollIntoView(e)})}});class Ede{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||nut(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(n,r)=>r=="n"?` -`:r=="r"?"\r":r=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new yut(this):new gut(this)}getCursor(e,n=0,r){let i=e.doc?e:Zt.create({doc:e});return r==null&&(r=i.doc.length),this.regexp?Em(this,i,n,r):Tm(this,i,n,r)}}class Pde{constructor(e){this.spec=e}}function Tm(t,e,n,r){return new Zg(e.doc,t.unquoted,n,r,t.caseSensitive?void 0:i=>i.toLowerCase(),t.wholeWord?mut(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function mut(t,e){return(n,r,i,o)=>((o>n||o+i.length=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let o=Tm(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}function Em(t,e,n,r){return new Ode(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?vut(e.charCategorizer(e.selection.main.head)):void 0},n,r)}function iE(t,e){return t.slice(Mi(t,e,!1),e)}function oE(t,e){return t.slice(e,Mi(t,e))}function vut(t){return(e,n,r)=>!r[0].length||(t(iE(r.input,r.index))!=cr.Word||t(oE(r.input,r.index))!=cr.Word)&&(t(oE(r.input,r.index+r[0].length))!=cr.Word||t(iE(r.input,r.index+r[0].length))!=cr.Word)}class yut extends Pde{nextMatch(e,n,r){let i=Em(this.spec,e,r,e.doc.length).next();return i.done&&(i=Em(this.spec,e,0,n).next()),i.done?null:i.value}prevMatchInRange(e,n,r){for(let i=1;;i++){let o=Math.max(n,r-i*1e4),a=Em(this.spec,e,o,r),s=null;for(;!a.next().done;)s=a.value;if(s&&(o==n||s.from>o+10))return s;if(o==n)return null}}prevMatch(e,n,r){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(n,r)=>r=="$"?"$":r=="&"?e.match[0]:r!="0"&&+r=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let o=Em(this.spec,e,Math.max(0,n-250),Math.min(r+250,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}const zb=Rt.define(),Kz=Rt.define(),Rf=hi.define({create(t){return new bR(p3(t).create(),null)},update(t,e){for(let n of e.effects)n.is(zb)?t=new bR(n.value.create(),t.panel):n.is(Kz)&&(t=new bR(t.query,n.value?Zz:null));return t},provide:t=>Nb.from(t,e=>e.panel)});class bR{constructor(e,n){this.query=e,this.panel=n}}const xut=yt.mark({class:"cm-searchMatch"}),but=yt.mark({class:"cm-searchMatch cm-searchMatch-selected"}),_ut=Pr.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(Rf))}update(t){let e=t.state.field(Rf);(e!=t.startState.field(Rf)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return yt.none;let{view:n}=this,r=new Gf;for(let i=0,o=n.visibleRanges,a=o.length;io[i+1].from-2*250;)l=o[++i].to;t.highlight(n.state,s,l,(c,u)=>{let f=n.state.selection.ranges.some(d=>d.from==c&&d.to==u);r.add(c,u,f?but:xut)})}return r.finish()}},{decorations:t=>t.decorations});function nw(t){return e=>{let n=e.state.field(Rf,!1);return n&&n.query.spec.valid?t(e,n):Ade(e)}}const aE=nw((t,{query:e})=>{let{to:n}=t.state.selection.main,r=e.nextMatch(t.state,n,n);if(!r)return!1;let i=je.single(r.from,r.to),o=t.state.facet(ay);return t.dispatch({selection:i,effects:[Jz(t,r),o.scrollToMatch(i.main,t)],userEvent:"select.search"}),kde(t),!0}),sE=nw((t,{query:e})=>{let{state:n}=t,{from:r}=n.selection.main,i=e.prevMatch(n,r,r);if(!i)return!1;let o=je.single(i.from,i.to),a=t.state.facet(ay);return t.dispatch({selection:o,effects:[Jz(t,i),a.scrollToMatch(o.main,t)],userEvent:"select.search"}),kde(t),!0}),wut=nw((t,{query:e})=>{let n=e.matchAll(t.state,1e3);return!n||!n.length?!1:(t.dispatch({selection:je.create(n.map(r=>je.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),Sut=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],a=0;for(let s=new Zg(t.doc,t.sliceDoc(r,i));!s.next().done;){if(o.length>1e3)return!1;s.value.from==r&&(a=o.length),o.push(je.range(s.value.from,s.value.to))}return e(t.update({selection:je.create(o,a),userEvent:"select.search.matches"})),!0},_7=nw((t,{query:e})=>{let{state:n}=t,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=e.nextMatch(n,r,r);if(!o)return!1;let a=[],s,l,c=[];if(o.from==r&&o.to==i&&(l=n.toText(e.getReplacement(o)),a.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(n,o.from,o.to),c.push(rt.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),o){let u=a.length==0||a[0].from>=o.to?0:o.to-o.from-l.length;s=je.single(o.from-u,o.to-u),c.push(Jz(t,o)),c.push(n.facet(ay).scrollToMatch(s.main,t))}return t.dispatch({changes:a,selection:s,effects:c,userEvent:"input.replace"}),!0}),Out=nw((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state,1e9).map(i=>{let{from:o,to:a}=i;return{from:o,to:a,insert:e.getReplacement(i)}});if(!n.length)return!1;let r=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:rt.announce.of(r),userEvent:"input.replace.all"}),!0});function Zz(t){return t.state.facet(ay).createPanel(t)}function p3(t,e){var n,r,i,o,a;let s=t.selection.main,l=s.empty||s.to>s.from+100?"":t.sliceDoc(s.from,s.to);if(e&&!l)return e;let c=t.facet(ay);return new Ede({search:((n=e==null?void 0:e.literal)!==null&&n!==void 0?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=e==null?void 0:e.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(i=e==null?void 0:e.literal)!==null&&i!==void 0?i:c.literal,regexp:(o=e==null?void 0:e.regexp)!==null&&o!==void 0?o:c.regexp,wholeWord:(a=e==null?void 0:e.wholeWord)!==null&&a!==void 0?a:c.wholeWord})}function Mde(t){let e=$b(t,Zz);return e&&e.dom.querySelector("[main-field]")}function kde(t){let e=Mde(t);e&&e==t.root.activeElement&&e.select()}const Ade=t=>{let e=t.state.field(Rf,!1);if(e&&e.panel){let n=Mde(t);if(n&&n!=t.root.activeElement){let r=p3(t.state,e.query.spec);r.valid&&t.dispatch({effects:zb.of(r)}),n.focus(),n.select()}}else t.dispatch({effects:[Kz.of(!0),e?zb.of(p3(t.state,e.query.spec)):Rt.appendConfig.of(Put)]});return!0},Rde=t=>{let e=t.state.field(Rf,!1);if(!e||!e.panel)return!1;let n=$b(t,Zz);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Kz.of(!1)}),!0},Cut=[{key:"Mod-f",run:Ade,scope:"editor search-panel"},{key:"F3",run:aE,shift:sE,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:aE,shift:sE,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Rde,scope:"editor search-panel"},{key:"Mod-Shift-l",run:Sut},{key:"Mod-Alt-g",run:rut},{key:"Mod-d",run:put,preventDefault:!0}];class Tut{constructor(e){this.view=e;let n=this.query=e.state.field(Rf).query.spec;this.commit=this.commit.bind(this),this.searchField=Fn("input",{value:n.search,placeholder:qo(e,"Find"),"aria-label":qo(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Fn("input",{value:n.replace,placeholder:qo(e,"Replace"),"aria-label":qo(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Fn("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=Fn("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=Fn("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function r(i,o,a){return Fn("button",{class:"cm-button",name:i,onclick:o,type:"button"},a)}this.dom=Fn("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,r("next",()=>aE(e),[qo(e,"next")]),r("prev",()=>sE(e),[qo(e,"previous")]),r("select",()=>wut(e),[qo(e,"all")]),Fn("label",null,[this.caseField,qo(e,"match case")]),Fn("label",null,[this.reField,qo(e,"regexp")]),Fn("label",null,[this.wordField,qo(e,"by word")]),...e.state.readOnly?[]:[Fn("br"),this.replaceField,r("replace",()=>_7(e),[qo(e,"replace")]),r("replaceAll",()=>Out(e),[qo(e,"replace all")])],Fn("button",{name:"close",onclick:()=>Rde(e),"aria-label":qo(e,"close"),type:"button"},["×"])])}commit(){let e=new Ede({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:zb.of(e)}))}keydown(e){jat(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?sE:aE)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),_7(this.view))}update(e){for(let n of e.transactions)for(let r of n.effects)r.is(zb)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(ay).top}}function qo(t,e){return t.state.phrase(e)}const zS=30,US=/[\s\.,:;?!]/;function Jz(t,{from:e,to:n}){let r=t.state.doc.lineAt(e),i=t.state.doc.lineAt(n).to,o=Math.max(r.from,e-zS),a=Math.min(i,n+zS),s=t.state.sliceDoc(o,a);if(o!=r.from){for(let l=0;ls.length-zS;l--)if(!US.test(s[l-1])&&US.test(s[l])){s=s.slice(0,l);break}}return rt.announce.of(`${t.state.phrase("current match")}. ${s} ${t.state.phrase("on line")} ${r.number}.`)}const Eut=rt.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Put=[Rf,ud.low(_ut),Eut];class Ide{constructor(e,n,r){this.state=e,this.pos=n,this.explicit=r,this.abortListeners=[]}tokenBefore(e){let n=ci(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),o=i.search(Lde(e,!1));return o<0?null:{from:r+o,to:this.pos,text:i.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,n){e=="abort"&&this.abortListeners&&this.abortListeners.push(n)}}function w7(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function Mut(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let o=1;otypeof i=="string"?{label:i}:i),[n,r]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:Mut(e);return i=>{let o=i.matchBefore(r);return o||i.explicit?{from:o?o.from:i.pos,options:e,validFor:n}:null}}function kut(t,e){return n=>{for(let r=ci(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(n)}}class S7{constructor(e,n,r,i){this.completion=e,this.source=n,this.match=r,this.score=i}}function If(t){return t.selection.main.from}function Lde(t,e){var n;let{source:r}=t,i=e&&r[0]!="^",o=r[r.length-1]!="$";return!i&&!o?t:new RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}const $de=Zl.define();function Aut(t,e,n,r){let{main:i}=t.selection,o=n-i.from,a=r-i.from;return Object.assign(Object.assign({},t.changeByRange(s=>s!=i&&n!=r&&t.sliceDoc(s.from+o,s.from+a)!=t.sliceDoc(n,r)?{range:s}:{changes:{from:s.from+o,to:r==i.from?s.to:s.from+a,insert:e},range:je.cursor(s.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const O7=new WeakMap;function Rut(t){if(!Array.isArray(t))return t;let e=O7.get(t);return e||O7.set(t,e=Dde(t)),e}const lE=Rt.define(),Ub=Rt.define();class Iut{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&_<=57||_>=97&&_<=122?2:_>=65&&_<=90?1:0:(S=Cz(_))!=S.toLowerCase()?1:S!=S.toUpperCase()?2:0;(!y||O==1&&g||b==0&&O!=0)&&(n[f]==_||r[f]==_&&(d=!0)?a[f++]=y:a.length&&(v=!1)),b=O,y+=ja(_)}return f==l&&a[0]==0&&v?this.result(-100+(d?-200:0),a,e):h==l&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):h==l?this.ret(-900-e.length,[p,m]):f==l?this.result(-100+(d?-200:0)+-700+(v?0:-1100),a,e):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,n,r){let i=[],o=0;for(let a of n){let s=a+(this.astral?ja(Oi(r,a)):1);o&&i[o-1]==a?i[o-1]=s:(i[o++]=a,i[o++]=s)}return this.ret(e-r.length,i)}}class Dut{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Lut,filterStrict:!1,compareCompletions:(e,n)=>e.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,tooltipClass:(e,n)=>r=>C7(e(r),n(r)),optionClass:(e,n)=>r=>C7(e(r),n(r)),addToOptions:(e,n)=>e.concat(n),filterStrict:(e,n)=>e||n})}});function C7(t,e){return t?e?t+" "+e:t:e}function Lut(t,e,n,r,i,o){let a=t.textDirection==tr.RTL,s=a,l=!1,c="top",u,f,d=e.left-i.left,h=i.right-e.right,p=r.right-r.left,m=r.bottom-r.top;if(s&&d=m||y>e.top?u=n.bottom-e.top:(c="bottom",u=e.bottom-n.top)}let g=(e.bottom-e.top)/o.offsetHeight,v=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${f/v}px`,class:"cm-completionInfo-"+(l?a?"left-narrow":"right-narrow":s?"left":"right")}}function $ut(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(n,r,i,o){let a=document.createElement("span");a.className="cm-completionLabel";let s=n.displayLabel||n.label,l=0;for(let c=0;cl&&a.appendChild(document.createTextNode(s.slice(l,u)));let d=a.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(s.slice(u,f))),d.className="cm-completionMatchedText",l=f}return ln.position-r.position).map(n=>n.render)}function _R(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}class Nut{constructor(e,n,r){this.view=e,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let i=e.state.field(n),{options:o,selected:a}=i.open,s=e.state.facet(Pi);this.optionContent=$ut(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=_R(o.length,a,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(n).open;for(let u=l.target,f;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(f=/-(\d+)$/.exec(u.id))&&+f[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(Pi).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:Ub.of(null)})}),this.showOptions(o,i.id)}mount(){this.updateSel()}showOptions(e,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var n;let r=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=i){let{options:o,selected:a,disabled:s}=r.open;(!i.open||i.open.options!=o)&&(this.range=_R(o.length,a,e.state.facet(Pi).maxRenderedOptions),this.showOptions(o,r.id)),this.updateSel(),s!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let n=this.tooltipClass(e);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=_R(n.options.length,n.selected,this.view.state.facet(Pi).maxRenderedOptions),this.showOptions(n.options,e.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:i}=r;if(!i)return;let o=typeof i=="string"?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,r)}).catch(a=>ko(this.view.state,a,"completion info")):this.addInfoPane(o,r)}}addInfoPane(e,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:o}=e;r.appendChild(i),this.infoDestroy=o||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&jut(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),o=this.space;if(!o){let a=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(o.bottom,n.bottom)-10||i.bottomr.from||r.from==0))if(o=d,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let h=i.appendChild(document.createElement("completion-section"));h.textContent=d}}const u=i.appendChild(document.createElement("li"));u.id=n+"-"+a,u.setAttribute("role","option");let f=this.optionClass(s);f&&(u.className=f);for(let d of this.optionContent){let h=d(s,this.view.state,this.view,l);h&&u.appendChild(h)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.tonew Nut(n,t,e)}function jut(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=n.height/t.offsetHeight;r.topn.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/i)}function T7(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function But(t,e){let n=[],r=null,i=c=>{n.push(c);let{section:u}=c.completion;if(u){r||(r=[]);let f=typeof u=="string"?u:u.name;r.some(d=>d.name==f)||r.push(typeof u=="string"?{name:f}:u)}},o=e.facet(Pi);for(let c of t)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)i(new S7(f,c.source,u?u(f):[],1e9-n.length));else{let f=e.sliceDoc(c.from,c.to),d,h=o.filterStrict?new Dut(f):new Iut(f);for(let p of c.result.options)if(d=h.match(p.label)){let m=p.displayLabel?u?u(p,d.matched):[]:d.matched;i(new S7(p,c.source,m,d.score+(p.boost||0)))}}}if(r){let c=Object.create(null),u=0,f=(d,h)=>{var p,m;return((p=d.rank)!==null&&p!==void 0?p:1e9)-((m=h.rank)!==null&&m!==void 0?m:1e9)||(d.namef.score-u.score||l(u.completion,f.completion))){let u=c.completion;!s||s.label!=u.label||s.detail!=u.detail||s.type!=null&&u.type!=null&&s.type!=u.type||s.apply!=u.apply||s.boost!=u.boost?a.push(c):T7(c.completion)>T7(s)&&(a[a.length-1]=c),s=c.completion}return a}class Gm{constructor(e,n,r,i,o,a){this.options=e,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=o,this.disabled=a}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new Gm(this.options,E7(n,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,n,r,i,o){let a=But(e,n);if(!a.length)return i&&e.some(l=>l.state==1)?new Gm(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let s=n.facet(Pi).selectOnOpen?0:-1;if(i&&i.selected!=s&&i.selected!=-1){let l=i.options[i.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:Gut,above:o.aboveCursor},i?i.timestamp:Date.now(),s,!1)}map(e){return new Gm(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class cE{constructor(e,n,r){this.active=e,this.id=n,this.open=r}static start(){return new cE(Wut,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,r=n.facet(Pi),o=(r.override||n.languageDataAt("autocomplete",If(n)).map(Rut)).map(s=>(this.active.find(c=>c.source==s)||new so(s,this.active.some(c=>c.state!=0)?1:0)).update(e,r));o.length==this.active.length&&o.every((s,l)=>s==this.active[l])&&(o=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||o.some(s=>s.hasResult()&&e.changes.touchesRange(s.from,s.to))||!zut(o,this.active)?a=Gm.build(o,n,this.id,a,r):a&&a.disabled&&!o.some(s=>s.state==1)&&(a=null),!a&&o.every(s=>s.state!=1)&&o.some(s=>s.hasResult())&&(o=o.map(s=>s.hasResult()?new so(s.source,0):s));for(let s of e.effects)s.is(Fde)&&(a=a&&a.setSelected(s.value,this.id));return o==this.active&&a==this.open?this:new cE(o,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Uut}}function zut(t,e){if(t==e)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=t+"-"+e),n}const Wut=[];function m3(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class so{constructor(e,n,r=-1){this.source=e,this.state=n,this.explicitPos=r}hasResult(){return!1}update(e,n){let r=m3(e),i=this;r?i=i.handleUserEvent(e,r,n):e.docChanged?i=i.handleChange(e):e.selection&&i.state!=0&&(i=new so(i.source,0));for(let o of e.effects)if(o.is(lE))i=new so(i.source,1,o.value?If(e.state):-1);else if(o.is(Ub))i=new so(i.source,0);else if(o.is(Nde))for(let a of o.value)a.source==i.source&&(i=a);return i}handleUserEvent(e,n,r){return n=="delete"||!r.activateOnTyping?this.map(e.changes):new so(this.source,1)}handleChange(e){return e.changes.touchesRange(If(e.startState))?new so(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new so(this.source,this.state,e.mapPos(this.explicitPos))}}class xg extends so{constructor(e,n,r,i,o){super(e,2,n),this.result=r,this.from=i,this.to=o}hasResult(){return!0}handleUserEvent(e,n,r){var i;let o=this.result;o.map&&!e.changes.empty&&(o=o.map(o,e.changes));let a=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),l=If(e.state);if((this.explicitPos<0?l<=a:ls||!o||n=="delete"&&If(e.startState)==this.from)return new so(this.source,n=="input"&&r.activateOnTyping?1:0);let c=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return Vut(o.validFor,e.state,a,s)?new xg(this.source,c,o,a,s):o.update&&(o=o.update(o,a,s,new Ide(e.state,l,c>=0)))?new xg(this.source,c,o,o.from,(i=o.to)!==null&&i!==void 0?i:If(e.state)):new so(this.source,1,c)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new so(this.source,0):this.map(e.changes)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new xg(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new so(this.source,0)}}function Vut(t,e,n,r){if(!t)return!1;let i=e.sliceDoc(n,r);return typeof t=="function"?t(i,n,r,e):Lde(t,!0).test(i)}const Nde=Rt.define({map(t,e){return t.map(n=>n.map(e))}}),Fde=Rt.define(),To=hi.define({create(){return cE.start()},update(t,e){return t.update(e)},provide:t=>[$z.from(t,e=>e.tooltip),rt.contentAttributes.from(t,e=>e.attrs)]});function e4(t,e){const n=e.completion.apply||e.completion.label;let r=t.state.field(To).active.find(i=>i.source==e.source);return r instanceof xg?(typeof n=="string"?t.dispatch(Object.assign(Object.assign({},Aut(t.state,n,r.from,r.to)),{annotations:$de.of(e.completion)})):n(t,e.completion,r.from,r.to),!0):!1}const Gut=Fut(To,e4);function WS(t,e="option"){return n=>{let r=n.state.field(To,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(t?1:-1):t?0:a-1;return s<0?s=e=="page"?0:a-1:s>=a&&(s=e=="page"?a-1:0),n.dispatch({effects:Fde.of(s)}),!0}}const Hut=t=>{let e=t.state.field(To,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(To,!1)?(t.dispatch({effects:lE.of(!0)}),!0):!1,Xut=t=>{let e=t.state.field(To,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:Ub.of(null)}),!0)};class Qut{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const Yut=50,Kut=1e3,Zut=Pr.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(To).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(To);if(!t.selectionSet&&!t.docChanged&&t.startState.field(To)==e)return;let n=t.transactions.some(i=>(i.selection||i.docChanged)&&!m3(i));for(let i=0;iYut&&Date.now()-o.time>Kut){for(let a of o.context.abortListeners)try{a()}catch(s){ko(this.view.state,s)}o.context.abortListeners=null,this.running.splice(i--,1)}else o.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(i=>i.effects.some(o=>o.is(lE)))&&(this.pendingStart=!0);let r=this.pendingStart?50:t.state.facet(Pi).activateOnTypingDelay;if(this.debounceUpdate=e.active.some(i=>i.state==1&&!this.running.some(o=>o.active.source==i.source))?setTimeout(()=>this.startUpdate(),r):-1,this.composing!=0)for(let i of t.transactions)m3(i)=="input"?this.composing=2:this.composing==2&&i.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(To);for(let n of e.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=If(e),r=new Ide(e,n,t.explicitPos==n),i=new Qut(t,r);this.running.push(i),Promise.resolve(t.source(r)).then(o=>{i.context.aborted||(i.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:Ub.of(null)}),ko(this.view.state,o)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Pi).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(Pi);for(let r=0;ra.source==i.active.source);if(o&&o.state==1)if(i.done==null){let a=new so(i.active.source,0);for(let s of i.updates)a=a.update(s,n);a.state!=1&&e.push(a)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:Nde.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(To,!1);if(e&&e.tooltip&&this.view.state.facet(Pi).closeOnBlur){let n=e.open&&vfe(this.view,e.open.tooltip);(!n||!n.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Ub.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:lE.of(!1)}),20),this.composing=0}}}),Jut=typeof navigator=="object"&&/Win/.test(navigator.platform),eft=ud.highest(rt.domEventHandlers({keydown(t,e){let n=e.state.field(To,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&!(Jut&&t.altKey)||t.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(a=>a.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&e4(e,r),!1}})),jde=rt.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class tft{constructor(e,n,r,i){this.field=e,this.line=n,this.from=r,this.to=i}}class t4{constructor(e,n,r){this.field=e,this.from=n,this.to=r}map(e){let n=e.mapPos(this.from,-1,Ei.TrackDel),r=e.mapPos(this.to,1,Ei.TrackDel);return n==null||r==null?null:new t4(this.field,n,r)}}class n4{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let r=[],i=[n],o=e.doc.lineAt(n),a=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(r.length){let c=a,u=/^\t*/.exec(l)[0].length;for(let f=0;fnew t4(l.field,i[l.line]+l.from,i[l.line]+l.to));return{text:r,ranges:s}}static parse(e){let n=[],r=[],i=[],o;for(let a of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(a);){let s=o[1]?+o[1]:null,l=o[2]||o[3]||"",c=-1;for(let u=0;u=c&&f.field++}i.push(new tft(c,r.length,o.index,o.index+l.length)),a=a.slice(0,o.index)+l+a.slice(o.index+o[0].length)}for(let s;s=/\\([{}])/.exec(a);){a=a.slice(0,s.index)+s[1]+a.slice(s.index+s[0].length);for(let l of i)l.line==r.length&&l.from>s.index&&(l.from--,l.to--)}r.push(a)}return new n4(r,i)}}let nft=yt.widget({widget:new class extends ec{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),rft=yt.mark({class:"cm-snippetField"});class sy{constructor(e,n){this.ranges=e,this.active=n,this.deco=yt.set(e.map(r=>(r.from==r.to?nft:rft).range(r.from,r.to)))}map(e){let n=[];for(let r of this.ranges){let i=r.map(e);if(!i)return null;n.push(i)}return new sy(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const rw=Rt.define({map(t,e){return t&&t.map(e)}}),ift=Rt.define(),Wb=hi.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(rw))return n.value;if(n.is(ift)&&t)return new sy(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>rt.decorations.from(t,e=>e?e.deco:yt.none)});function r4(t,e){return je.create(t.filter(n=>n.field==e).map(n=>je.range(n.from,n.to)))}function oft(t){let e=n4.parse(t);return(n,r,i,o)=>{let{text:a,ranges:s}=e.instantiate(n.state,i),l={changes:{from:i,to:o,insert:Sn.of(a)},scrollIntoView:!0,annotations:r?[$de.of(r),Fr.userEvent.of("input.complete")]:void 0};if(s.length&&(l.selection=r4(s,0)),s.some(c=>c.field>0)){let c=new sy(s,0),u=l.effects=[rw.of(c)];n.state.field(Wb,!1)===void 0&&u.push(Rt.appendConfig.of([Wb,uft,fft,jde]))}n.dispatch(n.state.update(l))}}function Bde(t){return({state:e,dispatch:n})=>{let r=e.field(Wb,!1);if(!r||t<0&&r.active==0)return!1;let i=r.active+t,o=t>0&&!r.ranges.some(a=>a.field==i+t);return n(e.update({selection:r4(r.ranges,i),effects:rw.of(o?null:new sy(r.ranges,i)),scrollIntoView:!0})),!0}}const aft=({state:t,dispatch:e})=>t.field(Wb,!1)?(e(t.update({effects:rw.of(null)})),!0):!1,sft=Bde(1),lft=Bde(-1),cft=[{key:"Tab",run:sft,shift:lft},{key:"Escape",run:aft}],P7=ut.define({combine(t){return t.length?t[0]:cft}}),uft=ud.highest(Y1.compute([P7],t=>t.facet(P7)));function sc(t,e){return Object.assign(Object.assign({},e),{apply:oft(t)})}const fft=rt.domEventHandlers({mousedown(t,e){let n=e.state.field(Wb,!1),r;if(!n||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let i=n.ranges.find(o=>o.from<=r&&o.to>=r);return!i||i.field==n.active?!1:(e.dispatch({selection:r4(n.ranges,i.field),effects:rw.of(n.ranges.some(o=>o.field>i.field)?new sy(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),Vb={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},sh=Rt.define({map(t,e){let n=e.mapPos(t,-1,Ei.TrackAfter);return n??void 0}}),i4=new class extends Wh{};i4.startSide=1;i4.endSide=-1;const zde=hi.define({create(){return on.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of e.effects)n.is(sh)&&(t=t.update({add:[i4.range(n.value,n.value+1)]}));return t}});function dft(){return[pft,zde]}const wR="()[]{}<>";function Ude(t){for(let e=0;e{if((hft?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(r.length>2||r.length==2&&ja(Oi(r,0))==1||e!=i.from||n!=i.to)return!1;let o=vft(t.state,r);return o?(t.dispatch(o),!0):!1}),mft=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=Wde(t,t.selection.main.head).brackets||Vb.brackets,i=null,o=t.changeByRange(a=>{if(a.empty){let s=yft(t.doc,a.head);for(let l of r)if(l==s&&h2(t.doc,a.head)==Ude(Oi(l,0)))return{changes:{from:a.head-l.length,to:a.head+l.length},range:je.cursor(a.head-l.length)}}return{range:i=a}});return i||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},gft=[{key:"Backspace",run:mft}];function vft(t,e){let n=Wde(t,t.selection.main.head),r=n.brackets||Vb.brackets;for(let i of r){let o=Ude(Oi(i,0));if(e==i)return o==i?_ft(t,i,r.indexOf(i+i+i)>-1,n):xft(t,i,o,n.before||Vb.before);if(e==o&&Vde(t,t.selection.main.from))return bft(t,i,o)}return null}function Vde(t,e){let n=!1;return t.field(zde).between(0,t.doc.length,r=>{r==e&&(n=!0)}),n}function h2(t,e){let n=t.sliceString(e,e+2);return n.slice(0,ja(Oi(n,0)))}function yft(t,e){let n=t.sliceString(e-2,e);return ja(Oi(n,0))==n.length?n:n.slice(1)}function xft(t,e,n,r){let i=null,o=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:n,from:a.to}],effects:sh.of(a.to+e.length),range:je.range(a.anchor+e.length,a.head+e.length)};let s=h2(t.doc,a.head);return!s||/\s/.test(s)||r.indexOf(s)>-1?{changes:{insert:e+n,from:a.head},effects:sh.of(a.head+e.length),range:je.cursor(a.head+e.length)}:{range:i=a}});return i?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function bft(t,e,n){let r=null,i=t.changeByRange(o=>o.empty&&h2(t.doc,o.head)==n?{changes:{from:o.head,to:o.head+n.length,insert:n},range:je.cursor(o.head+n.length)}:r={range:o});return r?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function _ft(t,e,n,r){let i=r.stringPrefixes||Vb.stringPrefixes,o=null,a=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:sh.of(s.to+e.length),range:je.range(s.anchor+e.length,s.head+e.length)};let l=s.head,c=h2(t.doc,l),u;if(c==e){if(M7(t,l))return{changes:{insert:e+e,from:l},effects:sh.of(l+e.length),range:je.cursor(l+e.length)};if(Vde(t,l)){let d=n&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:je.cursor(l+d.length)}}}else{if(n&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=k7(t,l-2*e.length,i))>-1&&M7(t,u))return{changes:{insert:e+e+e+e,from:l},effects:sh.of(l+e.length),range:je.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=cr.Word&&k7(t,l,i)>-1&&!wft(t,l,e,i))return{changes:{insert:e+e,from:l},effects:sh.of(l+e.length),range:je.cursor(l+e.length)}}return{range:o=s}});return o?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function M7(t,e){let n=ci(t).resolveInner(e+1);return n.parent&&n.from==e}function wft(t,e,n,r){let i=ci(t).resolveInner(e,-1),o=r.reduce((a,s)=>Math.max(a,s.length),0);for(let a=0;a<5;a++){let s=t.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),l=s.indexOf(n);if(!l||l>-1&&r.indexOf(s.slice(0,l))>-1){let u=i.firstChild;for(;u&&u.from==i.from&&u.to-u.from>n.length+l;){if(t.sliceDoc(u.to-n.length,u.to)==n)return!1;u=u.firstChild}return!0}let c=i.to==e&&i.parent;if(!c)break;i=c}return!1}function k7(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=cr.Word)return e;for(let i of n){let o=e-i.length;if(t.sliceDoc(o,e)==i&&r(t.sliceDoc(o-1,o))!=cr.Word)return o}return-1}function Sft(t={}){return[eft,To,Pi.of(t),Zut,Oft,jde]}const Gde=[{key:"Ctrl-Space",run:qut},{key:"Escape",run:Xut},{key:"ArrowDown",run:WS(!0)},{key:"ArrowUp",run:WS(!1)},{key:"PageDown",run:WS(!0,"page")},{key:"PageUp",run:WS(!1,"page")},{key:"Enter",run:Hut}],Oft=ud.highest(Y1.computeN([Pi],t=>t.facet(Pi).defaultKeymap?[Gde]:[]));class Cft{constructor(e,n,r){this.from=e,this.to=n,this.diagnostic=r}}class Xd{constructor(e,n,r){this.diagnostics=e,this.panel=n,this.selected=r}static init(e,n,r){let i=e,o=r.facet(Xde).markerFilter;o&&(i=o(i,r));let a=yt.set(i.map(s=>s.from==s.to||s.from==s.to-1&&r.doc.lineAt(s.from).to==s.from?yt.widget({widget:new Dft(s),diagnostic:s}).range(s.from):yt.mark({attributes:{class:"cm-lintRange cm-lintRange-"+s.severity+(s.markClass?" "+s.markClass:"")},diagnostic:s,inclusive:!0}).range(s.from,s.to)),!0);return new Xd(a,n,Jg(a))}}function Jg(t,e=null,n=0){let r=null;return t.between(n,1e9,(i,o,{spec:a})=>{if(!(e&&a.diagnostic!=e))return r=new Cft(i,o,a.diagnostic),!1}),r}function Tft(t,e){let n=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(r=>r.is(Hde))||t.changes.touchesRange(n.from,n.to))}function Eft(t,e){return t.field(da,!1)?e:e.concat(Rt.appendConfig.of(Nft))}const Hde=Rt.define(),o4=Rt.define(),qde=Rt.define(),da=hi.define({create(){return new Xd(yt.none,null,null)},update(t,e){if(e.docChanged){let n=t.diagnostics.map(e.changes),r=null;if(t.selected){let i=e.changes.mapPos(t.selected.from,1);r=Jg(n,t.selected.diagnostic,i)||Jg(n,null,i)}t=new Xd(n,t.panel,r)}for(let n of e.effects)n.is(Hde)?t=Xd.init(n.value,t.panel,e.state):n.is(o4)?t=new Xd(t.diagnostics,n.value?p2.open:null,t.selected):n.is(qde)&&(t=new Xd(t.diagnostics,t.panel,n.value));return t},provide:t=>[Nb.from(t,e=>e.panel),rt.decorations.from(t,e=>e.diagnostics)]}),Pft=yt.mark({class:"cm-lintRange cm-lintRange-active",inclusive:!0});function Mft(t,e,n){let{diagnostics:r}=t.state.field(da),i=[],o=2e8,a=0;r.between(e-(n<0?1:0),e+(n>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||n>0)&&(eYde(t,n,!1)))}const Aft=t=>{let e=t.state.field(da,!1);(!e||!e.panel)&&t.dispatch({effects:Eft(t.state,[o4.of(!0)])});let n=$b(t,p2.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},A7=t=>{let e=t.state.field(da,!1);return!e||!e.panel?!1:(t.dispatch({effects:o4.of(!1)}),!0)},Rft=t=>{let e=t.state.field(da,!1);if(!e)return!1;let n=t.state.selection.main,r=e.diagnostics.iter(n.to+1);return!r.value&&(r=e.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)},Ift=[{key:"Mod-Shift-m",run:Aft,preventDefault:!0},{key:"F8",run:Rft}],Xde=ut.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},Jl(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,n)=>e?n?r=>e(r)||n(r):e:n}))}});function Qde(t){let e=[];if(t)e:for(let{name:n}of t){for(let r=0;ro.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function Yde(t,e,n){var r;let i=n?Qde(e.actions):[];return Fn("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Fn("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(r=e.actions)===null||r===void 0?void 0:r.map((o,a)=>{let s=!1,l=d=>{if(d.preventDefault(),s)return;s=!0;let h=Jg(t.state.field(da).diagnostics,e);h&&o.apply(t,h.from,h.to)},{name:c}=o,u=i[a]?c.indexOf(i[a]):-1,f=u<0?c:[c.slice(0,u),Fn("u",c.slice(u,u+1)),c.slice(u+1)];return Fn("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${i[a]})"`}.`},f)}),e.source&&Fn("div",{class:"cm-diagnosticSource"},e.source))}class Dft extends ec{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Fn("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class R7{constructor(e,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Yde(e,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class p2{constructor(e){this.view=e,this.items=[];let n=i=>{if(i.keyCode==27)A7(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],a=Qde(o.actions);for(let s=0;s{for(let o=0;oA7(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(da).selected;if(!e)return-1;for(let n=0;n{let c=-1,u;for(let f=r;fr&&(this.items.splice(r,c-r),i=!0)),n&&u.diagnostic==n.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),o=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),r++});r({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:s})=>{let l=s.height/this.list.offsetHeight;a.tops.bottom&&(this.list.scrollTop+=(a.bottom-s.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function n(){let r=e;e=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)n();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)n()}moveSelection(e){if(this.selectedIndex<0)return;let n=this.view.state.field(da),r=Jg(n.diagnostics,this.items[e].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:qde.of(r)})}static open(e){return new p2(e)}}function Lft(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}function VS(t){return Lft(``,'width="6" height="3"')}const $ft=rt.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:VS("#d11")},".cm-lintRange-warning":{backgroundImage:VS("orange")},".cm-lintRange-info":{backgroundImage:VS("#999")},".cm-lintRange-hint":{backgroundImage:VS("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),Nft=[da,rt.decorations.compute([da],t=>{let{selected:e,panel:n}=t.field(da);return!e||!n||e.from==e.to?yt.none:yt.set([Pft.range(e.from,e.to)])}),Est(Mft,{hideOn:Tft}),$ft];var I7=function(e){e===void 0&&(e={});var{crosshairCursor:n=!1}=e,r=[];e.closeBracketsKeymap!==!1&&(r=r.concat(gft)),e.defaultKeymap!==!1&&(r=r.concat(eut)),e.searchKeymap!==!1&&(r=r.concat(Cut)),e.historyKeymap!==!1&&(r=r.concat(cct)),e.foldKeymap!==!1&&(r=r.concat(Slt)),e.completionKeymap!==!1&&(r=r.concat(Gde)),e.lintKeymap!==!1&&(r=r.concat(Ift));var i=[];return e.lineNumbers!==!1&&i.push($st()),e.highlightActiveLineGutter!==!1&&i.push(jst()),e.highlightSpecialChars!==!1&&i.push(nst()),e.history!==!1&&i.push(ect()),e.foldGutter!==!1&&i.push(Elt()),e.drawSelection!==!1&&i.push(Gat()),e.dropCursor!==!1&&i.push(Yat()),e.allowMultipleSelections!==!1&&i.push(Zt.allowMultipleSelections.of(!0)),e.indentOnInput!==!1&&i.push(plt()),e.syntaxHighlighting!==!1&&i.push(Bfe(Alt,{fallback:!0})),e.bracketMatching!==!1&&i.push(Flt()),e.closeBrackets!==!1&&i.push(dft()),e.autocompletion!==!1&&i.push(Sft()),e.rectangularSelection!==!1&&i.push(gst()),n!==!1&&i.push(xst()),e.highlightActiveLine!==!1&&i.push(lst()),e.highlightSelectionMatches!==!1&&i.push(aut()),e.tabSize&&typeof e.tabSize=="number"&&i.push(Z1.of(" ".repeat(e.tabSize))),i.concat([Y1.of(r.flat())]).filter(Boolean)};const Fft="#e5c07b",D7="#e06c75",jft="#56b6c2",Bft="#ffffff",_C="#abb2bf",g3="#7d8799",zft="#61afef",Uft="#98c379",L7="#d19a66",Wft="#c678dd",Vft="#21252b",$7="#2c313a",N7="#282c34",SR="#353a42",Gft="#3E4451",F7="#528bff",Hft=rt.theme({"&":{color:_C,backgroundColor:N7},".cm-content":{caretColor:F7},".cm-cursor, .cm-dropCursor":{borderLeftColor:F7},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:Gft},".cm-panels":{backgroundColor:Vft,color:_C},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:N7,color:g3,border:"none"},".cm-activeLineGutter":{backgroundColor:$7},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:SR},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:SR,borderBottomColor:SR},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:$7,color:_C}}},{dark:!0}),qft=ew.define([{tag:Ce.keyword,color:Wft},{tag:[Ce.name,Ce.deleted,Ce.character,Ce.propertyName,Ce.macroName],color:D7},{tag:[Ce.function(Ce.variableName),Ce.labelName],color:zft},{tag:[Ce.color,Ce.constant(Ce.name),Ce.standard(Ce.name)],color:L7},{tag:[Ce.definition(Ce.name),Ce.separator],color:_C},{tag:[Ce.typeName,Ce.className,Ce.number,Ce.changed,Ce.annotation,Ce.modifier,Ce.self,Ce.namespace],color:Fft},{tag:[Ce.operator,Ce.operatorKeyword,Ce.url,Ce.escape,Ce.regexp,Ce.link,Ce.special(Ce.string)],color:jft},{tag:[Ce.meta,Ce.comment],color:g3},{tag:Ce.strong,fontWeight:"bold"},{tag:Ce.emphasis,fontStyle:"italic"},{tag:Ce.strikethrough,textDecoration:"line-through"},{tag:Ce.link,color:g3,textDecoration:"underline"},{tag:Ce.heading,fontWeight:"bold",color:D7},{tag:[Ce.atom,Ce.bool,Ce.special(Ce.variableName)],color:L7},{tag:[Ce.processingInstruction,Ce.string,Ce.inserted],color:Uft},{tag:Ce.invalid,color:Bft}]),Xft=[Hft,Bfe(qft)];var Qft=rt.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),Yft=function(e){e===void 0&&(e={});var{indentWithTab:n=!0,editable:r=!0,readOnly:i=!1,theme:o="light",placeholder:a="",basicSetup:s=!0}=e,l=[];switch(n&&l.unshift(Y1.of([tut])),s&&(typeof s=="boolean"?l.unshift(I7()):l.unshift(I7(s))),a&&l.unshift(dst(a)),o){case"light":l.push(Qft);break;case"dark":l.push(Xft);break;case"none":break;default:l.push(o);break}return r===!1&&l.push(rt.editable.of(!1)),i&&l.push(Zt.readOnly.of(!0)),[...l]},Kft=t=>({line:t.state.doc.lineAt(t.state.selection.main.from),lineCount:t.state.doc.lines,lineBreak:t.state.lineBreak,length:t.state.doc.length,readOnly:t.state.readOnly,tabSize:t.state.tabSize,selection:t.state.selection,selectionAsSingle:t.state.selection.asSingle().main,ranges:t.state.selection.ranges,selectionCode:t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to),selections:t.state.selection.ranges.map(e=>t.state.sliceDoc(e.from,e.to)),selectedText:t.state.selection.ranges.some(e=>!e.empty)}),j7=Zl.define(),Zft=[];function Jft(t){var{value:e,selection:n,onChange:r,onStatistics:i,onCreateEditor:o,onUpdate:a,extensions:s=Zft,autoFocus:l,theme:c="light",height:u=null,minHeight:f=null,maxHeight:d=null,width:h=null,minWidth:p=null,maxWidth:m=null,placeholder:g="",editable:v=!0,readOnly:y=!1,indentWithTab:x=!0,basicSetup:b=!0,root:_,initialState:S}=t,[O,C]=k.useState(),[E,M]=k.useState(),[I,P]=k.useState(),R=rt.theme({"&":{height:u,minHeight:f,maxHeight:d,width:h,minWidth:p,maxWidth:m},"& .cm-scroller":{height:"100% !important"}}),T=rt.updateListener.of(B=>{if(B.docChanged&&typeof r=="function"&&!B.transactions.some($=>$.annotation(j7))){var W=B.state.doc,z=W.toString();r(z,B)}i&&i(Kft(B))}),D=Yft({theme:c,editable:v,readOnly:y,placeholder:g,indentWithTab:x,basicSetup:b}),U=[T,R,...D];return a&&typeof a=="function"&&U.push(rt.updateListener.of(a)),U=U.concat(s),k.useEffect(()=>{if(O&&!I){var B={doc:e,selection:n,extensions:U},W=S?Zt.fromJSON(S.json,B,S.fields):Zt.create(B);if(P(W),!E){var z=new rt({state:W,parent:O,root:_});M(z),o&&o(z,W)}}return()=>{E&&(P(void 0),M(void 0))}},[O,I]),k.useEffect(()=>C(t.container),[t.container]),k.useEffect(()=>()=>{E&&(E.destroy(),M(void 0))},[E]),k.useEffect(()=>{l&&E&&E.focus()},[l,E]),k.useEffect(()=>{E&&E.dispatch({effects:Rt.reconfigure.of(U)})},[c,s,u,f,d,h,p,m,g,v,y,x,b,r,a]),k.useEffect(()=>{if(e!==void 0){var B=E?E.state.doc.toString():"";E&&e!==B&&E.dispatch({changes:{from:0,to:B.length,insert:e||""},annotations:[j7.of(!0)]})}},[e,E]),{state:I,setState:P,view:E,setView:M,container:O,setContainer:C}}var edt=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],m2=k.forwardRef((t,e)=>{var{className:n,value:r="",selection:i,extensions:o=[],onChange:a,onStatistics:s,onCreateEditor:l,onUpdate:c,autoFocus:u,theme:f="light",height:d,minHeight:h,maxHeight:p,width:m,minWidth:g,maxWidth:v,basicSetup:y,placeholder:x,indentWithTab:b,editable:_,readOnly:S,root:O,initialState:C}=t,E=Ae(t,edt),M=k.useRef(null),{state:I,view:P,container:R}=Jft({container:M.current,root:O,value:r,autoFocus:u,theme:f,height:d,minHeight:h,maxHeight:p,width:m,minWidth:g,maxWidth:v,basicSetup:y,placeholder:x,indentWithTab:b,editable:_,readOnly:S,selection:i,onChange:a,onStatistics:s,onCreateEditor:l,onUpdate:c,extensions:o,initialState:C});if(k.useImperativeHandle(e,()=>({editor:M.current,state:I,view:P}),[M,R,I,P]),typeof r!="string")throw new Error("value must be typeof string but got "+typeof r);var T=typeof f=="string"?"cm-theme-"+f:"cm-theme";return w.jsx("div",j({ref:M,className:""+T+(n?" "+n:"")},E))});m2.displayName="CodeMirror";var B7={};let tdt=class v3{constructor(e,n,r,i,o,a,s,l,c,u=0,f){this.p=e,this.stack=n,this.state=r,this.reducePos=i,this.pos=o,this.score=a,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,r=0){let i=e.parser.context;return new v3(e,[],n,r,r,0,[],0,i?new z7(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var n;let r=e>>19,i=e&65535,{parser:o}=this.p,a=o.dynamicPrecedence(i);if(a&&(this.score+=a),r==0){this.pushState(o.getGoto(this.state,i,!0),this.reducePos),i=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizes;)this.stack.pop();this.reduceContext(i,l)}storeNode(e,n,r,i=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[s-4]==0&&a.buffer[s-1]>-1){if(n==r)return;if(a.buffer[s-2]>=n){a.buffer[s-2]=r;return}}}if(!o||this.pos==r)this.buffer.push(e,n,r,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4);this.buffer[a]=e,this.buffer[a+1]=n,this.buffer[a+2]=r,this.buffer[a+3]=i}}shift(e,n,r,i){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let o=e,{parser:a}=this.p;(i>this.pos||n<=a.maxNode)&&(this.pos=i,a.stateFlag(o,1)||(this.reducePos=i)),this.pushState(o,r),this.shiftContext(n,r),n<=a.maxNode&&this.buffer.push(n,r,i,4)}}apply(e,n,r,i){e&65536?this.reduce(e):this.shift(e,n,r,i)}useNode(e,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let r=e.buffer.slice(n),i=e.bufferBase+n;for(;e&&i==e.bufferBase;)e=e.parent;return new v3(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new ndt(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let o=0,a;ol&1&&s==a)||i.push(n[o],a)}n=i}let r=[];for(let i=0;i>19,i=n&65535,o=this.stack.length-r*3;if(o<0||e.getGoto(this.stack[o],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;n=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:e}=this.p,n=[],r=(i,o)=>{if(!n.includes(i))return n.push(i),e.allActions(i,a=>{if(!(a&393216))if(a&65536){let s=(a>>19)-o;if(s>1){let l=a&65535,c=this.stack.length-s*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=r(a,o+1);if(s!=null)return s}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class z7{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}}class ndt{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}}class uE{constructor(e,n,r){this.stack=e,this.pos=n,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new uE(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new uE(this.stack,this.pos,this.index)}}function GS(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let r=0,i=0;r=92&&a--,a>=34&&a--;let l=a-32;if(l>=46&&(l-=46,s=!0),o+=l,s)break;o*=46}n?n[i++]=o:n=new e(o)}return n}class wC{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const U7=new wC;class rdt{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=U7,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let r=this.range,i=this.rangeIndex,o=this.pos+e;for(;or.to:o>=r.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];o+=a.from-r.to,r=a}return o}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,n.from);return this.end}peek(e){let n=this.chunkOff+e,r,i;if(n>=0&&n=this.chunk2Pos&&rs.to&&(this.chunk2=this.chunk2.slice(0,s.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(e,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=U7,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>e&&(r+=this.input.read(Math.max(i.from,e),Math.min(i.to,n)))}return r}}class bg{constructor(e,n){this.data=e,this.id=n}token(e,n){let{parser:r}=n.p;idt(this.data,e,n,this.id,r.data,r.tokenPrecTable)}}bg.prototype.contextual=bg.prototype.fallback=bg.prototype.extend=!1;bg.prototype.fallback=bg.prototype.extend=!1;class g2{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function idt(t,e,n,r,i,o){let a=0,s=1<0){let p=t[h];if(l.allows(p)&&(e.token.value==-1||e.token.value==p||odt(p,e.token.value,i,o))){e.acceptToken(p);break}}let u=e.next,f=0,d=t[a+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){a=t[c+d*3-1];continue e}for(;f>1,p=c+h+(h<<1),m=t[p],g=t[p+1]||65536;if(u=g)f=h+1;else{a=t[p+2],e.advance();continue e}}break}}function W7(t,e,n){for(let r=e,i;(i=t[r])!=65535;r++)if(i==n)return r-e;return-1}function odt(t,e,n,r){let i=W7(n,r,e);return i<0||W7(n,r,t)e)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:t.length}}class adt{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?V7(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?V7(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=a,null;if(o instanceof jr){if(a==e){if(a=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(a),this.index.push(0))}else this.index[n]++,this.nextStart=a+o.length}}}class sdt{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new wC)}getActions(e){let n=0,r=null,{parser:i}=e.p,{tokenizers:o}=i,a=i.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,l=0;for(let c=0;cf.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=n;if(f.extended>-1&&(n=this.addActions(e,f.extended,f.end,n)),n=this.addActions(e,f.value,f.end,n),!u.extend&&(r=f,n>d))break}}for(;this.actions.length>n;)this.actions.pop();return l&&e.setLookAhead(l),!r&&e.pos==this.stream.end&&(r=new wC,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,n=this.addActions(e,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new wC,{pos:r,p:i}=e;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(e,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,e),r),e.value>-1){let{parser:o}=r.p;for(let a=0;a=0&&r.p.parser.dialect.allows(s>>1)){s&1?e.extended=s>>1:e.value=s>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,n,r,i){for(let o=0;oe.bufferLength*4?new adt(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,r=this.stacks=[],i,o;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;an)r.push(s);else{if(this.advanceStack(s,r,e))continue;{i||(i=[],o=[]),i.push(s);let l=this.tokens.getMainToken(s);o.push(l.value,l.end)}}break}}if(!r.length){let a=i&&fdt(i);if(a)return Xo&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Xo&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,o,r);if(a)return Xo&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(r.length>a)for(r.sort((s,l)=>l.score-s.score);r.length>a;)r.pop();r.some(s=>s.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let a=0;a500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(a--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!c||(f.prop(Vt.contextHash)||0)==u))return e.useNode(f,d),Xo&&console.log(a+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof jr)||f.children.length==0||f.positions[0]>0)break;let h=f.children[0];if(h instanceof jr&&f.positions[0]==0)f=h;else break}}let s=o.stateSlot(e.state,4);if(s>0)return e.reduce(s),Xo&&console.log(a+this.stackID(e)+` (via always-reduce ${o.getName(s&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;ci?n.push(p):r.push(p)}return!1}advanceFully(e,n){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return G7(e,n),!0}}runRecovery(e,n,r){let i=null,o=!1;for(let a=0;a ":"";if(s.deadEnd&&(o||(o=!0,s.restart(),Xo&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,r))))continue;let f=s.split(),d=u;for(let h=0;f.forceReduce()&&h<10&&(Xo&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));h++)Xo&&(d=this.stackID(f)+" -> ");for(let h of s.recoverByInsert(l))Xo&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,r);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),Xo&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),G7(s,r)):(!i||i.scoret;class udt{constructor(e){this.start=e.start,this.shift=e.shift||CR,this.reduce=e.reduce||CR,this.reuse=e.reuse||CR,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Gb extends Cfe{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let s=0;se.topRules[s][1]),i=[];for(let s=0;s=0)o(u,l,s[c++]);else{let f=s[c+-u];for(let d=-u;d>0;d--)o(s[c++],l,f);c++}}}this.nodeSet=new Nz(n.map((s,l)=>Uo.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:i[l],top:r.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=_fe;let a=GS(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;stypeof s=="number"?new bg(a,s):s),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,r){let i=new ldt(this,e,n,r);for(let o of this.wrappers)i=o(i,e,n,r);return i}getGoto(e,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let o=i[n+1];;){let a=i[o++],s=a&1,l=i[o++];if(s&&r)return l;for(let c=o+(a>>1);o0}validAction(e,n){return!!this.allActions(e,r=>r==n?!0:null)}allActions(e,n){let r=this.stateSlot(e,4),i=r?n(r):void 0;for(let o=this.stateSlot(e,1);i==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=Tc(this.data,o+2);else break;i=n(Tc(this.data,o+1))}return i}nextStates(e){let n=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Tc(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((o,a)=>a&1&&o==i)||n.push(this.data[r],i)}}return n}configure(e){let n=Object.assign(Object.create(Gb.prototype),this);if(e.props&&(n.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);n.top=r}return e.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=e.tokenizers.find(o=>o.from==r);return i?i.to:r})),e.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let o=e.specializers.find(s=>s.from==r.external);if(!o)return r;let a=Object.assign(Object.assign({},r),{external:o.to});return n.specializers[i]=H7(a),a})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(e)for(let o of e.split(" ")){let a=n.indexOf(o);a>=0&&(r[a]=!0)}let i=null;for(let o=0;or)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.scoret.external(n,r)<<1|e}return t.get}const ddt=zz({String:Ce.string,Number:Ce.number,"True False":Ce.bool,PropertyName:Ce.propertyName,Null:Ce.null,",":Ce.separator,"[ ]":Ce.squareBracket,"{ }":Ce.brace}),hdt=Gb.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[ddt],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),pdt=jb.define({name:"json",parser:hdt.configure({props:[Wz.add({Object:a7({except:/^\s*\}/}),Array:a7({except:/^\s*\]/})}),Gz.add({"Object Array":Rfe})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function Kde(){return new Mfe(pdt)}const mdt=1,Zde=194,Jde=195,gdt=196,q7=197,vdt=198,ydt=199,xdt=200,bdt=2,ehe=3,X7=201,_dt=24,wdt=25,Sdt=49,Odt=50,Cdt=55,Tdt=56,Edt=57,Pdt=59,Mdt=60,kdt=61,Adt=62,Rdt=63,Idt=65,Ddt=238,Ldt=71,$dt=241,Ndt=242,Fdt=243,jdt=244,Bdt=245,zdt=246,Udt=247,Wdt=248,the=72,Vdt=249,Gdt=250,Hdt=251,qdt=252,Xdt=253,Qdt=254,Ydt=255,Kdt=256,Zdt=73,Jdt=77,eht=264,tht=112,nht=130,rht=151,iht=152,oht=155,Xh=10,Hb=13,a4=32,v2=9,s4=35,aht=40,sht=46,y3=123,Q7=125,nhe=39,rhe=34,lht=92,cht=111,uht=120,fht=78,dht=117,hht=85,pht=new Set([wdt,Sdt,Odt,eht,Idt,nht,Tdt,Edt,Ddt,Adt,Rdt,the,Zdt,Jdt,Mdt,kdt,rht,iht,oht,tht]);function TR(t){return t==Xh||t==Hb}function ER(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}const mht=new g2((t,e)=>{let n;if(t.next<0)t.acceptToken(ydt);else if(e.context.flags&SC)TR(t.next)&&t.acceptToken(vdt,1);else if(((n=t.peek(-1))<0||TR(n))&&e.canShift(q7)){let r=0;for(;t.next==a4||t.next==v2;)t.advance(),r++;(t.next==Xh||t.next==Hb||t.next==s4)&&t.acceptToken(q7,-r)}else TR(t.next)&&t.acceptToken(gdt,1)},{contextual:!0}),ght=new g2((t,e)=>{let n=e.context;if(n.flags)return;let r=t.peek(-1);if(r==Xh||r==Hb){let i=0,o=0;for(;;){if(t.next==a4)i++;else if(t.next==v2)i+=8-i%8;else break;t.advance(),o++}i!=n.indent&&t.next!=Xh&&t.next!=Hb&&t.next!=s4&&(i[t,e|ihe])),xht=new udt({start:vht,reduce(t,e,n,r){return t.flags&SC&&pht.has(e)||(e==Ldt||e==the)&&t.flags&ihe?t.parent:t},shift(t,e,n,r){return e==Zde?new OC(t,yht(r.read(r.pos,n.pos)),0):e==Jde?t.parent:e==_dt||e==Cdt||e==Pdt||e==ehe?new OC(t,0,SC):Y7.has(e)?new OC(t,0,Y7.get(e)|t.flags&SC):t},hash(t){return t.hash}}),bht=new g2(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let n=t.peek(e);if(!(n==a4||n==v2)){n!=aht&&n!=sht&&n!=Xh&&n!=Hb&&n!=s4&&t.acceptToken(mdt);return}}}),_ht=new g2((t,e)=>{let{flags:n}=e.context,r=n&gc?rhe:nhe,i=(n&vc)>0,o=!(n&yc),a=(n&xc)>0,s=t.pos;for(;!(t.next<0);)if(a&&t.next==y3)if(t.peek(1)==y3)t.advance(2);else{if(t.pos==s){t.acceptToken(ehe,1);return}break}else if(o&&t.next==lht){if(t.pos==s){t.advance();let l=t.next;l>=0&&(t.advance(),wht(t,l)),t.acceptToken(bdt);return}break}else if(t.next==r&&(!i||t.peek(1)==r&&t.peek(2)==r)){if(t.pos==s){t.acceptToken(X7,i?3:1);return}break}else if(t.next==Xh){if(i)t.advance();else if(t.pos==s){t.acceptToken(X7);return}break}else t.advance();t.pos>s&&t.acceptToken(xdt)});function wht(t,e){if(e==cht)for(let n=0;n<2&&t.next>=48&&t.next<=55;n++)t.advance();else if(e==uht)for(let n=0;n<2&&ER(t.next);n++)t.advance();else if(e==dht)for(let n=0;n<4&&ER(t.next);n++)t.advance();else if(e==hht)for(let n=0;n<8&&ER(t.next);n++)t.advance();else if(e==fht&&t.next==y3){for(t.advance();t.next>=0&&t.next!=Q7&&t.next!=nhe&&t.next!=rhe&&t.next!=Xh;)t.advance();t.next==Q7&&t.advance()}}const Sht=zz({'async "*" "**" FormatConversion FormatSpec':Ce.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":Ce.controlKeyword,"in not and or is del":Ce.operatorKeyword,"from def class global nonlocal lambda":Ce.definitionKeyword,import:Ce.moduleKeyword,"with as print":Ce.keyword,Boolean:Ce.bool,None:Ce.null,VariableName:Ce.variableName,"CallExpression/VariableName":Ce.function(Ce.variableName),"FunctionDefinition/VariableName":Ce.function(Ce.definition(Ce.variableName)),"ClassDefinition/VariableName":Ce.definition(Ce.className),PropertyName:Ce.propertyName,"CallExpression/MemberExpression/PropertyName":Ce.function(Ce.propertyName),Comment:Ce.lineComment,Number:Ce.number,String:Ce.string,FormatString:Ce.special(Ce.string),Escape:Ce.escape,UpdateOp:Ce.updateOperator,"ArithOp!":Ce.arithmeticOperator,BitOp:Ce.bitwiseOperator,CompareOp:Ce.compareOperator,AssignOp:Ce.definitionOperator,Ellipsis:Ce.punctuation,At:Ce.meta,"( )":Ce.paren,"[ ]":Ce.squareBracket,"{ }":Ce.brace,".":Ce.derefOperator,", ;":Ce.separator}),Oht={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},Cht=Gb.deserialize({version:14,states:"##pO`Qe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Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[bht,ght,mht,_ht,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:t=>Oht[t]||-1}],tokenPrec:7646}),K7=new Hst,ohe=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function HS(t){return(e,n,r)=>{if(r)return!1;let i=e.node.getChild("VariableName");return i&&n(i,t),!0}}const Tht={FunctionDefinition:HS("function"),ClassDefinition:HS("class"),ForStatement(t,e,n){if(n){for(let r=t.node.firstChild;r;r=r.nextSibling)if(r.name=="VariableName")e(r,"variable");else if(r.name=="in")break}},ImportStatement(t,e){var n,r;let{node:i}=t,o=((n=i.firstChild)===null||n===void 0?void 0:n.name)=="from";for(let a=i.getChild("import");a;a=a.nextSibling)a.name=="VariableName"&&((r=a.nextSibling)===null||r===void 0?void 0:r.name)!="as"&&e(a,o?"variable":"namespace")},AssignStatement(t,e){for(let n=t.node.firstChild;n;n=n.nextSibling)if(n.name=="VariableName")e(n,"variable");else if(n.name==":"||n.name=="AssignOp")break},ParamList(t,e){for(let n=null,r=t.node.firstChild;r;r=r.nextSibling)r.name=="VariableName"&&(!n||!/\*|AssignOp/.test(n.name))&&e(r,"variable"),n=r},CapturePattern:HS("variable"),AsPattern:HS("variable"),__proto__:null};function ahe(t,e){let n=K7.get(e);if(n)return n;let r=[],i=!0;function o(a,s){let l=t.sliceString(a.from,a.to);r.push({label:l,type:s})}return e.cursor(Qr.IncludeAnonymous).iterate(a=>{if(a.name){let s=Tht[a.name];if(s&&s(a,o,i)||!i&&ohe.has(a.name))return!1;i=!1}else if(a.to-a.from>8192){for(let s of ahe(t,a.node))r.push(s);return!1}}),K7.set(e,r),r}const Z7=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,she=["String","FormatString","Comment","PropertyName"];function Eht(t){let e=ci(t.state).resolveInner(t.pos,-1);if(she.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&Z7.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let r=[];for(let i=e;i;i=i.parent)ohe.has(i.name)&&(r=r.concat(ahe(t.state.doc,i)));return{options:r,from:n?e.from:t.pos,validFor:Z7}}const Pht=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(t=>({label:t,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(t=>({label:t,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(t=>({label:t,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(t=>({label:t,type:"function"}))),Mht=[sc("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),sc("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),sc("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),sc("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),sc(`if \${}: - -`,{label:"if",detail:"block",type:"keyword"}),sc("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),sc("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),sc("import ${module}",{label:"import",detail:"statement",type:"keyword"}),sc("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],kht=kut(she,Dde(Pht.concat(Mht)));function J7(t,e){let n=t.baseIndentFor(e),r=t.lineAt(t.pos,-1),i=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&t.node.ton?null:n+t.unit}const PR=jb.define({name:"python",parser:Cht.configure({props:[Wz.add({Body:t=>{var e;return(e=J7(t,t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),"ForStatement WhileStatement":t=>/^\s*else:/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:|else:)/.test(t.textAfter)?t.baseIndent:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":pR({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":pR({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":pR({closing:"]"}),"String FormatString":()=>null,Script:t=>{if(t.pos+/\s*/.exec(t.textAfter)[0].length>=t.node.to){let e=null;for(let n=t.node,r=n.to;n=n.lastChild,!(!n||n.to!=r);)n.type.name=="Body"&&(e=n);if(e){let n=J7(t,e);if(n!=null)return n}}return t.continue()}}),Gz.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":Rfe,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function lhe(){return new Mfe(PR,[PR.data.of({autocomplete:Eht}),PR.data.of({autocomplete:kht})])}const Aht=""+new URL("python-bw-BV0FRHt1.png",import.meta.url).href,ev={card:t=>({maxWidth:"100%",marginBottom:t.spacing(1),marginRight:t.spacing(1)}),info:t=>({marginRight:t.spacing(1)}),close:{marginLeft:"auto"},table:{},keyValueTableContainer:t=>({background:t.palette.divider}),variableHtmlReprContainer:t=>({background:t.palette.divider,padding:t.spacing(1),marginTop:t.spacing(1),marginBottom:t.spacing(1)}),media:{height:200},cardContent:{padding:"8px"},code:{fontFamily:"Monospace"}},Rht=({visibleInfoCardElements:t,setVisibleInfoCardElements:e,infoCardElementViewModes:n,updateInfoCardElementViewMode:r,selectedDataset:i,selectedVariable:o,selectedPlaceInfo:a,selectedTime:s,serverConfig:l,allowViewModePython:c})=>{const u=(p,m)=>{e(m)};let f,d,h;if(i){const p="dataset",m=n[p],g=y=>r(p,y),v=t.includes(p);f=w.jsx(Iht,{isIn:v,viewMode:m,setViewMode:g,dataset:i,serverConfig:l,hasPython:c})}if(i&&o){const p="variable",m=n[p],g=y=>r(p,y),v=t.includes(p);d=w.jsx(Dht,{isIn:v,viewMode:m,setViewMode:g,variable:o,time:s,serverConfig:l,hasPython:c})}if(a){const p="place",m=n[p],g=y=>r(p,y),v=t.includes(p);h=w.jsx(Lht,{isIn:v,viewMode:m,setViewMode:g,placeInfo:a})}return w.jsxs(kne,{sx:ev.card,children:[w.jsx(Ane,{disableSpacing:!0,children:w.jsxs(fp,{size:"small",value:t,onChange:u,children:[w.jsx(fn,{value:"dataset",disabled:i===null,size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Dataset information"),children:w.jsx(qce,{})})},0),w.jsx(fn,{value:"variable",disabled:o===null,size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Variable information"),children:w.jsx(sz,{})})},1),w.jsx(fn,{value:"place",disabled:a===null,size:"small",sx:lo.toggleButton,children:w.jsx(Ct,{arrow:!0,title:pe.get("Place information"),children:w.jsx(Gce,{})})},2)]},0)}),f,d,h]})},Iht=({isIn:t,viewMode:e,setViewMode:n,dataset:r,serverConfig:i,hasPython:o})=>{let a;if(e==="code"){const s=r.dimensions.map(c=>x3(c,["name","size","dtype"])),l=x3(r,["id","title","bbox","attrs"]);l.dimensions=s,a=w.jsx(c4,{code:JSON.stringify(l,null,2)})}else if(e==="list")a=w.jsx(Gc,{children:w.jsx(qb,{data:Object.getOwnPropertyNames(r.attrs||{}).map(s=>[s,r.attrs[s]])})});else if(e==="text"){const s=[[pe.get("Dimension names"),r.dimensions.map(l=>l.name).join(", ")],[pe.get("Dimension data types"),r.dimensions.map(l=>l.dtype).join(", ")],[pe.get("Dimension lengths"),r.dimensions.map(l=>l.size).join(", ")],[pe.get("Geographical extent")+" (x1, y1, x2, y2)",r.bbox.map(l=>l+"").join(", ")],[pe.get("Spatial reference system"),r.spatialRef]];a=w.jsx(Gc,{children:w.jsx(qb,{data:s})})}else e==="python"&&(a=w.jsx(uhe,{code:$ht(i,r)}));return w.jsx(l4,{title:r.title||"?",subheader:r.title&&`ID: ${r.id}`,isIn:t,viewMode:e,setViewMode:n,hasPython:o,children:a})},Dht=({isIn:t,viewMode:e,setViewMode:n,variable:r,time:i,serverConfig:o,hasPython:a})=>{let s,l;if(e==="code"){const c=x3(r,["id","name","title","units","expression","shape","dtype","shape","timeChunkSize","colorBarMin","colorBarMax","colorBarName","attrs"]);s=w.jsx(c4,{code:JSON.stringify(c,null,2)})}else if(e==="list"){if(s=w.jsx(Gc,{children:w.jsx(qb,{data:Object.getOwnPropertyNames(r.attrs||{}).map(c=>[c,r.attrs[c]])})}),r.htmlRepr){const c=u=>{u&&r.htmlRepr&&(u.innerHTML=r.htmlRepr)};l=w.jsx(Gc,{children:w.jsx(Di,{ref:c,sx:ev.variableHtmlReprContainer})})}}else if(e==="text"){let c=[[pe.get("Name"),r.name],[pe.get("Title"),r.title],[pe.get("Units"),r.units]];kM(r)?c.push([pe.get("Expression"),r.expression]):c=[...c,[pe.get("Data type"),r.dtype],[pe.get("Dimension names"),r.dims.join(", ")],[pe.get("Dimension lengths"),r.shape.map(u=>u+"").join(", ")],[pe.get("Time chunk size"),r.timeChunkSize]],s=w.jsx(Gc,{children:w.jsx(qb,{data:c})})}else e==="python"&&(s=w.jsx(uhe,{code:Nht(o,r,i)}));return w.jsxs(l4,{title:r.title||r.name,subheader:`${pe.get("Name")}: ${r.name}`,isIn:t,viewMode:e,setViewMode:n,hasPython:a,children:[l,s]})},Lht=({isIn:t,viewMode:e,setViewMode:n,placeInfo:r})=>{const i=r.place;let o,a,s;if(e==="code")o=w.jsx(c4,{code:JSON.stringify(i,null,2)});else if(e==="list")if(i.properties){const l=Object.getOwnPropertyNames(i.properties).map(c=>[c,i.properties[c]]);o=w.jsx(Gc,{children:w.jsx(qb,{data:l})})}else o=w.jsx(Gc,{children:w.jsx(zt,{children:pe.get("There is no information available for this location.")})});else r.image&&r.image.startsWith("http")&&(a=w.jsx(XPe,{sx:ev.media,image:r.image,title:r.label})),r.description&&(s=w.jsx(Gc,{children:w.jsx(zt,{children:r.description})}));return w.jsxs(l4,{title:r.label,subheader:`${pe.get("Geometry type")}: ${pe.get(i.geometry.type)}`,isIn:t,viewMode:e,setViewMode:n,children:[a,s,o]})},l4=({isIn:t,title:e,subheader:n,viewMode:r,setViewMode:i,hasPython:o,children:a})=>{const s=(l,c)=>{i(c)};return w.jsxs(ane,{in:t,timeout:"auto",unmountOnExit:!0,children:[w.jsx(BPe,{title:e,subheader:n,titleTypographyProps:{fontSize:"1.1em"},action:w.jsxs(fp,{size:"small",value:r,exclusive:!0,onChange:s,children:[w.jsx(fn,{value:"text",size:"small",sx:lo.toggleButton,children:w.jsx(Hce,{})},0),w.jsx(fn,{value:"list",size:"small",sx:lo.toggleButton,children:w.jsx(Vce,{})},1),w.jsx(fn,{value:"code",size:"small",sx:lo.toggleButton,children:w.jsx(Wce,{})},2),o&&w.jsx(fn,{value:"python",size:"small",sx:{...lo.toggleButton,width:"30px"},children:w.jsx("img",{src:Aht,width:16,alt:"python logo"})},3)]},0)}),a]})},qb=({data:t})=>w.jsx(Uj,{component:Di,sx:ev.keyValueTableContainer,children:w.jsx(Bj,{sx:ev.table,size:"small",children:w.jsx(zj,{children:t.map((e,n)=>{const[r,i]=e;let o=i;return typeof i=="string"&&(i.startsWith("http://")||i.startsWith("https://"))?o=w.jsx(Qke,{href:i,target:"_blank",rel:"noreferrer",children:i}):Array.isArray(i)&&(o="["+i.map(a=>a+"").join(", ")+"]"),w.jsxs(al,{children:[w.jsx(or,{children:r}),w.jsx(or,{align:"right",children:o})]},n)})})})}),Gc=({children:t})=>w.jsx(Rne,{sx:ev.cardContent,children:t}),che=({code:t,extension:e})=>w.jsx(Gc,{children:w.jsx(m2,{theme:Wt.instance.branding.themeName||"light",height:"320px",extensions:[e],value:t,readOnly:!0})}),c4=({code:t})=>w.jsx(che,{code:t,extension:Kde()}),uhe=({code:t})=>w.jsx(che,{code:t,extension:lhe()});function x3(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function $ht(t,e){const n=Fht(e.id);return["from xcube.core.store import new_data_store","","store = new_data_store(",' "s3",',' root="datasets", # can also use "pyramids" here'," storage_options={",' "anon": True,',' "client_kwargs": {',` "endpoint_url": "${t.url}/s3"`," }"," }",")","# store.list_data_ids()",`dataset = store.open_data(data_id="${n}")`].join(` -`)}function Nht(t,e,n){const r=e.name,i=e.colorBarMin,o=e.colorBarMax,a=e.colorBarName;let s="";n!==null&&(s=`sel(time="${Xv(n)}", method="nearest")`);const l=[];if(kM(e)){const c=e.expression;l.push("from xcube.util.expression import compute_array_expr"),l.push("from xcube.util.expression import new_dataset_namespace"),l.push(""),l.push("namespace = new_dataset_namespace(dataset)"),l.push(`${r} = compute_array_expr("${c}", namespace`),s&&l.push(`${r} = ${r}.${s}`)}else s?l.push(`${r} = dataset.${r}.${s}`):l.push(`${r} = dataset.${r}`);return l.push(`${r}.plot.imshow(vmin=${i}, vmax=${o}, cmap="${a}")`),l.join(` -`)}function Fht(t){return jht(t)[0]+".zarr"}function jht(t){const e=t.lastIndexOf(".");return e>=0?[t.substring(0,e),t.substring(e)]:[t,""]}const Bht=t=>({locale:t.controlState.locale,visibleInfoCardElements:wGe(t),infoCardElementViewModes:SGe(t),selectedDataset:ei(t),selectedVariable:ds(t),selectedPlaceInfo:GM(t),selectedTime:I1(t),serverConfig:yo(t),allowViewModePython:!!Wt.instance.branding.allowViewModePython}),zht={setVisibleInfoCardElements:PHe,updateInfoCardElementViewMode:MHe},Uht=sn(Bht,zht)(Rht),MR=5,Wht={container:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(MR),marginRight:t.spacing(MR),width:`calc(100% - ${t.spacing(3*(MR+1))})`,height:"5em",display:"flex",alignItems:"flex-end"})};function Vht({dataTimeRange:t,selectedTimeRange:e,selectTimeRange:n}){const[r,i]=k.useState(e);k.useEffect(()=>{i(e)},[e]);const o=(u,f)=>{Array.isArray(f)&&i([f[0],f[1]])},a=(u,f)=>{n&&Array.isArray(f)&&n([f[0],f[1]])};function s(u){return Xv(u)}const l=Array.isArray(t);l||(t=[Date.now()-2*Poe.years,Date.now()]);const c=[{value:t[0],label:Ob(t[0])},{value:t[1],label:Ob(t[1])}];return w.jsx(tt,{sx:Wht.container,children:w.jsx(d1,{disabled:!l,min:t[0],max:t[1],value:r,marks:c,onChange:o,onChangeCommitted:a,size:"small",valueLabelDisplay:"on",valueLabelFormat:s})})}var Ght=Array.isArray,Vo=Ght,Hht=typeof Yn=="object"&&Yn&&Yn.Object===Object&&Yn,fhe=Hht,qht=fhe,Xht=typeof self=="object"&&self&&self.Object===Object&&self,Qht=qht||Xht||Function("return this")(),nc=Qht,Yht=nc,Kht=Yht.Symbol,iw=Kht,eq=iw,dhe=Object.prototype,Zht=dhe.hasOwnProperty,Jht=dhe.toString,d0=eq?eq.toStringTag:void 0;function ept(t){var e=Zht.call(t,d0),n=t[d0];try{t[d0]=void 0;var r=!0}catch{}var i=Jht.call(t);return r&&(e?t[d0]=n:delete t[d0]),i}var tpt=ept,npt=Object.prototype,rpt=npt.toString;function ipt(t){return rpt.call(t)}var opt=ipt,tq=iw,apt=tpt,spt=opt,lpt="[object Null]",cpt="[object Undefined]",nq=tq?tq.toStringTag:void 0;function upt(t){return t==null?t===void 0?cpt:lpt:nq&&nq in Object(t)?apt(t):spt(t)}var du=upt;function fpt(t){return t!=null&&typeof t=="object"}var hu=fpt,dpt=du,hpt=hu,ppt="[object Symbol]";function mpt(t){return typeof t=="symbol"||hpt(t)&&dpt(t)==ppt}var ly=mpt,gpt=Vo,vpt=ly,ypt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xpt=/^\w*$/;function bpt(t,e){if(gpt(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||vpt(t)?!0:xpt.test(t)||!ypt.test(t)||e!=null&&t in Object(e)}var u4=bpt;function _pt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var dd=_pt;const cy=$t(dd);var wpt=du,Spt=dd,Opt="[object AsyncFunction]",Cpt="[object Function]",Tpt="[object GeneratorFunction]",Ept="[object Proxy]";function Ppt(t){if(!Spt(t))return!1;var e=wpt(t);return e==Cpt||e==Tpt||e==Opt||e==Ept}var f4=Ppt;const Ft=$t(f4);var Mpt=nc,kpt=Mpt["__core-js_shared__"],Apt=kpt,kR=Apt,rq=function(){var t=/[^.]+$/.exec(kR&&kR.keys&&kR.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Rpt(t){return!!rq&&rq in t}var Ipt=Rpt,Dpt=Function.prototype,Lpt=Dpt.toString;function $pt(t){if(t!=null){try{return Lpt.call(t)}catch{}try{return t+""}catch{}}return""}var hhe=$pt,Npt=f4,Fpt=Ipt,jpt=dd,Bpt=hhe,zpt=/[\\^$.*+?()[\]{}|]/g,Upt=/^\[object .+?Constructor\]$/,Wpt=Function.prototype,Vpt=Object.prototype,Gpt=Wpt.toString,Hpt=Vpt.hasOwnProperty,qpt=RegExp("^"+Gpt.call(Hpt).replace(zpt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Xpt(t){if(!jpt(t)||Fpt(t))return!1;var e=Npt(t)?qpt:Upt;return e.test(Bpt(t))}var Qpt=Xpt;function Ypt(t,e){return t==null?void 0:t[e]}var Kpt=Ypt,Zpt=Qpt,Jpt=Kpt;function emt(t,e){var n=Jpt(t,e);return Zpt(n)?n:void 0}var Sp=emt,tmt=Sp,nmt=tmt(Object,"create"),y2=nmt,iq=y2;function rmt(){this.__data__=iq?iq(null):{},this.size=0}var imt=rmt;function omt(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var amt=omt,smt=y2,lmt="__lodash_hash_undefined__",cmt=Object.prototype,umt=cmt.hasOwnProperty;function fmt(t){var e=this.__data__;if(smt){var n=e[t];return n===lmt?void 0:n}return umt.call(e,t)?e[t]:void 0}var dmt=fmt,hmt=y2,pmt=Object.prototype,mmt=pmt.hasOwnProperty;function gmt(t){var e=this.__data__;return hmt?e[t]!==void 0:mmt.call(e,t)}var vmt=gmt,ymt=y2,xmt="__lodash_hash_undefined__";function bmt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ymt&&e===void 0?xmt:e,this}var _mt=bmt,wmt=imt,Smt=amt,Omt=dmt,Cmt=vmt,Tmt=_mt;function uy(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e-1}var Wmt=Umt,Vmt=x2;function Gmt(t,e){var n=this.__data__,r=Vmt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Hmt=Gmt,qmt=Mmt,Xmt=Nmt,Qmt=Bmt,Ymt=Wmt,Kmt=Hmt;function fy(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e0?1:-1},lh=function(e){return ow(e)&&e.indexOf("%")===e.length-1},Ye=function(e){return _vt(e)&&!hy(e)},Zr=function(e){return Ye(e)||ow(e)},Cvt=0,py=function(e){var n=++Cvt;return"".concat(e||"").concat(n)},tv=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Ye(e)&&!ow(e))return r;var o;if(lh(e)){var a=e.indexOf("%");o=n*parseFloat(e.slice(0,a))/100}else o=+e;return hy(o)&&(o=r),i&&o>n&&(o=n),o},nf=function(e){if(!e)return null;var n=Object.keys(e);return n&&n.length?e[n[0]]:null},Tvt=function(e){if(!Array.isArray(e))return!1;for(var n=e.length,r={},i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Rvt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function w3(t){"@babel/helpers - typeof";return w3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w3(t)}var fq={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Hc=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},dq=null,RR=null,w4=function t(e){if(e===dq&&Array.isArray(RR))return RR;var n=[];return k.Children.forEach(e,function(r){Xt(r)||(b3.isFragment(r)?n=n.concat(t(r.props.children)):n.push(r))}),RR=n,dq=e,n};function Ka(t,e){var n=[],r=[];return Array.isArray(e)?r=e.map(function(i){return Hc(i)}):r=[Hc(e)],w4(t).forEach(function(i){var o=Ya(i,"type.displayName")||Ya(i,"type.name");r.indexOf(o)!==-1&&n.push(i)}),n}function oa(t,e){var n=Ka(t,e);return n&&n[0]}var hq=function(e){if(!e||!e.props)return!1;var n=e.props,r=n.width,i=n.height;return!(!Ye(r)||r<=0||!Ye(i)||i<=0)},Ivt=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Dvt=function(e){return e&&e.type&&ow(e.type)&&Ivt.indexOf(e.type)>=0},She=function(e){return e&&w3(e)==="object"&&"cx"in e&&"cy"in e&&"r"in e},Lvt=function(e,n,r,i){var o,a=(o=AR==null?void 0:AR[i])!==null&&o!==void 0?o:[];return!Ft(e)&&(i&&a.includes(n)||Pvt.includes(n))||r&&_4.includes(n)},Nt=function(e,n,r){if(!e||typeof e=="function"||typeof e=="boolean")return null;var i=e;if(k.isValidElement(e)&&(i=e.props),!cy(i))return null;var o={};return Object.keys(i).forEach(function(a){var s;Lvt((s=i)===null||s===void 0?void 0:s[a],a,n,r)&&(o[a]=i[a])}),o},S3=function t(e,n){if(e===n)return!0;var r=k.Children.count(e);if(r!==k.Children.count(n))return!1;if(r===0)return!0;if(r===1)return pq(Array.isArray(e)?e[0]:e,Array.isArray(n)?n[0]:n);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Bvt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function C3(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,o=t.className,a=t.style,s=t.title,l=t.desc,c=jvt(t,Fvt),u=i||{width:n,height:r,x:0,y:0},f=ke("recharts-surface",o);return ue.createElement("svg",O3({},Nt(c,!0,"svg"),{className:f,width:n,height:r,style:a,viewBox:"".concat(u.x," ").concat(u.y," ").concat(u.width," ").concat(u.height)}),ue.createElement("title",null,s),ue.createElement("desc",null,l),e)}var zvt=["children","className"];function T3(){return T3=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Wvt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var Wn=ue.forwardRef(function(t,e){var n=t.children,r=t.className,i=Uvt(t,zvt),o=ke("recharts-layer",r);return ue.createElement("g",T3({className:o},Nt(i,!0),{ref:e}),n)}),qc=function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;oi?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r=r?t:Hvt(t,e,n)}var Xvt=qvt,Qvt="\\ud800-\\udfff",Yvt="\\u0300-\\u036f",Kvt="\\ufe20-\\ufe2f",Zvt="\\u20d0-\\u20ff",Jvt=Yvt+Kvt+Zvt,eyt="\\ufe0e\\ufe0f",tyt="\\u200d",nyt=RegExp("["+tyt+Qvt+Jvt+eyt+"]");function ryt(t){return nyt.test(t)}var Ohe=ryt;function iyt(t){return t.split("")}var oyt=iyt,Che="\\ud800-\\udfff",ayt="\\u0300-\\u036f",syt="\\ufe20-\\ufe2f",lyt="\\u20d0-\\u20ff",cyt=ayt+syt+lyt,uyt="\\ufe0e\\ufe0f",fyt="["+Che+"]",E3="["+cyt+"]",P3="\\ud83c[\\udffb-\\udfff]",dyt="(?:"+E3+"|"+P3+")",The="[^"+Che+"]",Ehe="(?:\\ud83c[\\udde6-\\uddff]){2}",Phe="[\\ud800-\\udbff][\\udc00-\\udfff]",hyt="\\u200d",Mhe=dyt+"?",khe="["+uyt+"]?",pyt="(?:"+hyt+"(?:"+[The,Ehe,Phe].join("|")+")"+khe+Mhe+")*",myt=khe+Mhe+pyt,gyt="(?:"+[The+E3+"?",E3,Ehe,Phe,fyt].join("|")+")",vyt=RegExp(P3+"(?="+P3+")|"+gyt+myt,"g");function yyt(t){return t.match(vyt)||[]}var xyt=yyt,byt=oyt,_yt=Ohe,wyt=xyt;function Syt(t){return _yt(t)?wyt(t):byt(t)}var Oyt=Syt,Cyt=Xvt,Tyt=Ohe,Eyt=Oyt,Pyt=vhe;function Myt(t){return function(e){e=Pyt(e);var n=Tyt(e)?Eyt(e):void 0,r=n?n[0]:e.charAt(0),i=n?Cyt(n,1).join(""):e.slice(1);return r[t]()+i}}var kyt=Myt,Ayt=kyt,Ryt=Ayt("toUpperCase"),Iyt=Ryt;const I2=$t(Iyt);function jn(t){return function(){return t}}const Ahe=Math.cos,pE=Math.sin,Qs=Math.sqrt,mE=Math.PI,D2=2*mE,M3=Math.PI,k3=2*M3,Nd=1e-6,Dyt=k3-Nd;function Rhe(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Rhe;const n=10**e;return function(r){this._+=r[0];for(let i=1,o=r.length;iNd)if(!(Math.abs(f*l-c*u)>Nd)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=r-a,p=i-s,m=l*l+c*c,g=h*h+p*p,v=Math.sqrt(m),y=Math.sqrt(d),x=o*Math.tan((M3-Math.acos((m+d-g)/(2*v*y)))/2),b=x/y,_=x/v;Math.abs(b-1)>Nd&&this._append`L${e+b*u},${n+b*f}`,this._append`A${o},${o},0,0,${+(f*h>u*p)},${this._x1=e+_*l},${this._y1=n+_*c}`}}arc(e,n,r,i,o,a){if(e=+e,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),l=r*Math.sin(i),c=e+s,u=n+l,f=1^a,d=a?i-o:o-i;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Nd||Math.abs(this._y1-u)>Nd)&&this._append`L${c},${u}`,r&&(d<0&&(d=d%k3+k3),d>Dyt?this._append`A${r},${r},0,1,${f},${e-s},${n-l}A${r},${r},0,1,${f},${this._x1=c},${this._y1=u}`:d>Nd&&this._append`A${r},${r},0,${+(d>=M3)},${f},${this._x1=e+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function S4(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new $yt(e)}function O4(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Ihe(t){this._context=t}Ihe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function L2(t){return new Ihe(t)}function Dhe(t){return t[0]}function Lhe(t){return t[1]}function $he(t,e){var n=jn(!0),r=null,i=L2,o=null,a=S4(s);t=typeof t=="function"?t:t===void 0?Dhe:jn(t),e=typeof e=="function"?e:e===void 0?Lhe:jn(e);function s(l){var c,u=(l=O4(l)).length,f,d=!1,h;for(r==null&&(o=i(h=a())),c=0;c<=u;++c)!(c=h;--p)s.point(x[p],b[p]);s.lineEnd(),s.areaEnd()}v&&(x[d]=+t(g,d,f),b[d]=+e(g,d,f),s.point(r?+r(g,d,f):x[d],n?+n(g,d,f):b[d]))}if(y)return s=null,y+""||null}function u(){return $he().defined(i).curve(a).context(o)}return c.x=function(f){return arguments.length?(t=typeof f=="function"?f:jn(+f),r=null,c):t},c.x0=function(f){return arguments.length?(t=typeof f=="function"?f:jn(+f),c):t},c.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:jn(+f),c):r},c.y=function(f){return arguments.length?(e=typeof f=="function"?f:jn(+f),n=null,c):e},c.y0=function(f){return arguments.length?(e=typeof f=="function"?f:jn(+f),c):e},c.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:jn(+f),c):n},c.lineX0=c.lineY0=function(){return u().x(t).y(e)},c.lineY1=function(){return u().x(t).y(n)},c.lineX1=function(){return u().x(r).y(e)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:jn(!!f),c):i},c.curve=function(f){return arguments.length?(a=f,o!=null&&(s=a(o)),c):a},c.context=function(f){return arguments.length?(f==null?o=s=null:s=a(o=f),c):o},c}class Nhe{constructor(e,n){this._context=e,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,n){switch(e=+e,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,n,e,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,e,this._y0,e,n);break}}this._x0=e,this._y0=n}}function Nyt(t){return new Nhe(t,!0)}function Fyt(t){return new Nhe(t,!1)}const C4={draw(t,e){const n=Qs(e/mE);t.moveTo(n,0),t.arc(0,0,n,0,D2)}},jyt={draw(t,e){const n=Qs(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Fhe=Qs(1/3),Byt=Fhe*2,zyt={draw(t,e){const n=Qs(e/Byt),r=n*Fhe;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Uyt={draw(t,e){const n=Qs(e),r=-n/2;t.rect(r,r,n,n)}},Wyt=.8908130915292852,jhe=pE(mE/10)/pE(7*mE/10),Vyt=pE(D2/10)*jhe,Gyt=-Ahe(D2/10)*jhe,Hyt={draw(t,e){const n=Qs(e*Wyt),r=Vyt*n,i=Gyt*n;t.moveTo(0,-n),t.lineTo(r,i);for(let o=1;o<5;++o){const a=D2*o/5,s=Ahe(a),l=pE(a);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*i,l*r+s*i)}t.closePath()}},IR=Qs(3),qyt={draw(t,e){const n=-Qs(e/(IR*3));t.moveTo(0,n*2),t.lineTo(-IR*n,-n),t.lineTo(IR*n,-n),t.closePath()}},Pa=-.5,Ma=Qs(3)/2,A3=1/Qs(12),Xyt=(A3/2+1)*3,Qyt={draw(t,e){const n=Qs(e/Xyt),r=n/2,i=n*A3,o=r,a=n*A3+n,s=-o,l=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,l),t.lineTo(Pa*r-Ma*i,Ma*r+Pa*i),t.lineTo(Pa*o-Ma*a,Ma*o+Pa*a),t.lineTo(Pa*s-Ma*l,Ma*s+Pa*l),t.lineTo(Pa*r+Ma*i,Pa*i-Ma*r),t.lineTo(Pa*o+Ma*a,Pa*a-Ma*o),t.lineTo(Pa*s+Ma*l,Pa*l-Ma*s),t.closePath()}};function Yyt(t,e){let n=null,r=S4(i);t=typeof t=="function"?t:jn(t||C4),e=typeof e=="function"?e:jn(e===void 0?64:+e);function i(){let o;if(n||(n=o=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(o){return arguments.length?(t=typeof o=="function"?o:jn(o),i):t},i.size=function(o){return arguments.length?(e=typeof o=="function"?o:jn(+o),i):e},i.context=function(o){return arguments.length?(n=o??null,i):n},i}function gE(){}function vE(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Bhe(t){this._context=t}Bhe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:vE(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:vE(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Kyt(t){return new Bhe(t)}function zhe(t){this._context=t}zhe.prototype={areaStart:gE,areaEnd:gE,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:vE(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Zyt(t){return new zhe(t)}function Uhe(t){this._context=t}Uhe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:vE(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Jyt(t){return new Uhe(t)}function Whe(t){this._context=t}Whe.prototype={areaStart:gE,areaEnd:gE,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function e0t(t){return new Whe(t)}function gq(t){return t<0?-1:1}function vq(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(gq(o)+gq(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function yq(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function DR(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function yE(t){this._context=t}yE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:DR(this,this._t0,yq(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,DR(this,yq(this,n=vq(this,t,e)),n);break;default:DR(this,this._t0,n=vq(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function Vhe(t){this._context=new Ghe(t)}(Vhe.prototype=Object.create(yE.prototype)).point=function(t,e){yE.prototype.point.call(this,e,t)};function Ghe(t){this._context=t}Ghe.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}};function t0t(t){return new yE(t)}function n0t(t){return new Vhe(t)}function Hhe(t){this._context=t}Hhe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var r=xq(t),i=xq(e),o=0,a=1;a=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function i0t(t){return new $2(t,.5)}function o0t(t){return new $2(t,0)}function a0t(t){return new $2(t,1)}function nv(t,e){if((a=t.length)>1)for(var n=1,r,i,o=t[e[0]],a,s=o.length;n=0;)n[e]=e;return n}function s0t(t,e){return t[e]}function l0t(t){const e=[];return e.key=t,e}function c0t(){var t=jn([]),e=R3,n=nv,r=s0t;function i(o){var a=Array.from(t.apply(this,arguments),l0t),s,l=a.length,c=-1,u;for(const f of o)for(s=0,++c;s0){for(var n,r,i=0,o=t[0].length,a;i0){for(var n=0,r=t[e[0]],i,o=r.length;n0)||!((o=(i=t[e[0]]).length)>0))){for(var n=0,r=1,i,o,a;r=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function y0t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var qhe={symbolCircle:C4,symbolCross:jyt,symbolDiamond:zyt,symbolSquare:Uyt,symbolStar:Hyt,symbolTriangle:qyt,symbolWye:Qyt},x0t=Math.PI/180,b0t=function(e){var n="symbol".concat(I2(e));return qhe[n]||C4},_0t=function(e,n,r){if(n==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var i=18*x0t;return 1.25*e*e*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},w0t=function(e,n){qhe["symbol".concat(I2(e))]=n},T4=function(e){var n=e.type,r=n===void 0?"circle":n,i=e.size,o=i===void 0?64:i,a=e.sizeType,s=a===void 0?"area":a,l=v0t(e,h0t),c=_q(_q({},l),{},{type:r,size:o,sizeType:s}),u=function(){var g=b0t(r),v=Yyt().type(g).size(_0t(o,s,r));return v()},f=c.className,d=c.cx,h=c.cy,p=Nt(c,!0);return d===+d&&h===+h&&o===+o?ue.createElement("path",I3({},p,{className:ke("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(h,")"),d:u()})):null};T4.registerSymbol=w0t;function rv(t){"@babel/helpers - typeof";return rv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rv(t)}function D3(){return D3=Object.assign?Object.assign.bind():function(t){for(var e=1;e`);var y=h.inactive?c:h.color;return ue.createElement("li",D3({className:g,style:f,key:"legend-item-".concat(p)},hE(r.props,h,p)),ue.createElement(C3,{width:a,height:a,viewBox:u,style:d},r.renderIcon(h)),ue.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},m?m(v,h,p):v))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,a=r.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:o==="horizontal"?a:"left"};return ue.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}]),e}(k.PureComponent);Qb(E4,"displayName","Legend");Qb(E4,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var A0t=b2;function R0t(){this.__data__=new A0t,this.size=0}var I0t=R0t;function D0t(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var L0t=D0t;function $0t(t){return this.__data__.get(t)}var N0t=$0t;function F0t(t){return this.__data__.has(t)}var j0t=F0t,B0t=b2,z0t=h4,U0t=p4,W0t=200;function V0t(t,e){var n=this.__data__;if(n instanceof B0t){var r=n.__data__;if(!z0t||r.lengths))return!1;var c=o.get(t),u=o.get(e);if(c&&u)return c==e&&u==t;var f=-1,d=!0,h=n&dxt?new lxt:void 0;for(o.set(t,e),o.set(e,t);++f-1&&t%1==0&&t-1&&t%1==0&&t<=gbt}var A4=vbt,ybt=du,xbt=A4,bbt=hu,_bt="[object Arguments]",wbt="[object Array]",Sbt="[object Boolean]",Obt="[object Date]",Cbt="[object Error]",Tbt="[object Function]",Ebt="[object Map]",Pbt="[object Number]",Mbt="[object Object]",kbt="[object RegExp]",Abt="[object Set]",Rbt="[object String]",Ibt="[object WeakMap]",Dbt="[object ArrayBuffer]",Lbt="[object DataView]",$bt="[object Float32Array]",Nbt="[object Float64Array]",Fbt="[object Int8Array]",jbt="[object Int16Array]",Bbt="[object Int32Array]",zbt="[object Uint8Array]",Ubt="[object Uint8ClampedArray]",Wbt="[object Uint16Array]",Vbt="[object Uint32Array]",Hn={};Hn[$bt]=Hn[Nbt]=Hn[Fbt]=Hn[jbt]=Hn[Bbt]=Hn[zbt]=Hn[Ubt]=Hn[Wbt]=Hn[Vbt]=!0;Hn[_bt]=Hn[wbt]=Hn[Dbt]=Hn[Sbt]=Hn[Lbt]=Hn[Obt]=Hn[Cbt]=Hn[Tbt]=Hn[Ebt]=Hn[Pbt]=Hn[Mbt]=Hn[kbt]=Hn[Abt]=Hn[Rbt]=Hn[Ibt]=!1;function Gbt(t){return bbt(t)&&xbt(t.length)&&!!Hn[ybt(t)]}var Hbt=Gbt;function qbt(t){return function(e){return t(e)}}var ipe=qbt,wE={exports:{}};wE.exports;(function(t,e){var n=fhe,r=e&&!e.nodeType&&e,i=r&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s})(wE,wE.exports);var Xbt=wE.exports,Qbt=Hbt,Ybt=ipe,Mq=Xbt,kq=Mq&&Mq.isTypedArray,Kbt=kq?Ybt(kq):Qbt,ope=Kbt,Zbt=tbt,Jbt=M4,e_t=Vo,t_t=rpe,n_t=k4,r_t=ope,i_t=Object.prototype,o_t=i_t.hasOwnProperty;function a_t(t,e){var n=e_t(t),r=!n&&Jbt(t),i=!n&&!r&&t_t(t),o=!n&&!r&&!i&&r_t(t),a=n||r||i||o,s=a?Zbt(t.length,String):[],l=s.length;for(var c in t)(e||o_t.call(t,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||n_t(c,l)))&&s.push(c);return s}var s_t=a_t,l_t=Object.prototype;function c_t(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||l_t;return t===n}var u_t=c_t;function f_t(t,e){return function(n){return t(e(n))}}var ape=f_t,d_t=ape,h_t=d_t(Object.keys,Object),p_t=h_t,m_t=u_t,g_t=p_t,v_t=Object.prototype,y_t=v_t.hasOwnProperty;function x_t(t){if(!m_t(t))return g_t(t);var e=[];for(var n in Object(t))y_t.call(t,n)&&n!="constructor"&&e.push(n);return e}var b_t=x_t,__t=f4,w_t=A4;function S_t(t){return t!=null&&w_t(t.length)&&!__t(t)}var aw=S_t,O_t=s_t,C_t=b_t,T_t=aw;function E_t(t){return T_t(t)?O_t(t):C_t(t)}var N2=E_t,P_t=Wxt,M_t=Jxt,k_t=N2;function A_t(t){return P_t(t,k_t,M_t)}var R_t=A_t,Aq=R_t,I_t=1,D_t=Object.prototype,L_t=D_t.hasOwnProperty;function $_t(t,e,n,r,i,o){var a=n&I_t,s=Aq(t),l=s.length,c=Aq(e),u=c.length;if(l!=u&&!a)return!1;for(var f=l;f--;){var d=s[f];if(!(a?d in e:L_t.call(e,d)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var m=!0;o.set(t,e),o.set(e,t);for(var g=a;++f-1}var Dwt=Iwt;function Lwt(t,e,n){for(var r=-1,i=t==null?0:t.length;++r=Ywt){var c=e?null:Xwt(t);if(c)return Qwt(c);a=!1,i=qwt,l=new Vwt}else l=e?[]:s;e:for(;++r=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function fSt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function dSt(t){return t.value}function hSt(t,e){if(ue.isValidElement(t))return ue.cloneElement(t,e);if(typeof t=="function")return ue.createElement(t,e);e.ref;var n=uSt(e,rSt);return ue.createElement(E4,n)}var qq=1,ov=function(t){lSt(e,t);function e(){var n;iSt(this,e);for(var r=arguments.length,i=new Array(r),o=0;oqq||Math.abs(i.height-this.lastBoundingBox.height)>qq)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Ed({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,o=i.layout,a=i.align,s=i.verticalAlign,l=i.margin,c=i.chartWidth,u=i.chartHeight,f,d;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(a==="center"&&o==="vertical"){var h=this.getBBoxSnapshot();f={left:((c||0)-h.width)/2}}else f=a==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(s==="middle"){var p=this.getBBoxSnapshot();d={top:((u||0)-p.height)/2}}else d=s==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return Ed(Ed({},f),d)}},{key:"render",value:function(){var r=this,i=this.props,o=i.content,a=i.width,s=i.height,l=i.wrapperStyle,c=i.payloadUniqBy,u=i.payload,f=Ed(Ed({position:"absolute",width:a||"auto",height:s||"auto"},this.getDefaultPosition(l)),l);return ue.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(h){r.wrapperNode=h}},hSt(o,Ed(Ed({},this.props),{},{payload:hpe(u,c,dSt)})))}}],[{key:"getWithHeight",value:function(r,i){var o=r.props.layout;return o==="vertical"&&Ye(r.props.height)?{height:r.props.height}:o==="horizontal"?{width:r.props.width||i}:null}}]),e}(k.PureComponent);F2(ov,"displayName","Legend");F2(ov,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Xq=iw,pSt=M4,mSt=Vo,Qq=Xq?Xq.isConcatSpreadable:void 0;function gSt(t){return mSt(t)||pSt(t)||!!(Qq&&t&&t[Qq])}var vSt=gSt,ySt=tpe,xSt=vSt;function vpe(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=xSt),i||(i=[]);++o0&&n(s)?e>1?vpe(s,e-1,n,r,i):ySt(i,s):r||(i[i.length]=s)}return i}var ype=vpe;function bSt(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(n(o[l],l,o)===!1)break}return e}}var _St=bSt,wSt=_St,SSt=wSt(),OSt=SSt,CSt=OSt,TSt=N2;function ESt(t,e){return t&&CSt(t,e,TSt)}var xpe=ESt,PSt=aw;function MSt(t,e){return function(n,r){if(n==null)return n;if(!PSt(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Object(n);(e?o--:++oe||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t=s)return l;var c=n[r];return l*(c=="desc"?-1:1)}}return t.index-e.index}var WSt=USt,FR=g4,VSt=v4,GSt=hd,HSt=bpe,qSt=FSt,XSt=ipe,QSt=WSt,YSt=vy,KSt=Vo;function ZSt(t,e,n){e.length?e=FR(e,function(o){return KSt(o)?function(a){return VSt(a,o.length===1?o[0]:o)}:o}):e=[YSt];var r=-1;e=FR(e,XSt(GSt));var i=HSt(t,function(o,a,s){var l=FR(e,function(c){return c(o)});return{criteria:l,index:++r,value:o}});return qSt(i,function(o,a){return QSt(o,a,n)})}var JSt=ZSt;function eOt(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var tOt=eOt,nOt=tOt,Kq=Math.max;function rOt(t,e,n){return e=Kq(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Kq(r.length-e,0),a=Array(o);++i0){if(++e>=hOt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var vOt=gOt,yOt=dOt,xOt=vOt,bOt=xOt(yOt),_Ot=bOt,wOt=vy,SOt=iOt,OOt=_Ot;function COt(t,e){return OOt(SOt(t,e,wOt),t+"")}var TOt=COt,EOt=d4,POt=aw,MOt=k4,kOt=dd;function AOt(t,e,n){if(!kOt(n))return!1;var r=typeof e;return(r=="number"?POt(n)&&MOt(e,n.length):r=="string"&&e in n)?EOt(n[e],t):!1}var j2=AOt,ROt=ype,IOt=JSt,DOt=TOt,Jq=j2,LOt=DOt(function(t,e){if(t==null)return[];var n=e.length;return n>1&&Jq(t,e[0],e[1])?e=[]:n>2&&Jq(e[0],e[1],e[2])&&(e=[e[0]]),IOt(t,ROt(e,1),[])}),$Ot=LOt;const D4=$t($Ot);function Yb(t){"@babel/helpers - typeof";return Yb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yb(t)}function U3(){return U3=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e.x),"".concat(h0,"-left"),Ye(n)&&e&&Ye(e.x)&&n=e.y),"".concat(h0,"-top"),Ye(r)&&e&&Ye(e.y)&&rm?Math.max(u,l[r]):Math.max(f,l[r])}function KOt(t){var e=t.translateX,n=t.translateY,r=t.useTranslate3d;return{transform:r?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")}}function ZOt(t){var e=t.allowEscapeViewBox,n=t.coordinate,r=t.offsetTopLeft,i=t.position,o=t.reverseDirection,a=t.tooltipBox,s=t.useTranslate3d,l=t.viewBox,c,u,f;return a.height>0&&a.width>0&&n?(u=nX({allowEscapeViewBox:e,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),f=nX({allowEscapeViewBox:e,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),c=KOt({translateX:u,translateY:f,useTranslate3d:s})):c=QOt,{cssProperties:c,cssClasses:YOt({translateX:u,translateY:f,coordinate:n})}}function av(t){"@babel/helpers - typeof";return av=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},av(t)}function rX(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function iX(t){for(var e=1;eaX||Math.abs(r.height-this.lastBoundingBox.height)>aX)&&(this.lastBoundingBox.width=r.width,this.lastBoundingBox.height=r.height)}else(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1)}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,o=i.active,a=i.allowEscapeViewBox,s=i.animationDuration,l=i.animationEasing,c=i.children,u=i.coordinate,f=i.hasPayload,d=i.isAnimationActive,h=i.offset,p=i.position,m=i.reverseDirection,g=i.useTranslate3d,v=i.viewBox,y=i.wrapperStyle,x=ZOt({allowEscapeViewBox:a,coordinate:u,offsetTopLeft:h,position:p,reverseDirection:m,tooltipBox:{height:this.lastBoundingBox.height,width:this.lastBoundingBox.width},useTranslate3d:g,viewBox:v}),b=x.cssClasses,_=x.cssProperties,S=iX(iX({transition:d&&o?"transform ".concat(s,"ms ").concat(l):void 0},_),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&f?"visible":"hidden",position:"absolute",top:0,left:0},y);return ue.createElement("div",{tabIndex:-1,className:b,style:S,ref:function(C){r.wrapperNode=C}},c)}}]),e}(k.PureComponent),aCt=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},jl={isSsr:aCt(),get:function(e){return jl[e]},set:function(e,n){if(typeof e=="string")jl[e]=n;else{var r=Object.keys(e);r&&r.length&&r.forEach(function(i){jl[i]=e[i]})}}};function sv(t){"@babel/helpers - typeof";return sv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sv(t)}function sX(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function lX(t){for(var e=1;e0;return ue.createElement(oCt,{allowEscapeViewBox:a,animationDuration:s,animationEasing:l,isAnimationActive:d,active:o,coordinate:u,hasPayload:S,offset:h,position:g,reverseDirection:v,useTranslate3d:y,viewBox:x,wrapperStyle:b},mCt(c,lX(lX({},this.props),{},{payload:_})))}}]),e}(k.PureComponent);L4(sl,"displayName","Tooltip");L4(sl,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!jl.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var gCt=nc,vCt=function(){return gCt.Date.now()},yCt=vCt,xCt=/\s/;function bCt(t){for(var e=t.length;e--&&xCt.test(t.charAt(e)););return e}var _Ct=bCt,wCt=_Ct,SCt=/^\s+/;function OCt(t){return t&&t.slice(0,wCt(t)+1).replace(SCt,"")}var CCt=OCt,TCt=CCt,uX=dd,ECt=ly,fX=NaN,PCt=/^[-+]0x[0-9a-f]+$/i,MCt=/^0b[01]+$/i,kCt=/^0o[0-7]+$/i,ACt=parseInt;function RCt(t){if(typeof t=="number")return t;if(ECt(t))return fX;if(uX(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=uX(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=TCt(t);var n=MCt.test(t);return n||kCt.test(t)?ACt(t.slice(2),n?2:8):PCt.test(t)?fX:+t}var Tpe=RCt,ICt=dd,BR=yCt,dX=Tpe,DCt="Expected a function",LCt=Math.max,$Ct=Math.min;function NCt(t,e,n){var r,i,o,a,s,l,c=0,u=!1,f=!1,d=!0;if(typeof t!="function")throw new TypeError(DCt);e=dX(e)||0,ICt(n)&&(u=!!n.leading,f="maxWait"in n,o=f?LCt(dX(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d);function h(S){var O=r,C=i;return r=i=void 0,c=S,a=t.apply(C,O),a}function p(S){return c=S,s=setTimeout(v,e),u?h(S):a}function m(S){var O=S-l,C=S-c,E=e-O;return f?$Ct(E,o-C):E}function g(S){var O=S-l,C=S-c;return l===void 0||O>=e||O<0||f&&C>=o}function v(){var S=BR();if(g(S))return y(S);s=setTimeout(v,m(S))}function y(S){return s=void 0,d&&r?h(S):(r=i=void 0,a)}function x(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function b(){return s===void 0?a:y(BR())}function _(){var S=BR(),O=g(S);if(r=arguments,i=this,l=S,O){if(s===void 0)return p(l);if(f)return clearTimeout(s),s=setTimeout(v,e),h(l)}return s===void 0&&(s=setTimeout(v,e)),a}return _.cancel=x,_.flush=b,_}var FCt=NCt,jCt=FCt,BCt=dd,zCt="Expected a function";function UCt(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(zCt);return BCt(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),jCt(t,e,{leading:r,maxWait:e,trailing:i})}var WCt=UCt;const Epe=$t(WCt);function Zb(t){"@babel/helpers - typeof";return Zb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zb(t)}function hX(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function YS(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(R=Epe(R,m,{trailing:!0,leading:!1}));var T=new ResizeObserver(R),D=_.current.getBoundingClientRect(),U=D.width,B=D.height;return I(U,B),T.observe(_.current),function(){T.disconnect()}},[I,m]);var P=k.useMemo(function(){var R=E.containerWidth,T=E.containerHeight;if(R<0||T<0)return null;qc(lh(a)||lh(l),`The width(%s) and height(%s) are both fixed numbers, - maybe you don't need to use a ResponsiveContainer.`,a,l),qc(!n||n>0,"The aspect(%s) must be greater than zero.",n);var D=lh(a)?R:a,U=lh(l)?T:l;n&&n>0&&(D?U=D/n:U&&(D=U*n),d&&U>d&&(U=d)),qc(D>0||U>0,`The width(%s) and height(%s) of chart should be greater than 0, - please check the style of container, or the props width(%s) and height(%s), - or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the - height and width.`,D,U,a,l,u,f,n);var B=!Array.isArray(h)&&b3.isElement(h)&&Hc(h.type).endsWith("Chart");return ue.Children.map(h,function(W){return b3.isElement(W)?k.cloneElement(W,YS({width:D,height:U},B?{style:YS({height:"100%",width:"100%",maxHeight:U,maxWidth:D},W.props.style)}:{})):W})},[n,h,l,d,f,u,E,a]);return ue.createElement("div",{id:g?"".concat(g):void 0,className:ke("recharts-responsive-container",v),style:YS(YS({},b),{},{width:a,height:l,minWidth:u,minHeight:f,maxHeight:d}),ref:_},P)}),Mpe=function(e){return null};Mpe.displayName="Cell";function Jb(t){"@babel/helpers - typeof";return Jb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jb(t)}function mX(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function G3(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||jl.isSsr)return{width:0,height:0};var r=rTt(n),i=JSON.stringify({text:e,copyStyle:r});if(Yp.widthCache[i])return Yp.widthCache[i];try{var o=document.getElementById(gX);o||(o=document.createElement("span"),o.setAttribute("id",gX),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=G3(G3({},nTt),r);Object.assign(o.style,a),o.textContent="".concat(e);var s=o.getBoundingClientRect(),l={width:s.width,height:s.height};return Yp.widthCache[i]=l,++Yp.cacheCount>tTt&&(Yp.cacheCount=0,Yp.widthCache={}),l}catch{return{width:0,height:0}}},iTt=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}};function e_(t){"@babel/helpers - typeof";return e_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e_(t)}function TE(t,e){return lTt(t)||sTt(t,e)||aTt(t,e)||oTt()}function oTt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aTt(t,e){if(t){if(typeof t=="string")return vX(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vX(t,e)}}function vX(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function wTt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function SX(t,e){return TTt(t)||CTt(t,e)||OTt(t,e)||STt()}function STt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OTt(t,e){if(t){if(typeof t=="string")return OX(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return OX(t,e)}}function OX(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&arguments[0]!==void 0?arguments[0]:[];return D.reduce(function(U,B){var W=B.word,z=B.width,$=U[U.length-1];if($&&(i==null||o||$.width+z+rB.width?U:B})};if(!u)return h;for(var m="…",g=function(D){var U=f.slice(0,D),B=Ipe({breakAll:c,style:l,children:U+m}).wordsWithComputedWidth,W=d(B),z=W.length>a||p(W).width>Number(i);return[z,W]},v=0,y=f.length-1,x=0,b;v<=y&&x<=f.length-1;){var _=Math.floor((v+y)/2),S=_-1,O=g(S),C=SX(O,2),E=C[0],M=C[1],I=g(_),P=SX(I,1),R=P[0];if(!E&&!R&&(v=_+1),E&&R&&(y=_-1),!E&&R){b=M;break}x++}return b||h},CX=function(e){var n=Xt(e)?[]:e.toString().split(Rpe);return[{words:n}]},PTt=function(e){var n=e.width,r=e.scaleToFit,i=e.children,o=e.style,a=e.breakAll,s=e.maxLines;if((n||r)&&!jl.isSsr){var l,c,u=Ipe({breakAll:a,children:i,style:o});if(u){var f=u.wordsWithComputedWidth,d=u.spaceWidth;l=f,c=d}else return CX(i);return ETt({breakAll:a,children:i,maxLines:s,style:o},l,c,n,r)}return CX(i)},TX="#808080",EE=function(e){var n=e.x,r=n===void 0?0:n,i=e.y,o=i===void 0?0:i,a=e.lineHeight,s=a===void 0?"1em":a,l=e.capHeight,c=l===void 0?"0.71em":l,u=e.scaleToFit,f=u===void 0?!1:u,d=e.textAnchor,h=d===void 0?"start":d,p=e.verticalAnchor,m=p===void 0?"end":p,g=e.fill,v=g===void 0?TX:g,y=wX(e,bTt),x=k.useMemo(function(){return PTt({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:f,style:y.style,width:y.width})},[y.breakAll,y.children,y.maxLines,f,y.style,y.width]),b=y.dx,_=y.dy,S=y.angle,O=y.className,C=y.breakAll,E=wX(y,_Tt);if(!Zr(r)||!Zr(o))return null;var M=r+(Ye(b)?b:0),I=o+(Ye(_)?_:0),P;switch(m){case"start":P=zR("calc(".concat(c,")"));break;case"middle":P=zR("calc(".concat((x.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:P=zR("calc(".concat(x.length-1," * -").concat(s,")"));break}var R=[];if(f){var T=x[0].width,D=y.width;R.push("scale(".concat((Ye(D)?D/T:1)/T,")"))}return S&&R.push("rotate(".concat(S,", ").concat(M,", ").concat(I,")")),R.length&&(E.transform=R.join(" ")),ue.createElement("text",H3({},Nt(E,!0),{x:M,y:I,className:ke("recharts-text",O),textAnchor:h,fill:v.includes("url")?TX:v}),x.map(function(U,B){var W=U.words.join(C?"":" ");return ue.createElement("tspan",{x:M,dy:B===0?P:s,key:W},W)}))};function Df(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}function MTt(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function $4(t){let e,n,r;t.length!==2?(e=Df,n=(s,l)=>Df(t(s),l),r=(s,l)=>t(s)-l):(e=t===Df||t===MTt?t:kTt,n=t,r=t);function i(s,l,c=0,u=s.length){if(c>>1;n(s[f],l)<0?c=f+1:u=f}while(c>>1;n(s[f],l)<=0?c=f+1:u=f}while(cc&&r(s[f-1],l)>-r(s[f],l)?f-1:f}return{left:i,center:a,right:o}}function kTt(){return 0}function Dpe(t){return t===null?NaN:+t}function*ATt(t,e){if(e===void 0)for(let n of t)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)(r=e(r,++n,t))!=null&&(r=+r)>=r&&(yield r)}}const RTt=$4(Df),sw=RTt.right;$4(Dpe).center;class EX extends Map{constructor(e,n=LTt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(PX(this,e))}has(e){return super.has(PX(this,e))}set(e,n){return super.set(ITt(this,e),n)}delete(e){return super.delete(DTt(this,e))}}function PX({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function ITt({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function DTt({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function LTt(t){return t!==null&&typeof t=="object"?t.valueOf():t}function $Tt(t=Df){if(t===Df)return Lpe;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||r===0?r:(t(n,n)===0)-(t(e,e)===0)}}function Lpe(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(te?1:0)}const NTt=Math.sqrt(50),FTt=Math.sqrt(10),jTt=Math.sqrt(2);function PE(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=NTt?10:o>=FTt?5:o>=jTt?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(t*c),l=Math.round(e*c),s/ce&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(t/c),l=Math.round(e/c),s*ce&&--l),l0))return[];if(t===e)return[t];const r=e=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let c=0;c=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function kX(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function $pe(t,e,n=0,r=1/0,i){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(i=i===void 0?Lpe:$Tt(i);r>n;){if(r-n>600){const l=r-n+1,c=e-n+1,u=Math.log(l),f=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*f*(l-f)/l)*(c-l/2<0?-1:1),h=Math.max(n,Math.floor(e-c*f/l+d)),p=Math.min(r,Math.floor(e+(l-c)*f/l+d));$pe(t,e,h,p,i)}const o=t[e];let a=n,s=r;for(p0(t,n,e),i(t[r],o)>0&&p0(t,n,r);a0;)--s}i(t[n],o)===0?p0(t,n,s):(++s,p0(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function p0(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function BTt(t,e,n){if(t=Float64Array.from(ATt(t,n)),!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return kX(t);if(e>=1)return MX(t);var r,i=(r-1)*e,o=Math.floor(i),a=MX($pe(t,o).subarray(0,o+1)),s=kX(t.subarray(o+1));return a+(s-a)*(i-o)}}function zTt(t,e,n=Dpe){if(!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),s=+n(t[o+1],o+1,t);return a+(s-a)*(i-o)}}function UTt(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?ZS(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?ZS(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=VTt.exec(t))?new Ro(e[1],e[2],e[3],1):(e=GTt.exec(t))?new Ro(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=HTt.exec(t))?ZS(e[1],e[2],e[3],e[4]):(e=qTt.exec(t))?ZS(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=XTt.exec(t))?NX(e[1],e[2]/100,e[3]/100,1):(e=QTt.exec(t))?NX(e[1],e[2]/100,e[3]/100,e[4]):AX.hasOwnProperty(t)?DX(AX[t]):t==="transparent"?new Ro(NaN,NaN,NaN,0):null}function DX(t){return new Ro(t>>16&255,t>>8&255,t&255,1)}function ZS(t,e,n,r){return r<=0&&(t=e=n=NaN),new Ro(t,e,n,r)}function ZTt(t){return t instanceof lw||(t=i_(t)),t?(t=t.rgb(),new Ro(t.r,t.g,t.b,t.opacity)):new Ro}function K3(t,e,n,r){return arguments.length===1?ZTt(t):new Ro(t,e,n,r??1)}function Ro(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}F4(Ro,K3,Fpe(lw,{brighter(t){return t=t==null?ME:Math.pow(ME,t),new Ro(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?n_:Math.pow(n_,t),new Ro(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ro(Eh(this.r),Eh(this.g),Eh(this.b),kE(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:LX,formatHex:LX,formatHex8:JTt,formatRgb:$X,toString:$X}));function LX(){return`#${ch(this.r)}${ch(this.g)}${ch(this.b)}`}function JTt(){return`#${ch(this.r)}${ch(this.g)}${ch(this.b)}${ch((isNaN(this.opacity)?1:this.opacity)*255)}`}function $X(){const t=kE(this.opacity);return`${t===1?"rgb(":"rgba("}${Eh(this.r)}, ${Eh(this.g)}, ${Eh(this.b)}${t===1?")":`, ${t})`}`}function kE(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Eh(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ch(t){return t=Eh(t),(t<16?"0":"")+t.toString(16)}function NX(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Ls(t,e,n,r)}function jpe(t){if(t instanceof Ls)return new Ls(t.h,t.s,t.l,t.opacity);if(t instanceof lw||(t=i_(t)),!t)return new Ls;if(t instanceof Ls)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(e===o?a=(n-r)/s+(n0&&l<1?0:a,new Ls(a,s,l,t.opacity)}function eEt(t,e,n,r){return arguments.length===1?jpe(t):new Ls(t,e,n,r??1)}function Ls(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}F4(Ls,eEt,Fpe(lw,{brighter(t){return t=t==null?ME:Math.pow(ME,t),new Ls(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?n_:Math.pow(n_,t),new Ls(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Ro(UR(t>=240?t-240:t+120,i,r),UR(t,i,r),UR(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Ls(FX(this.h),JS(this.s),JS(this.l),kE(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=kE(this.opacity);return`${t===1?"hsl(":"hsla("}${FX(this.h)}, ${JS(this.s)*100}%, ${JS(this.l)*100}%${t===1?")":`, ${t})`}`}}));function FX(t){return t=(t||0)%360,t<0?t+360:t}function JS(t){return Math.max(0,Math.min(1,t||0))}function UR(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const j4=t=>()=>t;function tEt(t,e){return function(n){return t+n*e}}function nEt(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function rEt(t){return(t=+t)==1?Bpe:function(e,n){return n-e?nEt(e,n,t):j4(isNaN(e)?n:e)}}function Bpe(t,e){var n=e-t;return n?tEt(t,n):j4(isNaN(t)?e:t)}const jX=function t(e){var n=rEt(e);function r(i,o){var a=n((i=K3(i)).r,(o=K3(o)).r),s=n(i.g,o.g),l=n(i.b,o.b),c=Bpe(i.opacity,o.opacity);return function(u){return i.r=a(u),i.g=s(u),i.b=l(u),i.opacity=c(u),i+""}}return r.gamma=t,r}(1);function iEt(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(o){for(i=0;in&&(o=e.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:AE(r,i)})),n=WR.lastIndex;return ne&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function mEt(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i2?gEt:mEt,l=c=null,f}function f(d){return d==null||isNaN(d=+d)?o:(l||(l=s(t.map(r),e,n)))(r(a(d)))}return f.invert=function(d){return a(i((c||(c=s(e,t.map(r),AE)))(d)))},f.domain=function(d){return arguments.length?(t=Array.from(d,RE),u()):t.slice()},f.range=function(d){return arguments.length?(e=Array.from(d),u()):e.slice()},f.rangeRound=function(d){return e=Array.from(d),n=B4,u()},f.clamp=function(d){return arguments.length?(a=d?!0:co,u()):a!==co},f.interpolate=function(d){return arguments.length?(n=d,u()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,h){return r=d,i=h,u()}}function z4(){return B2()(co,co)}function vEt(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function IE(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function lv(t){return t=IE(Math.abs(t)),t?t[1]:NaN}function yEt(t,e){return function(n,r){for(var i=n.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(n.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(e)}}function xEt(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var bEt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o_(t){if(!(e=bEt.exec(t)))throw new Error("invalid format: "+t);var e;return new U4({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}o_.prototype=U4.prototype;function U4(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}U4.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function _Et(t){e:for(var e=t.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var zpe;function wEt(t,e){var n=IE(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(zpe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+IE(t,Math.max(0,e+o-1))[0]}function zX(t,e){var n=IE(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const UX={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:vEt,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>zX(t*100,e),r:zX,s:wEt,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function WX(t){return t}var VX=Array.prototype.map,GX=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function SEt(t){var e=t.grouping===void 0||t.thousands===void 0?WX:yEt(VX.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?WX:xEt(VX.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",s=t.minus===void 0?"−":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function c(f){f=o_(f);var d=f.fill,h=f.align,p=f.sign,m=f.symbol,g=f.zero,v=f.width,y=f.comma,x=f.precision,b=f.trim,_=f.type;_==="n"?(y=!0,_="g"):UX[_]||(x===void 0&&(x=12),b=!0,_="g"),(g||d==="0"&&h==="=")&&(g=!0,d="0",h="=");var S=m==="$"?n:m==="#"&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",O=m==="$"?r:/[%p]/.test(_)?a:"",C=UX[_],E=/[defgprs%]/.test(_);x=x===void 0?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function M(I){var P=S,R=O,T,D,U;if(_==="c")R=C(I)+R,I="";else{I=+I;var B=I<0||1/I<0;if(I=isNaN(I)?l:C(Math.abs(I),x),b&&(I=_Et(I)),B&&+I==0&&p!=="+"&&(B=!1),P=(B?p==="("?p:s:p==="-"||p==="("?"":p)+P,R=(_==="s"?GX[8+zpe/3]:"")+R+(B&&p==="("?")":""),E){for(T=-1,D=I.length;++TU||U>57){R=(U===46?i+I.slice(T+1):I.slice(T))+R,I=I.slice(0,T);break}}}y&&!g&&(I=e(I,1/0));var W=P.length+I.length+R.length,z=W>1)+P+I+R+z.slice(W);break;default:I=z+P+I+R;break}return o(I)}return M.toString=function(){return f+""},M}function u(f,d){var h=c((f=o_(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(lv(d)/3)))*3,m=Math.pow(10,-p),g=GX[8+p/3];return function(v){return h(m*v)+g}}return{format:c,formatPrefix:u}}var eO,W4,Upe;OEt({thousands:",",grouping:[3],currency:["$",""]});function OEt(t){return eO=SEt(t),W4=eO.format,Upe=eO.formatPrefix,eO}function CEt(t){return Math.max(0,-lv(Math.abs(t)))}function TEt(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(lv(e)/3)))*3-lv(Math.abs(t)))}function EEt(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,lv(e)-lv(t))+1}function Wpe(t,e,n,r){var i=Q3(t,e,n),o;switch(r=o_(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(o=TEt(i,a))&&(r.precision=o),Upe(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=EEt(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=CEt(i))&&(r.precision=o-(r.type==="%")*2);break}}return W4(r)}function pd(t){var e=t.domain;return t.ticks=function(n){var r=e();return q3(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return Wpe(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,o=r.length-1,a=r[i],s=r[o],l,c,u=10;for(s0;){if(c=X3(a,s,n),c===l)return r[i]=a,r[o]=s,e(r);if(c>0)a=Math.floor(a/c)*c,s=Math.ceil(s/c)*c;else if(c<0)a=Math.ceil(a*c)/c,s=Math.floor(s*c)/c;else break;l=c}return t},t}function DE(){var t=z4();return t.copy=function(){return cw(t,DE())},gs.apply(t,arguments),pd(t)}function Vpe(t){var e;function n(r){return r==null||isNaN(r=+r)?e:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(t=Array.from(r,RE),n):t.slice()},n.unknown=function(r){return arguments.length?(e=r,n):e},n.copy=function(){return Vpe(t).unknown(e)},t=arguments.length?Array.from(t,RE):[0,1],pd(n)}function Gpe(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],o=t[r],a;return oMath.pow(t,e)}function REt(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function XX(t){return(e,n)=>-t(-e,n)}function V4(t){const e=t(HX,qX),n=e.domain;let r=10,i,o;function a(){return i=REt(r),o=AEt(r),n()[0]<0?(i=XX(i),o=XX(o),t(PEt,MEt)):t(HX,qX),e}return e.base=function(s){return arguments.length?(r=+s,a()):r},e.domain=function(s){return arguments.length?(n(s),a()):n()},e.ticks=s=>{const l=n();let c=l[0],u=l[l.length-1];const f=u0){for(;d<=h;++d)for(p=1;pu)break;v.push(m)}}else for(;d<=h;++d)for(p=r-1;p>=1;--p)if(m=d>0?p/o(-d):p*o(d),!(mu)break;v.push(m)}v.length*2{if(s==null&&(s=10),l==null&&(l=r===10?"s":","),typeof l!="function"&&(!(r%1)&&(l=o_(l)).precision==null&&(l.trim=!0),l=W4(l)),s===1/0)return l;const c=Math.max(1,r*s/e.ticks().length);return u=>{let f=u/o(Math.round(i(u)));return f*rn(Gpe(n(),{floor:s=>o(Math.floor(i(s))),ceil:s=>o(Math.ceil(i(s)))})),e}function Hpe(){const t=V4(B2()).domain([1,10]);return t.copy=()=>cw(t,Hpe()).base(t.base()),gs.apply(t,arguments),t}function QX(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function YX(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function G4(t){var e=1,n=t(QX(e),YX(e));return n.constant=function(r){return arguments.length?t(QX(e=+r),YX(e)):e},pd(n)}function qpe(){var t=G4(B2());return t.copy=function(){return cw(t,qpe()).constant(t.constant())},gs.apply(t,arguments)}function KX(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function IEt(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function DEt(t){return t<0?-t*t:t*t}function H4(t){var e=t(co,co),n=1;function r(){return n===1?t(co,co):n===.5?t(IEt,DEt):t(KX(n),KX(1/n))}return e.exponent=function(i){return arguments.length?(n=+i,r()):n},pd(e)}function q4(){var t=H4(B2());return t.copy=function(){return cw(t,q4()).exponent(t.exponent())},gs.apply(t,arguments),t}function LEt(){return q4.apply(null,arguments).exponent(.5)}function ZX(t){return Math.sign(t)*t*t}function $Et(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Xpe(){var t=z4(),e=[0,1],n=!1,r;function i(o){var a=$Et(t(o));return isNaN(a)?r:n?Math.round(a):a}return i.invert=function(o){return t.invert(ZX(o))},i.domain=function(o){return arguments.length?(t.domain(o),i):t.domain()},i.range=function(o){return arguments.length?(t.range((e=Array.from(o,RE)).map(ZX)),i):e.slice()},i.rangeRound=function(o){return i.range(o).round(!0)},i.round=function(o){return arguments.length?(n=!!o,i):n},i.clamp=function(o){return arguments.length?(t.clamp(o),i):t.clamp()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return Xpe(t.domain(),e).round(n).clamp(t.clamp()).unknown(r)},gs.apply(i,arguments),pd(i)}function Qpe(){var t=[],e=[],n=[],r;function i(){var a=0,s=Math.max(1,e.length);for(n=new Array(s-1);++a0?n[s-1]:t[0],s=n?[r[n-1],e]:[r[c-1],r[c]]},a.unknown=function(l){return arguments.length&&(o=l),a},a.thresholds=function(){return r.slice()},a.copy=function(){return Ype().domain([t,e]).range(i).unknown(o)},gs.apply(pd(a),arguments)}function Kpe(){var t=[.5],e=[0,1],n,r=1;function i(o){return o!=null&&o<=o?e[sw(t,o,0,r)]:n}return i.domain=function(o){return arguments.length?(t=Array.from(o),r=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(o){return arguments.length?(e=Array.from(o),r=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(o){var a=e.indexOf(o);return[t[a-1],t[a]]},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return Kpe().domain(t).range(e).unknown(n)},gs.apply(i,arguments)}const VR=new Date,GR=new Date;function ti(t,e,n,r){function i(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(t(o=new Date(+o)),o),i.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),i.round=o=>{const a=i(o),s=i.ceil(o);return o-a(e(o=new Date(+o),a==null?1:Math.floor(a)),o),i.range=(o,a,s)=>{const l=[];if(o=i.ceil(o),s=s==null?1:Math.floor(s),!(o0))return l;let c;do l.push(c=new Date(+o)),e(o,s),t(o);while(cti(a=>{if(a>=a)for(;t(a),!o(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;e(a,-1),!o(a););else for(;--s>=0;)for(;e(a,1),!o(a););}),n&&(i.count=(o,a)=>(VR.setTime(+o),GR.setTime(+a),t(VR),t(GR),Math.floor(n(VR,GR))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?a=>r(a)%o===0:a=>i.count(0,a)%o===0):i)),i}const LE=ti(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);LE.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?ti(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):LE);LE.range;const Nc=1e3,Va=Nc*60,Fc=Va*60,au=Fc*24,X4=au*7,JX=au*30,HR=au*365,uh=ti(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*Nc)},(t,e)=>(e-t)/Nc,t=>t.getUTCSeconds());uh.range;const Q4=ti(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Nc)},(t,e)=>{t.setTime(+t+e*Va)},(t,e)=>(e-t)/Va,t=>t.getMinutes());Q4.range;const Y4=ti(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*Va)},(t,e)=>(e-t)/Va,t=>t.getUTCMinutes());Y4.range;const K4=ti(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Nc-t.getMinutes()*Va)},(t,e)=>{t.setTime(+t+e*Fc)},(t,e)=>(e-t)/Fc,t=>t.getHours());K4.range;const Z4=ti(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*Fc)},(t,e)=>(e-t)/Fc,t=>t.getUTCHours());Z4.range;const uw=ti(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Va)/au,t=>t.getDate()-1);uw.range;const z2=ti(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/au,t=>t.getUTCDate()-1);z2.range;const Zpe=ti(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/au,t=>Math.floor(t/au));Zpe.range;function Op(t){return ti(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*Va)/X4)}const U2=Op(0),$E=Op(1),NEt=Op(2),FEt=Op(3),cv=Op(4),jEt=Op(5),BEt=Op(6);U2.range;$E.range;NEt.range;FEt.range;cv.range;jEt.range;BEt.range;function Cp(t){return ti(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/X4)}const W2=Cp(0),NE=Cp(1),zEt=Cp(2),UEt=Cp(3),uv=Cp(4),WEt=Cp(5),VEt=Cp(6);W2.range;NE.range;zEt.range;UEt.range;uv.range;WEt.range;VEt.range;const J4=ti(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());J4.range;const eU=ti(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());eU.range;const su=ti(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());su.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:ti(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});su.range;const lu=ti(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());lu.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:ti(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});lu.range;function Jpe(t,e,n,r,i,o){const a=[[uh,1,Nc],[uh,5,5*Nc],[uh,15,15*Nc],[uh,30,30*Nc],[o,1,Va],[o,5,5*Va],[o,15,15*Va],[o,30,30*Va],[i,1,Fc],[i,3,3*Fc],[i,6,6*Fc],[i,12,12*Fc],[r,1,au],[r,2,2*au],[n,1,X4],[e,1,JX],[e,3,3*JX],[t,1,HR]];function s(c,u,f){const d=ug).right(a,d);if(h===a.length)return t.every(Q3(c/HR,u/HR,f));if(h===0)return LE.every(Math.max(Q3(c,u,f),1));const[p,m]=a[d/a[h-1][2]53)return null;"w"in ie||(ie.w=1),"Z"in ie?(F=XR(m0(ie.y,0,1)),ce=F.getUTCDay(),F=ce>4||ce===0?NE.ceil(F):NE(F),F=z2.offset(F,(ie.V-1)*7),ie.y=F.getUTCFullYear(),ie.m=F.getUTCMonth(),ie.d=F.getUTCDate()+(ie.w+6)%7):(F=qR(m0(ie.y,0,1)),ce=F.getDay(),F=ce>4||ce===0?$E.ceil(F):$E(F),F=uw.offset(F,(ie.V-1)*7),ie.y=F.getFullYear(),ie.m=F.getMonth(),ie.d=F.getDate()+(ie.w+6)%7)}else("W"in ie||"U"in ie)&&("w"in ie||(ie.w="u"in ie?ie.u%7:"W"in ie?1:0),ce="Z"in ie?XR(m0(ie.y,0,1)).getUTCDay():qR(m0(ie.y,0,1)).getDay(),ie.m=0,ie.d="W"in ie?(ie.w+6)%7+ie.W*7-(ce+5)%7:ie.w+ie.U*7-(ce+6)%7);return"Z"in ie?(ie.H+=ie.Z/100|0,ie.M+=ie.Z%100,XR(ie)):qR(ie)}}function C(te,de,xe,ie){for(var ve=0,F=de.length,ce=xe.length,le,Q;ve=ce)return-1;if(le=de.charCodeAt(ve++),le===37){if(le=de.charAt(ve++),Q=_[le in eQ?de.charAt(ve++):le],!Q||(ie=Q(te,xe,ie))<0)return-1}else if(le!=xe.charCodeAt(ie++))return-1}return ie}function E(te,de,xe){var ie=c.exec(de.slice(xe));return ie?(te.p=u.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function M(te,de,xe){var ie=h.exec(de.slice(xe));return ie?(te.w=p.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function I(te,de,xe){var ie=f.exec(de.slice(xe));return ie?(te.w=d.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function P(te,de,xe){var ie=v.exec(de.slice(xe));return ie?(te.m=y.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function R(te,de,xe){var ie=m.exec(de.slice(xe));return ie?(te.m=g.get(ie[0].toLowerCase()),xe+ie[0].length):-1}function T(te,de,xe){return C(te,e,de,xe)}function D(te,de,xe){return C(te,n,de,xe)}function U(te,de,xe){return C(te,r,de,xe)}function B(te){return a[te.getDay()]}function W(te){return o[te.getDay()]}function z(te){return l[te.getMonth()]}function $(te){return s[te.getMonth()]}function N(te){return i[+(te.getHours()>=12)]}function L(te){return 1+~~(te.getMonth()/3)}function A(te){return a[te.getUTCDay()]}function q(te){return o[te.getUTCDay()]}function Y(te){return l[te.getUTCMonth()]}function K(te){return s[te.getUTCMonth()]}function se(te){return i[+(te.getUTCHours()>=12)]}function ee(te){return 1+~~(te.getUTCMonth()/3)}return{format:function(te){var de=S(te+="",x);return de.toString=function(){return te},de},parse:function(te){var de=O(te+="",!1);return de.toString=function(){return te},de},utcFormat:function(te){var de=S(te+="",b);return de.toString=function(){return te},de},utcParse:function(te){var de=O(te+="",!0);return de.toString=function(){return te},de}}}var eQ={"-":"",_:" ",0:"0"},mi=/^\s*\d+/,YEt=/^%/,KEt=/[\\^$*+?|[\]().{}]/g;function hn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[e.toLowerCase(),n]))}function JEt(t,e,n){var r=mi.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function ePt(t,e,n){var r=mi.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function tPt(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function nPt(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function rPt(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function tQ(t,e,n){var r=mi.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function nQ(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function iPt(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function oPt(t,e,n){var r=mi.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function aPt(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function rQ(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function sPt(t,e,n){var r=mi.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function iQ(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function lPt(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function cPt(t,e,n){var r=mi.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function uPt(t,e,n){var r=mi.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fPt(t,e,n){var r=mi.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function dPt(t,e,n){var r=YEt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function hPt(t,e,n){var r=mi.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function pPt(t,e,n){var r=mi.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function oQ(t,e){return hn(t.getDate(),e,2)}function mPt(t,e){return hn(t.getHours(),e,2)}function gPt(t,e){return hn(t.getHours()%12||12,e,2)}function vPt(t,e){return hn(1+uw.count(su(t),t),e,3)}function eme(t,e){return hn(t.getMilliseconds(),e,3)}function yPt(t,e){return eme(t,e)+"000"}function xPt(t,e){return hn(t.getMonth()+1,e,2)}function bPt(t,e){return hn(t.getMinutes(),e,2)}function _Pt(t,e){return hn(t.getSeconds(),e,2)}function wPt(t){var e=t.getDay();return e===0?7:e}function SPt(t,e){return hn(U2.count(su(t)-1,t),e,2)}function tme(t){var e=t.getDay();return e>=4||e===0?cv(t):cv.ceil(t)}function OPt(t,e){return t=tme(t),hn(cv.count(su(t),t)+(su(t).getDay()===4),e,2)}function CPt(t){return t.getDay()}function TPt(t,e){return hn($E.count(su(t)-1,t),e,2)}function EPt(t,e){return hn(t.getFullYear()%100,e,2)}function PPt(t,e){return t=tme(t),hn(t.getFullYear()%100,e,2)}function MPt(t,e){return hn(t.getFullYear()%1e4,e,4)}function kPt(t,e){var n=t.getDay();return t=n>=4||n===0?cv(t):cv.ceil(t),hn(t.getFullYear()%1e4,e,4)}function APt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+hn(e/60|0,"0",2)+hn(e%60,"0",2)}function aQ(t,e){return hn(t.getUTCDate(),e,2)}function RPt(t,e){return hn(t.getUTCHours(),e,2)}function IPt(t,e){return hn(t.getUTCHours()%12||12,e,2)}function DPt(t,e){return hn(1+z2.count(lu(t),t),e,3)}function nme(t,e){return hn(t.getUTCMilliseconds(),e,3)}function LPt(t,e){return nme(t,e)+"000"}function $Pt(t,e){return hn(t.getUTCMonth()+1,e,2)}function NPt(t,e){return hn(t.getUTCMinutes(),e,2)}function FPt(t,e){return hn(t.getUTCSeconds(),e,2)}function jPt(t){var e=t.getUTCDay();return e===0?7:e}function BPt(t,e){return hn(W2.count(lu(t)-1,t),e,2)}function rme(t){var e=t.getUTCDay();return e>=4||e===0?uv(t):uv.ceil(t)}function zPt(t,e){return t=rme(t),hn(uv.count(lu(t),t)+(lu(t).getUTCDay()===4),e,2)}function UPt(t){return t.getUTCDay()}function WPt(t,e){return hn(NE.count(lu(t)-1,t),e,2)}function VPt(t,e){return hn(t.getUTCFullYear()%100,e,2)}function GPt(t,e){return t=rme(t),hn(t.getUTCFullYear()%100,e,2)}function HPt(t,e){return hn(t.getUTCFullYear()%1e4,e,4)}function qPt(t,e){var n=t.getUTCDay();return t=n>=4||n===0?uv(t):uv.ceil(t),hn(t.getUTCFullYear()%1e4,e,4)}function XPt(){return"+0000"}function sQ(){return"%"}function lQ(t){return+t}function cQ(t){return Math.floor(+t/1e3)}var Kp,ime,ome;QPt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function QPt(t){return Kp=QEt(t),ime=Kp.format,Kp.parse,ome=Kp.utcFormat,Kp.utcParse,Kp}function YPt(t){return new Date(t)}function KPt(t){return t instanceof Date?+t:+new Date(+t)}function tU(t,e,n,r,i,o,a,s,l,c){var u=z4(),f=u.invert,d=u.domain,h=c(".%L"),p=c(":%S"),m=c("%I:%M"),g=c("%I %p"),v=c("%a %d"),y=c("%b %d"),x=c("%B"),b=c("%Y");function _(S){return(l(S)e(i/(t.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,o)=>BTt(t,o/r))},n.copy=function(){return cme(e).domain(t)},pu.apply(n,arguments)}function G2(){var t=0,e=.5,n=1,r=1,i,o,a,s,l,c=co,u,f=!1,d;function h(m){return isNaN(m=+m)?d:(m=.5+((m=+u(m))-o)*(r*me}var oMt=iMt,aMt=hme,sMt=oMt,lMt=vy;function cMt(t){return t&&t.length?aMt(t,lMt,sMt):void 0}var uMt=cMt;const pf=$t(uMt);function fMt(t,e){return tt.e^o.s<0?1:-1;for(r=o.d.length,i=t.d.length,e=0,n=rt.d[e]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1};ct.decimalPlaces=ct.dp=function(){var t=this,e=t.d.length-1,n=(e-t.e)*Xn;if(e=t.d[e],e)for(;e%10==0;e/=10)n--;return n<0?0:n};ct.dividedBy=ct.div=function(t){return Xc(this,new this.constructor(t))};ct.dividedToIntegerBy=ct.idiv=function(t){var e=this,n=e.constructor;return In(Xc(e,new n(t),0,1),n.precision)};ct.equals=ct.eq=function(t){return!this.cmp(t)};ct.exponent=function(){return zr(this)};ct.greaterThan=ct.gt=function(t){return this.cmp(t)>0};ct.greaterThanOrEqualTo=ct.gte=function(t){return this.cmp(t)>=0};ct.isInteger=ct.isint=function(){return this.e>this.d.length-2};ct.isNegative=ct.isneg=function(){return this.s<0};ct.isPositive=ct.ispos=function(){return this.s>0};ct.isZero=function(){return this.s===0};ct.lessThan=ct.lt=function(t){return this.cmp(t)<0};ct.lessThanOrEqualTo=ct.lte=function(t){return this.cmp(t)<1};ct.logarithm=ct.log=function(t){var e,n=this,r=n.constructor,i=r.precision,o=i+5;if(t===void 0)t=new r(10);else if(t=new r(t),t.s<1||t.eq(ca))throw Error(ls+"NaN");if(n.s<1)throw Error(ls+(n.s?"NaN":"-Infinity"));return n.eq(ca)?new r(0):(ur=!1,e=Xc(a_(n,o),a_(t,o),o),ur=!0,In(e,i))};ct.minus=ct.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?vme(e,t):mme(e,(t.s=-t.s,t))};ct.modulo=ct.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(t=new r(t),!t.s)throw Error(ls+"NaN");return n.s?(ur=!1,e=Xc(n,t,0,1).times(t),ur=!0,n.minus(e)):In(new r(n),i)};ct.naturalExponential=ct.exp=function(){return gme(this)};ct.naturalLogarithm=ct.ln=function(){return a_(this)};ct.negated=ct.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t};ct.plus=ct.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?mme(e,t):vme(e,(t.s=-t.s,t))};ct.precision=ct.sd=function(t){var e,n,r,i=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(Ph+t);if(e=zr(i)+1,r=i.d.length-1,n=r*Xn+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n};ct.squareRoot=ct.sqrt=function(){var t,e,n,r,i,o,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(ls+"NaN")}for(t=zr(s),ur=!1,i=Math.sqrt(+s),i==0||i==1/0?(e=Tl(s.d),(e.length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=by((t+1)/2)-(t<0||t%2),i==1/0?e="5e"+t:(e=i.toExponential(),e=e.slice(0,e.indexOf("e")+1)+t),r=new l(e)):r=new l(i.toString()),n=l.precision,i=a=n+3;;)if(o=r,r=o.plus(Xc(s,o,a+2)).times(.5),Tl(o.d).slice(0,a)===(e=Tl(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&e=="4999"){if(In(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if(e!="9999")break;a+=4}return ur=!0,In(r,n)};ct.times=ct.mul=function(t){var e,n,r,i,o,a,s,l,c,u=this,f=u.constructor,d=u.d,h=(t=new f(t)).d;if(!u.s||!t.s)return new f(0);for(t.s*=u.s,n=u.e+t.e,l=d.length,c=h.length,l=0;){for(e=0,i=l+r;i>r;)s=o[i]+h[r]*d[i-r-1]+e,o[i--]=s%ai|0,e=s/ai|0;o[i]=(o[i]+e)%ai|0}for(;!o[--a];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,ur?In(t,f.precision):t};ct.toDecimalPlaces=ct.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),t===void 0?n:(Hl(t,0,xy),e===void 0?e=r.rounding:Hl(e,0,8),In(n,t+zr(n)+1,e))};ct.toExponential=function(t,e){var n,r=this,i=r.constructor;return t===void 0?n=Qh(r,!0):(Hl(t,0,xy),e===void 0?e=i.rounding:Hl(e,0,8),r=In(new i(r),t+1,e),n=Qh(r,!0,t+1)),n};ct.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return t===void 0?Qh(i):(Hl(t,0,xy),e===void 0?e=o.rounding:Hl(e,0,8),r=In(new o(i),t+zr(i)+1,e),n=Qh(r.abs(),!1,t+zr(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};ct.toInteger=ct.toint=function(){var t=this,e=t.constructor;return In(new e(t),zr(t)+1,e.rounding)};ct.toNumber=function(){return+this};ct.toPower=ct.pow=function(t){var e,n,r,i,o,a,s=this,l=s.constructor,c=12,u=+(t=new l(t));if(!t.s)return new l(ca);if(s=new l(s),!s.s){if(t.s<1)throw Error(ls+"Infinity");return s}if(s.eq(ca))return s;if(r=l.precision,t.eq(ca))return In(s,r);if(e=t.e,n=t.d.length-1,a=e>=n,o=s.s,a){if((n=u<0?-u:u)<=pme){for(i=new l(ca),e=Math.ceil(r/Xn+4),ur=!1;n%2&&(i=i.times(s),dQ(i.d,e)),n=by(n/2),n!==0;)s=s.times(s),dQ(s.d,e);return ur=!0,t.s<0?new l(ca).div(i):In(i,r)}}else if(o<0)throw Error(ls+"NaN");return o=o<0&&t.d[Math.max(e,n)]&1?-1:1,s.s=1,ur=!1,i=t.times(a_(s,r+c)),ur=!0,i=gme(i),i.s=o,i};ct.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return t===void 0?(n=zr(i),r=Qh(i,n<=o.toExpNeg||n>=o.toExpPos)):(Hl(t,1,xy),e===void 0?e=o.rounding:Hl(e,0,8),i=In(new o(i),t,e),n=zr(i),r=Qh(i,t<=n||n<=o.toExpNeg,t)),r};ct.toSignificantDigits=ct.tosd=function(t,e){var n=this,r=n.constructor;return t===void 0?(t=r.precision,e=r.rounding):(Hl(t,1,xy),e===void 0?e=r.rounding:Hl(e,0,8)),In(new r(n),t,e)};ct.toString=ct.valueOf=ct.val=ct.toJSON=ct[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=zr(t),n=t.constructor;return Qh(t,e<=n.toExpNeg||e>=n.toExpPos)};function mme(t,e){var n,r,i,o,a,s,l,c,u=t.constructor,f=u.precision;if(!t.s||!e.s)return e.s||(e=new u(t)),ur?In(e,f):e;if(l=t.d,c=e.d,a=t.e,i=e.e,l=l.slice(),o=a-i,o){for(o<0?(r=l,o=-o,s=c.length):(r=c,i=a,s=l.length),a=Math.ceil(f/Xn),s=a>s?a+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=c.length,s-o<0&&(o=s,r=c,c=l,l=r),n=0;o;)n=(l[--o]=l[o]+c[o]+n)/ai|0,l[o]%=ai;for(n&&(l.unshift(n),++i),s=l.length;l[--s]==0;)l.pop();return e.d=l,e.e=i,ur?In(e,f):e}function Hl(t,e,n){if(t!==~~t||tn)throw Error(Ph+t)}function Tl(t){var e,n,r,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;ea?1:-1;else for(s=l=0;si[s]?1:-1;break}return l}function n(r,i,o){for(var a=0;o--;)r[o]-=a,a=r[o]1;)r.shift()}return function(r,i,o,a){var s,l,c,u,f,d,h,p,m,g,v,y,x,b,_,S,O,C,E=r.constructor,M=r.s==i.s?1:-1,I=r.d,P=i.d;if(!r.s)return new E(r);if(!i.s)throw Error(ls+"Division by zero");for(l=r.e-i.e,O=P.length,_=I.length,h=new E(M),p=h.d=[],c=0;P[c]==(I[c]||0);)++c;if(P[c]>(I[c]||0)&&--l,o==null?y=o=E.precision:a?y=o+(zr(r)-zr(i))+1:y=o,y<0)return new E(0);if(y=y/Xn+2|0,c=0,O==1)for(u=0,P=P[0],y++;(c<_||u)&&y--;c++)x=u*ai+(I[c]||0),p[c]=x/P|0,u=x%P|0;else{for(u=ai/(P[0]+1)|0,u>1&&(P=t(P,u),I=t(I,u),O=P.length,_=I.length),b=O,m=I.slice(0,O),g=m.length;g=ai/2&&++S;do u=0,s=e(P,m,O,g),s<0?(v=m[0],O!=g&&(v=v*ai+(m[1]||0)),u=v/S|0,u>1?(u>=ai&&(u=ai-1),f=t(P,u),d=f.length,g=m.length,s=e(f,m,d,g),s==1&&(u--,n(f,O16)throw Error(iU+zr(t));if(!t.s)return new u(ca);for(e==null?(ur=!1,s=f):s=e,a=new u(.03125);t.abs().gte(.1);)t=t.times(a),c+=5;for(r=Math.log(jd(2,c))/Math.LN10*2+5|0,s+=r,n=i=o=new u(ca),u.precision=s;;){if(i=In(i.times(t),s),n=n.times(++l),a=o.plus(Xc(i,n,s)),Tl(a.d).slice(0,s)===Tl(o.d).slice(0,s)){for(;c--;)o=In(o.times(o),s);return u.precision=f,e==null?(ur=!0,In(o,f)):o}o=a}}function zr(t){for(var e=t.e*Xn,n=t.d[0];n>=10;n/=10)e++;return e}function QR(t,e,n){if(e>t.LN10.sd())throw ur=!0,n&&(t.precision=n),Error(ls+"LN10 precision limit exceeded");return In(new t(t.LN10),e)}function Ju(t){for(var e="";t--;)e+="0";return e}function a_(t,e){var n,r,i,o,a,s,l,c,u,f=1,d=10,h=t,p=h.d,m=h.constructor,g=m.precision;if(h.s<1)throw Error(ls+(h.s?"NaN":"-Infinity"));if(h.eq(ca))return new m(0);if(e==null?(ur=!1,c=g):c=e,h.eq(10))return e==null&&(ur=!0),QR(m,c);if(c+=d,m.precision=c,n=Tl(p),r=n.charAt(0),o=zr(h),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)h=h.times(t),n=Tl(h.d),r=n.charAt(0),f++;o=zr(h),r>1?(h=new m("0."+n),o++):h=new m(r+"."+n.slice(1))}else return l=QR(m,c+2,g).times(o+""),h=a_(new m(r+"."+n.slice(1)),c-d).plus(l),m.precision=g,e==null?(ur=!0,In(h,g)):h;for(s=a=h=Xc(h.minus(ca),h.plus(ca),c),u=In(h.times(h),c),i=3;;){if(a=In(a.times(u),c),l=s.plus(Xc(a,new m(i),c)),Tl(l.d).slice(0,c)===Tl(s.d).slice(0,c))return s=s.times(2),o!==0&&(s=s.plus(QR(m,c+2,g).times(o+""))),s=Xc(s,new m(f),c),m.precision=g,e==null?(ur=!0,In(s,g)):s;s=l,i+=2}}function fQ(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charCodeAt(r)===48;)++r;for(i=e.length;e.charCodeAt(i-1)===48;)--i;if(e=e.slice(r,i),e){if(i-=r,n=n-r-1,t.e=by(n/Xn),t.d=[],r=(n+1)%Xn,n<0&&(r+=Xn),rFE||t.e<-FE))throw Error(iU+n)}else t.s=0,t.e=0,t.d=[0];return t}function In(t,e,n){var r,i,o,a,s,l,c,u,f=t.d;for(a=1,o=f[0];o>=10;o/=10)a++;if(r=e-a,r<0)r+=Xn,i=e,c=f[u=0];else{if(u=Math.ceil((r+1)/Xn),o=f.length,u>=o)return t;for(c=o=f[u],a=1;o>=10;o/=10)a++;r%=Xn,i=r-Xn+a}if(n!==void 0&&(o=jd(10,a-i-1),s=c/o%10|0,l=e<0||f[u+1]!==void 0||c%o,l=n<4?(s||l)&&(n==0||n==(t.s<0?3:2)):s>5||s==5&&(n==4||l||n==6&&(r>0?i>0?c/jd(10,a-i):0:f[u-1])%10&1||n==(t.s<0?8:7))),e<1||!f[0])return l?(o=zr(t),f.length=1,e=e-o-1,f[0]=jd(10,(Xn-e%Xn)%Xn),t.e=by(-e/Xn)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(r==0?(f.length=u,o=1,u--):(f.length=u+1,o=jd(10,Xn-r),f[u]=i>0?(c/jd(10,a-i)%jd(10,i)|0)*o:0),l)for(;;)if(u==0){(f[0]+=o)==ai&&(f[0]=1,++t.e);break}else{if(f[u]+=o,f[u]!=ai)break;f[u--]=0,o=1}for(r=f.length;f[--r]===0;)f.pop();if(ur&&(t.e>FE||t.e<-FE))throw Error(iU+zr(t));return t}function vme(t,e){var n,r,i,o,a,s,l,c,u,f,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),ur?In(e,h):e;if(l=t.d,f=e.d,r=e.e,c=t.e,l=l.slice(),a=c-r,a){for(u=a<0,u?(n=l,a=-a,s=f.length):(n=f,r=c,s=l.length),i=Math.max(Math.ceil(h/Xn),s)+2,a>i&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for(i=l.length,s=f.length,u=i0;--i)l[s++]=0;for(i=f.length;i>a;){if(l[--i]0?o=o.charAt(0)+"."+o.slice(1)+Ju(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+Ju(-i-1)+o,n&&(r=n-a)>0&&(o+=Ju(r))):i>=a?(o+=Ju(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+Ju(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=Ju(r))),t.s<0?"-"+o:o}function dQ(t,e){if(t.length>e)return t.length=e,!0}function yme(t){var e,n,r;function i(o){var a=this;if(!(a instanceof i))return new i(o);if(a.constructor=i,o instanceof i){a.s=o.s,a.e=o.e,a.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(Ph+o);if(o>0)a.s=1;else if(o<0)o=-o,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(o===~~o&&o<1e7){a.e=0,a.d=[o];return}return fQ(a,o.toString())}else if(typeof o!="string")throw Error(Ph+o);if(o.charCodeAt(0)===45?(o=o.slice(1),a.s=-1):a.s=1,IMt.test(o))fQ(a,o);else throw Error(Ph+o)}if(i.prototype=ct,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=yme,i.config=i.set=DMt,t===void 0&&(t={}),t)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],e=0;e=i[e+1]&&r<=i[e+2])this[n]=r;else throw Error(Ph+n+": "+r);if((r=t[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Ph+n+": "+r);return this}var oU=yme(RMt);ca=new oU(1);const kn=oU;function LMt(t){return jMt(t)||FMt(t)||NMt(t)||$Mt()}function $Mt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NMt(t,e){if(t){if(typeof t=="string")return eN(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eN(t,e)}}function FMt(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function jMt(t){if(Array.isArray(t))return eN(t)}function eN(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e?n.apply(void 0,i):t(e-a,hQ(function(){for(var s=arguments.length,l=new Array(s),c=0;ct.length)&&(e=t.length);for(var n=0,r=new Array(e);n"u"||!(Symbol.iterator in Object(t)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=t[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(e&&n.length===e));r=!0);}catch(l){i=!0,o=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function e2t(t){if(Array.isArray(t))return t}function Sme(t){var e=s_(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function Ome(t,e,n){if(t.lte(0))return new kn(0);var r=X2.getDigitCount(t.toNumber()),i=new kn(10).pow(r),o=t.div(i),a=r!==1?.05:.1,s=new kn(Math.ceil(o.div(a).toNumber())).add(n).mul(a),l=s.mul(i);return e?l:new kn(Math.ceil(l))}function t2t(t,e,n){var r=1,i=new kn(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new kn(10).pow(X2.getDigitCount(t)-1),i=new kn(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new kn(Math.floor(t)))}else t===0?i=new kn(Math.floor((e-1)/2)):n||(i=new kn(Math.floor(t)));var a=Math.floor((e-1)/2),s=WMt(UMt(function(l){return i.add(new kn(l-a).mul(r)).toNumber()}),tN);return s(0,e)}function Cme(t,e,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new kn(0),tickMin:new kn(0),tickMax:new kn(0)};var o=Ome(new kn(e).sub(t).div(n-1),r,i),a;t<=0&&e>=0?a=new kn(0):(a=new kn(t).add(e).div(2),a=a.sub(new kn(a).mod(o)));var s=Math.ceil(a.sub(t).div(o).toNumber()),l=Math.ceil(new kn(e).sub(a).div(o).toNumber()),c=s+l+1;return c>n?Cme(t,e,n,r,i+1):(c0?l+(n-c):l,s=e>0?s:s+(n-c)),{step:o,tickMin:a.sub(new kn(s).mul(o)),tickMax:a.add(new kn(l).mul(o))})}function n2t(t){var e=s_(t,2),n=e[0],r=e[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(i,2),s=Sme([n,r]),l=s_(s,2),c=l[0],u=l[1];if(c===-1/0||u===1/0){var f=u===1/0?[c].concat(rN(tN(0,i-1).map(function(){return 1/0}))):[].concat(rN(tN(0,i-1).map(function(){return-1/0})),[u]);return n>r?nN(f):f}if(c===u)return t2t(c,i,o);var d=Cme(c,u,a,o),h=d.step,p=d.tickMin,m=d.tickMax,g=X2.rangeStep(p,m.add(new kn(.1).mul(h)),h);return n>r?nN(g):g}function r2t(t,e){var n=s_(t,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Sme([r,i]),s=s_(a,2),l=s[0],c=s[1];if(l===-1/0||c===1/0)return[r,i];if(l===c)return[l];var u=Math.max(e,2),f=Ome(new kn(c).sub(l).div(u-1),o,0),d=[].concat(rN(X2.rangeStep(new kn(l),new kn(c).sub(new kn(.99).mul(f)),f)),[c]);return r>i?nN(d):d}var i2t=_me(n2t),o2t=_me(r2t),a2t="Invariant failed";function Yh(t,e){if(!t)throw new Error(a2t)}var s2t=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function jE(){return jE=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function p2t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function _y(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,o=t.data,a=t.dataPointFormatter,s=t.xAxis,l=t.yAxis,c=h2t(t,s2t),u=Nt(c,!1);t.direction==="x"&&s.type!=="number"&&Yh(!1);var f=o.map(function(d){var h=a(d,i),p=h.x,m=h.y,g=h.value,v=h.errorVal;if(!v)return null;var y=[],x,b;if(Array.isArray(v)){var _=l2t(v,2);x=_[0],b=_[1]}else x=b=v;if(n==="vertical"){var S=s.scale,O=m+e,C=O+r,E=O-r,M=S(g-x),I=S(g+b);y.push({x1:I,y1:C,x2:I,y2:E}),y.push({x1:M,y1:O,x2:I,y2:O}),y.push({x1:M,y1:C,x2:M,y2:E})}else if(n==="horizontal"){var P=l.scale,R=p+e,T=R-r,D=R+r,U=P(g-x),B=P(g+b);y.push({x1:T,y1:B,x2:D,y2:B}),y.push({x1:R,y1:U,x2:R,y2:B}),y.push({x1:T,y1:U,x2:D,y2:U})}return ue.createElement(Wn,jE({className:"recharts-errorBar",key:"bar-".concat(y.map(function(W){return"".concat(W.x1,"-").concat(W.x2,"-").concat(W.y1,"-").concat(W.y2)}))},u),y.map(function(W){return ue.createElement("line",jE({},W,{key:"line-".concat(W.x1,"-").concat(W.x2,"-").concat(W.y1,"-").concat(W.y2)}))}))});return ue.createElement(Wn,{className:"recharts-errorBars"},f)}_y.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};_y.displayName="ErrorBar";function l_(t){"@babel/helpers - typeof";return l_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l_(t)}function mQ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function YR(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=-1,s=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(s<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,c=0;c0?i[c-1].coordinate:i[s-1].coordinate,f=i[c].coordinate,d=c>=s-1?i[0].coordinate:i[c+1].coordinate,h=void 0;if(Fs(f-u)!==Fs(d-f)){var p=[];if(Fs(d-f)===Fs(l[1]-l[0])){h=d;var m=f+l[1]-l[0];p[0]=Math.min(m,(m+u)/2),p[1]=Math.max(m,(m+u)/2)}else{h=u;var g=d+l[1]-l[0];p[0]=Math.min(f,(g+f)/2),p[1]=Math.max(f,(g+f)/2)}var v=[Math.min(f,(h+f)/2),Math.max(f,(h+f)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){a=i[c].index;break}}else{var y=Math.min(u,d),x=Math.max(u,d);if(e>(y+f)/2&&e<=(x+f)/2){a=i[c].index;break}}}else for(var b=0;b0&&b(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===s-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){a=r[b].index;break}return a},aU=function(e){var n=e,r=n.type.displayName,i=e.props,o=i.stroke,a=i.fill,s;switch(r){case"Line":s=o;break;case"Area":case"Radar":s=o&&o!=="none"?o:a;break;default:s=a;break}return s},C2t=function(e){var n=e.barSize,r=e.stackGroups,i=r===void 0?{}:r;if(!i)return{};for(var o={},a=Object.keys(i),s=0,l=a.length;s=0});if(g&&g.length){var v=g[0].props.barSize,y=g[0].props[m];o[y]||(o[y]=[]),o[y].push({item:g[0],stackList:g.slice(1),barSize:Xt(v)?n:v})}}return o},T2t=function(e){var n=e.barGap,r=e.barCategoryGap,i=e.bandSize,o=e.sizeList,a=o===void 0?[]:o,s=e.maxBarSize,l=a.length;if(l<1)return null;var c=tv(n,i,0,!0),u,f=[];if(a[0].barSize===+a[0].barSize){var d=!1,h=i/l,p=a.reduce(function(b,_){return b+_.barSize||0},0);p+=(l-1)*c,p>=i&&(p-=(l-1)*c,c=0),p>=i&&h>0&&(d=!0,h*=.9,p=l*h);var m=(i-p)/2>>0,g={offset:m-c,size:0};u=a.reduce(function(b,_){var S={item:_.item,position:{offset:g.offset+g.size+c,size:d?h:_.barSize}},O=[].concat(vQ(b),[S]);return g=O[O.length-1].position,_.stackList&&_.stackList.length&&_.stackList.forEach(function(C){O.push({item:C,position:g})}),O},f)}else{var v=tv(r,i,0,!0);i-2*v-(l-1)*c<=0&&(c=0);var y=(i-2*v-(l-1)*c)/l;y>1&&(y>>=0);var x=s===+s?Math.min(y,s):y;u=a.reduce(function(b,_,S){var O=[].concat(vQ(b),[{item:_.item,position:{offset:v+(y+c)*S+(y-x)/2,size:x}}]);return _.stackList&&_.stackList.length&&_.stackList.forEach(function(C){O.push({item:C,position:O[O.length-1].position})}),O},f)}return u},E2t=function(e,n,r,i){var o=r.children,a=r.width,s=r.margin,l=a-(s.left||0)-(s.right||0),c=Tme({children:o,legendWidth:l});if(c){var u=i||{},f=u.width,d=u.height,h=c.align,p=c.verticalAlign,m=c.layout;if((m==="vertical"||m==="horizontal"&&p==="middle")&&h!=="center"&&Ye(e[h]))return $a($a({},e),{},Sg({},h,e[h]+(f||0)));if((m==="horizontal"||m==="vertical"&&h==="center")&&p!=="middle"&&Ye(e[p]))return $a($a({},e),{},Sg({},p,e[p]+(d||0)))}return e},P2t=function(e,n,r){return Xt(n)?!0:e==="horizontal"?n==="yAxis":e==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},Eme=function(e,n,r,i,o){var a=n.props.children,s=Ka(a,_y).filter(function(c){return P2t(i,o,c.props.direction)});if(s&&s.length){var l=s.map(function(c){return c.props.dataKey});return e.reduce(function(c,u){var f=po(u,r);if(Xt(f))return c;var d=Array.isArray(f)?[H2(f),pf(f)]:[f,f],h=l.reduce(function(p,m){var g=po(u,m,0),v=d[0]-Math.abs(Array.isArray(g)?g[0]:g),y=d[1]+Math.abs(Array.isArray(g)?g[1]:g);return[Math.min(v,p[0]),Math.max(y,p[1])]},[1/0,-1/0]);return[Math.min(h[0],c[0]),Math.max(h[1],c[1])]},[1/0,-1/0])}return null},M2t=function(e,n,r,i,o){var a=n.map(function(s){return Eme(e,s,r,o,i)}).filter(function(s){return!Xt(s)});return a&&a.length?a.reduce(function(s,l){return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]):null},Pme=function(e,n,r,i,o){var a=n.map(function(l){var c=l.props.dataKey;return r==="number"&&c&&Eme(e,l,c,i)||$x(e,c,r,o)});if(r==="number")return a.reduce(function(l,c){return[Math.min(l[0],c[0]),Math.max(l[1],c[1])]},[1/0,-1/0]);var s={};return a.reduce(function(l,c){for(var u=0,f=c.length;u=2?Fs(s[0]-s[1])*2*c:c,n&&(e.ticks||e.niceTicks)){var u=(e.ticks||e.niceTicks).map(function(f){var d=o?o.indexOf(f):f;return{coordinate:i(d)+c,value:f,offset:c}});return u.filter(function(f){return!hy(f.coordinate)})}return e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(f,d){return{coordinate:i(f)+c,value:f,index:d,offset:c}}):i.ticks&&!r?i.ticks(e.tickCount).map(function(f){return{coordinate:i(f)+c,value:f,offset:c}}):i.domain().map(function(f,d){return{coordinate:i(f)+c,value:o?o[f]:f,index:d,offset:c}})},KR=new WeakMap,tO=function(e,n){if(typeof n!="function")return e;KR.has(e)||KR.set(e,new WeakMap);var r=KR.get(e);if(r.has(n))return r.get(n);var i=function(){e.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,i),i},k2t=function(e,n,r){var i=e.scale,o=e.type,a=e.layout,s=e.axisType;if(i==="auto")return a==="radial"&&s==="radiusAxis"?{scale:t_(),realScaleType:"band"}:a==="radial"&&s==="angleAxis"?{scale:DE(),realScaleType:"linear"}:o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:Lx(),realScaleType:"point"}:o==="category"?{scale:t_(),realScaleType:"band"}:{scale:DE(),realScaleType:"linear"};if(ow(i)){var l="scale".concat(I2(i));return{scale:(uQ[l]||Lx)(),realScaleType:uQ[l]?l:"point"}}return Ft(i)?{scale:i}:{scale:Lx(),realScaleType:"point"}},yQ=1e-4,A2t=function(e){var n=e.domain();if(!(!n||n.length<=2)){var r=n.length,i=e.range(),o=Math.min(i[0],i[1])-yQ,a=Math.max(i[0],i[1])+yQ,s=e(n[0]),l=e(n[r-1]);(sa||la)&&e.domain([n[0],n[r-1]])}},R2t=function(e,n){if(!e)return null;for(var r=0,i=e.length;ri)&&(o[1]=i),o[0]>i&&(o[0]=i),o[1]=0?(e[s][r][0]=o,e[s][r][1]=o+l,o=e[s][r][1]):(e[s][r][0]=a,e[s][r][1]=a+l,a=e[s][r][1])}},L2t=function(e){var n=e.length;if(!(n<=0))for(var r=0,i=e[0].length;r=0?(e[a][r][0]=o,e[a][r][1]=o+s,o=e[a][r][1]):(e[a][r][0]=0,e[a][r][1]=0)}},$2t={sign:D2t,expand:u0t,none:nv,silhouette:f0t,wiggle:d0t,positive:L2t},N2t=function(e,n,r){var i=n.map(function(s){return s.props.dataKey}),o=$2t[r],a=c0t().keys(i).value(function(s,l){return+po(s,l,0)}).order(R3).offset(o);return a(e)},F2t=function(e,n,r,i,o,a){if(!e)return null;var s=a?n.reverse():n,l={},c=s.reduce(function(f,d){var h=d.props,p=h.stackId,m=h.hide;if(m)return f;var g=d.props[r],v=f[g]||{hasStack:!1,stackGroups:{}};if(Zr(p)){var y=v.stackGroups[p]||{numericAxisId:r,cateAxisId:i,items:[]};y.items.push(d),v.hasStack=!0,v.stackGroups[p]=y}else v.stackGroups[py("_stackId_")]={numericAxisId:r,cateAxisId:i,items:[d]};return $a($a({},f),{},Sg({},g,v))},l),u={};return Object.keys(c).reduce(function(f,d){var h=c[d];if(h.hasStack){var p={};h.stackGroups=Object.keys(h.stackGroups).reduce(function(m,g){var v=h.stackGroups[g];return $a($a({},m),{},Sg({},g,{numericAxisId:r,cateAxisId:i,items:v.items,stackedData:N2t(e,v.items,o)}))},p)}return $a($a({},f),{},Sg({},d,h))},u)},j2t=function(e,n){var r=n.realScaleType,i=n.type,o=n.tickCount,a=n.originalDomain,s=n.allowDecimals,l=r||n.scale;if(l!=="auto"&&l!=="linear")return null;if(o&&i==="number"&&a&&(a[0]==="auto"||a[1]==="auto")){var c=e.domain();if(!c.length)return null;var u=i2t(c,o,s);return e.domain([H2(u),pf(u)]),{niceTicks:u}}if(o&&i==="number"){var f=e.domain(),d=o2t(f,o,s);return{niceTicks:d}}return null};function BE(t){var e=t.axis,n=t.ticks,r=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if(e.type==="category"){if(!e.allowDuplicatedCategory&&e.dataKey&&!Xt(i[e.dataKey])){var s=fE(n,"value",i[e.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var l=po(i,Xt(a)?e.dataKey:a);return Xt(l)?null:e.scale(l)}var xQ=function(e){var n=e.axis,r=e.ticks,i=e.offset,o=e.bandSize,a=e.entry,s=e.index;if(n.type==="category")return r[s]?r[s].coordinate+i:null;var l=po(a,n.dataKey,n.domain[s]);return Xt(l)?null:n.scale(l)-o/2+i},B2t=function(e){var n=e.numericAxis,r=n.scale.domain();if(n.type==="number"){var i=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return i<=0&&o>=0?0:o<0?o:i}return r[0]},z2t=function(e,n){var r=e.props.stackId;if(Zr(r)){var i=n[r];if(i){var o=i.items.indexOf(e);return o>=0?i.stackedData[o]:null}}return null},U2t=function(e){return e.reduce(function(n,r){return[H2(r.concat([n[0]]).filter(Ye)),pf(r.concat([n[1]]).filter(Ye))]},[1/0,-1/0])},Ame=function(e,n,r){return Object.keys(e).reduce(function(i,o){var a=e[o],s=a.stackedData,l=s.reduce(function(c,u){var f=U2t(u.slice(n,r+1));return[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]);return[Math.min(l[0],i[0]),Math.max(l[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},bQ=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,_Q=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,aN=function(e,n,r){if(Ft(e))return e(n,r);if(!Array.isArray(e))return n;var i=[];if(Ye(e[0]))i[0]=r?e[0]:Math.min(e[0],n[0]);else if(bQ.test(e[0])){var o=+bQ.exec(e[0])[1];i[0]=n[0]-o}else Ft(e[0])?i[0]=e[0](n[0]):i[0]=n[0];if(Ye(e[1]))i[1]=r?e[1]:Math.max(e[1],n[1]);else if(_Q.test(e[1])){var a=+_Q.exec(e[1])[1];i[1]=n[1]+a}else Ft(e[1])?i[1]=e[1](n[1]):i[1]=n[1];return i},zE=function(e,n,r){if(e&&e.scale&&e.scale.bandwidth){var i=e.scale.bandwidth();if(!r||i>0)return i}if(e&&n&&n.length>=2){for(var o=D4(n,function(f){return f.coordinate}),a=1/0,s=1,l=o.length;sa&&(c=2*Math.PI-c),{radius:s,angle:H2t(c),angleInRadian:c}},Q2t=function(e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),a=Math.min(i,o);return{startAngle:n-a*360,endAngle:r-a*360}},Y2t=function(e,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),a=Math.floor(i/360),s=Math.min(o,a);return e+s*360},CQ=function(e,n){var r=e.x,i=e.y,o=X2t({x:r,y:i},n),a=o.radius,s=o.angle,l=n.innerRadius,c=n.outerRadius;if(ac)return!1;if(a===0)return!0;var u=Q2t(n),f=u.startAngle,d=u.endAngle,h=s,p;if(f<=d){for(;h>d;)h-=360;for(;h=f&&h<=d}else{for(;h>f;)h-=360;for(;h=d&&h<=f}return p?OQ(OQ({},n),{},{radius:a,angle:Y2t(h,n)}):null};function f_(t){"@babel/helpers - typeof";return f_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f_(t)}var K2t=["offset"];function Z2t(t){return nkt(t)||tkt(t)||ekt(t)||J2t()}function J2t(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ekt(t,e){if(t){if(typeof t=="string")return sN(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sN(t,e)}}function tkt(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nkt(t){if(Array.isArray(t))return sN(t)}function sN(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ikt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function TQ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Hr(t){for(var e=1;e=0?1:-1,x,b;i==="insideStart"?(x=h+y*a,b=m):i==="insideEnd"?(x=p-y*a,b=!m):i==="end"&&(x=p+y*a,b=m),b=v<=0?b:!b;var _=ki(c,u,g,x),S=ki(c,u,g,x+(b?1:-1)*359),O="M".concat(_.x,",").concat(_.y,` - A`).concat(g,",").concat(g,",0,1,").concat(b?0:1,`, - `).concat(S.x,",").concat(S.y),C=Xt(e.id)?py("recharts-radial-line-"):e.id;return ue.createElement("text",d_({},r,{dominantBaseline:"central",className:ke("recharts-radial-bar-label",s)}),ue.createElement("defs",null,ue.createElement("path",{id:C,d:O})),ue.createElement("textPath",{xlinkHref:"#".concat(C)},n))},fkt=function(e){var n=e.viewBox,r=e.offset,i=e.position,o=n,a=o.cx,s=o.cy,l=o.innerRadius,c=o.outerRadius,u=o.startAngle,f=o.endAngle,d=(u+f)/2;if(i==="outside"){var h=ki(a,s,c+r,d),p=h.x,m=h.y;return{x:p,y:m,textAnchor:p>=a?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"end"};var g=(l+c)/2,v=ki(a,s,g,d),y=v.x,x=v.y;return{x:y,y:x,textAnchor:"middle",verticalAnchor:"middle"}},dkt=function(e){var n=e.viewBox,r=e.parentViewBox,i=e.offset,o=e.position,a=n,s=a.x,l=a.y,c=a.width,u=a.height,f=u>=0?1:-1,d=f*i,h=f>0?"end":"start",p=f>0?"start":"end",m=c>=0?1:-1,g=m*i,v=m>0?"end":"start",y=m>0?"start":"end";if(o==="top"){var x={x:s+c/2,y:l-f*i,textAnchor:"middle",verticalAnchor:h};return Hr(Hr({},x),r?{height:Math.max(l-r.y,0),width:c}:{})}if(o==="bottom"){var b={x:s+c/2,y:l+u+d,textAnchor:"middle",verticalAnchor:p};return Hr(Hr({},b),r?{height:Math.max(r.y+r.height-(l+u),0),width:c}:{})}if(o==="left"){var _={x:s-g,y:l+u/2,textAnchor:v,verticalAnchor:"middle"};return Hr(Hr({},_),r?{width:Math.max(_.x-r.x,0),height:u}:{})}if(o==="right"){var S={x:s+c+g,y:l+u/2,textAnchor:y,verticalAnchor:"middle"};return Hr(Hr({},S),r?{width:Math.max(r.x+r.width-S.x,0),height:u}:{})}var O=r?{width:c,height:u}:{};return o==="insideLeft"?Hr({x:s+g,y:l+u/2,textAnchor:y,verticalAnchor:"middle"},O):o==="insideRight"?Hr({x:s+c-g,y:l+u/2,textAnchor:v,verticalAnchor:"middle"},O):o==="insideTop"?Hr({x:s+c/2,y:l+d,textAnchor:"middle",verticalAnchor:p},O):o==="insideBottom"?Hr({x:s+c/2,y:l+u-d,textAnchor:"middle",verticalAnchor:h},O):o==="insideTopLeft"?Hr({x:s+g,y:l+d,textAnchor:y,verticalAnchor:p},O):o==="insideTopRight"?Hr({x:s+c-g,y:l+d,textAnchor:v,verticalAnchor:p},O):o==="insideBottomLeft"?Hr({x:s+g,y:l+u-d,textAnchor:y,verticalAnchor:h},O):o==="insideBottomRight"?Hr({x:s+c-g,y:l+u-d,textAnchor:v,verticalAnchor:h},O):cy(o)&&(Ye(o.x)||lh(o.x))&&(Ye(o.y)||lh(o.y))?Hr({x:s+tv(o.x,c),y:l+tv(o.y,u),textAnchor:"end",verticalAnchor:"end"},O):Hr({x:s+c/2,y:l+u/2,textAnchor:"middle",verticalAnchor:"middle"},O)},hkt=function(e){return"cx"in e&&Ye(e.cx)};function qi(t){var e=t.offset,n=e===void 0?5:e,r=rkt(t,K2t),i=Hr({offset:n},r),o=i.viewBox,a=i.position,s=i.value,l=i.children,c=i.content,u=i.className,f=u===void 0?"":u,d=i.textBreakAll;if(!o||Xt(s)&&Xt(l)&&!k.isValidElement(c)&&!Ft(c))return null;if(k.isValidElement(c))return k.cloneElement(c,i);var h;if(Ft(c)){if(h=k.createElement(c,i),k.isValidElement(h))return h}else h=lkt(i);var p=hkt(o),m=Nt(i,!0);if(p&&(a==="insideStart"||a==="insideEnd"||a==="end"))return ukt(i,h,m);var g=p?fkt(i):dkt(i);return ue.createElement(EE,d_({className:ke("recharts-label",f)},m,g,{breakAll:d}),h)}qi.displayName="Label";var Ime=function(e){var n=e.cx,r=e.cy,i=e.angle,o=e.startAngle,a=e.endAngle,s=e.r,l=e.radius,c=e.innerRadius,u=e.outerRadius,f=e.x,d=e.y,h=e.top,p=e.left,m=e.width,g=e.height,v=e.clockWise,y=e.labelViewBox;if(y)return y;if(Ye(m)&&Ye(g)){if(Ye(f)&&Ye(d))return{x:f,y:d,width:m,height:g};if(Ye(h)&&Ye(p))return{x:h,y:p,width:m,height:g}}return Ye(f)&&Ye(d)?{x:f,y:d,width:0,height:0}:Ye(n)&&Ye(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:a||i||0,innerRadius:c||0,outerRadius:u||l||s||0,clockWise:v}:e.viewBox?e.viewBox:{}},pkt=function(e,n){return e?e===!0?ue.createElement(qi,{key:"label-implicit",viewBox:n}):Zr(e)?ue.createElement(qi,{key:"label-implicit",viewBox:n,value:e}):k.isValidElement(e)?e.type===qi?k.cloneElement(e,{key:"label-implicit",viewBox:n}):ue.createElement(qi,{key:"label-implicit",content:e,viewBox:n}):Ft(e)?ue.createElement(qi,{key:"label-implicit",content:e,viewBox:n}):cy(e)?ue.createElement(qi,d_({viewBox:n},e,{key:"label-implicit"})):null:null},mkt=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var i=e.children,o=Ime(e),a=Ka(i,qi).map(function(l,c){return k.cloneElement(l,{viewBox:n||o,key:"label-".concat(c)})});if(!r)return a;var s=pkt(e.label,n||o);return[s].concat(Z2t(a))};qi.parseViewBox=Ime;qi.renderCallByParent=mkt;function gkt(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var vkt=gkt;const ykt=$t(vkt);function h_(t){"@babel/helpers - typeof";return h_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h_(t)}var xkt=["valueAccessor"],bkt=["data","dataKey","clockWise","id","textBreakAll"];function _kt(t){return Ckt(t)||Okt(t)||Skt(t)||wkt()}function wkt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Skt(t,e){if(t){if(typeof t=="string")return lN(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lN(t,e)}}function Okt(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ckt(t){if(Array.isArray(t))return lN(t)}function lN(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Mkt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var kkt=function(e){return Array.isArray(e.value)?ykt(e.value):e.value};function Qc(t){var e=t.valueAccessor,n=e===void 0?kkt:e,r=MQ(t,xkt),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,l=r.textBreakAll,c=MQ(r,bkt);return!i||!i.length?null:ue.createElement(Wn,{className:"recharts-label-list"},i.map(function(u,f){var d=Xt(o)?n(u,f):po(u&&u.payload,o),h=Xt(s)?{}:{id:"".concat(s,"-").concat(f)};return ue.createElement(qi,WE({},Nt(u,!0),c,h,{parentViewBox:u.parentViewBox,value:d,textBreakAll:l,viewBox:qi.parseViewBox(Xt(a)?u:PQ(PQ({},u),{},{clockWise:a})),key:"label-".concat(f),index:f}))}))}Qc.displayName="LabelList";function Akt(t,e){return t?t===!0?ue.createElement(Qc,{key:"labelList-implicit",data:e}):ue.isValidElement(t)||Ft(t)?ue.createElement(Qc,{key:"labelList-implicit",data:e,content:t}):cy(t)?ue.createElement(Qc,WE({data:e},t,{key:"labelList-implicit"})):null:null}function Rkt(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Ka(r,Qc).map(function(a,s){return k.cloneElement(a,{data:e,key:"labelList-".concat(s)})});if(!n)return i;var o=Akt(t.label,e);return[o].concat(_kt(i))}Qc.renderCallByParent=Rkt;function p_(t){"@babel/helpers - typeof";return p_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p_(t)}function cN(){return cN=Object.assign?Object.assign.bind():function(t){for(var e=1;e180),",").concat(+(a>c),`, - `).concat(f.x,",").concat(f.y,` - `);if(i>0){var h=ki(n,r,i,a),p=ki(n,r,i,c);d+="L ".concat(p.x,",").concat(p.y,` - A `).concat(i,",").concat(i,`,0, - `).concat(+(Math.abs(l)>180),",").concat(+(a<=c),`, - `).concat(h.x,",").concat(h.y," Z")}else d+="L ".concat(n,",").concat(r," Z");return d},Nkt=function(e){var n=e.cx,r=e.cy,i=e.innerRadius,o=e.outerRadius,a=e.cornerRadius,s=e.forceCornerRadius,l=e.cornerIsExternal,c=e.startAngle,u=e.endAngle,f=Fs(u-c),d=nO({cx:n,cy:r,radius:o,angle:c,sign:f,cornerRadius:a,cornerIsExternal:l}),h=d.circleTangency,p=d.lineTangency,m=d.theta,g=nO({cx:n,cy:r,radius:o,angle:u,sign:-f,cornerRadius:a,cornerIsExternal:l}),v=g.circleTangency,y=g.lineTangency,x=g.theta,b=l?Math.abs(c-u):Math.abs(c-u)-m-x;if(b<0)return s?"M ".concat(p.x,",").concat(p.y,` - a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0 - a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0 - `):Dme({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:c,endAngle:u});var _="M ".concat(p.x,",").concat(p.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(h.x,",").concat(h.y,` - A`).concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(f<0),",").concat(v.x,",").concat(v.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,` - `);if(i>0){var S=nO({cx:n,cy:r,radius:i,angle:c,sign:f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),O=S.circleTangency,C=S.lineTangency,E=S.theta,M=nO({cx:n,cy:r,radius:i,angle:u,sign:-f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),I=M.circleTangency,P=M.lineTangency,R=M.theta,T=l?Math.abs(c-u):Math.abs(c-u)-E-R;if(T<0&&a===0)return"".concat(_,"L").concat(n,",").concat(r,"Z");_+="L".concat(P.x,",").concat(P.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(I.x,",").concat(I.y,` - A`).concat(i,",").concat(i,",0,").concat(+(T>180),",").concat(+(f>0),",").concat(O.x,",").concat(O.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(C.x,",").concat(C.y,"Z")}else _+="L".concat(n,",").concat(r,"Z");return _},Fkt={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},Lme=function(e){var n=AQ(AQ({},Fkt),e),r=n.cx,i=n.cy,o=n.innerRadius,a=n.outerRadius,s=n.cornerRadius,l=n.forceCornerRadius,c=n.cornerIsExternal,u=n.startAngle,f=n.endAngle,d=n.className;if(a0&&Math.abs(u-f)<360?g=Nkt({cx:r,cy:i,innerRadius:o,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:l,cornerIsExternal:c,startAngle:u,endAngle:f}):g=Dme({cx:r,cy:i,innerRadius:o,outerRadius:a,startAngle:u,endAngle:f}),ue.createElement("path",cN({},Nt(n,!0),{className:h,d:g,role:"img"}))};function m_(t){"@babel/helpers - typeof";return m_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m_(t)}function uN(){return uN=Object.assign?Object.assign.bind():function(t){for(var e=1;e0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function Xkt(t,e){return wy(t.getTime(),e.getTime())}function jQ(t,e,n){if(t.size!==e.size)return!1;for(var r={},i=t.entries(),o=0,a,s;(a=i.next())&&!a.done;){for(var l=e.entries(),c=!1,u=0;(s=l.next())&&!s.done;){var f=a.value,d=f[0],h=f[1],p=s.value,m=p[0],g=p[1];!c&&!r[u]&&(c=n.equals(d,m,o,u,t,e,n)&&n.equals(h,g,d,m,t,e,n))&&(r[u]=!0),u++}if(!c)return!1;o++}return!0}function Qkt(t,e,n){var r=FQ(t),i=r.length;if(FQ(e).length!==i)return!1;for(var o;i-- >0;)if(o=r[i],o===Nme&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof||!$me(e,o)||!n.equals(t[o],e[o],o,o,t,e,n))return!1;return!0}function b0(t,e,n){var r=$Q(t),i=r.length;if($Q(e).length!==i)return!1;for(var o,a,s;i-- >0;)if(o=r[i],o===Nme&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof||!$me(e,o)||!n.equals(t[o],e[o],o,o,t,e,n)||(a=NQ(t,o),s=NQ(e,o),(a||s)&&(!a||!s||a.configurable!==s.configurable||a.enumerable!==s.enumerable||a.writable!==s.writable)))return!1;return!0}function Ykt(t,e){return wy(t.valueOf(),e.valueOf())}function Kkt(t,e){return t.source===e.source&&t.flags===e.flags}function BQ(t,e,n){if(t.size!==e.size)return!1;for(var r={},i=t.values(),o,a;(o=i.next())&&!o.done;){for(var s=e.values(),l=!1,c=0;(a=s.next())&&!a.done;)!l&&!r[c]&&(l=n.equals(o.value,a.value,o.value,a.value,t,e,n))&&(r[c]=!0),c++;if(!l)return!1}return!0}function Zkt(t,e){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}var Jkt="[object Arguments]",eAt="[object Boolean]",tAt="[object Date]",nAt="[object Map]",rAt="[object Number]",iAt="[object Object]",oAt="[object RegExp]",aAt="[object Set]",sAt="[object String]",lAt=Array.isArray,zQ=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,UQ=Object.assign,cAt=Object.prototype.toString.call.bind(Object.prototype.toString);function uAt(t){var e=t.areArraysEqual,n=t.areDatesEqual,r=t.areMapsEqual,i=t.areObjectsEqual,o=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,s=t.areSetsEqual,l=t.areTypedArraysEqual;return function(u,f,d){if(u===f)return!0;if(u==null||f==null||typeof u!="object"||typeof f!="object")return u!==u&&f!==f;var h=u.constructor;if(h!==f.constructor)return!1;if(h===Object)return i(u,f,d);if(lAt(u))return e(u,f,d);if(zQ!=null&&zQ(u))return l(u,f,d);if(h===Date)return n(u,f,d);if(h===RegExp)return a(u,f,d);if(h===Map)return r(u,f,d);if(h===Set)return s(u,f,d);var p=cAt(u);return p===tAt?n(u,f,d):p===oAt?a(u,f,d):p===nAt?r(u,f,d):p===aAt?s(u,f,d):p===iAt?typeof u.then!="function"&&typeof f.then!="function"&&i(u,f,d):p===Jkt?i(u,f,d):p===eAt||p===rAt||p===sAt?o(u,f,d):!1}}function fAt(t){var e=t.circular,n=t.createCustomConfig,r=t.strict,i={areArraysEqual:r?b0:qkt,areDatesEqual:Xkt,areMapsEqual:r?LQ(jQ,b0):jQ,areObjectsEqual:r?b0:Qkt,arePrimitiveWrappersEqual:Ykt,areRegExpsEqual:Kkt,areSetsEqual:r?LQ(BQ,b0):BQ,areTypedArraysEqual:r?b0:Zkt};if(n&&(i=UQ({},i,n(i))),e){var o=iO(i.areArraysEqual),a=iO(i.areMapsEqual),s=iO(i.areObjectsEqual),l=iO(i.areSetsEqual);i=UQ({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return i}function dAt(t){return function(e,n,r,i,o,a,s){return t(e,n,s)}}function hAt(t){var e=t.circular,n=t.comparator,r=t.createState,i=t.equals,o=t.strict;if(r)return function(l,c){var u=r(),f=u.cache,d=f===void 0?e?new WeakMap:void 0:f,h=u.meta;return n(l,c,{cache:d,equals:i,meta:h,strict:o})};if(e)return function(l,c){return n(l,c,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(l,c){return n(l,c,a)}}var pAt=gd();gd({strict:!0});gd({circular:!0});gd({circular:!0,strict:!0});gd({createInternalComparator:function(){return wy}});gd({strict:!0,createInternalComparator:function(){return wy}});gd({circular:!0,createInternalComparator:function(){return wy}});gd({circular:!0,createInternalComparator:function(){return wy},strict:!0});function gd(t){t===void 0&&(t={});var e=t.circular,n=e===void 0?!1:e,r=t.createInternalComparator,i=t.createState,o=t.strict,a=o===void 0?!1:o,s=fAt(t),l=uAt(s),c=r?r(l):dAt(l);return hAt({circular:n,comparator:l,createState:i,equals:c,strict:a})}function mAt(t){typeof requestAnimationFrame<"u"&&requestAnimationFrame(t)}function WQ(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(o){n<0&&(n=o),o-n>e?(t(o),n=-1):mAt(i)};requestAnimationFrame(r)}function fN(t){"@babel/helpers - typeof";return fN=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fN(t)}function gAt(t){return bAt(t)||xAt(t)||yAt(t)||vAt()}function vAt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yAt(t,e){if(t){if(typeof t=="string")return VQ(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return VQ(t,e)}}function VQ(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?1:v<0?0:v},m=function(v){for(var y=v>1?1:v,x=y,b=0;b<8;++b){var _=f(x)-y,S=h(x);if(Math.abs(_-y)0&&arguments[0]!==void 0?arguments[0]:{},n=e.stiff,r=n===void 0?100:n,i=e.damping,o=i===void 0?8:i,a=e.dt,s=a===void 0?17:a,l=function(u,f,d){var h=-(u-f)*r,p=d*o,m=d+(h-p)*s/1e3,g=d*s/1e3+u;return Math.abs(g-f)t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function KAt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function ZR(t){return tRt(t)||eRt(t)||JAt(t)||ZAt()}function ZAt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function JAt(t,e){if(t){if(typeof t=="string")return gN(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gN(t,e)}}function eRt(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tRt(t){if(Array.isArray(t))return gN(t)}function gN(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function HE(t){return HE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},HE(t)}var ql=function(t){oRt(n,t);var e=aRt(n);function n(r,i){var o;nRt(this,n),o=e.call(this,r,i);var a=o.props,s=a.isActive,l=a.attributeName,c=a.from,u=a.to,f=a.steps,d=a.children,h=a.duration;if(o.handleStyleChange=o.handleStyleChange.bind(xN(o)),o.changeStyle=o.changeStyle.bind(xN(o)),!s||h<=0)return o.state={style:{}},typeof d=="function"&&(o.state={style:u}),yN(o);if(f&&f.length)o.state={style:f[0].style};else if(c){if(typeof d=="function")return o.state={style:c},yN(o);o.state={style:l?q0({},l,c):c}}else o.state={style:{}};return o}return rRt(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,a=i.canBegin;this.mounted=!0,!(!o||!a)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,a=o.isActive,s=o.canBegin,l=o.attributeName,c=o.shouldReAnimate,u=o.to,f=o.from,d=this.state.style;if(s){if(!a){var h={style:l?q0({},l,u):u};this.state&&d&&(l&&d[l]!==u||!l&&d!==u)&&this.setState(h);return}if(!(pAt(i.to,u)&&i.canBegin&&i.isActive)){var p=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var m=p||c?f:i.to;if(this.state&&d){var g={style:l?q0({},l,m):m};(l&&d[l]!==m||!l&&d!==m)&&this.setState(g)}this.runAnimation(_s(_s({},this.props),{},{from:m,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var o=this,a=i.from,s=i.to,l=i.duration,c=i.easing,u=i.begin,f=i.onAnimationEnd,d=i.onAnimationStart,h=XAt(a,s,NAt(c),l,this.changeStyle),p=function(){o.stopJSAnimation=h()};this.manager.start([d,u,p,l,f])}},{key:"runStepAnimation",value:function(i){var o=this,a=i.steps,s=i.begin,l=i.onAnimationStart,c=a[0],u=c.style,f=c.duration,d=f===void 0?0:f,h=function(m,g,v){if(v===0)return m;var y=g.duration,x=g.easing,b=x===void 0?"ease":x,_=g.style,S=g.properties,O=g.onAnimationEnd,C=v>0?a[v-1]:g,E=S||Object.keys(_);if(typeof b=="function"||b==="spring")return[].concat(ZR(m),[o.runJSAnimation.bind(o,{from:C.style,to:_,duration:y,easing:b}),y]);var M=qQ(E,y,b),I=_s(_s(_s({},C.style),_),{},{transition:M});return[].concat(ZR(m),[I,y,O]).filter(CAt)};return this.manager.start([l].concat(ZR(a.reduce(h,[u,Math.max(d,s)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=_At());var o=i.begin,a=i.duration,s=i.attributeName,l=i.to,c=i.easing,u=i.onAnimationStart,f=i.onAnimationEnd,d=i.steps,h=i.children,p=this.manager;if(this.unSubscribe=p.subscribe(this.handleStyleChange),typeof c=="function"||typeof h=="function"||c==="spring"){this.runJSAnimation(i);return}if(d.length>1){this.runStepAnimation(i);return}var m=s?q0({},s,l):l,g=qQ(Object.keys(m),a,c);p.start([u,o,_s(_s({},m),{},{transition:g}),a,f])}},{key:"render",value:function(){var i=this.props,o=i.children;i.begin;var a=i.duration;i.attributeName,i.easing;var s=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var l=YAt(i,QAt),c=k.Children.count(o),u=this.state.style;if(typeof o=="function")return o(u);if(!s||c===0||a<=0)return o;var f=function(h){var p=h.props,m=p.style,g=m===void 0?{}:m,v=p.className,y=k.cloneElement(h,_s(_s({},l),{},{style:_s(_s({},g),u),className:v}));return y};return c===1?f(k.Children.only(o)):ue.createElement("div",null,k.Children.map(o,function(d){return f(d)}))}}]),n}(k.PureComponent);ql.displayName="Animate";ql.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};ql.propTypes={from:Qe.oneOfType([Qe.object,Qe.string]),to:Qe.oneOfType([Qe.object,Qe.string]),attributeName:Qe.string,duration:Qe.number,begin:Qe.number,easing:Qe.oneOfType([Qe.string,Qe.func]),steps:Qe.arrayOf(Qe.shape({duration:Qe.number.isRequired,style:Qe.object.isRequired,easing:Qe.oneOfType([Qe.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Qe.func]),properties:Qe.arrayOf("string"),onAnimationEnd:Qe.func})),children:Qe.oneOfType([Qe.node,Qe.func]),isActive:Qe.bool,canBegin:Qe.bool,onAnimationEnd:Qe.func,shouldReAnimate:Qe.bool,onAnimationStart:Qe.func,onAnimationReStart:Qe.func};Qe.object,Qe.object,Qe.object,Qe.element;Qe.object,Qe.object,Qe.object,Qe.oneOfType([Qe.array,Qe.element]),Qe.any;function y_(t){"@babel/helpers - typeof";return y_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y_(t)}function qE(){return qE=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0?1:-1,l=r>=0?1:-1,c=i>=0&&r>=0||i<0&&r<0?1:0,u;if(a>0&&o instanceof Array){for(var f=[0,0,0,0],d=0,h=4;da?a:o[d];u="M".concat(e,",").concat(n+s*f[0]),f[0]>0&&(u+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(c,",").concat(e+l*f[0],",").concat(n)),u+="L ".concat(e+r-l*f[1],",").concat(n),f[1]>0&&(u+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(c,`, - `).concat(e+r,",").concat(n+s*f[1])),u+="L ".concat(e+r,",").concat(n+i-s*f[2]),f[2]>0&&(u+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(c,`, - `).concat(e+r-l*f[2],",").concat(n+i)),u+="L ".concat(e+l*f[3],",").concat(n+i),f[3]>0&&(u+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(c,`, - `).concat(e,",").concat(n+i-s*f[3])),u+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);u="M ".concat(e,",").concat(n+s*p,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+l*p,",").concat(n,` - L `).concat(e+r-l*p,",").concat(n,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+r,",").concat(n+s*p,` - L `).concat(e+r,",").concat(n+i-s*p,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+r-l*p,",").concat(n+i,` - L `).concat(e+l*p,",").concat(n+i,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e,",").concat(n+i-s*p," Z")}else u="M ".concat(e,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return u},gRt=function(e,n){if(!e||!n)return!1;var r=e.x,i=e.y,o=n.x,a=n.y,s=n.width,l=n.height;if(Math.abs(s)>0&&Math.abs(l)>0){var c=Math.min(o,o+s),u=Math.max(o,o+s),f=Math.min(a,a+l),d=Math.max(a,a+l);return r>=c&&r<=u&&i>=f&&i<=d}return!1},vRt={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},sU=function(e){var n=nY(nY({},vRt),e),r=k.useRef(),i=k.useState(-1),o=lRt(i,2),a=o[0],s=o[1];k.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var b=r.current.getTotalLength();b&&s(b)}catch{}},[]);var l=n.x,c=n.y,u=n.width,f=n.height,d=n.radius,h=n.className,p=n.animationEasing,m=n.animationDuration,g=n.animationBegin,v=n.isAnimationActive,y=n.isUpdateAnimationActive;if(l!==+l||c!==+c||u!==+u||f!==+f||u===0||f===0)return null;var x=ke("recharts-rectangle",h);return y?ue.createElement(ql,{canBegin:a>0,from:{width:u,height:f,x:l,y:c},to:{width:u,height:f,x:l,y:c},duration:m,animationEasing:p,isActive:y},function(b){var _=b.width,S=b.height,O=b.x,C=b.y;return ue.createElement(ql,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,isActive:v,easing:p},ue.createElement("path",qE({},Nt(n,!0),{className:x,d:rY(O,C,_,S,d),ref:r})))}):ue.createElement("path",qE({},Nt(n,!0),{className:x,d:rY(l,c,u,f,d)}))};function bN(){return bN=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ORt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var CRt=function(e,n,r,i,o,a){return"M".concat(e,",").concat(o,"v").concat(i,"M").concat(a,",").concat(n,"h").concat(r)},TRt=function(e){var n=e.x,r=n===void 0?0:n,i=e.y,o=i===void 0?0:i,a=e.top,s=a===void 0?0:a,l=e.left,c=l===void 0?0:l,u=e.width,f=u===void 0?0:u,d=e.height,h=d===void 0?0:d,p=e.className,m=SRt(e,yRt),g=xRt({x:r,y:o,top:s,left:c,width:f,height:h},m);return!Ye(r)||!Ye(o)||!Ye(f)||!Ye(h)||!Ye(s)||!Ye(c)?null:ue.createElement("path",_N({},Nt(g,!0),{className:ke("recharts-cross",p),d:CRt(r,o,f,h,s,c)}))},ERt=ape,PRt=ERt(Object.getPrototypeOf,Object),MRt=PRt,kRt=du,ARt=MRt,RRt=hu,IRt="[object Object]",DRt=Function.prototype,LRt=Object.prototype,Vme=DRt.toString,$Rt=LRt.hasOwnProperty,NRt=Vme.call(Object);function FRt(t){if(!RRt(t)||kRt(t)!=IRt)return!1;var e=ARt(t);if(e===null)return!0;var n=$Rt.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&Vme.call(n)==NRt}var jRt=FRt;const BRt=$t(jRt);var zRt=du,URt=hu,WRt="[object Boolean]";function VRt(t){return t===!0||t===!1||URt(t)&&zRt(t)==WRt}var GRt=VRt;const HRt=$t(GRt);function b_(t){"@babel/helpers - typeof";return b_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b_(t)}function XE(){return XE=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:c},to:{upperWidth:u,lowerWidth:f,height:d,x:l,y:c},duration:m,animationEasing:p,isActive:v},function(x){var b=x.upperWidth,_=x.lowerWidth,S=x.height,O=x.x,C=x.y;return ue.createElement(ql,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,easing:p},ue.createElement("path",XE({},Nt(n,!0),{className:y,d:lY(O,C,b,_,S),ref:r})))}):ue.createElement("g",null,ue.createElement("path",XE({},Nt(n,!0),{className:y,d:lY(l,c,u,f,d)})))},rIt=["option","shapeType","propTransformer","activeClassName","isActive"];function __(t){"@babel/helpers - typeof";return __=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},__(t)}function iIt(t,e){if(t==null)return{};var n=oIt(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function oIt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function cY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function QE(t){for(var e=1;e0&&r.handleDrag(i.changedTouches[0])}),na(nl(r),"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=r.props,o=i.endIndex,a=i.onDragEnd,s=i.startIndex;a==null||a({endIndex:o,startIndex:s})}),r.detachDragEndListener()}),na(nl(r),"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),na(nl(r),"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),na(nl(r),"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),na(nl(r),"handleSlideDragStart",function(i){var o=gY(i)?i.changedTouches[0]:i;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(nl(r),"startX"),endX:r.handleTravellerDragStart.bind(nl(r),"endX")},r.state={},r}return jIt(e,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,o=r.endX,a=this.state.scaleValues,s=this.props,l=s.gap,c=s.data,u=c.length-1,f=Math.min(i,o),d=Math.max(i,o),h=e.getIndexInRange(a,f),p=e.getIndexInRange(a,d);return{startIndex:h-h%l,endIndex:p===u?u:p-p%l}}},{key:"getTextOfTick",value:function(r){var i=this.props,o=i.data,a=i.tickFormatter,s=i.dataKey,l=po(o[r],s,r);return Ft(a)?a(l,r):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var i=this.state,o=i.slideMoveStartX,a=i.startX,s=i.endX,l=this.props,c=l.x,u=l.width,f=l.travellerWidth,d=l.startIndex,h=l.endIndex,p=l.onChange,m=r.pageX-o;m>0?m=Math.min(m,c+u-f-s,c+u-f-a):m<0&&(m=Math.max(m,c-a,c-s));var g=this.getIndex({startX:a+m,endX:s+m});(g.startIndex!==d||g.endIndex!==h)&&p&&p(g),this.setState({startX:a+m,endX:s+m,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var o=gY(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i=this.state,o=i.brushMoveStartX,a=i.movingTravellerId,s=i.endX,l=i.startX,c=this.state[a],u=this.props,f=u.x,d=u.width,h=u.travellerWidth,p=u.onChange,m=u.gap,g=u.data,v={startX:this.state.startX,endX:this.state.endX},y=r.pageX-o;y>0?y=Math.min(y,f+d-h-c):y<0&&(y=Math.max(y,f-c)),v[a]=c+y;var x=this.getIndex(v),b=x.startIndex,_=x.endIndex,S=function(){var C=g.length-1;return a==="startX"&&(s>l?b%m===0:_%m===0)||sl?_%m===0:b%m===0)||s>l&&_===C};this.setState(na(na({},a,c+y),"brushMoveStartX",r.pageX),function(){p&&S()&&p(x)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var o=this,a=this.state,s=a.scaleValues,l=a.startX,c=a.endX,u=this.state[i],f=s.indexOf(u);if(f!==-1){var d=f+r;if(!(d===-1||d>=s.length)){var h=s[d];i==="startX"&&h>=c||i==="endX"&&h<=l||this.setState(na({},i,h),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.fill,c=r.stroke;return ue.createElement("rect",{stroke:c,fill:l,x:i,y:o,width:a,height:s})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.data,c=r.children,u=r.padding,f=k.Children.only(c);return f?ue.cloneElement(f,{x:i,y:o,width:a,height:s,margin:u,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(r,i){var o=this,a=this.props,s=a.y,l=a.travellerWidth,c=a.height,u=a.traveller,f=a.ariaLabel,d=a.data,h=a.startIndex,p=a.endIndex,m=Math.max(r,this.props.x),g=eI(eI({},Nt(this.props,!1)),{},{x:m,y:s,width:l,height:c}),v=f||"Min value: ".concat(d[h].name,", Max value: ").concat(d[p].name);return ue.createElement(Wn,{tabIndex:0,role:"slider","aria-label":v,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(x){["ArrowLeft","ArrowRight"].includes(x.key)&&(x.preventDefault(),x.stopPropagation(),o.handleTravellerMoveKeyboard(x.key==="ArrowRight"?1:-1,i))},onFocus:function(){o.setState({isTravellerFocused:!0})},onBlur:function(){o.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(u,g))}},{key:"renderSlide",value:function(r,i){var o=this.props,a=o.y,s=o.height,l=o.stroke,c=o.travellerWidth,u=Math.min(r,i)+c,f=Math.max(Math.abs(i-r)-c,0);return ue.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:u,y:a,width:f,height:s})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,o=r.endIndex,a=r.y,s=r.height,l=r.travellerWidth,c=r.stroke,u=this.state,f=u.startX,d=u.endX,h=5,p={pointerEvents:"none",fill:c};return ue.createElement(Wn,{className:"recharts-brush-texts"},ue.createElement(EE,KE({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,d)-h,y:a+s/2},p),this.getTextOfTick(i)),ue.createElement(EE,KE({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,d)+l+h,y:a+s/2},p),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,i=r.data,o=r.className,a=r.children,s=r.x,l=r.y,c=r.width,u=r.height,f=r.alwaysShowText,d=this.state,h=d.startX,p=d.endX,m=d.isTextActive,g=d.isSlideMoving,v=d.isTravellerMoving,y=d.isTravellerFocused;if(!i||!i.length||!Ye(s)||!Ye(l)||!Ye(c)||!Ye(u)||c<=0||u<=0)return null;var x=ke("recharts-brush",o),b=ue.Children.count(a)===1,_=NIt("userSelect","none");return ue.createElement(Wn,{className:x,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:_},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(h,p),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(p,"endX"),(m||g||v||y||f)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,o=r.y,a=r.width,s=r.height,l=r.stroke,c=Math.floor(o+s/2)-1;return ue.createElement(ue.Fragment,null,ue.createElement("rect",{x:i,y:o,width:a,height:s,fill:l,stroke:"none"}),ue.createElement("line",{x1:i+1,y1:c,x2:i+a-1,y2:c,fill:"none",stroke:"#fff"}),ue.createElement("line",{x1:i+1,y1:c+2,x2:i+a-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var o;return ue.isValidElement(r)?o=ue.cloneElement(r,i):Ft(r)?o=r(i):o=e.renderDefaultTraveller(i),o}},{key:"getDerivedStateFromProps",value:function(r,i){var o=r.data,a=r.width,s=r.x,l=r.travellerWidth,c=r.updateId,u=r.startIndex,f=r.endIndex;if(o!==i.prevData||c!==i.prevUpdateId)return eI({prevData:o,prevTravellerWidth:l,prevUpdateId:c,prevX:s,prevWidth:a},o&&o.length?VIt({data:o,width:a,x:s,travellerWidth:l,startIndex:u,endIndex:f}):{scale:null,scaleValues:null});if(i.scale&&(a!==i.prevWidth||s!==i.prevX||l!==i.prevTravellerWidth)){i.scale.range([s,s+a-l]);var d=i.scale.domain().map(function(h){return i.scale(h)});return{prevData:o,prevTravellerWidth:l,prevUpdateId:c,prevX:s,prevWidth:a,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:d}}return null}},{key:"getIndexInRange",value:function(r,i){for(var o=r.length,a=0,s=o-1;s-a>1;){var l=Math.floor((a+s)/2);r[l]>i?s=l:a=l}return i>=r[s]?s:a}}]),e}(k.PureComponent);na(Kh,"displayName","Brush");na(Kh,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var GIt=I4;function HIt(t,e){var n;return GIt(t,function(r,i,o){return n=e(r,i,o),!n}),!!n}var qIt=HIt,XIt=Zhe,QIt=hd,YIt=qIt,KIt=Vo,ZIt=j2;function JIt(t,e,n){var r=KIt(t)?XIt:YIt;return n&&ZIt(t,e,n)&&(e=void 0),r(t,QIt(e))}var eDt=JIt;const tDt=$t(eDt);var zl=function(e,n){var r=e.alwaysShow,i=e.ifOverflow;return r&&(i="extendDomain"),i===n},vY=_pe;function nDt(t,e,n){e=="__proto__"&&vY?vY(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var rDt=nDt,iDt=rDt,oDt=xpe,aDt=hd;function sDt(t,e){var n={};return e=aDt(e),oDt(t,function(r,i,o){iDt(n,i,e(r,i,o))}),n}var lDt=sDt;const cDt=$t(lDt);function uDt(t,e){for(var n=-1,r=t==null?0:t.length;++n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function EDt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function PDt(t,e){var n=t.x,r=t.y,i=TDt(t,wDt),o="".concat(n),a=parseInt(o,10),s="".concat(r),l=parseInt(s,10),c="".concat(e.height||i.height),u=parseInt(c,10),f="".concat(e.width||i.width),d=parseInt(f,10);return _0(_0(_0(_0(_0({},e),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:u,width:d,name:e.name,radius:e.radius})}function xY(t){return ue.createElement(dIt,SN({shapeType:"rectangle",propTransformer:PDt,activeClassName:"recharts-active-bar"},t))}var MDt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,i){if(typeof e=="number")return e;var o=typeof r=="number";return o?e(r,i):(o||Yh(!1),n)}},kDt=["value","background"],Yme;function pv(t){"@babel/helpers - typeof";return pv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pv(t)}function ADt(t,e){if(t==null)return{};var n=RDt(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function RDt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function JE(){return JE=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&Math.abs(T)0&&Math.abs(R)0&&(R=Math.min((q||0)-(T[Y-1]||0),R))}),Number.isFinite(R)){var D=R/P,U=m.layout==="vertical"?r.height:r.width;if(m.padding==="gap"&&(O=D*U/2),m.padding==="no-gap"){var B=tv(e.barCategoryGap,D*U),W=D*U/2;O=W-B-(W-B)/U*B}}}i==="xAxis"?C=[r.left+(x.left||0)+(O||0),r.left+r.width-(x.right||0)-(O||0)]:i==="yAxis"?C=l==="horizontal"?[r.top+r.height-(x.bottom||0),r.top+(x.top||0)]:[r.top+(x.top||0)+(O||0),r.top+r.height-(x.bottom||0)-(O||0)]:C=m.range,_&&(C=[C[1],C[0]]);var z=k2t(m,o,d),$=z.scale,N=z.realScaleType;$.domain(v).range(C),A2t($);var L=j2t($,As(As({},m),{},{realScaleType:N}));i==="xAxis"?(I=g==="top"&&!b||g==="bottom"&&b,E=r.left,M=f[S]-I*m.height):i==="yAxis"&&(I=g==="left"&&!b||g==="right"&&b,E=f[S]-I*m.width,M=r.top);var A=As(As(As({},m),L),{},{realScaleType:N,x:E,y:M,scale:$,width:i==="xAxis"?r.width:m.width,height:i==="yAxis"?r.height:m.height});return A.bandSize=zE(A,L),!m.hide&&i==="xAxis"?f[S]+=(I?-1:1)*A.height:m.hide||(f[S]+=(I?-1:1)*A.width),As(As({},h),{},Z2({},p,A))},{})},ege=function(e,n){var r=e.x,i=e.y,o=n.x,a=n.y;return{x:Math.min(r,o),y:Math.min(i,a),width:Math.abs(o-r),height:Math.abs(a-i)}},UDt=function(e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2;return ege({x:n,y:r},{x:i,y:o})},tge=function(){function t(e){jDt(this,t),this.scale=e}return BDt(t,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,o=r.position;if(n!==void 0){if(o)switch(o){case"start":return this.scale(n);case"middle":{var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+a}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(n)+s}default:return this.scale(n)}if(i){var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),i=r[0],o=r[r.length-1];return i<=o?n>=i&&n<=o:n>=o&&n<=i}}],[{key:"create",value:function(n){return new t(n)}}]),t}();Z2(tge,"EPS",1e-4);var cU=function(e){var n=Object.keys(e).reduce(function(r,i){return As(As({},r),{},Z2({},i,tge.create(e[i])))},{});return As(As({},n),{},{apply:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.bandAware,s=o.position;return cDt(i,function(l,c){return n[c].apply(l,{bandAware:a,position:s})})},isInRange:function(i){return Qme(i,function(o,a){return n[a].isInRange(o)})}})};function WDt(t){return(t%180+180)%180}var VDt=function(e){var n=e.width,r=e.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=WDt(i),a=o*Math.PI/180,s=Math.atan(r/n),l=a>s&&a-1?i[o?e[a]:a]:void 0}}var QDt=XDt,YDt=Gme;function KDt(t){var e=YDt(t),n=e%1;return e===e?n?e-n:e:0}var ZDt=KDt,JDt=dpe,eLt=hd,tLt=ZDt,nLt=Math.max;function rLt(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:tLt(n);return i<0&&(i=nLt(r+i,0)),JDt(t,eLt(e),i)}var iLt=rLt,oLt=QDt,aLt=iLt,sLt=oLt(aLt),lLt=sLt;const cLt=$t(lLt);var uLt=Egt(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),uU=k.createContext(void 0),fU=k.createContext(void 0),nge=k.createContext(void 0),rge=k.createContext({}),ige=k.createContext(void 0),oge=k.createContext(0),age=k.createContext(0),OY=function(e){var n=e.state,r=n.xAxisMap,i=n.yAxisMap,o=n.offset,a=e.clipPathId,s=e.children,l=e.width,c=e.height,u=uLt(o);return ue.createElement(uU.Provider,{value:r},ue.createElement(fU.Provider,{value:i},ue.createElement(rge.Provider,{value:o},ue.createElement(nge.Provider,{value:u},ue.createElement(ige.Provider,{value:a},ue.createElement(oge.Provider,{value:c},ue.createElement(age.Provider,{value:l},s)))))))},fLt=function(){return k.useContext(ige)},sge=function(e){var n=k.useContext(uU);n==null&&Yh(!1);var r=n[e];return r==null&&Yh(!1),r},dLt=function(){var e=k.useContext(uU);return nf(e)},hLt=function(){var e=k.useContext(fU),n=cLt(e,function(r){return Qme(r.domain,Number.isFinite)});return n||nf(e)},lge=function(e){var n=k.useContext(fU);n==null&&Yh(!1);var r=n[e];return r==null&&Yh(!1),r},pLt=function(){var e=k.useContext(nge);return e},mLt=function(){return k.useContext(rge)},dU=function(){return k.useContext(age)},hU=function(){return k.useContext(oge)};function T_(t){"@babel/helpers - typeof";return T_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T_(t)}function CY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function TY(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt*i)return!1;var o=n();return t*(e-t*o/2-r)>=0&&t*(e+t*o/2-i)<=0}function $Lt(t,e){return cge(t,e+1)}function NLt(t,e,n,r,i){for(var o=(r||[]).slice(),a=e.start,s=e.end,l=0,c=1,u=a,f=function(){var p=r==null?void 0:r[l];if(p===void 0)return{v:cge(r,c)};var m=l,g,v=function(){return g===void 0&&(g=n(p,m)),g},y=p.coordinate,x=l===0||tP(t,y,v,u,s);x||(l=0,u=a,c+=1),x&&(u=y+t*(v()/2+i),l+=c)},d;c<=o.length;)if(d=f(),d)return d.v;return[]}function M_(t){"@babel/helpers - typeof";return M_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M_(t)}function RY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Wi(t){for(var e=1;e0?h.coordinate-g*t:h.coordinate})}else o[d]=h=Wi(Wi({},h),{},{tickCoord:h.coordinate});var v=tP(t,h.tickCoord,m,s,l);v&&(l=h.tickCoord-t*(m()/2+i),o[d]=Wi(Wi({},h),{},{isShow:!0}))},u=a-1;u>=0;u--)c(u);return o}function ULt(t,e,n,r,i,o){var a=(r||[]).slice(),s=a.length,l=e.start,c=e.end;if(o){var u=r[s-1],f=n(u,s-1),d=t*(u.coordinate+t*f/2-c);a[s-1]=u=Wi(Wi({},u),{},{tickCoord:d>0?u.coordinate-d*t:u.coordinate});var h=tP(t,u.tickCoord,function(){return f},l,c);h&&(c=u.tickCoord-t*(f/2+i),a[s-1]=Wi(Wi({},u),{},{isShow:!0}))}for(var p=o?s-1:s,m=function(y){var x=a[y],b,_=function(){return b===void 0&&(b=n(x,y)),b};if(y===0){var S=t*(x.coordinate-t*_()/2-l);a[y]=x=Wi(Wi({},x),{},{tickCoord:S<0?x.coordinate-S*t:x.coordinate})}else a[y]=x=Wi(Wi({},x),{},{tickCoord:x.coordinate});var O=tP(t,x.tickCoord,_,l,c);O&&(l=x.tickCoord+t*(_()/2+i),a[y]=Wi(Wi({},x),{},{isShow:!0}))},g=0;g=2?Fs(i[1].coordinate-i[0].coordinate):1,v=LLt(o,g,h);return l==="equidistantPreserveStart"?NLt(g,v,m,i,a):(l==="preserveStart"||l==="preserveStartEnd"?d=ULt(g,v,m,i,a,l==="preserveStartEnd"):d=zLt(g,v,m,i,a),d.filter(function(y){return y.isShow}))}var WLt=["viewBox"],VLt=["viewBox"],GLt=["ticks"];function mv(t){"@babel/helpers - typeof";return mv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mv(t)}function qm(){return qm=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function HLt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function qLt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DY(t,e){for(var n=0;n0?l(this.props):l(h)),a<=0||s<=0||!p||!p.length?null:ue.createElement(Wn,{className:ke("recharts-cartesian-axis",c),ref:function(g){r.layerReference=g}},o&&this.renderAxisLine(),this.renderTicks(p,this.state.fontSize,this.state.letterSpacing),qi.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,o){var a;return ue.isValidElement(r)?a=ue.cloneElement(r,i):Ft(r)?a=r(i):a=ue.createElement(EE,qm({},i,{className:"recharts-cartesian-axis-tick-value"}),o),a}}]),e}(k.Component);mU(Sy,"displayName","CartesianAxis");mU(Sy,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var e$t=["x1","y1","x2","y2","key"],t$t=["offset"];function Zh(t){"@babel/helpers - typeof";return Zh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zh(t)}function LY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Xi(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function o$t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var a$t=function(e){var n=e.fill;if(!n||n==="none")return null;var r=e.fillOpacity,i=e.x,o=e.y,a=e.width,s=e.height;return ue.createElement("rect",{x:i,y:o,width:a,height:s,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function dge(t,e){var n;if(ue.isValidElement(t))n=ue.cloneElement(t,e);else if(Ft(t))n=t(e);else{var r=e.x1,i=e.y1,o=e.x2,a=e.y2,s=e.key,l=$Y(e,e$t),c=Nt(l,!1);c.offset;var u=$Y(c,t$t);n=ue.createElement("line",fh({},u,{x1:r,y1:i,x2:o,y2:a,fill:"none",key:s}))}return n}function s$t(t){var e=t.x,n=t.width,r=t.horizontal,i=r===void 0?!0:r,o=t.horizontalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(s,l){var c=Xi(Xi({},t),{},{x1:e,y1:s,x2:e+n,y2:s,key:"line-".concat(l),index:l});return dge(i,c)});return ue.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function l$t(t){var e=t.y,n=t.height,r=t.vertical,i=r===void 0?!0:r,o=t.verticalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(s,l){var c=Xi(Xi({},t),{},{x1:s,y1:e,x2:s,y2:e+n,key:"line-".concat(l),index:l});return dge(i,c)});return ue.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function c$t(t){var e=t.horizontalFill,n=t.fillOpacity,r=t.x,i=t.y,o=t.width,a=t.height,s=t.horizontalPoints,l=t.horizontal,c=l===void 0?!0:l;if(!c||!e||!e.length)return null;var u=s.map(function(d){return Math.round(d+i-i)}).sort(function(d,h){return d-h});i!==u[0]&&u.unshift(0);var f=u.map(function(d,h){var p=!u[h+1],m=p?i+a-d:u[h+1]-d;if(m<=0)return null;var g=h%e.length;return ue.createElement("rect",{key:"react-".concat(h),y:d,x:r,height:m,width:o,stroke:"none",fill:e[g],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return ue.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function u$t(t){var e=t.vertical,n=e===void 0?!0:e,r=t.verticalFill,i=t.fillOpacity,o=t.x,a=t.y,s=t.width,l=t.height,c=t.verticalPoints;if(!n||!r||!r.length)return null;var u=c.map(function(d){return Math.round(d+o-o)}).sort(function(d,h){return d-h});o!==u[0]&&u.unshift(0);var f=u.map(function(d,h){var p=!u[h+1],m=p?o+s-d:u[h+1]-d;if(m<=0)return null;var g=h%r.length;return ue.createElement("rect",{key:"react-".concat(h),x:d,y:a,width:m,height:l,stroke:"none",fill:r[g],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return ue.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var f$t=function(e,n){var r=e.xAxis,i=e.width,o=e.height,a=e.offset;return kme(pU(Xi(Xi(Xi({},Sy.defaultProps),r),{},{ticks:jc(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),a.left,a.left+a.width,n)},d$t=function(e,n){var r=e.yAxis,i=e.width,o=e.height,a=e.offset;return kme(pU(Xi(Xi(Xi({},Sy.defaultProps),r),{},{ticks:jc(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),a.top,a.top+a.height,n)},Zp={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function gU(t){var e,n,r,i,o,a,s=dU(),l=hU(),c=mLt(),u=Xi(Xi({},t),{},{stroke:(e=t.stroke)!==null&&e!==void 0?e:Zp.stroke,fill:(n=t.fill)!==null&&n!==void 0?n:Zp.fill,horizontal:(r=t.horizontal)!==null&&r!==void 0?r:Zp.horizontal,horizontalFill:(i=t.horizontalFill)!==null&&i!==void 0?i:Zp.horizontalFill,vertical:(o=t.vertical)!==null&&o!==void 0?o:Zp.vertical,verticalFill:(a=t.verticalFill)!==null&&a!==void 0?a:Zp.verticalFill,x:Ye(t.x)?t.x:c.left,y:Ye(t.y)?t.y:c.top,width:Ye(t.width)?t.width:c.width,height:Ye(t.height)?t.height:c.height}),f=u.x,d=u.y,h=u.width,p=u.height,m=u.syncWithTicks,g=u.horizontalValues,v=u.verticalValues,y=dLt(),x=hLt();if(!Ye(h)||h<=0||!Ye(p)||p<=0||!Ye(f)||f!==+f||!Ye(d)||d!==+d)return null;var b=u.verticalCoordinatesGenerator||f$t,_=u.horizontalCoordinatesGenerator||d$t,S=u.horizontalPoints,O=u.verticalPoints;if((!S||!S.length)&&Ft(_)){var C=g&&g.length,E=_({yAxis:x?Xi(Xi({},x),{},{ticks:C?g:x.ticks}):void 0,width:s,height:l,offset:c},C?!0:m);qc(Array.isArray(E),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(Zh(E),"]")),Array.isArray(E)&&(S=E)}if((!O||!O.length)&&Ft(b)){var M=v&&v.length,I=b({xAxis:y?Xi(Xi({},y),{},{ticks:M?v:y.ticks}):void 0,width:s,height:l,offset:c},M?!0:m);qc(Array.isArray(I),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(Zh(I),"]")),Array.isArray(I)&&(O=I)}return ue.createElement("g",{className:"recharts-cartesian-grid"},ue.createElement(a$t,{fill:u.fill,fillOpacity:u.fillOpacity,x:u.x,y:u.y,width:u.width,height:u.height}),ue.createElement(s$t,fh({},u,{offset:c,horizontalPoints:S,xAxis:y,yAxis:x})),ue.createElement(l$t,fh({},u,{offset:c,verticalPoints:O,xAxis:y,yAxis:x})),ue.createElement(c$t,fh({},u,{horizontalPoints:S})),ue.createElement(u$t,fh({},u,{verticalPoints:O})))}gU.displayName="CartesianGrid";var h$t=["type","layout","connectNulls","ref"];function gv(t){"@babel/helpers - typeof";return gv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gv(t)}function p$t(t,e){if(t==null)return{};var n=m$t(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function m$t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Fx(){return Fx=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nf){h=[].concat(Jp(l.slice(0,p)),[f-m]);break}var g=h.length%2===0?[0,d]:[d];return[].concat(Jp(e.repeat(l,u)),Jp(h),g).map(function(v){return"".concat(v,"px")}).join(", ")}),Rs(zu(n),"id",py("recharts-line-")),Rs(zu(n),"pathRef",function(a){n.mainCurve=a}),Rs(zu(n),"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Rs(zu(n),"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return _$t(e,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.points,s=o.xAxis,l=o.yAxis,c=o.layout,u=o.children,f=Ka(u,_y);if(!f)return null;var d=function(m,g){return{x:m.x,y:m.y,value:m.value,errorVal:po(m.payload,g)}},h={clipPath:r?"url(#clipPath-".concat(i,")"):null};return ue.createElement(Wn,h,f.map(function(p){return ue.cloneElement(p,{key:"bar-".concat(p.props.dataKey),data:a,xAxis:s,yAxis:l,layout:c,dataPointFormatter:d})}))}},{key:"renderDots",value:function(r,i,o){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.dot,c=s.points,u=s.dataKey,f=Nt(this.props,!1),d=Nt(l,!0),h=c.map(function(m,g){var v=ea(ea(ea({key:"dot-".concat(g),r:3},f),d),{},{value:m.value,dataKey:u,cx:m.x,cy:m.y,index:g,payload:m.payload});return e.renderDotItem(l,v)}),p={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(o,")"):null};return ue.createElement(Wn,Fx({className:"recharts-line-dots",key:"dots"},p),h)}},{key:"renderCurveStatically",value:function(r,i,o,a){var s=this.props,l=s.type,c=s.layout,u=s.connectNulls;s.ref;var f=p$t(s,h$t),d=ea(ea(ea({},Nt(f,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(o,")"):null,points:r},a),{},{type:l,layout:c,connectNulls:u});return ue.createElement(Og,Fx({},d,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,i){var o=this,a=this.props,s=a.points,l=a.strokeDasharray,c=a.isAnimationActive,u=a.animationBegin,f=a.animationDuration,d=a.animationEasing,h=a.animationId,p=a.animateNewValues,m=a.width,g=a.height,v=this.state,y=v.prevPoints,x=v.totalLength;return ue.createElement(ql,{begin:u,duration:f,isActive:c,easing:d,from:{t:0},to:{t:1},key:"line-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(b){var _=b.t;if(y){var S=y.length/s.length,O=s.map(function(P,R){var T=Math.floor(R*S);if(y[T]){var D=y[T],U=Ti(D.x,P.x),B=Ti(D.y,P.y);return ea(ea({},P),{},{x:U(_),y:B(_)})}if(p){var W=Ti(m*2,P.x),z=Ti(g/2,P.y);return ea(ea({},P),{},{x:W(_),y:z(_)})}return ea(ea({},P),{},{x:P.x,y:P.y})});return o.renderCurveStatically(O,r,i)}var C=Ti(0,x),E=C(_),M;if(l){var I="".concat(l).split(/[,\s]+/gim).map(function(P){return parseFloat(P)});M=o.getStrokeDasharray(E,x,I)}else M=o.generateSimpleStrokeDasharray(x,E);return o.renderCurveStatically(s,r,i,{strokeDasharray:M})})}},{key:"renderCurve",value:function(r,i){var o=this.props,a=o.points,s=o.isAnimationActive,l=this.state,c=l.prevPoints,u=l.totalLength;return s&&a&&a.length&&(!c&&u>0||!fv(c,a))?this.renderCurveWithAnimation(r,i):this.renderCurveStatically(a,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,c=i.xAxis,u=i.yAxis,f=i.top,d=i.left,h=i.width,p=i.height,m=i.isAnimationActive,g=i.id;if(o||!s||!s.length)return null;var v=this.state.isAnimationFinished,y=s.length===1,x=ke("recharts-line",l),b=c&&c.allowDataOverflow,_=u&&u.allowDataOverflow,S=b||_,O=Xt(g)?this.id:g,C=(r=Nt(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},E=C.r,M=E===void 0?3:E,I=C.strokeWidth,P=I===void 0?2:I,R=She(a)?a:{},T=R.clipDot,D=T===void 0?!0:T,U=M*2+P;return ue.createElement(Wn,{className:x},b||_?ue.createElement("defs",null,ue.createElement("clipPath",{id:"clipPath-".concat(O)},ue.createElement("rect",{x:b?d:d-h/2,y:_?f:f-p/2,width:b?h:h*2,height:_?p:p*2})),!D&&ue.createElement("clipPath",{id:"clipPath-dots-".concat(O)},ue.createElement("rect",{x:d-U/2,y:f-U/2,width:h+U,height:p+U}))):null,!y&&this.renderCurve(S,O),this.renderErrorBar(S,O),(y||a)&&this.renderDots(S,D,O),(!m||v)&&Qc.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:i.curPoints}:r.points!==i.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,i){for(var o=r.length%2!==0?[].concat(Jp(r),[0]):r,a=[],s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function P$t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function dh(){return dh=Object.assign?Object.assign.bind():function(t){for(var e=1;e0||!fv(u,a)||!fv(f,s))?this.renderAreaWithAnimation(r,i):this.renderAreaStatically(a,s,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,c=i.top,u=i.left,f=i.xAxis,d=i.yAxis,h=i.width,p=i.height,m=i.isAnimationActive,g=i.id;if(o||!s||!s.length)return null;var v=this.state.isAnimationFinished,y=s.length===1,x=ke("recharts-area",l),b=f&&f.allowDataOverflow,_=d&&d.allowDataOverflow,S=b||_,O=Xt(g)?this.id:g,C=(r=Nt(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},E=C.r,M=E===void 0?3:E,I=C.strokeWidth,P=I===void 0?2:I,R=She(a)?a:{},T=R.clipDot,D=T===void 0?!0:T,U=M*2+P;return ue.createElement(Wn,{className:x},b||_?ue.createElement("defs",null,ue.createElement("clipPath",{id:"clipPath-".concat(O)},ue.createElement("rect",{x:b?u:u-h/2,y:_?c:c-p/2,width:b?h:h*2,height:_?p:p*2})),!D&&ue.createElement("clipPath",{id:"clipPath-dots-".concat(O)},ue.createElement("rect",{x:u-U/2,y:c-U/2,width:h+U,height:p+U}))):null,y?null:this.renderArea(S,O),(a||y)&&this.renderDots(S,D,O),(!m||v)&&Qc.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:r.points!==i.curPoints||r.baseLine!==i.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}]),e}(k.PureComponent);mge=vd;El(vd,"displayName","Area");El(vd,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!jl.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});El(vd,"getBaseValue",function(t,e,n,r){var i=t.layout,o=t.baseValue,a=e.props.baseValue,s=a??o;if(Ye(s)&&typeof s=="number")return s;var l=i==="horizontal"?r:n,c=l.scale.domain();if(l.type==="number"){var u=Math.max(c[0],c[1]),f=Math.min(c[0],c[1]);return s==="dataMin"?f:s==="dataMax"||u<0?u:Math.max(Math.min(c[0],c[1]),0)}return s==="dataMin"?c[0]:s==="dataMax"?c[1]:c[0]});El(vd,"getComposedData",function(t){var e=t.props,n=t.item,r=t.xAxis,i=t.yAxis,o=t.xAxisTicks,a=t.yAxisTicks,s=t.bandSize,l=t.dataKey,c=t.stackedData,u=t.dataStartIndex,f=t.displayedData,d=t.offset,h=e.layout,p=c&&c.length,m=mge.getBaseValue(e,n,r,i),g=h==="horizontal",v=!1,y=f.map(function(b,_){var S;p?S=c[u+_]:(S=po(b,l),Array.isArray(S)?v=!0:S=[m,S]);var O=S[1]==null||p&&po(b,l)==null;return g?{x:BE({axis:r,ticks:o,bandSize:s,entry:b,index:_}),y:O?null:i.scale(S[1]),value:S,payload:b}:{x:O?null:r.scale(S[1]),y:BE({axis:i,ticks:a,bandSize:s,entry:b,index:_}),value:S,payload:b}}),x;return p||v?x=y.map(function(b){var _=Array.isArray(b.value)?b.value[0]:null;return g?{x:b.x,y:_!=null&&b.y!=null?i.scale(_):null}:{x:_!=null?r.scale(_):null,y:b.y}}):x=g?i.scale(m):r.scale(m),Uu({points:y,baseLine:x,layout:h,isRange:v},d)});El(vd,"renderDotItem",function(t,e){var n;if(ue.isValidElement(t))n=ue.cloneElement(t,e);else if(Ft(t))n=t(e);else{var r=ke("recharts-area-dot",typeof t!="boolean"?t.className:"");n=ue.createElement(Q2,dh({},e,{className:r}))}return n});function RN(){return RN=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function r3t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function i3t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HY(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?a:e&&e.length&&Ye(i)&&Ye(o)?e.slice(i,o+1):[]};function Cge(t){return t==="number"?[0,"auto"]:void 0}var FN=function(e,n,r,i){var o=e.graphicalItems,a=e.tooltipAxis,s=J2(n,e);return r<0||!o||!o.length||r>=s.length?null:o.reduce(function(l,c){var u,f=(u=c.props.data)!==null&&u!==void 0?u:n;f&&e.dataStartIndex+e.dataEndIndex!==0&&(f=f.slice(e.dataStartIndex,e.dataEndIndex+1));var d;if(a.dataKey&&!a.allowDuplicatedCategory){var h=f===void 0?s:f;d=fE(h,a.dataKey,i)}else d=f&&f[r]||s[r];return d?[].concat(xv(l),[Rme(c,d)]):l},[])},XY=function(e,n,r,i){var o=i||{x:e.chartX,y:e.chartY},a=m3t(o,r),s=e.orderedTooltipTicks,l=e.tooltipAxis,c=e.tooltipTicks,u=O2t(a,s,c,l);if(u>=0&&c){var f=c[u]&&c[u].value,d=FN(e,n,u,f),h=g3t(r,s,u,o);return{activeTooltipIndex:u,activeLabel:f,activePayload:d,activeCoordinate:h}}return null},v3t=function(e,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,u=e.layout,f=e.children,d=e.stackOffset,h=Mme(u,o);return r.reduce(function(p,m){var g,v=m.props,y=v.type,x=v.dataKey,b=v.allowDataOverflow,_=v.allowDuplicatedCategory,S=v.scale,O=v.ticks,C=v.includeHidden,E=m.props[a];if(p[E])return p;var M=J2(e.data,{graphicalItems:i.filter(function(L){return L.props[a]===E}),dataStartIndex:l,dataEndIndex:c}),I=M.length,P,R,T;G$t(m.props.domain,b,y)&&(P=aN(m.props.domain,null,b),h&&(y==="number"||S!=="auto")&&(T=$x(M,x,"category")));var D=Cge(y);if(!P||P.length===0){var U,B=(U=m.props.domain)!==null&&U!==void 0?U:D;if(x){if(P=$x(M,x,y),y==="category"&&h){var W=Tvt(P);_&&W?(R=P,P=YE(0,I)):_||(P=wQ(B,P,m).reduce(function(L,A){return L.indexOf(A)>=0?L:[].concat(xv(L),[A])},[]))}else if(y==="category")_?P=P.filter(function(L){return L!==""&&!Xt(L)}):P=wQ(B,P,m).reduce(function(L,A){return L.indexOf(A)>=0||A===""||Xt(A)?L:[].concat(xv(L),[A])},[]);else if(y==="number"){var z=M2t(M,i.filter(function(L){return L.props[a]===E&&(C||!L.props.hide)}),x,o,u);z&&(P=z)}h&&(y==="number"||S!=="auto")&&(T=$x(M,x,"category"))}else h?P=YE(0,I):s&&s[E]&&s[E].hasStack&&y==="number"?P=d==="expand"?[0,1]:Ame(s[E].stackGroups,l,c):P=Pme(M,i.filter(function(L){return L.props[a]===E&&(C||!L.props.hide)}),y,u,!0);if(y==="number")P=LN(f,P,E,o,O),B&&(P=aN(B,P,b));else if(y==="category"&&B){var $=B,N=P.every(function(L){return $.indexOf(L)>=0});N&&(P=$)}}return Be(Be({},p),{},St({},E,Be(Be({},m.props),{},{axisType:o,domain:P,categoricalDomain:T,duplicateDomain:R,originalDomain:(g=m.props.domain)!==null&&g!==void 0?g:D,isCategorical:h,layout:u})))},{})},y3t=function(e,n){var r=n.graphicalItems,i=n.Axis,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,u=e.layout,f=e.children,d=J2(e.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:c}),h=d.length,p=Mme(u,o),m=-1;return r.reduce(function(g,v){var y=v.props[a],x=Cge("number");if(!g[y]){m++;var b;return p?b=YE(0,h):s&&s[y]&&s[y].hasStack?(b=Ame(s[y].stackGroups,l,c),b=LN(f,b,y,o)):(b=aN(x,Pme(d,r.filter(function(_){return _.props[a]===y&&!_.props.hide}),"number",u),i.defaultProps.allowDataOverflow),b=LN(f,b,y,o)),Be(Be({},g),{},St({},y,Be(Be({axisType:o},i.defaultProps),{},{hide:!0,orientation:Ya(h3t,"".concat(o,".").concat(m%2),null),domain:b,originalDomain:x,isCategorical:p,layout:u})))}return g},{})},x3t=function(e,n){var r=n.axisType,i=r===void 0?"xAxis":r,o=n.AxisComp,a=n.graphicalItems,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,u=e.children,f="".concat(i,"Id"),d=Ka(u,o),h={};return d&&d.length?h=v3t(e,{axes:d,graphicalItems:a,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:l,dataEndIndex:c}):a&&a.length&&(h=y3t(e,{Axis:o,graphicalItems:a,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:l,dataEndIndex:c})),h},b3t=function(e){var n=nf(e),r=jc(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:D4(r,function(i){return i.coordinate}),tooltipAxis:n,tooltipAxisBandSize:zE(n,r)}},QY=function(e){var n=e.children,r=e.defaultShowTooltip,i=oa(n,Kh),o=0,a=0;return e.data&&e.data.length!==0&&(a=e.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(o=i.props.startIndex),i.props.endIndex>=0&&(a=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!r}},_3t=function(e){return!e||!e.length?!1:e.some(function(n){var r=Hc(n&&n.type);return r&&r.indexOf("Bar")>=0})},YY=function(e){return e==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:e==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:e==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},w3t=function(e,n){var r=e.props,i=e.graphicalItems,o=e.xAxisMap,a=o===void 0?{}:o,s=e.yAxisMap,l=s===void 0?{}:s,c=r.width,u=r.height,f=r.children,d=r.margin||{},h=oa(f,Kh),p=oa(f,ov),m=Object.keys(l).reduce(function(_,S){var O=l[S],C=O.orientation;return!O.mirror&&!O.hide?Be(Be({},_),{},St({},C,_[C]+O.width)):_},{left:d.left||0,right:d.right||0}),g=Object.keys(a).reduce(function(_,S){var O=a[S],C=O.orientation;return!O.mirror&&!O.hide?Be(Be({},_),{},St({},C,Ya(_,"".concat(C))+O.height)):_},{top:d.top||0,bottom:d.bottom||0}),v=Be(Be({},g),m),y=v.bottom;h&&(v.bottom+=h.props.height||Kh.defaultProps.height),p&&n&&(v=E2t(v,i,r,n));var x=c-v.left-v.right,b=u-v.top-v.bottom;return Be(Be({brushBottom:y},v),{},{width:Math.max(x,0),height:Math.max(b,0)})},vU=function(e){var n,r=e.chartName,i=e.GraphicalChild,o=e.defaultTooltipEventType,a=o===void 0?"axis":o,s=e.validateTooltipEventTypes,l=s===void 0?["axis"]:s,c=e.axisComponents,u=e.legendContent,f=e.formatAxisMap,d=e.defaultProps,h=function(g,v){var y=v.graphicalItems,x=v.stackGroups,b=v.offset,_=v.updateId,S=v.dataStartIndex,O=v.dataEndIndex,C=g.barSize,E=g.layout,M=g.barGap,I=g.barCategoryGap,P=g.maxBarSize,R=YY(E),T=R.numericAxisName,D=R.cateAxisName,U=_3t(y),B=U&&C2t({barSize:C,stackGroups:x}),W=[];return y.forEach(function(z,$){var N=J2(g.data,{graphicalItems:[z],dataStartIndex:S,dataEndIndex:O}),L=z.props,A=L.dataKey,q=L.maxBarSize,Y=z.props["".concat(T,"Id")],K=z.props["".concat(D,"Id")],se={},ee=c.reduce(function(ge,ye){var V=v["".concat(ye.axisType,"Map")],H=z.props["".concat(ye.axisType,"Id")];V&&V[H]||ye.axisType==="zAxis"||Yh(!1);var re=V[H];return Be(Be({},ge),{},St(St({},ye.axisType,re),"".concat(ye.axisType,"Ticks"),jc(re)))},se),te=ee[D],de=ee["".concat(D,"Ticks")],xe=x&&x[Y]&&x[Y].hasStack&&z2t(z,x[Y].stackGroups),ie=Hc(z.type).indexOf("Bar")>=0,ve=zE(te,de),F=[];if(ie){var ce,le,Q=Xt(q)?P:q,X=(ce=(le=zE(te,de,!0))!==null&&le!==void 0?le:Q)!==null&&ce!==void 0?ce:0;F=T2t({barGap:M,barCategoryGap:I,bandSize:X!==ve?X:ve,sizeList:B[K],maxBarSize:Q}),X!==ve&&(F=F.map(function(ge){return Be(Be({},ge),{},{position:Be(Be({},ge.position),{},{offset:ge.position.offset-X/2})})}))}var J=z&&z.type&&z.type.getComposedData;J&&W.push({props:Be(Be({},J(Be(Be({},ee),{},{displayedData:N,props:g,dataKey:A,item:z,bandSize:ve,barPosition:F,offset:b,stackedData:xe,layout:E,dataStartIndex:S,dataEndIndex:O}))),{},St(St(St({key:z.key||"item-".concat($)},T,ee[T]),D,ee[D]),"animationId",_)),childIndex:Nvt(z,g.children),item:z})}),W},p=function(g,v){var y=g.props,x=g.dataStartIndex,b=g.dataEndIndex,_=g.updateId;if(!hq({props:y}))return null;var S=y.children,O=y.layout,C=y.stackOffset,E=y.data,M=y.reverseStackOrder,I=YY(O),P=I.numericAxisName,R=I.cateAxisName,T=Ka(S,i),D=F2t(E,T,"".concat(P,"Id"),"".concat(R,"Id"),C,M),U=c.reduce(function(N,L){var A="".concat(L.axisType,"Map");return Be(Be({},N),{},St({},A,x3t(y,Be(Be({},L),{},{graphicalItems:T,stackGroups:L.axisType===P&&D,dataStartIndex:x,dataEndIndex:b}))))},{}),B=w3t(Be(Be({},U),{},{props:y,graphicalItems:T}),v==null?void 0:v.legendBBox);Object.keys(U).forEach(function(N){U[N]=f(y,U[N],B,N.replace("Map",""),r)});var W=U["".concat(R,"Map")],z=b3t(W),$=h(y,Be(Be({},U),{},{dataStartIndex:x,dataEndIndex:b,updateId:_,graphicalItems:T,stackGroups:D,offset:B}));return Be(Be({formattedGraphicalItems:$,graphicalItems:T,offset:B,stackGroups:D},z),U)};return n=function(m){l3t(g,m);function g(v){var y,x,b;return i3t(this,g),b=a3t(this,g,[v]),St(nn(b),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),St(nn(b),"accessibilityManager",new V$t),St(nn(b),"handleLegendBBoxUpdate",function(_){if(_){var S=b.state,O=S.dataStartIndex,C=S.dataEndIndex,E=S.updateId;b.setState(Be({legendBBox:_},p({props:b.props,dataStartIndex:O,dataEndIndex:C,updateId:E},Be(Be({},b.state),{},{legendBBox:_}))))}}),St(nn(b),"handleReceiveSyncEvent",function(_,S,O){if(b.props.syncId===_){if(O===b.eventEmitterSymbol&&typeof b.props.syncMethod!="function")return;b.applySyncEvent(S)}}),St(nn(b),"handleBrushChange",function(_){var S=_.startIndex,O=_.endIndex;if(S!==b.state.dataStartIndex||O!==b.state.dataEndIndex){var C=b.state.updateId;b.setState(function(){return Be({dataStartIndex:S,dataEndIndex:O},p({props:b.props,dataStartIndex:S,dataEndIndex:O,updateId:C},b.state))}),b.triggerSyncEvent({dataStartIndex:S,dataEndIndex:O})}}),St(nn(b),"handleMouseEnter",function(_){var S=b.getMouseInfo(_);if(S){var O=Be(Be({},S),{},{isTooltipActive:!0});b.setState(O),b.triggerSyncEvent(O);var C=b.props.onMouseEnter;Ft(C)&&C(O,_)}}),St(nn(b),"triggeredAfterMouseMove",function(_){var S=b.getMouseInfo(_),O=S?Be(Be({},S),{},{isTooltipActive:!0}):{isTooltipActive:!1};b.setState(O),b.triggerSyncEvent(O);var C=b.props.onMouseMove;Ft(C)&&C(O,_)}),St(nn(b),"handleItemMouseEnter",function(_){b.setState(function(){return{isTooltipActive:!0,activeItem:_,activePayload:_.tooltipPayload,activeCoordinate:_.tooltipPosition||{x:_.cx,y:_.cy}}})}),St(nn(b),"handleItemMouseLeave",function(){b.setState(function(){return{isTooltipActive:!1}})}),St(nn(b),"handleMouseMove",function(_){_.persist(),b.throttleTriggeredAfterMouseMove(_)}),St(nn(b),"handleMouseLeave",function(_){b.throttleTriggeredAfterMouseMove.cancel();var S={isTooltipActive:!1};b.setState(S),b.triggerSyncEvent(S);var O=b.props.onMouseLeave;Ft(O)&&O(S,_)}),St(nn(b),"handleOuterEvent",function(_){var S=$vt(_),O=Ya(b.props,"".concat(S));if(S&&Ft(O)){var C,E;/.*touch.*/i.test(S)?E=b.getMouseInfo(_.changedTouches[0]):E=b.getMouseInfo(_),O((C=E)!==null&&C!==void 0?C:{},_)}}),St(nn(b),"handleClick",function(_){var S=b.getMouseInfo(_);if(S){var O=Be(Be({},S),{},{isTooltipActive:!0});b.setState(O),b.triggerSyncEvent(O);var C=b.props.onClick;Ft(C)&&C(O,_)}}),St(nn(b),"handleMouseDown",function(_){var S=b.props.onMouseDown;if(Ft(S)){var O=b.getMouseInfo(_);S(O,_)}}),St(nn(b),"handleMouseUp",function(_){var S=b.props.onMouseUp;if(Ft(S)){var O=b.getMouseInfo(_);S(O,_)}}),St(nn(b),"handleTouchMove",function(_){_.changedTouches!=null&&_.changedTouches.length>0&&b.throttleTriggeredAfterMouseMove(_.changedTouches[0])}),St(nn(b),"handleTouchStart",function(_){_.changedTouches!=null&&_.changedTouches.length>0&&b.handleMouseDown(_.changedTouches[0])}),St(nn(b),"handleTouchEnd",function(_){_.changedTouches!=null&&_.changedTouches.length>0&&b.handleMouseUp(_.changedTouches[0])}),St(nn(b),"triggerSyncEvent",function(_){b.props.syncId!==void 0&&nI.emit(rI,b.props.syncId,_,b.eventEmitterSymbol)}),St(nn(b),"applySyncEvent",function(_){var S=b.props,O=S.layout,C=S.syncMethod,E=b.state.updateId,M=_.dataStartIndex,I=_.dataEndIndex;if(_.dataStartIndex!==void 0||_.dataEndIndex!==void 0)b.setState(Be({dataStartIndex:M,dataEndIndex:I},p({props:b.props,dataStartIndex:M,dataEndIndex:I,updateId:E},b.state)));else if(_.activeTooltipIndex!==void 0){var P=_.chartX,R=_.chartY,T=_.activeTooltipIndex,D=b.state,U=D.offset,B=D.tooltipTicks;if(!U)return;if(typeof C=="function")T=C(B,_);else if(C==="value"){T=-1;for(var W=0;W=0){var de,xe;if(P.dataKey&&!P.allowDuplicatedCategory){var ie=typeof P.dataKey=="function"?te:"payload.".concat(P.dataKey.toString());de=fE(W,ie,T),xe=z&&$&&fE($,ie,T)}else de=W==null?void 0:W[R],xe=z&&$&&$[R];if(Y||q){var ve=_.props.activeIndex!==void 0?_.props.activeIndex:R;return[k.cloneElement(_,Be(Be(Be({},C.props),se),{},{activeIndex:ve})),null,null]}if(!Xt(de))return[ee].concat(xv(b.renderActivePoints({item:C,activePoint:de,basePoint:xe,childIndex:R,isRange:z})))}else{var F,ce=(F=b.getItemByXY(b.state.activeCoordinate))!==null&&F!==void 0?F:{graphicalItem:ee},le=ce.graphicalItem,Q=le.item,X=Q===void 0?_:Q,J=le.childIndex,ge=Be(Be(Be({},C.props),se),{},{activeIndex:J});return[k.cloneElement(X,ge),null,null]}return z?[ee,null,null]:[ee,null]}),St(nn(b),"renderCustomized",function(_,S,O){return k.cloneElement(_,Be(Be({key:"recharts-customized-".concat(O)},b.props),b.state))}),St(nn(b),"renderMap",{CartesianGrid:{handler:aO,once:!0},ReferenceArea:{handler:b.renderReferenceElement},ReferenceLine:{handler:aO},ReferenceDot:{handler:b.renderReferenceElement},XAxis:{handler:aO},YAxis:{handler:aO},Brush:{handler:b.renderBrush,once:!0},Bar:{handler:b.renderGraphicChild},Line:{handler:b.renderGraphicChild},Area:{handler:b.renderGraphicChild},Radar:{handler:b.renderGraphicChild},RadialBar:{handler:b.renderGraphicChild},Scatter:{handler:b.renderGraphicChild},Pie:{handler:b.renderGraphicChild},Funnel:{handler:b.renderGraphicChild},Tooltip:{handler:b.renderCursor,once:!0},PolarGrid:{handler:b.renderPolarGrid,once:!0},PolarAngleAxis:{handler:b.renderPolarAxis},PolarRadiusAxis:{handler:b.renderPolarAxis},Customized:{handler:b.renderCustomized}}),b.clipPathId="".concat((y=v.id)!==null&&y!==void 0?y:py("recharts"),"-clip"),b.throttleTriggeredAfterMouseMove=Epe(b.triggeredAfterMouseMove,(x=v.throttleDelay)!==null&&x!==void 0?x:1e3/60),b.state={},b}return o3t(g,[{key:"componentDidMount",value:function(){var y,x;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(x=this.props.margin.top)!==null&&x!==void 0?x:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var y=this.props,x=y.children,b=y.data,_=y.height,S=y.layout,O=oa(x,sl);if(O){var C=O.props.defaultIndex;if(!(typeof C!="number"||C<0||C>this.state.tooltipTicks.length)){var E=this.state.tooltipTicks[C]&&this.state.tooltipTicks[C].value,M=FN(this.state,b,C,E),I=this.state.tooltipTicks[C].coordinate,P=(this.state.offset.top+_)/2,R=S==="horizontal",T=R?{x:I,y:P}:{y:I,x:P},D=this.state.formattedGraphicalItems.find(function(B){var W=B.item;return W.type.name==="Scatter"});D&&(T=Be(Be({},T),D.props.points[C].tooltipPosition),M=D.props.points[C].tooltipPayload);var U={activeTooltipIndex:C,isTooltipActive:!0,activeLabel:E,activePayload:M,activeCoordinate:T};this.setState(U),this.renderCursor(O),this.accessibilityManager.setIndex(C)}}}},{key:"getSnapshotBeforeUpdate",value:function(y,x){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==x.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==y.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==y.margin){var b,_;this.accessibilityManager.setDetails({offset:{left:(b=this.props.margin.left)!==null&&b!==void 0?b:0,top:(_=this.props.margin.top)!==null&&_!==void 0?_:0}})}return null}},{key:"componentDidUpdate",value:function(y){S3([oa(y.children,sl)],[oa(this.props.children,sl)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var y=oa(this.props.children,sl);if(y&&typeof y.props.shared=="boolean"){var x=y.props.shared?"axis":"item";return l.indexOf(x)>=0?x:a}return a}},{key:"getMouseInfo",value:function(y){if(!this.container)return null;var x=this.container,b=x.getBoundingClientRect(),_=iTt(b),S={chartX:Math.round(y.pageX-_.left),chartY:Math.round(y.pageY-_.top)},O=b.width/x.offsetWidth||1,C=this.inRange(S.chartX,S.chartY,O);if(!C)return null;var E=this.state,M=E.xAxisMap,I=E.yAxisMap,P=this.getTooltipEventType();if(P!=="axis"&&M&&I){var R=nf(M).scale,T=nf(I).scale,D=R&&R.invert?R.invert(S.chartX):null,U=T&&T.invert?T.invert(S.chartY):null;return Be(Be({},S),{},{xValue:D,yValue:U})}var B=XY(this.state,this.props.data,this.props.layout,C);return B?Be(Be({},S),B):null}},{key:"inRange",value:function(y,x){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,_=this.props.layout,S=y/b,O=x/b;if(_==="horizontal"||_==="vertical"){var C=this.state.offset,E=S>=C.left&&S<=C.left+C.width&&O>=C.top&&O<=C.top+C.height;return E?{x:S,y:O}:null}var M=this.state,I=M.angleAxisMap,P=M.radiusAxisMap;if(I&&P){var R=nf(I);return CQ({x:S,y:O},R)}return null}},{key:"parseEventsOfWrapper",value:function(){var y=this.props.children,x=this.getTooltipEventType(),b=oa(y,sl),_={};b&&x==="axis"&&(b.props.trigger==="click"?_={onClick:this.handleClick}:_={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var S=dE(this.props,this.handleOuterEvent);return Be(Be({},S),_)}},{key:"addListener",value:function(){nI.on(rI,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){nI.removeListener(rI,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(y,x,b){for(var _=this.state.formattedGraphicalItems,S=0,O=_.length;S!Bn(t)||!Number.isFinite(t)?"":Ob(t),E3t=t=>t.toPrecision(3),oI={legendContainer:{display:"flex",justifyContent:"center",columnGap:"12px",flexWrap:"wrap"},legendItem:{display:"flex",alignItems:"center"},legendCloseIcon:{marginLeft:"4px",cursor:"pointer",display:"flex",alignItems:"center"}};function P3t({payload:t,removeTimeSeries:e}){return!t||t.length===0?null:w.jsx(tt,{sx:oI.legendContainer,children:t.map((n,r)=>w.jsxs(tt,{sx:{...oI.legendItem,color:n.color},children:[w.jsx("span",{children:n.value}),e&&w.jsx(tt,{component:"span",sx:oI.legendCloseIcon,onMouseUp:()=>e(r),children:w.jsx(z1,{fontSize:"small"})})]},n.value))})}const aI={toolTipContainer:t=>({backgroundColor:"black",opacity:.8,color:"white",border:"2px solid black",borderRadius:t.spacing(2),padding:t.spacing(1.5)}),toolTipValue:{fontWeight:"bold"},toolTipLabel:t=>({fontWeight:"bold",paddingBottom:t.spacing(1)})},M3t="#00000000",k3t="#FAFFDD";function A3t({active:t,label:e,payload:n}){if(!t||!Bn(e)||!n||n.length===0)return null;const r=n.map((i,o)=>{const{name:a,value:s,unit:l,dataKey:c}=i;let u=i.color;if(!Bn(s))return null;const f=a||"?",d=s.toFixed(3);u===M3t&&(u=k3t);let p=f.indexOf(":")!==-1?"":` (${c})`;return typeof l=="string"&&(p!==""?p=`${l} ${p}`:p=l),w.jsxs("div",{children:[w.jsxs("span",{children:[f,": "]}),w.jsx(tt,{component:"span",sx:aI.toolTipValue,style:{color:u},children:d}),w.jsxs("span",{children:[" ",p]})]},o)});return r?w.jsxs(tt,{sx:aI.toolTipContainer,children:[w.jsx(tt,{component:"span",sx:aI.toolTipLabel,children:`${Xv(e)} UTC`}),r]}):null}function KY({cx:t,cy:e,radius:n,stroke:r,fill:i,strokeWidth:o,symbol:a}){const l=n+.5*o,c=2*l,u=Math.floor(100*o/c+.5)+"%";let f;if(a==="diamond"){const m=1024*(n/c);f=w.jsx("polygon",{points:`${512-m},512 512,${512-m} ${512+m},512 512,${512+m}`,strokeWidth:u,stroke:r,fill:i})}else{const d=Math.floor(100*n/c+.5)+"%";f=w.jsx("circle",{cx:"50%",cy:"50%",r:d,strokeWidth:u,stroke:r,fill:i})}return Bn(t)&&Bn(e)?w.jsx("svg",{x:t-l,y:e-l,width:c,height:c,viewBox:"0 0 1024 1024",children:f}):null}function R3t({timeSeriesGroup:t,timeSeriesIndex:e,selectTimeSeries:n,places:r,selectPlace:i,placeInfos:o,placeGroupTimeSeries:a,paletteMode:s,chartType:l,stdevBars:c}){const u=t.timeSeriesArray[e],f=u.source,d=()=>{n&&n(t.id,e,u),i(u.source.placeId,r,!0)};let h=f.variableName,p="red";if(f.placeId===null){h=`${f.datasetTitle}/${h}`;let x=null;a.forEach(b=>{if(x===null&&b.placeGroup.id===f.datasetId){const _=b.placeGroup.features;_.length>0&&_[0].properties&&(x=_[0].properties.color||null)}}),p=x||"red"}else if(o){const x=o[f.placeId];if(x){const{place:b,label:_,color:S}=x;if(b.geometry.type==="Point"){const O=b.geometry.coordinates[0],C=b.geometry.coordinates[1];h+=` (${_}: ${C.toFixed(5)},${O.toFixed(5)})`}else h+=` (${_})`;p=S}}const m=lre(p,s);let g,v;u.source.placeId===null?(g=0,v={radius:5,strokeWidth:1.5,symbol:"diamond"}):(g=l==="point"?0:u.dataProgress,v={radius:3,strokeWidth:2,symbol:"circle"});const y=c&&f.valueDataKey&&f.errorDataKey&&w.jsx(_y,{dataKey:`ev${e}`,width:4,strokeWidth:1,stroke:m,strokeOpacity:.5});return l==="bar"?w.jsx(Tp,{type:"monotone",name:h,unit:f.variableUnits,dataKey:`v${e}`,fill:m,fillOpacity:g,isAnimationActive:!1,onClick:d,children:y},e):w.jsx(hw,{type:"monotone",name:h,unit:f.variableUnits,dataKey:`v${e}`,dot:w.jsx(KY,{...v,stroke:m,fill:"white"}),activeDot:w.jsx(KY,{...v,stroke:"white",fill:m}),stroke:m,strokeOpacity:g,isAnimationActive:!1,onClick:d,children:y},e)}var yU={},I3t=pt;Object.defineProperty(yU,"__esModule",{value:!0});var Tge=yU.default=void 0,D3t=I3t(mt()),L3t=w;Tge=yU.default=(0,D3t.default)((0,L3t.jsx)("path",{d:"M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18z"}),"AspectRatio");var xU={},$3t=pt;Object.defineProperty(xU,"__esModule",{value:!0});var Ege=xU.default=void 0,N3t=$3t(mt()),F3t=w;Ege=xU.default=(0,N3t.default)((0,F3t.jsx)("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart");var bU={},j3t=pt;Object.defineProperty(bU,"__esModule",{value:!0});var Pge=bU.default=void 0,B3t=j3t(mt()),z3t=w;Pge=bU.default=(0,B3t.default)((0,z3t.jsx)("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM18 14H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Comment");var _U={},U3t=pt;Object.defineProperty(_U,"__esModule",{value:!0});var Mge=_U.default=void 0,W3t=U3t(mt()),V3t=w;Mge=_U.default=(0,W3t.default)((0,V3t.jsx)("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand");var wU={},G3t=pt;Object.defineProperty(wU,"__esModule",{value:!0});var kge=wU.default=void 0,H3t=G3t(mt()),q3t=w;kge=wU.default=(0,H3t.default)((0,q3t.jsx)("path",{d:"M17 4h3c1.1 0 2 .9 2 2v2h-2V6h-3zM4 8V6h3V4H4c-1.1 0-2 .9-2 2v2zm16 8v2h-3v2h3c1.1 0 2-.9 2-2v-2zM7 18H4v-2H2v2c0 1.1.9 2 2 2h3zM18 8H6v8h12z"}),"FitScreen");var SU={},X3t=pt;Object.defineProperty(SU,"__esModule",{value:!0});var OU=SU.default=void 0,Q3t=X3t(mt()),Y3t=w;OU=SU.default=(0,Q3t.default)((0,Y3t.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5.5 7.5h2v-2H9v2h2V9H9v2H7.5V9h-2zM19 19H5L19 5zm-2-2v-1.5h-5V17z"}),"Iso");var CU={},K3t=pt;Object.defineProperty(CU,"__esModule",{value:!0});var Age=CU.default=void 0,Z3t=K3t(mt()),sI=w;Age=CU.default=(0,Z3t.default)([(0,sI.jsx)("circle",{cx:"7",cy:"14",r:"3"},"0"),(0,sI.jsx)("circle",{cx:"11",cy:"6",r:"3"},"1"),(0,sI.jsx)("circle",{cx:"16.6",cy:"17.6",r:"3"},"2")],"ScatterPlot");var TU={},J3t=pt;Object.defineProperty(TU,"__esModule",{value:!0});var Rge=TU.default=void 0,eNt=J3t(mt()),tNt=w;Rge=TU.default=(0,eNt.default)((0,tNt.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart");function nNt({sx:t,timeSeriesGroupId:e,placeGroupTimeSeries:n,addPlaceGroupTimeSeries:r}){const[i,o]=ue.useState(null),a=f=>{o(f.currentTarget)},s=()=>{o(null)},l=f=>{o(null),r(e,f)},c=[];n.forEach(f=>{Object.getOwnPropertyNames(f.timeSeries).forEach(d=>{const h=`${f.placeGroup.title} / ${d}`;c.push(w.jsx(Yr,{onClick:()=>l(f.timeSeries[d]),children:h},h))})});const u=!!i;return w.jsxs(w.Fragment,{children:[w.jsx(Et,{size:"small",sx:t,"aria-label":"Add","aria-controls":u?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":u?"true":void 0,onClick:a,disabled:c.length===0,children:w.jsx(Ct,{arrow:!0,title:pe.get("Add time-series from places"),children:w.jsx(H1,{fontSize:"inherit"})})}),w.jsx(f1,{id:"basic-menu",anchorEl:i,open:u,onClose:s,MenuListProps:{"aria-labelledby":"basic-button"},children:c})]})}const sO={container:t=>({padding:t.spacing(1),display:"flex",flexDirection:"column",gap:t.spacing(1)}),minMaxBox:t=>({display:"flex",justifyContent:"center",gap:t.spacing(1)}),minTextField:{maxWidth:"8em"},maxTextField:{maxWidth:"8em"}};function rNt({anchorEl:t,valueRange:e,setValueRange:n}){const[r,i]=k.useState(e?[e[0]+"",e[1]+""]:["0","1"]);if(!t)return null;const o=[Number.parseFloat(r[0]),Number.parseFloat(r[1])],a=Number.isFinite(o[0])&&Number.isFinite(o[1])&&o[0]{const d=f.target.value;i([d,r[1]])},l=f=>{const d=f.target.value;i([r[0],d])},c=()=>{n(o)},u=()=>{n(void 0)};return w.jsx(zv,{anchorEl:t,open:!0,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},children:w.jsxs(tt,{sx:sO.container,children:[w.jsxs(tt,{component:"form",sx:sO.minMaxBox,children:[w.jsx(sr,{sx:sO.minTextField,label:"Y-Minimum",variant:"filled",size:"small",value:r[0],error:!a,onChange:f=>s(f)}),w.jsx(sr,{sx:sO.maxTextField,label:"Y-Maximum",variant:"filled",size:"small",value:r[1],error:!a,onChange:f=>l(f)})]}),w.jsx(q1,{onDone:c,doneDisabled:!a,onCancel:u,size:"medium"})]})})}const lO="stddev",Eu={headerContainer:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingRight:"10px"},actionsContainer:{display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",gap:"1px"},responsiveContainer:{flexGrow:"1px"},actionButton:{zIndex:1e3,opacity:.8},chartTitle:{fontSize:"inherit",fontWeight:"normal"},chartTypes:t=>({paddingLeft:t.spacing(1),paddingRight:t.spacing(1)})};function iNt({timeSeriesGroup:t,placeGroupTimeSeries:e,addPlaceGroupTimeSeries:n,removeTimeSeriesGroup:r,resetZoom:i,loading:o,zoomed:a,zoomMode:s,setZoomMode:l,showTooltips:c,setShowTooltips:u,chartType:f,setChartType:d,stdevBarsDisabled:h,stdevBars:p,setStdevBars:m,valueRange:g,setValueRange:v}){const y=k.useRef(null),[x,b]=k.useState(!1),_=pe.get("Time-Series"),S=t.variableUnits||pe.get("unknown units"),O=`${_} (${S})`,C=()=>{b(!x)},E=I=>{b(!1),I&&v(I)},M=(I,P)=>{const R=new Set(P),T=R.has(lO);R.delete(lO),R.delete(f),P=Array.from(R),d(P.length===1?P[0]:f),m(T)};return w.jsxs(tt,{sx:Eu.headerContainer,children:[w.jsx(zt,{sx:Eu.chartTitle,children:O}),w.jsxs(tt,{sx:Eu.actionsContainer,children:[a&&w.jsx(Ct,{arrow:!0,title:pe.get("Zoom to full range"),children:w.jsx(Et,{sx:Eu.actionButton,onClick:i,size:"small",children:w.jsx(kge,{fontSize:"inherit"})},"zoomOutButton")}),w.jsx(Ct,{arrow:!0,title:pe.get("Toggle zoom mode (or press CTRL key)"),children:w.jsx(fn,{value:"zoomMode",selected:s,onClick:()=>l(!s),size:"small",children:w.jsx(Tge,{fontSize:"inherit"})})}),w.jsx(rNt,{anchorEl:x?y.current:null,valueRange:g,setValueRange:E}),w.jsx(Ct,{arrow:!0,title:pe.get("Enter fixed y-range"),children:w.jsx(fn,{ref:y,value:"valueRange",selected:x,onClick:C,size:"small",children:w.jsx(Mge,{fontSize:"inherit"})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Toggle showing info popup on hover"),children:w.jsx(fn,{value:"showTooltips",selected:c,onClick:()=>u(!c),size:"small",children:w.jsx(Pge,{fontSize:"inherit"})})}),w.jsxs(fp,{value:p?[f,lO]:[f],onChange:M,size:"small",sx:Eu.chartTypes,children:[w.jsx(Ct,{arrow:!0,title:pe.get("Show points"),children:w.jsx(fn,{value:"point",size:"small",children:w.jsx(Age,{fontSize:"inherit"})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Show lines"),children:w.jsx(fn,{value:"line",size:"small",children:w.jsx(Rge,{fontSize:"inherit"})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Show bars"),children:w.jsx(fn,{value:"bar",size:"small",children:w.jsx(Ege,{fontSize:"inherit"})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Show standard deviation (if any)"),children:w.jsx(fn,{value:lO,size:"small",disabled:h,children:w.jsx(OU,{fontSize:"inherit"})})})]}),w.jsx(nNt,{sx:Eu.actionButton,timeSeriesGroupId:t.id,placeGroupTimeSeries:e,addPlaceGroupTimeSeries:n}),o?w.jsx(Fv,{size:24,sx:Eu.actionButton,color:"secondary"}):w.jsx(Et,{sx:Eu.actionButton,"aria-label":"Close",onClick:()=>r(t.id),size:"small",children:w.jsx(_p,{fontSize:"inherit"})})]})]})}const oNt=fi("div")(({theme:t})=>({userSelect:"none",marginTop:t.spacing(1),width:"99%",height:"32vh",display:"flex",flexDirection:"column",alignItems:"flex-stretch"})),aNt=fi(Ppe)(()=>({flexGrow:1}));function sNt({timeSeriesGroup:t,selectTimeSeries:e,selectedTime:n,selectTime:r,selectedTimeRange:i,selectTimeRange:o,places:a,selectPlace:s,placeInfos:l,dataTimeRange:c,chartTypeDefault:u,includeStdev:f,removeTimeSeries:d,removeTimeSeriesGroup:h,placeGroupTimeSeries:p,addPlaceGroupTimeSeries:m}){const g=sp(),[v,y]=k.useState(!1),[x,b]=k.useState(!0),[_,S]=k.useState(u),[O,C]=k.useState(f),[E,M]=k.useState({}),I=k.useRef(),P=k.useRef(),R=k.useRef(),T=k.useRef(null),D=k.useRef(null),U=k.useMemo(()=>{const V=new Map;t.timeSeriesArray.forEach((re,he)=>{const we=`v${he}`,oe=`ev${he}`,Z=re.source.valueDataKey,G=re.source.errorDataKey;re.data.forEach(fe=>{const _e=V.get(fe.time);let Me;_e===void 0?(Me={time:fe.time},V.set(fe.time,Me)):Me=_e;const me=fe[Z];if(Bn(me)&&isFinite(me)&&(Me[we]=me),G){const Fe=fe[G];Bn(Fe)&&isFinite(Fe)&&(Me[oe]=Fe)}})});const H=Array.from(V.values());return H.sort((re,he)=>re.time-he.time),H},[t]),B=k.useMemo(()=>t.timeSeriesArray.map(V=>V.dataProgress?V.dataProgress:0),[t]),W=B.reduce((V,H)=>V+H,0)/B.length,z=W>0&&W<1,$=!!i&&!uVe(i,c||null);t.timeSeriesArray.forEach(V=>{V.source.valueDataKey});const N=g.palette.primary.light,L=g.palette.primary.main,A=g.palette.text.primary,q=()=>{Bn(E.x1)&&M({})},Y=V=>{q(),V&&r&&Bn(V.activeLabel)&&Number.isFinite(V.activeLabel)&&r(V.activeLabel)},K=V=>{if(!V)return;const{chartX:H,chartY:re}=V;if(!Bn(H)||!Bn(re))return;const he=X(H,re);if(he){const[we,oe]=he;M({x1:we,y1:oe})}},se=(V,H)=>{const{x1:re,y1:he}=E;if(!Bn(re)||!Bn(he)||!V)return;const{chartX:we,chartY:oe}=V;if(!Bn(we)||!Bn(oe))return;const Z=X(we,oe);if(Z){const[G,fe]=Z;H.ctrlKey||v?G!==re&&fe!==he&&M({x1:re,y1:he,x2:G,y2:fe}):G!==re&&M({x1:re,y1:he,x2:G})}},ee=()=>{ie()},te=()=>{q()},de=()=>{q()},xe=V=>{d(t.id,V)},ie=()=>{const[V,H]=ZY(E);V&&V[0]{q(),o(c||null,t.id,null)},F=V=>{V&&o(i,t.id,V)},ce=(V,H)=>{if(R.current=[V,H],T.current){const re=T.current.getElementsByClassName("recharts-legend-wrapper");re.length!==0&&(D.current=re.item(0))}},le=([V,H])=>{const re=(H-V)*.1;return i?I.current=i:I.current=[V-re,H+re],I.current},Q=([V,H])=>{const re=(H-V)*.1;if(t.variableRange)P.current=t.variableRange;else{const he=V-re;P.current=[he<0&&V-1e-6>0?0:he,H+re]}return P.current},X=(V,H)=>{const re=D.current;if(!R.current||!I.current||!P.current||!re)return;const[he,we]=I.current,[oe,Z]=P.current,[G,fe]=R.current,_e=re.clientHeight,Me=65,me=5,Fe=5,Pe=38,Re=G-Me-Fe,ae=fe-me-Pe-_e,Le=(V-Me)/Re,Te=(H-me)/ae;return[he+Le*(we-he),Z-Te*(Z-oe)]},[J,ge]=ZY(E),ye=_==="bar"?O3t:S3t;return w.jsxs(oNt,{ref:T,children:[w.jsx(iNt,{timeSeriesGroup:t,placeGroupTimeSeries:p,addPlaceGroupTimeSeries:m,removeTimeSeriesGroup:h,resetZoom:ve,loading:z,zoomed:$,zoomMode:v,setZoomMode:y,showTooltips:x,setShowTooltips:b,chartType:_,setChartType:S,stdevBarsDisabled:!f,stdevBars:O,setStdevBars:C,valueRange:P.current,setValueRange:F}),w.jsx(aNt,{width:"98%",onResize:ce,children:w.jsxs(ye,{onMouseDown:K,onMouseMove:se,onMouseUp:ee,onMouseEnter:te,onMouseLeave:de,onClick:Y,syncId:"anyId",style:{color:A,fontSize:"0.8em"},data:U,barGap:1,barSize:30,maxBarSize:30,children:[w.jsx(Pp,{dataKey:"time",type:"number",tickCount:6,domain:le,tickFormatter:T3t,stroke:A,allowDataOverflow:!0}),w.jsx(Mp,{type:"number",tickCount:5,domain:Q,tickFormatter:E3t,stroke:A,allowDataOverflow:!0}),w.jsx(gU,{strokeDasharray:"3 3"}),x&&!Bn(E.x1)&&w.jsx(sl,{content:w.jsx(A3t,{})}),w.jsx(ov,{content:w.jsx(P3t,{removeTimeSeries:xe})}),t.timeSeriesArray.map((V,H)=>R3t({timeSeriesGroup:t,timeSeriesIndex:H,selectTimeSeries:e,places:a,selectPlace:s,placeGroupTimeSeries:p,placeInfos:l,chartType:_,stdevBars:O,paletteMode:g.palette.mode})),J&&w.jsx(Ep,{x1:J[0],y1:ge?ge[0]:void 0,x2:J[1],y2:ge?ge[1]:void 0,strokeOpacity:.3,fill:N,fillOpacity:.3}),n!==null&&w.jsx(fw,{isFront:!0,x:n,stroke:L,strokeWidth:3,strokeOpacity:.5})]})})]})}function ZY(t){const{x1:e,x2:n,y1:r,y2:i}=t;let o,a;return Bn(e)&&Bn(n)&&(o=ew.jsx(sNt,{timeSeriesGroup:l,dataTimeRange:n,selectedTimeRange:r,selectTimeRange:i,...s},l.id))]})}const dNt=t=>({locale:t.controlState.locale,timeSeriesGroups:t.dataState.timeSeriesGroups,selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange,dataTimeRange:X8e(t),chartTypeDefault:t.controlState.timeSeriesChartTypeDefault,includeStdev:t.controlState.timeSeriesIncludeStdev,placeInfos:eGe(t),places:$1(t),placeGroupTimeSeries:pVe(t),canAddTimeSeries:uae(t)}),hNt={selectTime:XM,selectTimeRange:fse,removeTimeSeries:ZGe,removeTimeSeriesGroup:JGe,selectPlace:qM,addPlaceGroupTimeSeries:KGe,addTimeSeries:HM},pNt=sn(dNt,hNt)(fNt);var EU={},mNt=pt;Object.defineProperty(EU,"__esModule",{value:!0});var Ige=EU.default=void 0,gNt=mNt(mt()),vNt=w;Ige=EU.default=(0,gNt.default)((0,vNt.jsx)("path",{d:"M22 18v-2H8V4h2L7 1 4 4h2v2H2v2h4v8c0 1.1.9 2 2 2h8v2h-2l3 3 3-3h-2v-2zM10 8h6v6h2V8c0-1.1-.9-2-2-2h-6z"}),"Transform");function yNt(t){return t.count===0}function xNt(t){return t.count===1}function bNt(t){return t.count>1}function _Nt({statisticsRecord:t}){const e=t.statistics;return w.jsx(Uj,{component:Di,children:w.jsx(Bj,{size:"small",children:w.jsx(zj,{children:yNt(e)?w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Value")}),w.jsx(or,{align:"right",children:"NaN"})]}):xNt(e)?w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Value")}),w.jsx(or,{align:"right",children:w0(e.mean)})]}):w.jsxs(w.Fragment,{children:[w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Count")}),w.jsx(or,{align:"right",children:e.count})]}),w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Minimum")}),w.jsx(or,{align:"right",children:w0(e.minimum)})]}),w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Maximum")}),w.jsx(or,{align:"right",children:w0(e.maximum)})]}),w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Mean")}),w.jsx(or,{align:"right",children:w0(e.mean)})]}),w.jsxs(al,{children:[w.jsx(or,{children:pe.get("Deviation")}),w.jsx(or,{align:"right",children:w0(e.deviation)})]})]})})})})}function w0(t){return kb(t,3)}function wNt({statisticsRecord:t,showBrush:e,showDetails:n}){const r=Wo(),i=t.statistics,o=k.useMemo(()=>{if(!i.histogram)return null;const{values:y,edges:x}=i.histogram;return y.map((b,_)=>({x:.5*(x[_]+x[_+1]),y:b,i:_}))},[i]),[a,s]=k.useState([0,o?o.length-1:-1]);if(o===null)return null;const{placeInfo:l}=t.source,[c,u]=a,f=o[c].x,d=o[u].x,h=Math.max(i.mean-i.deviation,i.minimum,f),p=Math.min(i.mean+i.deviation,i.maximum,d),m=r.palette.text.primary,g=r.palette.text.primary,v=({startIndex:y,endIndex:x})=>{Bn(y)&&Bn(x)&&s([y,x])};return w.jsx(Ppe,{width:"100%",height:"100%",children:w.jsxs(C3t,{data:o,margin:{top:0,right:e?30:5,bottom:1,left:2},style:{color:g,fontSize:"0.8em"},children:[w.jsx(gU,{strokeDasharray:"3 3"}),w.jsx(Pp,{type:"number",dataKey:"x",domain:[f,d],tickCount:10,tickFormatter:y=>kb(y,2)}),w.jsx(Mp,{}),w.jsx(vd,{type:"monotone",dataKey:"y",stroke:l.color,fill:l.color}),n&&w.jsx(fw,{x:i.mean,isFront:!0,stroke:m,strokeWidth:2,strokeOpacity:.5}),n&&w.jsx(Ep,{x1:h,x2:p,isFront:!1,stroke:m,strokeWidth:1,strokeOpacity:.3,fill:m,fillOpacity:.05}),e&&w.jsx(Kh,{dataKey:"i",height:22,startIndex:c,endIndex:u,tickFormatter:y=>kb(o[y].x,1),onChange:v})]})})}const cO={container:{padding:1,width:"100%"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingBottom:.5},actions:{display:"flex",gap:.1},body:{display:"flex"}};function uO({phrase:t}){return w.jsx("span",{style:{color:"red"},children:`<${pe.get(t)}?>`})}function Dge({dataset:t,variable:e,time:n,placeInfo:r,actions:i,body:o}){const a=t?t.title:w.jsx(uO,{phrase:"Dataset"}),s=e?e.name:w.jsx(uO,{phrase:"Variable"}),l=n?Eoe(n):w.jsx(uO,{phrase:"Time"}),c=r?r.label:w.jsx(uO,{phrase:"Place"});return w.jsxs(tt,{sx:cO.container,children:[w.jsxs(tt,{sx:cO.header,children:[w.jsxs(zt,{fontSize:"small",children:[a," / ",s,", ",l,", ",c]}),w.jsx(tt,{sx:cO.actions,children:i})]}),o&&w.jsx(tt,{sx:cO.body,children:o})]})}const JY={table:{flexGrow:0},chart:{flexGrow:1}};function SNt({locale:t,statisticsRecord:e,rowIndex:n,removeStatistics:r}){const[i,o]=k.useState(!1),[a,s]=k.useState(!1),{dataset:l,variable:c,time:u,placeInfo:f}=e.source,d=bNt(e.statistics),h=()=>{s(!a)},p=()=>{o(!i)},m=()=>{r(n)};return w.jsx(Dge,{dataset:l,variable:c,time:u,placeInfo:f,actions:w.jsxs(w.Fragment,{children:[d&&w.jsxs(fp,{size:"small",children:[w.jsx(Ct,{arrow:!0,title:pe.get("Toggle adjustable x-range"),children:w.jsx(fn,{selected:i,onClick:p,value:"brush",size:"small",children:w.jsx(Ige,{fontSize:"inherit"})})}),w.jsx(Ct,{arrow:!0,title:pe.get("Show standard deviation (if any)"),children:w.jsx(fn,{selected:a,onClick:h,value:"details",size:"small",children:w.jsx(OU,{fontSize:"inherit"})})})]}),w.jsx(Et,{size:"small",onClick:m,children:w.jsx(_p,{fontSize:"inherit"})})]}),body:w.jsxs(w.Fragment,{children:[w.jsx(tt,{sx:JY.table,children:w.jsx(_Nt,{locale:t,statisticsRecord:e})}),w.jsx(tt,{sx:JY.chart,children:w.jsx(wNt,{showBrush:i,showDetails:a,statisticsRecord:e})})]})})}const ONt={progress:{color:"primary"}};function CNt({selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,addStatistics:i,statisticsLoading:o}){const a=!!(t&&e&&n&&r);return w.jsx(Dge,{dataset:t,variable:e,time:n,placeInfo:r,actions:o?w.jsx(Fv,{size:20,sx:ONt.progress}):w.jsx(Et,{size:"small",disabled:!a,onClick:i,color:"primary",children:w.jsx(H1,{fontSize:"inherit"})})})}const TNt={container:{padding:1,display:"flex",flexDirection:"column",alignItems:"flex-start"}};function ENt({selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,statisticsLoading:i,statisticsRecords:o,addStatistics:a,removeStatistics:s}){return w.jsxs(tt,{sx:TNt.container,children:[w.jsx(CNt,{selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,addStatistics:a,statisticsLoading:i}),o.map((l,c)=>w.jsx(SNt,{statisticsRecord:l,rowIndex:c,removeStatistics:s},c))]})}const PNt=t=>({selectedDataset:ei(t),selectedVariable:ds(t),selectedTime:N1(t),selectedPlaceInfo:GM(t),statisticsLoading:t.dataState.statistics.loading,statisticsRecords:t.dataState.statistics.records}),MNt={addStatistics:XGe,removeStatistics:QGe},kNt=sn(PNt,MNt)(ENt);/** - * @license - * Copyright 2010-2022 Three.js Authors - * SPDX-License-Identifier: MIT - */const PU="144",em={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},tm={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},ANt=0,eK=1,RNt=2,Lge=1,INt=2,Y0=3,bv=0,ga=1,Bc=2,Lf=0,Cg=1,tK=2,nK=3,rK=4,DNt=5,Pm=100,LNt=101,$Nt=102,iK=103,oK=104,NNt=200,FNt=201,jNt=202,BNt=203,$ge=204,Nge=205,zNt=206,UNt=207,WNt=208,VNt=209,GNt=210,HNt=0,qNt=1,XNt=2,jN=3,QNt=4,YNt=5,KNt=6,ZNt=7,Fge=0,JNt=1,eFt=2,Yc=0,tFt=1,nFt=2,rFt=3,iFt=4,oFt=5,jge=300,_v=301,wv=302,BN=303,zN=304,ek=306,UN=1e3,Ba=1001,WN=1002,Eo=1003,aK=1004,sK=1005,Po=1006,aFt=1007,tk=1008,Jh=1009,sFt=1010,lFt=1011,Bge=1012,cFt=1013,hh=1014,gf=1015,R_=1016,uFt=1017,fFt=1018,Tg=1020,dFt=1021,hFt=1022,Pl=1023,pFt=1024,mFt=1025,Mh=1026,Sv=1027,zge=1028,gFt=1029,vFt=1030,yFt=1031,xFt=1033,lI=33776,cI=33777,uI=33778,fI=33779,lK=35840,cK=35841,uK=35842,fK=35843,bFt=36196,dK=37492,hK=37496,pK=37808,mK=37809,gK=37810,vK=37811,yK=37812,xK=37813,bK=37814,_K=37815,wK=37816,SK=37817,OK=37818,CK=37819,TK=37820,EK=37821,PK=36492,ep=3e3,gr=3001,_Ft=3200,wFt=3201,SFt=0,OFt=1,_c="srgb",ph="srgb-linear",dI=7680,CFt=519,MK=35044,kK="300 es",VN=1035;class kp{addEventListener(e,n){this._listeners===void 0&&(this._listeners={});const r=this._listeners;r[e]===void 0&&(r[e]=[]),r[e].indexOf(n)===-1&&r[e].push(n)}hasEventListener(e,n){if(this._listeners===void 0)return!1;const r=this._listeners;return r[e]!==void 0&&r[e].indexOf(n)!==-1}removeEventListener(e,n){if(this._listeners===void 0)return;const i=this._listeners[e];if(i!==void 0){const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const r=this._listeners[e.type];if(r!==void 0){e.target=this;const i=r.slice(0);for(let o=0,a=i.length;o>8&255]+Ni[t>>16&255]+Ni[t>>24&255]+"-"+Ni[e&255]+Ni[e>>8&255]+"-"+Ni[e>>16&15|64]+Ni[e>>24&255]+"-"+Ni[n&63|128]+Ni[n>>8&255]+"-"+Ni[n>>16&255]+Ni[n>>24&255]+Ni[r&255]+Ni[r>>8&255]+Ni[r>>16&255]+Ni[r>>24&255]).toLowerCase()}function Mo(t,e,n){return Math.max(e,Math.min(n,t))}function TFt(t,e){return(t%e+e)%e}function pI(t,e,n){return(1-n)*t+n*e}function RK(t){return(t&t-1)===0&&t!==0}function GN(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function fO(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.")}}function Qo(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(t*65535);case Uint8Array:return Math.round(t*255);case Int16Array:return Math.round(t*32767);case Int8Array:return Math.round(t*127);default:throw new Error("Invalid component type.")}}class qt{constructor(e=0,n=0){qt.prototype.isVector2=!0,this.x=e,this.y=n}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,n){return this.x=e,this.y=n,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const n=this.x,r=this.y,i=e.elements;return this.x=i[0]*n+i[3]*r+i[6],this.y=i[1]*n+i[4]*r+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const n=this.x-e.x,r=this.y-e.y;return n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this}rotateAround(e,n){const r=Math.cos(n),i=Math.sin(n),o=this.x-e.x,a=this.y-e.y;return this.x=o*r-a*i+e.x,this.y=o*i+a*r+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class ha{constructor(){ha.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(e,n,r,i,o,a,s,l,c){const u=this.elements;return u[0]=e,u[1]=i,u[2]=s,u[3]=n,u[4]=o,u[5]=l,u[6]=r,u[7]=a,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const n=this.elements,r=e.elements;return n[0]=r[0],n[1]=r[1],n[2]=r[2],n[3]=r[3],n[4]=r[4],n[5]=r[5],n[6]=r[6],n[7]=r[7],n[8]=r[8],this}extractBasis(e,n,r){return e.setFromMatrix3Column(this,0),n.setFromMatrix3Column(this,1),r.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const n=e.elements;return this.set(n[0],n[4],n[8],n[1],n[5],n[9],n[2],n[6],n[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,n){const r=e.elements,i=n.elements,o=this.elements,a=r[0],s=r[3],l=r[6],c=r[1],u=r[4],f=r[7],d=r[2],h=r[5],p=r[8],m=i[0],g=i[3],v=i[6],y=i[1],x=i[4],b=i[7],_=i[2],S=i[5],O=i[8];return o[0]=a*m+s*y+l*_,o[3]=a*g+s*x+l*S,o[6]=a*v+s*b+l*O,o[1]=c*m+u*y+f*_,o[4]=c*g+u*x+f*S,o[7]=c*v+u*b+f*O,o[2]=d*m+h*y+p*_,o[5]=d*g+h*x+p*S,o[8]=d*v+h*b+p*O,this}multiplyScalar(e){const n=this.elements;return n[0]*=e,n[3]*=e,n[6]*=e,n[1]*=e,n[4]*=e,n[7]*=e,n[2]*=e,n[5]*=e,n[8]*=e,this}determinant(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8];return n*a*u-n*s*c-r*o*u+r*s*l+i*o*c-i*a*l}invert(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=u*a-s*c,d=s*l-u*o,h=c*o-a*l,p=n*f+r*d+i*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const m=1/p;return e[0]=f*m,e[1]=(i*c-u*r)*m,e[2]=(s*r-i*a)*m,e[3]=d*m,e[4]=(u*n-i*l)*m,e[5]=(i*o-s*n)*m,e[6]=h*m,e[7]=(r*l-c*n)*m,e[8]=(a*n-r*o)*m,this}transpose(){let e;const n=this.elements;return e=n[1],n[1]=n[3],n[3]=e,e=n[2],n[2]=n[6],n[6]=e,e=n[5],n[5]=n[7],n[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const n=this.elements;return e[0]=n[0],e[1]=n[3],e[2]=n[6],e[3]=n[1],e[4]=n[4],e[5]=n[7],e[6]=n[2],e[7]=n[5],e[8]=n[8],this}setUvTransform(e,n,r,i,o,a,s){const l=Math.cos(o),c=Math.sin(o);return this.set(r*l,r*c,-r*(l*a+c*s)+a+e,-i*c,i*l,-i*(-c*a+l*s)+s+n,0,0,1),this}scale(e,n){const r=this.elements;return r[0]*=e,r[3]*=e,r[6]*=e,r[1]*=n,r[4]*=n,r[7]*=n,this}rotate(e){const n=Math.cos(e),r=Math.sin(e),i=this.elements,o=i[0],a=i[3],s=i[6],l=i[1],c=i[4],u=i[7];return i[0]=n*o+r*l,i[3]=n*a+r*c,i[6]=n*s+r*u,i[1]=-r*o+n*l,i[4]=-r*a+n*c,i[7]=-r*s+n*u,this}translate(e,n){const r=this.elements;return r[0]+=e*r[2],r[3]+=e*r[5],r[6]+=e*r[8],r[1]+=n*r[2],r[4]+=n*r[5],r[7]+=n*r[8],this}equals(e){const n=this.elements,r=e.elements;for(let i=0;i<9;i++)if(n[i]!==r[i])return!1;return!0}fromArray(e,n=0){for(let r=0;r<9;r++)this.elements[r]=e[r+n];return this}toArray(e=[],n=0){const r=this.elements;return e[n]=r[0],e[n+1]=r[1],e[n+2]=r[2],e[n+3]=r[3],e[n+4]=r[4],e[n+5]=r[5],e[n+6]=r[6],e[n+7]=r[7],e[n+8]=r[8],e}clone(){return new this.constructor().fromArray(this.elements)}}function Uge(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}function I_(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}function kh(t){return t<.04045?t*.0773993808:Math.pow(t*.9478672986+.0521327014,2.4)}function EC(t){return t<.0031308?t*12.92:1.055*Math.pow(t,.41666)-.055}const mI={[_c]:{[ph]:kh},[ph]:{[_c]:EC}},ws={legacyMode:!0,get workingColorSpace(){return ph},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,n){if(this.legacyMode||e===n||!e||!n)return t;if(mI[e]&&mI[e][n]!==void 0){const r=mI[e][n];return t.r=r(t.r),t.g=r(t.g),t.b=r(t.b),t}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}},Wge={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Gr={r:0,g:0,b:0},Ss={h:0,s:0,l:0},dO={h:0,s:0,l:0};function gI(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*6*(2/3-n):t}function hO(t,e){return e.r=t.r,e.g=t.g,e.b=t.b,e}class ar{constructor(e,n,r){return this.isColor=!0,this.r=1,this.g=1,this.b=1,n===void 0&&r===void 0?this.set(e):this.setRGB(e,n,r)}set(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,n=_c){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,ws.toWorkingColorSpace(this,n),this}setRGB(e,n,r,i=ph){return this.r=e,this.g=n,this.b=r,ws.toWorkingColorSpace(this,i),this}setHSL(e,n,r,i=ph){if(e=TFt(e,1),n=Mo(n,0,1),r=Mo(r,0,1),n===0)this.r=this.g=this.b=r;else{const o=r<=.5?r*(1+n):r+n-r*n,a=2*r-o;this.r=gI(a,o,e+1/3),this.g=gI(a,o,e),this.b=gI(a,o,e-1/3)}return ws.toWorkingColorSpace(this,i),this}setStyle(e,n=_c){function r(o){o!==void 0&&parseFloat(o)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let o;const a=i[1],s=i[2];switch(a){case"rgb":case"rgba":if(o=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return this.r=Math.min(255,parseInt(o[1],10))/255,this.g=Math.min(255,parseInt(o[2],10))/255,this.b=Math.min(255,parseInt(o[3],10))/255,ws.toWorkingColorSpace(this,n),r(o[4]),this;if(o=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return this.r=Math.min(100,parseInt(o[1],10))/100,this.g=Math.min(100,parseInt(o[2],10))/100,this.b=Math.min(100,parseInt(o[3],10))/100,ws.toWorkingColorSpace(this,n),r(o[4]),this;break;case"hsl":case"hsla":if(o=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s)){const l=parseFloat(o[1])/360,c=parseFloat(o[2])/100,u=parseFloat(o[3])/100;return r(o[4]),this.setHSL(l,c,u,n)}break}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){const o=i[1],a=o.length;if(a===3)return this.r=parseInt(o.charAt(0)+o.charAt(0),16)/255,this.g=parseInt(o.charAt(1)+o.charAt(1),16)/255,this.b=parseInt(o.charAt(2)+o.charAt(2),16)/255,ws.toWorkingColorSpace(this,n),this;if(a===6)return this.r=parseInt(o.charAt(0)+o.charAt(1),16)/255,this.g=parseInt(o.charAt(2)+o.charAt(3),16)/255,this.b=parseInt(o.charAt(4)+o.charAt(5),16)/255,ws.toWorkingColorSpace(this,n),this}return e&&e.length>0?this.setColorName(e,n):this}setColorName(e,n=_c){const r=Wge[e.toLowerCase()];return r!==void 0?this.setHex(r,n):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=kh(e.r),this.g=kh(e.g),this.b=kh(e.b),this}copyLinearToSRGB(e){return this.r=EC(e.r),this.g=EC(e.g),this.b=EC(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=_c){return ws.fromWorkingColorSpace(hO(this,Gr),e),Mo(Gr.r*255,0,255)<<16^Mo(Gr.g*255,0,255)<<8^Mo(Gr.b*255,0,255)<<0}getHexString(e=_c){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,n=ph){ws.fromWorkingColorSpace(hO(this,Gr),n);const r=Gr.r,i=Gr.g,o=Gr.b,a=Math.max(r,i,o),s=Math.min(r,i,o);let l,c;const u=(s+a)/2;if(s===a)l=0,c=0;else{const f=a-s;switch(c=u<=.5?f/(a+s):f/(2-a-s),a){case r:l=(i-o)/f+(i"u")return e.src;let n;if(e instanceof HTMLCanvasElement)n=e;else{nm===void 0&&(nm=I_("canvas")),nm.width=e.width,nm.height=e.height;const r=nm.getContext("2d");e instanceof ImageData?r.putImageData(e,0,0):r.drawImage(e,0,0,e.width,e.height),n=nm}return n.width>2048||n.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),n.toDataURL("image/jpeg",.6)):n.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const n=I_("canvas");n.width=e.width,n.height=e.height;const r=n.getContext("2d");r.drawImage(e,0,0,e.width,e.height);const i=r.getImageData(0,0,e.width,e.height),o=i.data;for(let a=0;a1)switch(this.wrapS){case UN:e.x=e.x-Math.floor(e.x);break;case Ba:e.x=e.x<0?0:1;break;case WN:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case UN:e.y=e.y-Math.floor(e.y);break;case Ba:e.y=e.y<0?0:1;break;case WN:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}}_a.DEFAULT_IMAGE=null;_a.DEFAULT_MAPPING=jge;class Ai{constructor(e=0,n=0,r=0,i=1){Ai.prototype.isVector4=!0,this.x=e,this.y=n,this.z=r,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,n,r,i){return this.x=e,this.y=n,this.z=r,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;case 2:this.z=n;break;case 3:this.w=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this.z=e.z+n.z,this.w=e.w+n.w,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this.z+=e.z*n,this.w+=e.w*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this.z=e.z-n.z,this.w=e.w-n.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const n=this.x,r=this.y,i=this.z,o=this.w,a=e.elements;return this.x=a[0]*n+a[4]*r+a[8]*i+a[12]*o,this.y=a[1]*n+a[5]*r+a[9]*i+a[13]*o,this.z=a[2]*n+a[6]*r+a[10]*i+a[14]*o,this.w=a[3]*n+a[7]*r+a[11]*i+a[15]*o,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const n=Math.sqrt(1-e.w*e.w);return n<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/n,this.y=e.y/n,this.z=e.z/n),this}setAxisAngleFromRotationMatrix(e){let n,r,i,o;const l=e.elements,c=l[0],u=l[4],f=l[8],d=l[1],h=l[5],p=l[9],m=l[2],g=l[6],v=l[10];if(Math.abs(u-d)<.01&&Math.abs(f-m)<.01&&Math.abs(p-g)<.01){if(Math.abs(u+d)<.1&&Math.abs(f+m)<.1&&Math.abs(p+g)<.1&&Math.abs(c+h+v-3)<.1)return this.set(1,0,0,0),this;n=Math.PI;const x=(c+1)/2,b=(h+1)/2,_=(v+1)/2,S=(u+d)/4,O=(f+m)/4,C=(p+g)/4;return x>b&&x>_?x<.01?(r=0,i=.707106781,o=.707106781):(r=Math.sqrt(x),i=S/r,o=O/r):b>_?b<.01?(r=.707106781,i=0,o=.707106781):(i=Math.sqrt(b),r=S/i,o=C/i):_<.01?(r=.707106781,i=.707106781,o=0):(o=Math.sqrt(_),r=O/o,i=C/o),this.set(r,i,o,n),this}let y=Math.sqrt((g-p)*(g-p)+(f-m)*(f-m)+(d-u)*(d-u));return Math.abs(y)<.001&&(y=1),this.x=(g-p)/y,this.y=(f-m)/y,this.z=(d-u)/y,this.w=Math.acos((c+h+v-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this.z=Math.max(e.z,Math.min(n.z,this.z)),this.w=Math.max(e.w,Math.min(n.w,this.w)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this.z=Math.max(e,Math.min(n,this.z)),this.w=Math.max(e,Math.min(n,this.w)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this.z+=(e.z-this.z)*n,this.w+=(e.w-this.w)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this.z=e.z+(n.z-e.z)*r,this.w=e.w+(n.w-e.w)*r,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this.z=e[n+2],this.w=e[n+3],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e[n+2]=this.z,e[n+3]=this.w,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this.z=e.getZ(n),this.w=e.getW(n),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class tp extends kp{constructor(e,n,r={}){super(),this.isWebGLRenderTarget=!0,this.width=e,this.height=n,this.depth=1,this.scissor=new Ai(0,0,e,n),this.scissorTest=!1,this.viewport=new Ai(0,0,e,n);const i={width:e,height:n,depth:1};this.texture=new _a(i,r.mapping,r.wrapS,r.wrapT,r.magFilter,r.minFilter,r.format,r.type,r.anisotropy,r.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=r.generateMipmaps!==void 0?r.generateMipmaps:!1,this.texture.internalFormat=r.internalFormat!==void 0?r.internalFormat:null,this.texture.minFilter=r.minFilter!==void 0?r.minFilter:Po,this.depthBuffer=r.depthBuffer!==void 0?r.depthBuffer:!0,this.stencilBuffer=r.stencilBuffer!==void 0?r.stencilBuffer:!1,this.depthTexture=r.depthTexture!==void 0?r.depthTexture:null,this.samples=r.samples!==void 0?r.samples:0}setSize(e,n,r=1){(this.width!==e||this.height!==n||this.depth!==r)&&(this.width=e,this.height=n,this.depth=r,this.texture.image.width=e,this.texture.image.height=n,this.texture.image.depth=r,this.dispose()),this.viewport.set(0,0,e,n),this.scissor.set(0,0,e,n)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const n=Object.assign({},e.texture.image);return this.texture.source=new Gge(n),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class Hge extends _a{constructor(e=null,n=1,r=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:n,height:r,depth:i},this.magFilter=Eo,this.minFilter=Eo,this.wrapR=Ba,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class qge extends _a{constructor(e=null,n=1,r=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:n,height:r,depth:i},this.magFilter=Eo,this.minFilter=Eo,this.wrapR=Ba,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class np{constructor(e=0,n=0,r=0,i=1){this.isQuaternion=!0,this._x=e,this._y=n,this._z=r,this._w=i}static slerpFlat(e,n,r,i,o,a,s){let l=r[i+0],c=r[i+1],u=r[i+2],f=r[i+3];const d=o[a+0],h=o[a+1],p=o[a+2],m=o[a+3];if(s===0){e[n+0]=l,e[n+1]=c,e[n+2]=u,e[n+3]=f;return}if(s===1){e[n+0]=d,e[n+1]=h,e[n+2]=p,e[n+3]=m;return}if(f!==m||l!==d||c!==h||u!==p){let g=1-s;const v=l*d+c*h+u*p+f*m,y=v>=0?1:-1,x=1-v*v;if(x>Number.EPSILON){const _=Math.sqrt(x),S=Math.atan2(_,v*y);g=Math.sin(g*S)/_,s=Math.sin(s*S)/_}const b=s*y;if(l=l*g+d*b,c=c*g+h*b,u=u*g+p*b,f=f*g+m*b,g===1-s){const _=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=_,c*=_,u*=_,f*=_}}e[n]=l,e[n+1]=c,e[n+2]=u,e[n+3]=f}static multiplyQuaternionsFlat(e,n,r,i,o,a){const s=r[i],l=r[i+1],c=r[i+2],u=r[i+3],f=o[a],d=o[a+1],h=o[a+2],p=o[a+3];return e[n]=s*p+u*f+l*h-c*d,e[n+1]=l*p+u*d+c*f-s*h,e[n+2]=c*p+u*h+s*d-l*f,e[n+3]=u*p-s*f-l*d-c*h,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,n,r,i){return this._x=e,this._y=n,this._z=r,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,n){const r=e._x,i=e._y,o=e._z,a=e._order,s=Math.cos,l=Math.sin,c=s(r/2),u=s(i/2),f=s(o/2),d=l(r/2),h=l(i/2),p=l(o/2);switch(a){case"XYZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"YXZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"ZXY":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"ZYX":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"YZX":this._x=d*u*f+c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f-d*h*p;break;case"XZY":this._x=d*u*f-c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f+d*h*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return n!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,n){const r=n/2,i=Math.sin(r);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(r),this._onChangeCallback(),this}setFromRotationMatrix(e){const n=e.elements,r=n[0],i=n[4],o=n[8],a=n[1],s=n[5],l=n[9],c=n[2],u=n[6],f=n[10],d=r+s+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(u-l)*h,this._y=(o-c)*h,this._z=(a-i)*h}else if(r>s&&r>f){const h=2*Math.sqrt(1+r-s-f);this._w=(u-l)/h,this._x=.25*h,this._y=(i+a)/h,this._z=(o+c)/h}else if(s>f){const h=2*Math.sqrt(1+s-r-f);this._w=(o-c)/h,this._x=(i+a)/h,this._y=.25*h,this._z=(l+u)/h}else{const h=2*Math.sqrt(1+f-r-s);this._w=(a-i)/h,this._x=(o+c)/h,this._y=(l+u)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(e,n){let r=e.dot(n)+1;return rMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=r):(this._x=0,this._y=-e.z,this._z=e.y,this._w=r)):(this._x=e.y*n.z-e.z*n.y,this._y=e.z*n.x-e.x*n.z,this._z=e.x*n.y-e.y*n.x,this._w=r),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Mo(this.dot(e),-1,1)))}rotateTowards(e,n){const r=this.angleTo(e);if(r===0)return this;const i=Math.min(1,n/r);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,n){const r=e._x,i=e._y,o=e._z,a=e._w,s=n._x,l=n._y,c=n._z,u=n._w;return this._x=r*u+a*s+i*c-o*l,this._y=i*u+a*l+o*s-r*c,this._z=o*u+a*c+r*l-i*s,this._w=a*u-r*s-i*l-o*c,this._onChangeCallback(),this}slerp(e,n){if(n===0)return this;if(n===1)return this.copy(e);const r=this._x,i=this._y,o=this._z,a=this._w;let s=a*e._w+r*e._x+i*e._y+o*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=a,this._x=r,this._y=i,this._z=o,this;const l=1-s*s;if(l<=Number.EPSILON){const h=1-n;return this._w=h*a+n*this._w,this._x=h*r+n*this._x,this._y=h*i+n*this._y,this._z=h*o+n*this._z,this.normalize(),this._onChangeCallback(),this}const c=Math.sqrt(l),u=Math.atan2(c,s),f=Math.sin((1-n)*u)/c,d=Math.sin(n*u)/c;return this._w=a*f+this._w*d,this._x=r*f+this._x*d,this._y=i*f+this._y*d,this._z=o*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,n,r){return this.copy(e).slerp(n,r)}random(){const e=Math.random(),n=Math.sqrt(1-e),r=Math.sqrt(e),i=2*Math.PI*Math.random(),o=2*Math.PI*Math.random();return this.set(n*Math.cos(i),r*Math.sin(o),r*Math.cos(o),n*Math.sin(i))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,n=0){return this._x=e[n],this._y=e[n+1],this._z=e[n+2],this._w=e[n+3],this._onChangeCallback(),this}toArray(e=[],n=0){return e[n]=this._x,e[n+1]=this._y,e[n+2]=this._z,e[n+3]=this._w,e}fromBufferAttribute(e,n){return this._x=e.getX(n),this._y=e.getY(n),this._z=e.getZ(n),this._w=e.getW(n),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class Se{constructor(e=0,n=0,r=0){Se.prototype.isVector3=!0,this.x=e,this.y=n,this.z=r}set(e,n,r){return r===void 0&&(r=this.z),this.x=e,this.y=n,this.z=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;case 2:this.z=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this.z=e.z+n.z,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this.z+=e.z*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this.z=e.z-n.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,n){return this.x=e.x*n.x,this.y=e.y*n.y,this.z=e.z*n.z,this}applyEuler(e){return this.applyQuaternion(IK.setFromEuler(e))}applyAxisAngle(e,n){return this.applyQuaternion(IK.setFromAxisAngle(e,n))}applyMatrix3(e){const n=this.x,r=this.y,i=this.z,o=e.elements;return this.x=o[0]*n+o[3]*r+o[6]*i,this.y=o[1]*n+o[4]*r+o[7]*i,this.z=o[2]*n+o[5]*r+o[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const n=this.x,r=this.y,i=this.z,o=e.elements,a=1/(o[3]*n+o[7]*r+o[11]*i+o[15]);return this.x=(o[0]*n+o[4]*r+o[8]*i+o[12])*a,this.y=(o[1]*n+o[5]*r+o[9]*i+o[13])*a,this.z=(o[2]*n+o[6]*r+o[10]*i+o[14])*a,this}applyQuaternion(e){const n=this.x,r=this.y,i=this.z,o=e.x,a=e.y,s=e.z,l=e.w,c=l*n+a*i-s*r,u=l*r+s*n-o*i,f=l*i+o*r-a*n,d=-o*n-a*r-s*i;return this.x=c*l+d*-o+u*-s-f*-a,this.y=u*l+d*-a+f*-o-c*-s,this.z=f*l+d*-s+c*-a-u*-o,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const n=this.x,r=this.y,i=this.z,o=e.elements;return this.x=o[0]*n+o[4]*r+o[8]*i,this.y=o[1]*n+o[5]*r+o[9]*i,this.z=o[2]*n+o[6]*r+o[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this.z=Math.max(e.z,Math.min(n.z,this.z)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this.z=Math.max(e,Math.min(n,this.z)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this.z+=(e.z-this.z)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this.z=e.z+(n.z-e.z)*r,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,n){const r=e.x,i=e.y,o=e.z,a=n.x,s=n.y,l=n.z;return this.x=i*l-o*s,this.y=o*a-r*l,this.z=r*s-i*a,this}projectOnVector(e){const n=e.lengthSq();if(n===0)return this.set(0,0,0);const r=e.dot(this)/n;return this.copy(e).multiplyScalar(r)}projectOnPlane(e){return yI.copy(this).projectOnVector(e),this.sub(yI)}reflect(e){return this.sub(yI.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const n=Math.sqrt(this.lengthSq()*e.lengthSq());if(n===0)return Math.PI/2;const r=this.dot(e)/n;return Math.acos(Mo(r,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const n=this.x-e.x,r=this.y-e.y,i=this.z-e.z;return n*n+r*r+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,n,r){const i=Math.sin(n)*e;return this.x=i*Math.sin(r),this.y=Math.cos(n)*e,this.z=i*Math.cos(r),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,n,r){return this.x=e*Math.sin(n),this.y=r,this.z=e*Math.cos(n),this}setFromMatrixPosition(e){const n=e.elements;return this.x=n[12],this.y=n[13],this.z=n[14],this}setFromMatrixScale(e){const n=this.setFromMatrixColumn(e,0).length(),r=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=n,this.y=r,this.z=i,this}setFromMatrixColumn(e,n){return this.fromArray(e.elements,n*4)}setFromMatrix3Column(e,n){return this.fromArray(e.elements,n*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this.z=e[n+2],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e[n+2]=this.z,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this.z=e.getZ(n),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,n=Math.random()*Math.PI*2,r=Math.sqrt(1-e**2);return this.x=r*Math.cos(n),this.y=r*Math.sin(n),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const yI=new Se,IK=new np;class Oy{constructor(e=new Se(1/0,1/0,1/0),n=new Se(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=n}set(e,n){return this.min.copy(e),this.max.copy(n),this}setFromArray(e){let n=1/0,r=1/0,i=1/0,o=-1/0,a=-1/0,s=-1/0;for(let l=0,c=e.length;lo&&(o=u),f>a&&(a=f),d>s&&(s=d)}return this.min.set(n,r,i),this.max.set(o,a,s),this}setFromBufferAttribute(e){let n=1/0,r=1/0,i=1/0,o=-1/0,a=-1/0,s=-1/0;for(let l=0,c=e.count;lo&&(o=u),f>a&&(a=f),d>s&&(s=d)}return this.min.set(n,r,i),this.max.set(o,a,s),this}setFromPoints(e){this.makeEmpty();for(let n=0,r=e.length;nthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,n){return n.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,Pd),Pd.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let n,r;return e.normal.x>0?(n=e.normal.x*this.min.x,r=e.normal.x*this.max.x):(n=e.normal.x*this.max.x,r=e.normal.x*this.min.x),e.normal.y>0?(n+=e.normal.y*this.min.y,r+=e.normal.y*this.max.y):(n+=e.normal.y*this.max.y,r+=e.normal.y*this.min.y),e.normal.z>0?(n+=e.normal.z*this.min.z,r+=e.normal.z*this.max.z):(n+=e.normal.z*this.max.z,r+=e.normal.z*this.min.z),n<=-e.constant&&r>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(S0),pO.subVectors(this.max,S0),rm.subVectors(e.a,S0),im.subVectors(e.b,S0),om.subVectors(e.c,S0),Pu.subVectors(im,rm),Mu.subVectors(om,im),Md.subVectors(rm,om);let n=[0,-Pu.z,Pu.y,0,-Mu.z,Mu.y,0,-Md.z,Md.y,Pu.z,0,-Pu.x,Mu.z,0,-Mu.x,Md.z,0,-Md.x,-Pu.y,Pu.x,0,-Mu.y,Mu.x,0,-Md.y,Md.x,0];return!bI(n,rm,im,om,pO)||(n=[1,0,0,0,1,0,0,0,1],!bI(n,rm,im,om,pO))?!1:(mO.crossVectors(Pu,Mu),n=[mO.x,mO.y,mO.z],bI(n,rm,im,om,pO))}clampPoint(e,n){return n.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return Pd.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return this.getCenter(e.center),e.radius=this.getSize(Pd).length()*.5,e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(lc[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),lc[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),lc[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),lc[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),lc[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),lc[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),lc[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),lc[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(lc),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const lc=[new Se,new Se,new Se,new Se,new Se,new Se,new Se,new Se],Pd=new Se,xI=new Oy,rm=new Se,im=new Se,om=new Se,Pu=new Se,Mu=new Se,Md=new Se,S0=new Se,pO=new Se,mO=new Se,kd=new Se;function bI(t,e,n,r,i){for(let o=0,a=t.length-3;o<=a;o+=3){kd.fromArray(t,o);const s=i.x*Math.abs(kd.x)+i.y*Math.abs(kd.y)+i.z*Math.abs(kd.z),l=e.dot(kd),c=n.dot(kd),u=r.dot(kd);if(Math.max(-Math.max(l,c,u),Math.min(l,c,u))>s)return!1}return!0}const PFt=new Oy,DK=new Se,gO=new Se,_I=new Se;class nk{constructor(e=new Se,n=-1){this.center=e,this.radius=n}set(e,n){return this.center.copy(e),this.radius=n,this}setFromPoints(e,n){const r=this.center;n!==void 0?r.copy(n):PFt.setFromPoints(e).getCenter(r);let i=0;for(let o=0,a=e.length;othis.radius*this.radius&&(n.sub(this.center).normalize(),n.multiplyScalar(this.radius).add(this.center)),n}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){_I.subVectors(e,this.center);const n=_I.lengthSq();if(n>this.radius*this.radius){const r=Math.sqrt(n),i=(r-this.radius)*.5;this.center.add(_I.multiplyScalar(i/r)),this.radius+=i}return this}union(e){return this.center.equals(e.center)===!0?gO.set(0,0,1).multiplyScalar(e.radius):gO.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(DK.copy(e.center).add(gO)),this.expandByPoint(DK.copy(e.center).sub(gO)),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const cc=new Se,wI=new Se,vO=new Se,ku=new Se,SI=new Se,yO=new Se,OI=new Se;class Xge{constructor(e=new Se,n=new Se(0,0,-1)){this.origin=e,this.direction=n}set(e,n){return this.origin.copy(e),this.direction.copy(n),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,n){return n.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,cc)),this}closestPointToPoint(e,n){n.subVectors(e,this.origin);const r=n.dot(this.direction);return r<0?n.copy(this.origin):n.copy(this.direction).multiplyScalar(r).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const n=cc.subVectors(e,this.origin).dot(this.direction);return n<0?this.origin.distanceToSquared(e):(cc.copy(this.direction).multiplyScalar(n).add(this.origin),cc.distanceToSquared(e))}distanceSqToSegment(e,n,r,i){wI.copy(e).add(n).multiplyScalar(.5),vO.copy(n).sub(e).normalize(),ku.copy(this.origin).sub(wI);const o=e.distanceTo(n)*.5,a=-this.direction.dot(vO),s=ku.dot(this.direction),l=-ku.dot(vO),c=ku.lengthSq(),u=Math.abs(1-a*a);let f,d,h,p;if(u>0)if(f=a*l-s,d=a*s-l,p=o*u,f>=0)if(d>=-p)if(d<=p){const m=1/u;f*=m,d*=m,h=f*(f+a*d+2*s)+d*(a*f+d+2*l)+c}else d=o,f=Math.max(0,-(a*d+s)),h=-f*f+d*(d+2*l)+c;else d=-o,f=Math.max(0,-(a*d+s)),h=-f*f+d*(d+2*l)+c;else d<=-p?(f=Math.max(0,-(-a*o+s)),d=f>0?-o:Math.min(Math.max(-o,-l),o),h=-f*f+d*(d+2*l)+c):d<=p?(f=0,d=Math.min(Math.max(-o,-l),o),h=d*(d+2*l)+c):(f=Math.max(0,-(a*o+s)),d=f>0?o:Math.min(Math.max(-o,-l),o),h=-f*f+d*(d+2*l)+c);else d=a>0?-o:o,f=Math.max(0,-(a*d+s)),h=-f*f+d*(d+2*l)+c;return r&&r.copy(this.direction).multiplyScalar(f).add(this.origin),i&&i.copy(vO).multiplyScalar(d).add(wI),h}intersectSphere(e,n){cc.subVectors(e.center,this.origin);const r=cc.dot(this.direction),i=cc.dot(cc)-r*r,o=e.radius*e.radius;if(i>o)return null;const a=Math.sqrt(o-i),s=r-a,l=r+a;return s<0&&l<0?null:s<0?this.at(l,n):this.at(s,n)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const n=e.normal.dot(this.direction);if(n===0)return e.distanceToPoint(this.origin)===0?0:null;const r=-(this.origin.dot(e.normal)+e.constant)/n;return r>=0?r:null}intersectPlane(e,n){const r=this.distanceToPlane(e);return r===null?null:this.at(r,n)}intersectsPlane(e){const n=e.distanceToPoint(this.origin);return n===0||e.normal.dot(this.direction)*n<0}intersectBox(e,n){let r,i,o,a,s,l;const c=1/this.direction.x,u=1/this.direction.y,f=1/this.direction.z,d=this.origin;return c>=0?(r=(e.min.x-d.x)*c,i=(e.max.x-d.x)*c):(r=(e.max.x-d.x)*c,i=(e.min.x-d.x)*c),u>=0?(o=(e.min.y-d.y)*u,a=(e.max.y-d.y)*u):(o=(e.max.y-d.y)*u,a=(e.min.y-d.y)*u),r>a||o>i||((o>r||r!==r)&&(r=o),(a=0?(s=(e.min.z-d.z)*f,l=(e.max.z-d.z)*f):(s=(e.max.z-d.z)*f,l=(e.min.z-d.z)*f),r>l||s>i)||((s>r||r!==r)&&(r=s),(l=0?r:i,n)}intersectsBox(e){return this.intersectBox(e,cc)!==null}intersectTriangle(e,n,r,i,o){SI.subVectors(n,e),yO.subVectors(r,e),OI.crossVectors(SI,yO);let a=this.direction.dot(OI),s;if(a>0){if(i)return null;s=1}else if(a<0)s=-1,a=-a;else return null;ku.subVectors(this.origin,e);const l=s*this.direction.dot(yO.crossVectors(ku,yO));if(l<0)return null;const c=s*this.direction.dot(SI.cross(ku));if(c<0||l+c>a)return null;const u=-s*ku.dot(OI);return u<0?null:this.at(u/a,o)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Vn{constructor(){Vn.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(e,n,r,i,o,a,s,l,c,u,f,d,h,p,m,g){const v=this.elements;return v[0]=e,v[4]=n,v[8]=r,v[12]=i,v[1]=o,v[5]=a,v[9]=s,v[13]=l,v[2]=c,v[6]=u,v[10]=f,v[14]=d,v[3]=h,v[7]=p,v[11]=m,v[15]=g,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Vn().fromArray(this.elements)}copy(e){const n=this.elements,r=e.elements;return n[0]=r[0],n[1]=r[1],n[2]=r[2],n[3]=r[3],n[4]=r[4],n[5]=r[5],n[6]=r[6],n[7]=r[7],n[8]=r[8],n[9]=r[9],n[10]=r[10],n[11]=r[11],n[12]=r[12],n[13]=r[13],n[14]=r[14],n[15]=r[15],this}copyPosition(e){const n=this.elements,r=e.elements;return n[12]=r[12],n[13]=r[13],n[14]=r[14],this}setFromMatrix3(e){const n=e.elements;return this.set(n[0],n[3],n[6],0,n[1],n[4],n[7],0,n[2],n[5],n[8],0,0,0,0,1),this}extractBasis(e,n,r){return e.setFromMatrixColumn(this,0),n.setFromMatrixColumn(this,1),r.setFromMatrixColumn(this,2),this}makeBasis(e,n,r){return this.set(e.x,n.x,r.x,0,e.y,n.y,r.y,0,e.z,n.z,r.z,0,0,0,0,1),this}extractRotation(e){const n=this.elements,r=e.elements,i=1/am.setFromMatrixColumn(e,0).length(),o=1/am.setFromMatrixColumn(e,1).length(),a=1/am.setFromMatrixColumn(e,2).length();return n[0]=r[0]*i,n[1]=r[1]*i,n[2]=r[2]*i,n[3]=0,n[4]=r[4]*o,n[5]=r[5]*o,n[6]=r[6]*o,n[7]=0,n[8]=r[8]*a,n[9]=r[9]*a,n[10]=r[10]*a,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,this}makeRotationFromEuler(e){const n=this.elements,r=e.x,i=e.y,o=e.z,a=Math.cos(r),s=Math.sin(r),l=Math.cos(i),c=Math.sin(i),u=Math.cos(o),f=Math.sin(o);if(e.order==="XYZ"){const d=a*u,h=a*f,p=s*u,m=s*f;n[0]=l*u,n[4]=-l*f,n[8]=c,n[1]=h+p*c,n[5]=d-m*c,n[9]=-s*l,n[2]=m-d*c,n[6]=p+h*c,n[10]=a*l}else if(e.order==="YXZ"){const d=l*u,h=l*f,p=c*u,m=c*f;n[0]=d+m*s,n[4]=p*s-h,n[8]=a*c,n[1]=a*f,n[5]=a*u,n[9]=-s,n[2]=h*s-p,n[6]=m+d*s,n[10]=a*l}else if(e.order==="ZXY"){const d=l*u,h=l*f,p=c*u,m=c*f;n[0]=d-m*s,n[4]=-a*f,n[8]=p+h*s,n[1]=h+p*s,n[5]=a*u,n[9]=m-d*s,n[2]=-a*c,n[6]=s,n[10]=a*l}else if(e.order==="ZYX"){const d=a*u,h=a*f,p=s*u,m=s*f;n[0]=l*u,n[4]=p*c-h,n[8]=d*c+m,n[1]=l*f,n[5]=m*c+d,n[9]=h*c-p,n[2]=-c,n[6]=s*l,n[10]=a*l}else if(e.order==="YZX"){const d=a*l,h=a*c,p=s*l,m=s*c;n[0]=l*u,n[4]=m-d*f,n[8]=p*f+h,n[1]=f,n[5]=a*u,n[9]=-s*u,n[2]=-c*u,n[6]=h*f+p,n[10]=d-m*f}else if(e.order==="XZY"){const d=a*l,h=a*c,p=s*l,m=s*c;n[0]=l*u,n[4]=-f,n[8]=c*u,n[1]=d*f+m,n[5]=a*u,n[9]=h*f-p,n[2]=p*f-h,n[6]=s*u,n[10]=m*f+d}return n[3]=0,n[7]=0,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,this}makeRotationFromQuaternion(e){return this.compose(MFt,e,kFt)}lookAt(e,n,r){const i=this.elements;return Yo.subVectors(e,n),Yo.lengthSq()===0&&(Yo.z=1),Yo.normalize(),Au.crossVectors(r,Yo),Au.lengthSq()===0&&(Math.abs(r.z)===1?Yo.x+=1e-4:Yo.z+=1e-4,Yo.normalize(),Au.crossVectors(r,Yo)),Au.normalize(),xO.crossVectors(Yo,Au),i[0]=Au.x,i[4]=xO.x,i[8]=Yo.x,i[1]=Au.y,i[5]=xO.y,i[9]=Yo.y,i[2]=Au.z,i[6]=xO.z,i[10]=Yo.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,n){const r=e.elements,i=n.elements,o=this.elements,a=r[0],s=r[4],l=r[8],c=r[12],u=r[1],f=r[5],d=r[9],h=r[13],p=r[2],m=r[6],g=r[10],v=r[14],y=r[3],x=r[7],b=r[11],_=r[15],S=i[0],O=i[4],C=i[8],E=i[12],M=i[1],I=i[5],P=i[9],R=i[13],T=i[2],D=i[6],U=i[10],B=i[14],W=i[3],z=i[7],$=i[11],N=i[15];return o[0]=a*S+s*M+l*T+c*W,o[4]=a*O+s*I+l*D+c*z,o[8]=a*C+s*P+l*U+c*$,o[12]=a*E+s*R+l*B+c*N,o[1]=u*S+f*M+d*T+h*W,o[5]=u*O+f*I+d*D+h*z,o[9]=u*C+f*P+d*U+h*$,o[13]=u*E+f*R+d*B+h*N,o[2]=p*S+m*M+g*T+v*W,o[6]=p*O+m*I+g*D+v*z,o[10]=p*C+m*P+g*U+v*$,o[14]=p*E+m*R+g*B+v*N,o[3]=y*S+x*M+b*T+_*W,o[7]=y*O+x*I+b*D+_*z,o[11]=y*C+x*P+b*U+_*$,o[15]=y*E+x*R+b*B+_*N,this}multiplyScalar(e){const n=this.elements;return n[0]*=e,n[4]*=e,n[8]*=e,n[12]*=e,n[1]*=e,n[5]*=e,n[9]*=e,n[13]*=e,n[2]*=e,n[6]*=e,n[10]*=e,n[14]*=e,n[3]*=e,n[7]*=e,n[11]*=e,n[15]*=e,this}determinant(){const e=this.elements,n=e[0],r=e[4],i=e[8],o=e[12],a=e[1],s=e[5],l=e[9],c=e[13],u=e[2],f=e[6],d=e[10],h=e[14],p=e[3],m=e[7],g=e[11],v=e[15];return p*(+o*l*f-i*c*f-o*s*d+r*c*d+i*s*h-r*l*h)+m*(+n*l*h-n*c*d+o*a*d-i*a*h+i*c*u-o*l*u)+g*(+n*c*f-n*s*h-o*a*f+r*a*h+o*s*u-r*c*u)+v*(-i*s*u-n*l*f+n*s*d+i*a*f-r*a*d+r*l*u)}transpose(){const e=this.elements;let n;return n=e[1],e[1]=e[4],e[4]=n,n=e[2],e[2]=e[8],e[8]=n,n=e[6],e[6]=e[9],e[9]=n,n=e[3],e[3]=e[12],e[12]=n,n=e[7],e[7]=e[13],e[13]=n,n=e[11],e[11]=e[14],e[14]=n,this}setPosition(e,n,r){const i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=n,i[14]=r),this}invert(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],m=e[13],g=e[14],v=e[15],y=f*g*c-m*d*c+m*l*h-s*g*h-f*l*v+s*d*v,x=p*d*c-u*g*c-p*l*h+a*g*h+u*l*v-a*d*v,b=u*m*c-p*f*c+p*s*h-a*m*h-u*s*v+a*f*v,_=p*f*l-u*m*l-p*s*d+a*m*d+u*s*g-a*f*g,S=n*y+r*x+i*b+o*_;if(S===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const O=1/S;return e[0]=y*O,e[1]=(m*d*o-f*g*o-m*i*h+r*g*h+f*i*v-r*d*v)*O,e[2]=(s*g*o-m*l*o+m*i*c-r*g*c-s*i*v+r*l*v)*O,e[3]=(f*l*o-s*d*o-f*i*c+r*d*c+s*i*h-r*l*h)*O,e[4]=x*O,e[5]=(u*g*o-p*d*o+p*i*h-n*g*h-u*i*v+n*d*v)*O,e[6]=(p*l*o-a*g*o-p*i*c+n*g*c+a*i*v-n*l*v)*O,e[7]=(a*d*o-u*l*o+u*i*c-n*d*c-a*i*h+n*l*h)*O,e[8]=b*O,e[9]=(p*f*o-u*m*o-p*r*h+n*m*h+u*r*v-n*f*v)*O,e[10]=(a*m*o-p*s*o+p*r*c-n*m*c-a*r*v+n*s*v)*O,e[11]=(u*s*o-a*f*o-u*r*c+n*f*c+a*r*h-n*s*h)*O,e[12]=_*O,e[13]=(u*m*i-p*f*i+p*r*d-n*m*d-u*r*g+n*f*g)*O,e[14]=(p*s*i-a*m*i-p*r*l+n*m*l+a*r*g-n*s*g)*O,e[15]=(a*f*i-u*s*i+u*r*l-n*f*l-a*r*d+n*s*d)*O,this}scale(e){const n=this.elements,r=e.x,i=e.y,o=e.z;return n[0]*=r,n[4]*=i,n[8]*=o,n[1]*=r,n[5]*=i,n[9]*=o,n[2]*=r,n[6]*=i,n[10]*=o,n[3]*=r,n[7]*=i,n[11]*=o,this}getMaxScaleOnAxis(){const e=this.elements,n=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],i=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(n,r,i))}makeTranslation(e,n,r){return this.set(1,0,0,e,0,1,0,n,0,0,1,r,0,0,0,1),this}makeRotationX(e){const n=Math.cos(e),r=Math.sin(e);return this.set(1,0,0,0,0,n,-r,0,0,r,n,0,0,0,0,1),this}makeRotationY(e){const n=Math.cos(e),r=Math.sin(e);return this.set(n,0,r,0,0,1,0,0,-r,0,n,0,0,0,0,1),this}makeRotationZ(e){const n=Math.cos(e),r=Math.sin(e);return this.set(n,-r,0,0,r,n,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,n){const r=Math.cos(n),i=Math.sin(n),o=1-r,a=e.x,s=e.y,l=e.z,c=o*a,u=o*s;return this.set(c*a+r,c*s-i*l,c*l+i*s,0,c*s+i*l,u*s+r,u*l-i*a,0,c*l-i*s,u*l+i*a,o*l*l+r,0,0,0,0,1),this}makeScale(e,n,r){return this.set(e,0,0,0,0,n,0,0,0,0,r,0,0,0,0,1),this}makeShear(e,n,r,i,o,a){return this.set(1,r,o,0,e,1,a,0,n,i,1,0,0,0,0,1),this}compose(e,n,r){const i=this.elements,o=n._x,a=n._y,s=n._z,l=n._w,c=o+o,u=a+a,f=s+s,d=o*c,h=o*u,p=o*f,m=a*u,g=a*f,v=s*f,y=l*c,x=l*u,b=l*f,_=r.x,S=r.y,O=r.z;return i[0]=(1-(m+v))*_,i[1]=(h+b)*_,i[2]=(p-x)*_,i[3]=0,i[4]=(h-b)*S,i[5]=(1-(d+v))*S,i[6]=(g+y)*S,i[7]=0,i[8]=(p+x)*O,i[9]=(g-y)*O,i[10]=(1-(d+m))*O,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,n,r){const i=this.elements;let o=am.set(i[0],i[1],i[2]).length();const a=am.set(i[4],i[5],i[6]).length(),s=am.set(i[8],i[9],i[10]).length();this.determinant()<0&&(o=-o),e.x=i[12],e.y=i[13],e.z=i[14],Os.copy(this);const c=1/o,u=1/a,f=1/s;return Os.elements[0]*=c,Os.elements[1]*=c,Os.elements[2]*=c,Os.elements[4]*=u,Os.elements[5]*=u,Os.elements[6]*=u,Os.elements[8]*=f,Os.elements[9]*=f,Os.elements[10]*=f,n.setFromRotationMatrix(Os),r.x=o,r.y=a,r.z=s,this}makePerspective(e,n,r,i,o,a){const s=this.elements,l=2*o/(n-e),c=2*o/(r-i),u=(n+e)/(n-e),f=(r+i)/(r-i),d=-(a+o)/(a-o),h=-2*a*o/(a-o);return s[0]=l,s[4]=0,s[8]=u,s[12]=0,s[1]=0,s[5]=c,s[9]=f,s[13]=0,s[2]=0,s[6]=0,s[10]=d,s[14]=h,s[3]=0,s[7]=0,s[11]=-1,s[15]=0,this}makeOrthographic(e,n,r,i,o,a){const s=this.elements,l=1/(n-e),c=1/(r-i),u=1/(a-o),f=(n+e)*l,d=(r+i)*c,h=(a+o)*u;return s[0]=2*l,s[4]=0,s[8]=0,s[12]=-f,s[1]=0,s[5]=2*c,s[9]=0,s[13]=-d,s[2]=0,s[6]=0,s[10]=-2*u,s[14]=-h,s[3]=0,s[7]=0,s[11]=0,s[15]=1,this}equals(e){const n=this.elements,r=e.elements;for(let i=0;i<16;i++)if(n[i]!==r[i])return!1;return!0}fromArray(e,n=0){for(let r=0;r<16;r++)this.elements[r]=e[r+n];return this}toArray(e=[],n=0){const r=this.elements;return e[n]=r[0],e[n+1]=r[1],e[n+2]=r[2],e[n+3]=r[3],e[n+4]=r[4],e[n+5]=r[5],e[n+6]=r[6],e[n+7]=r[7],e[n+8]=r[8],e[n+9]=r[9],e[n+10]=r[10],e[n+11]=r[11],e[n+12]=r[12],e[n+13]=r[13],e[n+14]=r[14],e[n+15]=r[15],e}}const am=new Se,Os=new Vn,MFt=new Se(0,0,0),kFt=new Se(1,1,1),Au=new Se,xO=new Se,Yo=new Se,LK=new Vn,$K=new np;class mw{constructor(e=0,n=0,r=0,i=mw.DefaultOrder){this.isEuler=!0,this._x=e,this._y=n,this._z=r,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,n,r,i=this._order){return this._x=e,this._y=n,this._z=r,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,n=this._order,r=!0){const i=e.elements,o=i[0],a=i[4],s=i[8],l=i[1],c=i[5],u=i[9],f=i[2],d=i[6],h=i[10];switch(n){case"XYZ":this._y=Math.asin(Mo(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-u,h),this._z=Math.atan2(-a,o)):(this._x=Math.atan2(d,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Mo(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(s,h),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-f,o),this._z=0);break;case"ZXY":this._x=Math.asin(Mo(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-f,h),this._z=Math.atan2(-a,c)):(this._y=0,this._z=Math.atan2(l,o));break;case"ZYX":this._y=Math.asin(-Mo(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(d,h),this._z=Math.atan2(l,o)):(this._x=0,this._z=Math.atan2(-a,c));break;case"YZX":this._z=Math.asin(Mo(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-f,o)):(this._x=0,this._y=Math.atan2(s,h));break;case"XZY":this._z=Math.asin(-Mo(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(s,o)):(this._x=Math.atan2(-u,h),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+n)}return this._order=n,r===!0&&this._onChangeCallback(),this}setFromQuaternion(e,n,r){return LK.makeRotationFromQuaternion(e),this.setFromRotationMatrix(LK,n,r)}setFromVector3(e,n=this._order){return this.set(e.x,e.y,e.z,n)}reorder(e){return $K.setFromEuler(this),this.setFromQuaternion($K,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],n=0){return e[n]=this._x,e[n+1]=this._y,e[n+2]=this._z,e[n+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error("THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead")}}mw.DefaultOrder="XYZ";mw.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class Qge{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let n=0;n1){for(let r=0;r0){i.children=[];for(let s=0;s0){i.animations=[];for(let s=0;s0&&(r.geometries=s),l.length>0&&(r.materials=l),c.length>0&&(r.textures=c),u.length>0&&(r.images=u),f.length>0&&(r.shapes=f),d.length>0&&(r.skeletons=d),h.length>0&&(r.animations=h),p.length>0&&(r.nodes=p)}return r.object=i,r;function a(s){const l=[];for(const c in s){const u=s[c];delete u.metadata,l.push(u)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,n=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),n===!0)for(let r=0;r0?i.multiplyScalar(1/Math.sqrt(o)):i.set(0,0,0)}static getBarycoord(e,n,r,i,o){Cs.subVectors(i,n),fc.subVectors(r,n),CI.subVectors(e,n);const a=Cs.dot(Cs),s=Cs.dot(fc),l=Cs.dot(CI),c=fc.dot(fc),u=fc.dot(CI),f=a*c-s*s;if(f===0)return o.set(-2,-1,-1);const d=1/f,h=(c*l-s*u)*d,p=(a*u-s*l)*d;return o.set(1-h-p,p,h)}static containsPoint(e,n,r,i){return this.getBarycoord(e,n,r,i,dc),dc.x>=0&&dc.y>=0&&dc.x+dc.y<=1}static getUV(e,n,r,i,o,a,s,l){return this.getBarycoord(e,n,r,i,dc),l.set(0,0),l.addScaledVector(o,dc.x),l.addScaledVector(a,dc.y),l.addScaledVector(s,dc.z),l}static isFrontFacing(e,n,r,i){return Cs.subVectors(r,n),fc.subVectors(e,n),Cs.cross(fc).dot(i)<0}set(e,n,r){return this.a.copy(e),this.b.copy(n),this.c.copy(r),this}setFromPointsAndIndices(e,n,r,i){return this.a.copy(e[n]),this.b.copy(e[r]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,n,r,i){return this.a.fromBufferAttribute(e,n),this.b.fromBufferAttribute(e,r),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Cs.subVectors(this.c,this.b),fc.subVectors(this.a,this.b),Cs.cross(fc).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Ic.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,n){return Ic.getBarycoord(e,this.a,this.b,this.c,n)}getUV(e,n,r,i,o){return Ic.getUV(e,this.a,this.b,this.c,n,r,i,o)}containsPoint(e){return Ic.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Ic.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,n){const r=this.a,i=this.b,o=this.c;let a,s;lm.subVectors(i,r),cm.subVectors(o,r),TI.subVectors(e,r);const l=lm.dot(TI),c=cm.dot(TI);if(l<=0&&c<=0)return n.copy(r);EI.subVectors(e,i);const u=lm.dot(EI),f=cm.dot(EI);if(u>=0&&f<=u)return n.copy(i);const d=l*f-u*c;if(d<=0&&l>=0&&u<=0)return a=l/(l-u),n.copy(r).addScaledVector(lm,a);PI.subVectors(e,o);const h=lm.dot(PI),p=cm.dot(PI);if(p>=0&&h<=p)return n.copy(o);const m=h*c-l*p;if(m<=0&&c>=0&&p<=0)return s=c/(c-p),n.copy(r).addScaledVector(cm,s);const g=u*p-h*f;if(g<=0&&f-u>=0&&h-p>=0)return UK.subVectors(o,i),s=(f-u)/(f-u+(h-p)),n.copy(i).addScaledVector(UK,s);const v=1/(g+m+d);return a=m*v,s=d*v,n.copy(r).addScaledVector(lm,a).addScaledVector(cm,s)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let LFt=0;class gw extends kp{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:LFt++}),this.uuid=pw(),this.name="",this.type="Material",this.blending=Cg,this.side=bv,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=$ge,this.blendDst=Nge,this.blendEquation=Pm,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=jN,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=CFt,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=dI,this.stencilZFail=dI,this.stencilZPass=dI,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const n in e){const r=e[n];if(r===void 0){console.warn("THREE.Material: '"+n+"' parameter is undefined.");continue}const i=this[n];if(i===void 0){console.warn("THREE."+this.type+": '"+n+"' is not a property of this material.");continue}i&&i.isColor?i.set(r):i&&i.isVector3&&r&&r.isVector3?i.copy(r):this[n]=r}}toJSON(e){const n=e===void 0||typeof e=="string";n&&(e={textures:{},images:{}});const r={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};r.uuid=this.uuid,r.type=this.type,this.name!==""&&(r.name=this.name),this.color&&this.color.isColor&&(r.color=this.color.getHex()),this.roughness!==void 0&&(r.roughness=this.roughness),this.metalness!==void 0&&(r.metalness=this.metalness),this.sheen!==void 0&&(r.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(r.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(r.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(r.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(r.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(r.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(r.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(r.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(r.shininess=this.shininess),this.clearcoat!==void 0&&(r.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(r.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(r.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(r.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(r.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,r.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(r.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(r.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(r.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(r.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(r.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(r.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(r.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(r.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(r.lightMap=this.lightMap.toJSON(e).uuid,r.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(r.aoMap=this.aoMap.toJSON(e).uuid,r.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(r.bumpMap=this.bumpMap.toJSON(e).uuid,r.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(r.normalMap=this.normalMap.toJSON(e).uuid,r.normalMapType=this.normalMapType,r.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(r.displacementMap=this.displacementMap.toJSON(e).uuid,r.displacementScale=this.displacementScale,r.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(r.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(r.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(r.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(r.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(r.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(r.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(r.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(r.combine=this.combine)),this.envMapIntensity!==void 0&&(r.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(r.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(r.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(r.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(r.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(r.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(r.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(r.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&(r.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(r.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(r.size=this.size),this.shadowSide!==null&&(r.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(r.sizeAttenuation=this.sizeAttenuation),this.blending!==Cg&&(r.blending=this.blending),this.side!==bv&&(r.side=this.side),this.vertexColors&&(r.vertexColors=!0),this.opacity<1&&(r.opacity=this.opacity),this.transparent===!0&&(r.transparent=this.transparent),r.depthFunc=this.depthFunc,r.depthTest=this.depthTest,r.depthWrite=this.depthWrite,r.colorWrite=this.colorWrite,r.stencilWrite=this.stencilWrite,r.stencilWriteMask=this.stencilWriteMask,r.stencilFunc=this.stencilFunc,r.stencilRef=this.stencilRef,r.stencilFuncMask=this.stencilFuncMask,r.stencilFail=this.stencilFail,r.stencilZFail=this.stencilZFail,r.stencilZPass=this.stencilZPass,this.rotation!==void 0&&this.rotation!==0&&(r.rotation=this.rotation),this.polygonOffset===!0&&(r.polygonOffset=!0),this.polygonOffsetFactor!==0&&(r.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(r.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(r.linewidth=this.linewidth),this.dashSize!==void 0&&(r.dashSize=this.dashSize),this.gapSize!==void 0&&(r.gapSize=this.gapSize),this.scale!==void 0&&(r.scale=this.scale),this.dithering===!0&&(r.dithering=!0),this.alphaTest>0&&(r.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(r.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(r.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(r.wireframe=this.wireframe),this.wireframeLinewidth>1&&(r.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(r.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(r.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(r.flatShading=this.flatShading),this.visible===!1&&(r.visible=!1),this.toneMapped===!1&&(r.toneMapped=!1),this.fog===!1&&(r.fog=!1),JSON.stringify(this.userData)!=="{}"&&(r.userData=this.userData);function i(o){const a=[];for(const s in o){const l=o[s];delete l.metadata,a.push(l)}return a}if(n){const o=i(e.textures),a=i(e.images);o.length>0&&(r.textures=o),a.length>0&&(r.images=a)}return r}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const n=e.clippingPlanes;let r=null;if(n!==null){const i=n.length;r=new Array(i);for(let o=0;o!==i;++o)r[o]=n[o].clone()}return this.clippingPlanes=r,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}}class MU extends gw{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new ar(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=Fge,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const Rr=new Se,_O=new qt;class Za{constructor(e,n,r){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=n,this.count=e!==void 0?e.length/n:0,this.normalized=r===!0,this.usage=MK,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,n,r){e*=this.itemSize,r*=n.itemSize;for(let i=0,o=this.itemSize;i0&&(e.userData=this.userData),this.parameters!==void 0){const l=this.parameters;for(const c in l)l[c]!==void 0&&(e[c]=l[c]);return e}e.data={attributes:{}};const n=this.index;n!==null&&(e.data.index={type:n.array.constructor.name,array:Array.prototype.slice.call(n.array)});const r=this.attributes;for(const l in r){const c=r[l];e.data.attributes[l]=c.toJSON(e.data)}const i={};let o=!1;for(const l in this.morphAttributes){const c=this.morphAttributes[l],u=[];for(let f=0,d=c.length;f0&&(i[l]=u,o=!0)}o&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);const a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));const s=this.boundingSphere;return s!==null&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const n={};this.name=e.name;const r=e.index;r!==null&&this.setIndex(r.clone(n));const i=e.attributes;for(const c in i){const u=i[c];this.setAttribute(c,u.clone(n))}const o=e.morphAttributes;for(const c in o){const u=[],f=o[c];for(let d=0,h=f.length;d0){const i=n[r[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,a=i.length;on.far?null:{distance:c,point:PO.clone(),object:t}}function MO(t,e,n,r,i,o,a,s,l,c,u,f){Ru.fromBufferAttribute(i,c),Iu.fromBufferAttribute(i,u),Du.fromBufferAttribute(i,f);const d=t.morphTargetInfluences;if(o&&d){wO.set(0,0,0),SO.set(0,0,0),OO.set(0,0,0);for(let p=0,m=o.length;p0?1:-1,u.push(z.x,z.y,z.z),f.push(L/O),f.push(1-$/C),B+=1}}for(let $=0;$0&&(n.defines=this.defines),n.vertexShader=this.vertexShader,n.fragmentShader=this.fragmentShader;const r={};for(const i in this.extensions)this.extensions[i]===!0&&(r[i]=!0);return Object.keys(r).length>0&&(n.extensions=r),n}}class Jge extends jo{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Vn,this.projectionMatrix=new Vn,this.projectionMatrixInverse=new Vn}copy(e,n){return super.copy(e,n),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const n=this.matrixWorld.elements;return e.set(-n[8],-n[9],-n[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,n){super.updateWorldMatrix(e,n),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class Is extends Jge{constructor(e=50,n=1,r=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=r,this.far=i,this.focus=10,this.aspect=n,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,n){return super.copy(e,n),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const n=.5*this.getFilmHeight()/e;this.fov=AK*2*Math.atan(n),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(hI*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return AK*2*Math.atan(Math.tan(hI*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,n,r,i,o,a){this.aspect=e/n,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let n=e*Math.tan(hI*.5*this.fov)/this.zoom,r=2*n,i=this.aspect*r,o=-.5*i;const a=this.view;if(this.view!==null&&this.view.enabled){const l=a.fullWidth,c=a.fullHeight;o+=a.offsetX*i/l,n-=a.offsetY*r/c,i*=a.width/l,r*=a.height/c}const s=this.filmOffset;s!==0&&(o+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(o,o+i,n,n-r,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const n=super.toJSON(e);return n.object.fov=this.fov,n.object.zoom=this.zoom,n.object.near=this.near,n.object.far=this.far,n.object.focus=this.focus,n.object.aspect=this.aspect,this.view!==null&&(n.object.view=Object.assign({},this.view)),n.object.filmGauge=this.filmGauge,n.object.filmOffset=this.filmOffset,n}}const dm=90,hm=1;class zFt extends jo{constructor(e,n,r){super(),this.type="CubeCamera",this.renderTarget=r;const i=new Is(dm,hm,e,n);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new Se(1,0,0)),this.add(i);const o=new Is(dm,hm,e,n);o.layers=this.layers,o.up.set(0,-1,0),o.lookAt(new Se(-1,0,0)),this.add(o);const a=new Is(dm,hm,e,n);a.layers=this.layers,a.up.set(0,0,1),a.lookAt(new Se(0,1,0)),this.add(a);const s=new Is(dm,hm,e,n);s.layers=this.layers,s.up.set(0,0,-1),s.lookAt(new Se(0,-1,0)),this.add(s);const l=new Is(dm,hm,e,n);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new Se(0,0,1)),this.add(l);const c=new Is(dm,hm,e,n);c.layers=this.layers,c.up.set(0,-1,0),c.lookAt(new Se(0,0,-1)),this.add(c)}update(e,n){this.parent===null&&this.updateMatrixWorld();const r=this.renderTarget,[i,o,a,s,l,c]=this.children,u=e.getRenderTarget(),f=e.toneMapping,d=e.xr.enabled;e.toneMapping=Yc,e.xr.enabled=!1;const h=r.texture.generateMipmaps;r.texture.generateMipmaps=!1,e.setRenderTarget(r,0),e.render(n,i),e.setRenderTarget(r,1),e.render(n,o),e.setRenderTarget(r,2),e.render(n,a),e.setRenderTarget(r,3),e.render(n,s),e.setRenderTarget(r,4),e.render(n,l),r.texture.generateMipmaps=h,e.setRenderTarget(r,5),e.render(n,c),e.setRenderTarget(u),e.toneMapping=f,e.xr.enabled=d,r.texture.needsPMREMUpdate=!0}}class eve extends _a{constructor(e,n,r,i,o,a,s,l,c,u){e=e!==void 0?e:[],n=n!==void 0?n:_v,super(e,n,r,i,o,a,s,l,c,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class UFt extends tp{constructor(e,n={}){super(e,e,n),this.isWebGLCubeRenderTarget=!0;const r={width:e,height:e,depth:1},i=[r,r,r,r,r,r];this.texture=new eve(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=n.generateMipmaps!==void 0?n.generateMipmaps:!1,this.texture.minFilter=n.minFilter!==void 0?n.minFilter:Po}fromEquirectangularTexture(e,n){this.texture.type=n.type,this.texture.encoding=n.encoding,this.texture.generateMipmaps=n.generateMipmaps,this.texture.minFilter=n.minFilter,this.texture.magFilter=n.magFilter;const r={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},i=new Cy(5,5,5),o=new Kf({name:"CubemapFromEquirect",uniforms:Ov(r.uniforms),vertexShader:r.vertexShader,fragmentShader:r.fragmentShader,side:ga,blending:Lf});o.uniforms.tEquirect.value=n;const a=new Ml(i,o),s=n.minFilter;return n.minFilter===tk&&(n.minFilter=Po),new zFt(1,10,this).update(e,a),n.minFilter=s,a.geometry.dispose(),a.material.dispose(),this}clear(e,n,r,i){const o=e.getRenderTarget();for(let a=0;a<6;a++)e.setRenderTarget(this,a),e.clear(n,r,i);e.setRenderTarget(o)}}const LI=new Se,WFt=new Se,VFt=new ha;class Bd{constructor(e=new Se(1,0,0),n=0){this.isPlane=!0,this.normal=e,this.constant=n}set(e,n){return this.normal.copy(e),this.constant=n,this}setComponents(e,n,r,i){return this.normal.set(e,n,r),this.constant=i,this}setFromNormalAndCoplanarPoint(e,n){return this.normal.copy(e),this.constant=-n.dot(this.normal),this}setFromCoplanarPoints(e,n,r){const i=LI.subVectors(r,n).cross(WFt.subVectors(e,n)).normalize();return this.setFromNormalAndCoplanarPoint(i,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,n){return n.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,n){const r=e.delta(LI),i=this.normal.dot(r);if(i===0)return this.distanceToPoint(e.start)===0?n.copy(e.start):null;const o=-(e.start.dot(this.normal)+this.constant)/i;return o<0||o>1?null:n.copy(r).multiplyScalar(o).add(e.start)}intersectsLine(e){const n=this.distanceToPoint(e.start),r=this.distanceToPoint(e.end);return n<0&&r>0||r<0&&n>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,n){const r=n||VFt.getNormalMatrix(e),i=this.coplanarPoint(LI).applyMatrix4(e),o=this.normal.applyMatrix3(r).normalize();return this.constant=-i.dot(o),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const pm=new nk,kO=new Se;class tve{constructor(e=new Bd,n=new Bd,r=new Bd,i=new Bd,o=new Bd,a=new Bd){this.planes=[e,n,r,i,o,a]}set(e,n,r,i,o,a){const s=this.planes;return s[0].copy(e),s[1].copy(n),s[2].copy(r),s[3].copy(i),s[4].copy(o),s[5].copy(a),this}copy(e){const n=this.planes;for(let r=0;r<6;r++)n[r].copy(e.planes[r]);return this}setFromProjectionMatrix(e){const n=this.planes,r=e.elements,i=r[0],o=r[1],a=r[2],s=r[3],l=r[4],c=r[5],u=r[6],f=r[7],d=r[8],h=r[9],p=r[10],m=r[11],g=r[12],v=r[13],y=r[14],x=r[15];return n[0].setComponents(s-i,f-l,m-d,x-g).normalize(),n[1].setComponents(s+i,f+l,m+d,x+g).normalize(),n[2].setComponents(s+o,f+c,m+h,x+v).normalize(),n[3].setComponents(s-o,f-c,m-h,x-v).normalize(),n[4].setComponents(s-a,f-u,m-p,x-y).normalize(),n[5].setComponents(s+a,f+u,m+p,x+y).normalize(),this}intersectsObject(e){const n=e.geometry;return n.boundingSphere===null&&n.computeBoundingSphere(),pm.copy(n.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(pm)}intersectsSprite(e){return pm.center.set(0,0,0),pm.radius=.7071067811865476,pm.applyMatrix4(e.matrixWorld),this.intersectsSphere(pm)}intersectsSphere(e){const n=this.planes,r=e.center,i=-e.radius;for(let o=0;o<6;o++)if(n[o].distanceToPoint(r)0?e.max.x:e.min.x,kO.y=i.normal.y>0?e.max.y:e.min.y,kO.z=i.normal.z>0?e.max.z:e.min.z,i.distanceToPoint(kO)<0)return!1}return!0}containsPoint(e){const n=this.planes;for(let r=0;r<6;r++)if(n[r].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function nve(){let t=null,e=!1,n=null,r=null;function i(o,a){n(o,a),r=t.requestAnimationFrame(i)}return{start:function(){e!==!0&&n!==null&&(r=t.requestAnimationFrame(i),e=!0)},stop:function(){t.cancelAnimationFrame(r),e=!1},setAnimationLoop:function(o){n=o},setContext:function(o){t=o}}}function GFt(t,e){const n=e.isWebGL2,r=new WeakMap;function i(c,u){const f=c.array,d=c.usage,h=t.createBuffer();t.bindBuffer(u,h),t.bufferData(u,f,d),c.onUploadCallback();let p;if(f instanceof Float32Array)p=5126;else if(f instanceof Uint16Array)if(c.isFloat16BufferAttribute)if(n)p=5131;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else p=5123;else if(f instanceof Int16Array)p=5122;else if(f instanceof Uint32Array)p=5125;else if(f instanceof Int32Array)p=5124;else if(f instanceof Int8Array)p=5120;else if(f instanceof Uint8Array)p=5121;else if(f instanceof Uint8ClampedArray)p=5121;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+f);return{buffer:h,type:p,bytesPerElement:f.BYTES_PER_ELEMENT,version:c.version}}function o(c,u,f){const d=u.array,h=u.updateRange;t.bindBuffer(f,c),h.count===-1?t.bufferSubData(f,0,d):(n?t.bufferSubData(f,h.offset*d.BYTES_PER_ELEMENT,d,h.offset,h.count):t.bufferSubData(f,h.offset*d.BYTES_PER_ELEMENT,d.subarray(h.offset,h.offset+h.count)),h.count=-1)}function a(c){return c.isInterleavedBufferAttribute&&(c=c.data),r.get(c)}function s(c){c.isInterleavedBufferAttribute&&(c=c.data);const u=r.get(c);u&&(t.deleteBuffer(u.buffer),r.delete(c))}function l(c,u){if(c.isGLBufferAttribute){const d=r.get(c);(!d||d.version 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; - return cross( v1, v2 ) * theta_sintheta; -} -vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { - vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; - vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; - vec3 lightNormal = cross( v1, v2 ); - if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); - vec3 T1, T2; - T1 = normalize( V - N * dot( V, N ) ); - T2 = - cross( N, T1 ); - mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) ); - vec3 coords[ 4 ]; - coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); - coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); - coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); - coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); - coords[ 0 ] = normalize( coords[ 0 ] ); - coords[ 1 ] = normalize( coords[ 1 ] ); - coords[ 2 ] = normalize( coords[ 2 ] ); - coords[ 3 ] = normalize( coords[ 3 ] ); - vec3 vectorFormFactor = vec3( 0.0 ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); - float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); - return vec3( result ); -} -float G_BlinnPhong_Implicit( ) { - return 0.25; -} -float D_BlinnPhong( const in float shininess, const in float dotNH ) { - return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess ); -} -vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) { - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNH = saturate( dot( normal, halfDir ) ); - float dotVH = saturate( dot( viewDir, halfDir ) ); - vec3 F = F_Schlick( specularColor, 1.0, dotVH ); - float G = G_BlinnPhong_Implicit( ); - float D = D_BlinnPhong( shininess, dotNH ); - return F * ( G * D ); -} -#if defined( USE_SHEEN ) -float D_Charlie( float roughness, float dotNH ) { - float alpha = pow2( roughness ); - float invAlpha = 1.0 / alpha; - float cos2h = dotNH * dotNH; - float sin2h = max( 1.0 - cos2h, 0.0078125 ); - return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); -} -float V_Neubelt( float dotNV, float dotNL ) { - return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); -} -vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float D = D_Charlie( sheenRoughness, dotNH ); - float V = V_Neubelt( dotNV, dotNL ); - return sheenColor * ( D * V ); -} -#endif`,tjt=`#ifdef USE_IRIDESCENCE - const mat3 XYZ_TO_REC709 = mat3( - 3.2404542, -0.9692660, 0.0556434, - -1.5371385, 1.8760108, -0.2040259, - -0.4985314, 0.0415560, 1.0572252 - ); - vec3 Fresnel0ToIor( vec3 fresnel0 ) { - vec3 sqrtF0 = sqrt( fresnel0 ); - return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 ); - } - vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) { - return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) ); - } - float IorToFresnel0( float transmittedIor, float incidentIor ) { - return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor )); - } - vec3 evalSensitivity( float OPD, vec3 shift ) { - float phase = 2.0 * PI * OPD * 1.0e-9; - vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 ); - vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 ); - vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 ); - vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var ); - xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) ); - xyz /= 1.0685e-7; - vec3 rgb = XYZ_TO_REC709 * xyz; - return rgb; - } - vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) { - vec3 I; - float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) ); - float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) ); - float cosTheta2Sq = 1.0 - sinTheta2Sq; - if ( cosTheta2Sq < 0.0 ) { - return vec3( 1.0 ); - } - float cosTheta2 = sqrt( cosTheta2Sq ); - float R0 = IorToFresnel0( iridescenceIOR, outsideIOR ); - float R12 = F_Schlick( R0, 1.0, cosTheta1 ); - float R21 = R12; - float T121 = 1.0 - R12; - float phi12 = 0.0; - if ( iridescenceIOR < outsideIOR ) phi12 = PI; - float phi21 = PI - phi12; - vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR ); - vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 ); - vec3 phi23 = vec3( 0.0 ); - if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI; - if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI; - if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI; - float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2; - vec3 phi = vec3( phi21 ) + phi23; - vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 ); - vec3 r123 = sqrt( R123 ); - vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 ); - vec3 C0 = R12 + Rs; - I = C0; - vec3 Cm = Rs - T121; - for ( int m = 1; m <= 2; ++ m ) { - Cm *= r123; - vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi ); - I += Cm * Sm; - } - return max( I, vec3( 0.0 ) ); - } -#endif`,njt=`#ifdef USE_BUMPMAP - uniform sampler2D bumpMap; - uniform float bumpScale; - vec2 dHdxy_fwd() { - vec2 dSTdx = dFdx( vUv ); - vec2 dSTdy = dFdy( vUv ); - float Hll = bumpScale * texture2D( bumpMap, vUv ).x; - float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll; - float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll; - return vec2( dBx, dBy ); - } - vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) { - vec3 vSigmaX = dFdx( surf_pos.xyz ); - vec3 vSigmaY = dFdy( surf_pos.xyz ); - vec3 vN = surf_norm; - vec3 R1 = cross( vSigmaY, vN ); - vec3 R2 = cross( vN, vSigmaX ); - float fDet = dot( vSigmaX, R1 ) * faceDirection; - vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 ); - return normalize( abs( fDet ) * surf_norm - vGrad ); - } -#endif`,rjt=`#if NUM_CLIPPING_PLANES > 0 - vec4 plane; - #pragma unroll_loop_start - for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; - } - #pragma unroll_loop_end - #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES - bool clipped = true; - #pragma unroll_loop_start - for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; - } - #pragma unroll_loop_end - if ( clipped ) discard; - #endif -#endif`,ijt=`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; - uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; -#endif`,ojt=`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; -#endif`,ajt=`#if NUM_CLIPPING_PLANES > 0 - vClipPosition = - mvPosition.xyz; -#endif`,sjt=`#if defined( USE_COLOR_ALPHA ) - diffuseColor *= vColor; -#elif defined( USE_COLOR ) - diffuseColor.rgb *= vColor; -#endif`,ljt=`#if defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#elif defined( USE_COLOR ) - varying vec3 vColor; -#endif`,cjt=`#if defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) - varying vec3 vColor; -#endif`,ujt=`#if defined( USE_COLOR_ALPHA ) - vColor = vec4( 1.0 ); -#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) - vColor = vec3( 1.0 ); -#endif -#ifdef USE_COLOR - vColor *= color; -#endif -#ifdef USE_INSTANCING_COLOR - vColor.xyz *= instanceColor.xyz; -#endif`,fjt=`#define PI 3.141592653589793 -#define PI2 6.283185307179586 -#define PI_HALF 1.5707963267948966 -#define RECIPROCAL_PI 0.3183098861837907 -#define RECIPROCAL_PI2 0.15915494309189535 -#define EPSILON 1e-6 -#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -#define whiteComplement( a ) ( 1.0 - saturate( a ) ) -float pow2( const in float x ) { return x*x; } -vec3 pow2( const in vec3 x ) { return x*x; } -float pow3( const in float x ) { return x*x*x; } -float pow4( const in float x ) { float x2 = x*x; return x2*x2; } -float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } -float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } -highp float rand( const in vec2 uv ) { - const highp float a = 12.9898, b = 78.233, c = 43758.5453; - highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); - return fract( sin( sn ) * c ); -} -#ifdef HIGH_PRECISION - float precisionSafeLength( vec3 v ) { return length( v ); } -#else - float precisionSafeLength( vec3 v ) { - float maxComponent = max3( abs( v ) ); - return length( v / maxComponent ) * maxComponent; - } -#endif -struct IncidentLight { - vec3 color; - vec3 direction; - bool visible; -}; -struct ReflectedLight { - vec3 directDiffuse; - vec3 directSpecular; - vec3 indirectDiffuse; - vec3 indirectSpecular; -}; -struct GeometricContext { - vec3 position; - vec3 normal; - vec3 viewDir; -#ifdef USE_CLEARCOAT - vec3 clearcoatNormal; -#endif -}; -vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); -} -vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); -} -mat3 transposeMat3( const in mat3 m ) { - mat3 tmp; - tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); - tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); - tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); - return tmp; -} -float luminance( const in vec3 rgb ) { - const vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 ); - return dot( weights, rgb ); -} -bool isPerspectiveMatrix( mat4 m ) { - return m[ 2 ][ 3 ] == - 1.0; -} -vec2 equirectUv( in vec3 dir ) { - float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; - float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; - return vec2( u, v ); -}`,djt=`#ifdef ENVMAP_TYPE_CUBE_UV - #define cubeUV_minMipLevel 4.0 - #define cubeUV_minTileSize 16.0 - float getFace( vec3 direction ) { - vec3 absDirection = abs( direction ); - float face = - 1.0; - if ( absDirection.x > absDirection.z ) { - if ( absDirection.x > absDirection.y ) - face = direction.x > 0.0 ? 0.0 : 3.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } else { - if ( absDirection.z > absDirection.y ) - face = direction.z > 0.0 ? 2.0 : 5.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } - return face; - } - vec2 getUV( vec3 direction, float face ) { - vec2 uv; - if ( face == 0.0 ) { - uv = vec2( direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 1.0 ) { - uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); - } else if ( face == 2.0 ) { - uv = vec2( - direction.x, direction.y ) / abs( direction.z ); - } else if ( face == 3.0 ) { - uv = vec2( - direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 4.0 ) { - uv = vec2( - direction.x, direction.z ) / abs( direction.y ); - } else { - uv = vec2( direction.x, direction.y ) / abs( direction.z ); - } - return 0.5 * ( uv + 1.0 ); - } - vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { - float face = getFace( direction ); - float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); - mipInt = max( mipInt, cubeUV_minMipLevel ); - float faceSize = exp2( mipInt ); - vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; - if ( face > 2.0 ) { - uv.y += faceSize; - face -= 3.0; - } - uv.x += face * faceSize; - uv.x += filterInt * 3.0 * cubeUV_minTileSize; - uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); - uv.x *= CUBEUV_TEXEL_WIDTH; - uv.y *= CUBEUV_TEXEL_HEIGHT; - #ifdef texture2DGradEXT - return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; - #else - return texture2D( envMap, uv ).rgb; - #endif - } - #define cubeUV_r0 1.0 - #define cubeUV_v0 0.339 - #define cubeUV_m0 - 2.0 - #define cubeUV_r1 0.8 - #define cubeUV_v1 0.276 - #define cubeUV_m1 - 1.0 - #define cubeUV_r4 0.4 - #define cubeUV_v4 0.046 - #define cubeUV_m4 2.0 - #define cubeUV_r5 0.305 - #define cubeUV_v5 0.016 - #define cubeUV_m5 3.0 - #define cubeUV_r6 0.21 - #define cubeUV_v6 0.0038 - #define cubeUV_m6 4.0 - float roughnessToMip( float roughness ) { - float mip = 0.0; - if ( roughness >= cubeUV_r1 ) { - mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; - } else if ( roughness >= cubeUV_r4 ) { - mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; - } else if ( roughness >= cubeUV_r5 ) { - mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; - } else if ( roughness >= cubeUV_r6 ) { - mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; - } else { - mip = - 2.0 * log2( 1.16 * roughness ); } - return mip; - } - vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { - float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); - float mipF = fract( mip ); - float mipInt = floor( mip ); - vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); - if ( mipF == 0.0 ) { - return vec4( color0, 1.0 ); - } else { - vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); - return vec4( mix( color0, color1, mipF ), 1.0 ); - } - } -#endif`,hjt=`vec3 transformedNormal = objectNormal; -#ifdef USE_INSTANCING - mat3 m = mat3( instanceMatrix ); - transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) ); - transformedNormal = m * transformedNormal; -#endif -transformedNormal = normalMatrix * transformedNormal; -#ifdef FLIP_SIDED - transformedNormal = - transformedNormal; -#endif -#ifdef USE_TANGENT - vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #ifdef FLIP_SIDED - transformedTangent = - transformedTangent; - #endif -#endif`,pjt=`#ifdef USE_DISPLACEMENTMAP - uniform sampler2D displacementMap; - uniform float displacementScale; - uniform float displacementBias; -#endif`,mjt=`#ifdef USE_DISPLACEMENTMAP - transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias ); -#endif`,gjt=`#ifdef USE_EMISSIVEMAP - vec4 emissiveColor = texture2D( emissiveMap, vUv ); - totalEmissiveRadiance *= emissiveColor.rgb; -#endif`,vjt=`#ifdef USE_EMISSIVEMAP - uniform sampler2D emissiveMap; -#endif`,yjt="gl_FragColor = linearToOutputTexel( gl_FragColor );",xjt=`vec4 LinearToLinear( in vec4 value ) { - return value; -} -vec4 LinearTosRGB( in vec4 value ) { - return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); -}`,bjt=`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vec3 cameraToFrag; - if ( isOrthographic ) { - cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToFrag = normalize( vWorldPosition - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vec3 reflectVec = reflect( cameraToFrag, worldNormal ); - #else - vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); - #endif - #else - vec3 reflectVec = vReflect; - #endif - #ifdef ENVMAP_TYPE_CUBE - vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); - #elif defined( ENVMAP_TYPE_CUBE_UV ) - vec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 ); - #else - vec4 envColor = vec4( 0.0 ); - #endif - #ifdef ENVMAP_BLENDING_MULTIPLY - outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_MIX ) - outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_ADD ) - outgoingLight += envColor.xyz * specularStrength * reflectivity; - #endif -#endif`,_jt=`#ifdef USE_ENVMAP - uniform float envMapIntensity; - uniform float flipEnvMap; - #ifdef ENVMAP_TYPE_CUBE - uniform samplerCube envMap; - #else - uniform sampler2D envMap; - #endif - -#endif`,wjt=`#ifdef USE_ENVMAP - uniform float reflectivity; - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - varying vec3 vWorldPosition; - uniform float refractionRatio; - #else - varying vec3 vReflect; - #endif -#endif`,Sjt=`#ifdef USE_ENVMAP - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - - varying vec3 vWorldPosition; - #else - varying vec3 vReflect; - uniform float refractionRatio; - #endif -#endif`,Ojt=`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vWorldPosition = worldPosition.xyz; - #else - vec3 cameraToVertex; - if ( isOrthographic ) { - cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vReflect = reflect( cameraToVertex, worldNormal ); - #else - vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); - #endif - #endif -#endif`,Cjt=`#ifdef USE_FOG - vFogDepth = - mvPosition.z; -#endif`,Tjt=`#ifdef USE_FOG - varying float vFogDepth; -#endif`,Ejt=`#ifdef USE_FOG - #ifdef FOG_EXP2 - float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); - #else - float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); - #endif - gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); -#endif`,Pjt=`#ifdef USE_FOG - uniform vec3 fogColor; - varying float vFogDepth; - #ifdef FOG_EXP2 - uniform float fogDensity; - #else - uniform float fogNear; - uniform float fogFar; - #endif -#endif`,Mjt=`#ifdef USE_GRADIENTMAP - uniform sampler2D gradientMap; -#endif -vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { - float dotNL = dot( normal, lightDirection ); - vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); - #ifdef USE_GRADIENTMAP - return vec3( texture2D( gradientMap, coord ).r ); - #else - vec2 fw = fwidth( coord ) * 0.5; - return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); - #endif -}`,kjt=`#ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vUv2 ); - vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; - reflectedLight.indirectDiffuse += lightMapIrradiance; -#endif`,Ajt=`#ifdef USE_LIGHTMAP - uniform sampler2D lightMap; - uniform float lightMapIntensity; -#endif`,Rjt=`LambertMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularStrength = specularStrength;`,Ijt=`varying vec3 vViewPosition; -struct LambertMaterial { - vec3 diffuseColor; - float specularStrength; -}; -void RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Lambert -#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert -#define Material_LightProbeLOD( material ) (0)`,Djt=`uniform bool receiveShadow; -uniform vec3 ambientLightColor; -uniform vec3 lightProbe[ 9 ]; -vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { - float x = normal.x, y = normal.y, z = normal.z; - vec3 result = shCoefficients[ 0 ] * 0.886227; - result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; - result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; - result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; - result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; - result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; - result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); - result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; - result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); - return result; -} -vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); - return irradiance; -} -vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { - vec3 irradiance = ambientLightColor; - return irradiance; -} -float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { - #if defined ( PHYSICALLY_CORRECT_LIGHTS ) - float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); - if ( cutoffDistance > 0.0 ) { - distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); - } - return distanceFalloff; - #else - if ( cutoffDistance > 0.0 && decayExponent > 0.0 ) { - return pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent ); - } - return 1.0; - #endif -} -float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { - return smoothstep( coneCosine, penumbraCosine, angleCosine ); -} -#if NUM_DIR_LIGHTS > 0 - struct DirectionalLight { - vec3 direction; - vec3 color; - }; - uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; - void getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) { - light.color = directionalLight.color; - light.direction = directionalLight.direction; - light.visible = true; - } -#endif -#if NUM_POINT_LIGHTS > 0 - struct PointLight { - vec3 position; - vec3 color; - float distance; - float decay; - }; - uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; - void getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) { - vec3 lVector = pointLight.position - geometry.position; - light.direction = normalize( lVector ); - float lightDistance = length( lVector ); - light.color = pointLight.color; - light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } -#endif -#if NUM_SPOT_LIGHTS > 0 - struct SpotLight { - vec3 position; - vec3 direction; - vec3 color; - float distance; - float decay; - float coneCos; - float penumbraCos; - }; - uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; - void getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) { - vec3 lVector = spotLight.position - geometry.position; - light.direction = normalize( lVector ); - float angleCos = dot( light.direction, spotLight.direction ); - float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); - if ( spotAttenuation > 0.0 ) { - float lightDistance = length( lVector ); - light.color = spotLight.color * spotAttenuation; - light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } else { - light.color = vec3( 0.0 ); - light.visible = false; - } - } -#endif -#if NUM_RECT_AREA_LIGHTS > 0 - struct RectAreaLight { - vec3 color; - vec3 position; - vec3 halfWidth; - vec3 halfHeight; - }; - uniform sampler2D ltc_1; uniform sampler2D ltc_2; - uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; -#endif -#if NUM_HEMI_LIGHTS > 0 - struct HemisphereLight { - vec3 direction; - vec3 skyColor; - vec3 groundColor; - }; - uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; - vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { - float dotNL = dot( normal, hemiLight.direction ); - float hemiDiffuseWeight = 0.5 * dotNL + 0.5; - vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); - return irradiance; - } -#endif`,Ljt=`#if defined( USE_ENVMAP ) - vec3 getIBLIrradiance( const in vec3 normal ) { - #if defined( ENVMAP_TYPE_CUBE_UV ) - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 ); - return PI * envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } - vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { - #if defined( ENVMAP_TYPE_CUBE_UV ) - vec3 reflectVec = reflect( - viewDir, normal ); - reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); - reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness ); - return envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } -#endif`,$jt=`ToonMaterial material; -material.diffuseColor = diffuseColor.rgb;`,Njt=`varying vec3 vViewPosition; -struct ToonMaterial { - vec3 diffuseColor; -}; -void RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Toon -#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon -#define Material_LightProbeLOD( material ) (0)`,Fjt=`BlinnPhongMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularColor = specular; -material.specularShininess = shininess; -material.specularStrength = specularStrength;`,jjt=`varying vec3 vViewPosition; -struct BlinnPhongMaterial { - vec3 diffuseColor; - vec3 specularColor; - float specularShininess; - float specularStrength; -}; -void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); - reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength; -} -void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_BlinnPhong -#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong -#define Material_LightProbeLOD( material ) (0)`,Bjt=`PhysicalMaterial material; -material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); -vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) ); -float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); -material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; -material.roughness = min( material.roughness, 1.0 ); -#ifdef IOR - material.ior = ior; - #ifdef SPECULAR - float specularIntensityFactor = specularIntensity; - vec3 specularColorFactor = specularColor; - #ifdef USE_SPECULARINTENSITYMAP - specularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a; - #endif - #ifdef USE_SPECULARCOLORMAP - specularColorFactor *= texture2D( specularColorMap, vUv ).rgb; - #endif - material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); - #else - float specularIntensityFactor = 1.0; - vec3 specularColorFactor = vec3( 1.0 ); - material.specularF90 = 1.0; - #endif - material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor ); -#else - material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor ); - material.specularF90 = 1.0; -#endif -#ifdef USE_CLEARCOAT - material.clearcoat = clearcoat; - material.clearcoatRoughness = clearcoatRoughness; - material.clearcoatF0 = vec3( 0.04 ); - material.clearcoatF90 = 1.0; - #ifdef USE_CLEARCOATMAP - material.clearcoat *= texture2D( clearcoatMap, vUv ).x; - #endif - #ifdef USE_CLEARCOAT_ROUGHNESSMAP - material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y; - #endif - material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); - material.clearcoatRoughness += geometryRoughness; - material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); -#endif -#ifdef USE_IRIDESCENCE - material.iridescence = iridescence; - material.iridescenceIOR = iridescenceIOR; - #ifdef USE_IRIDESCENCEMAP - material.iridescence *= texture2D( iridescenceMap, vUv ).r; - #endif - #ifdef USE_IRIDESCENCE_THICKNESSMAP - material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum; - #else - material.iridescenceThickness = iridescenceThicknessMaximum; - #endif -#endif -#ifdef USE_SHEEN - material.sheenColor = sheenColor; - #ifdef USE_SHEENCOLORMAP - material.sheenColor *= texture2D( sheenColorMap, vUv ).rgb; - #endif - material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 ); - #ifdef USE_SHEENROUGHNESSMAP - material.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a; - #endif -#endif`,zjt=`struct PhysicalMaterial { - vec3 diffuseColor; - float roughness; - vec3 specularColor; - float specularF90; - #ifdef USE_CLEARCOAT - float clearcoat; - float clearcoatRoughness; - vec3 clearcoatF0; - float clearcoatF90; - #endif - #ifdef USE_IRIDESCENCE - float iridescence; - float iridescenceIOR; - float iridescenceThickness; - vec3 iridescenceFresnel; - vec3 iridescenceF0; - #endif - #ifdef USE_SHEEN - vec3 sheenColor; - float sheenRoughness; - #endif - #ifdef IOR - float ior; - #endif - #ifdef USE_TRANSMISSION - float transmission; - float transmissionAlpha; - float thickness; - float attenuationDistance; - vec3 attenuationColor; - #endif -}; -vec3 clearcoatSpecular = vec3( 0.0 ); -vec3 sheenSpecular = vec3( 0.0 ); -float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - float r2 = roughness * roughness; - float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95; - float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72; - float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) ); - return saturate( DG * RECIPROCAL_PI ); -} -vec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); - const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 ); - vec4 r = roughness * c0 + c1; - float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; - vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw; - return fab; -} -vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { - vec2 fab = DFGApprox( normal, viewDir, roughness ); - return specularColor * fab.x + specularF90 * fab.y; -} -#ifdef USE_IRIDESCENCE -void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#else -void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#endif - vec2 fab = DFGApprox( normal, viewDir, roughness ); - #ifdef USE_IRIDESCENCE - vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); - #else - vec3 Fr = specularColor; - #endif - vec3 FssEss = Fr * fab.x + specularF90 * fab.y; - float Ess = fab.x + fab.y; - float Ems = 1.0 - Ess; - vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); - singleScatter += FssEss; - multiScatter += Fms * Ems; -} -#if NUM_RECT_AREA_LIGHTS > 0 - void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - vec3 normal = geometry.normal; - vec3 viewDir = geometry.viewDir; - vec3 position = geometry.position; - vec3 lightPos = rectAreaLight.position; - vec3 halfWidth = rectAreaLight.halfWidth; - vec3 halfHeight = rectAreaLight.halfHeight; - vec3 lightColor = rectAreaLight.color; - float roughness = material.roughness; - vec3 rectCoords[ 4 ]; - rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; - rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; - rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; - vec2 uv = LTC_Uv( normal, viewDir, roughness ); - vec4 t1 = texture2D( ltc_1, uv ); - vec4 t2 = texture2D( ltc_2, uv ); - mat3 mInv = mat3( - vec3( t1.x, 0, t1.y ), - vec3( 0, 1, 0 ), - vec3( t1.z, 0, t1.w ) - ); - vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y ); - reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); - reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); - } -#endif -void RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - #ifdef USE_CLEARCOAT - float dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); - vec3 ccIrradiance = dotNLcc * directLight.color; - clearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #ifdef USE_SHEEN - sheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness ); - #endif - #ifdef USE_IRIDESCENCE - reflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness ); - #else - reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness ); - #endif - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { - #ifdef USE_CLEARCOAT - clearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #ifdef USE_SHEEN - sheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness ); - #endif - vec3 singleScattering = vec3( 0.0 ); - vec3 multiScattering = vec3( 0.0 ); - vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; - #ifdef USE_IRIDESCENCE - computeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering ); - #else - computeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering ); - #endif - vec3 totalScattering = singleScattering + multiScattering; - vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) ); - reflectedLight.indirectSpecular += radiance * singleScattering; - reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance; - reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance; -} -#define RE_Direct RE_Direct_Physical -#define RE_Direct_RectArea RE_Direct_RectArea_Physical -#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical -#define RE_IndirectSpecular RE_IndirectSpecular_Physical -float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { - return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); -}`,Ujt=` -GeometricContext geometry; -geometry.position = - vViewPosition; -geometry.normal = normal; -geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); -#ifdef USE_CLEARCOAT - geometry.clearcoatNormal = clearcoatNormal; -#endif -#ifdef USE_IRIDESCENCE - float dotNVi = saturate( dot( normal, geometry.viewDir ) ); - if ( material.iridescenceThickness == 0.0 ) { - material.iridescence = 0.0; - } else { - material.iridescence = saturate( material.iridescence ); - } - if ( material.iridescence > 0.0 ) { - material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); - material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); - } -#endif -IncidentLight directLight; -#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) - PointLight pointLight; - #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 - PointLightShadow pointLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { - pointLight = pointLights[ i ]; - getPointLightInfo( pointLight, geometry, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) - pointLightShadow = pointLightShadows[ i ]; - directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; - #endif - RE_Direct( directLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) - SpotLight spotLight; - vec4 spotColor; - vec3 spotLightCoord; - bool inSpotLightMap; - #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { - spotLight = spotLights[ i ]; - getSpotLightInfo( spotLight, geometry, directLight ); - #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX - #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS - #else - #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #endif - #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) - spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; - inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); - spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); - directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; - #endif - #undef SPOT_LIGHT_MAP_INDEX - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - spotLightShadow = spotLightShadows[ i ]; - directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) - DirectionalLight directionalLight; - #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { - directionalLight = directionalLights[ i ]; - getDirectionalLightInfo( directionalLight, geometry, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) - directionalLightShadow = directionalLightShadows[ i ]; - directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) - RectAreaLight rectAreaLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { - rectAreaLight = rectAreaLights[ i ]; - RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if defined( RE_IndirectDiffuse ) - vec3 iblIrradiance = vec3( 0.0 ); - vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); - irradiance += getLightProbeIrradiance( lightProbe, geometry.normal ); - #if ( NUM_HEMI_LIGHTS > 0 ) - #pragma unroll_loop_start - for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { - irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal ); - } - #pragma unroll_loop_end - #endif -#endif -#if defined( RE_IndirectSpecular ) - vec3 radiance = vec3( 0.0 ); - vec3 clearcoatRadiance = vec3( 0.0 ); -#endif`,Wjt=`#if defined( RE_IndirectDiffuse ) - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vUv2 ); - vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; - irradiance += lightMapIrradiance; - #endif - #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) - iblIrradiance += getIBLIrradiance( geometry.normal ); - #endif -#endif -#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) - radiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness ); - #ifdef USE_CLEARCOAT - clearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness ); - #endif -#endif`,Vjt=`#if defined( RE_IndirectDiffuse ) - RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight ); -#endif -#if defined( RE_IndirectSpecular ) - RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight ); -#endif`,Gjt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) - gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; -#endif`,Hjt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) - uniform float logDepthBufFC; - varying float vFragDepth; - varying float vIsPerspective; -#endif`,qjt=`#ifdef USE_LOGDEPTHBUF - #ifdef USE_LOGDEPTHBUF_EXT - varying float vFragDepth; - varying float vIsPerspective; - #else - uniform float logDepthBufFC; - #endif -#endif`,Xjt=`#ifdef USE_LOGDEPTHBUF - #ifdef USE_LOGDEPTHBUF_EXT - vFragDepth = 1.0 + gl_Position.w; - vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); - #else - if ( isPerspectiveMatrix( projectionMatrix ) ) { - gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0; - gl_Position.z *= gl_Position.w; - } - #endif -#endif`,Qjt=`#ifdef USE_MAP - vec4 sampledDiffuseColor = texture2D( map, vUv ); - #ifdef DECODE_VIDEO_TEXTURE - sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); - #endif - diffuseColor *= sampledDiffuseColor; -#endif`,Yjt=`#ifdef USE_MAP - uniform sampler2D map; -#endif`,Kjt=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; -#endif -#ifdef USE_MAP - diffuseColor *= texture2D( map, uv ); -#endif -#ifdef USE_ALPHAMAP - diffuseColor.a *= texture2D( alphaMap, uv ).g; -#endif`,Zjt=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - uniform mat3 uvTransform; -#endif -#ifdef USE_MAP - uniform sampler2D map; -#endif -#ifdef USE_ALPHAMAP - uniform sampler2D alphaMap; -#endif`,Jjt=`float metalnessFactor = metalness; -#ifdef USE_METALNESSMAP - vec4 texelMetalness = texture2D( metalnessMap, vUv ); - metalnessFactor *= texelMetalness.b; -#endif`,e5t=`#ifdef USE_METALNESSMAP - uniform sampler2D metalnessMap; -#endif`,t5t=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) - vColor *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - #if defined( USE_COLOR_ALPHA ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; - #elif defined( USE_COLOR ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; - #endif - } -#endif`,n5t=`#ifdef USE_MORPHNORMALS - objectNormal *= morphTargetBaseInfluence; - #ifdef MORPHTARGETS_TEXTURE - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; - } - #else - objectNormal += morphNormal0 * morphTargetInfluences[ 0 ]; - objectNormal += morphNormal1 * morphTargetInfluences[ 1 ]; - objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; - objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; - #endif -#endif`,r5t=`#ifdef USE_MORPHTARGETS - uniform float morphTargetBaseInfluence; - #ifdef MORPHTARGETS_TEXTURE - uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; - uniform sampler2DArray morphTargetsTexture; - uniform ivec2 morphTargetsTextureSize; - vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { - int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; - int y = texelIndex / morphTargetsTextureSize.x; - int x = texelIndex - y * morphTargetsTextureSize.x; - ivec3 morphUV = ivec3( x, y, morphTargetIndex ); - return texelFetch( morphTargetsTexture, morphUV, 0 ); - } - #else - #ifndef USE_MORPHNORMALS - uniform float morphTargetInfluences[ 8 ]; - #else - uniform float morphTargetInfluences[ 4 ]; - #endif - #endif -#endif`,i5t=`#ifdef USE_MORPHTARGETS - transformed *= morphTargetBaseInfluence; - #ifdef MORPHTARGETS_TEXTURE - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; - } - #else - transformed += morphTarget0 * morphTargetInfluences[ 0 ]; - transformed += morphTarget1 * morphTargetInfluences[ 1 ]; - transformed += morphTarget2 * morphTargetInfluences[ 2 ]; - transformed += morphTarget3 * morphTargetInfluences[ 3 ]; - #ifndef USE_MORPHNORMALS - transformed += morphTarget4 * morphTargetInfluences[ 4 ]; - transformed += morphTarget5 * morphTargetInfluences[ 5 ]; - transformed += morphTarget6 * morphTargetInfluences[ 6 ]; - transformed += morphTarget7 * morphTargetInfluences[ 7 ]; - #endif - #endif -#endif`,o5t=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; -#ifdef FLAT_SHADED - vec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) ); - vec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) ); - vec3 normal = normalize( cross( fdx, fdy ) ); -#else - vec3 normal = normalize( vNormal ); - #ifdef DOUBLE_SIDED - normal = normal * faceDirection; - #endif - #ifdef USE_TANGENT - vec3 tangent = normalize( vTangent ); - vec3 bitangent = normalize( vBitangent ); - #ifdef DOUBLE_SIDED - tangent = tangent * faceDirection; - bitangent = bitangent * faceDirection; - #endif - #if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP ) - mat3 vTBN = mat3( tangent, bitangent, normal ); - #endif - #endif -#endif -vec3 geometryNormal = normal;`,a5t=`#ifdef OBJECTSPACE_NORMALMAP - normal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; - #ifdef FLIP_SIDED - normal = - normal; - #endif - #ifdef DOUBLE_SIDED - normal = normal * faceDirection; - #endif - normal = normalize( normalMatrix * normal ); -#elif defined( TANGENTSPACE_NORMALMAP ) - vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; - mapN.xy *= normalScale; - #ifdef USE_TANGENT - normal = normalize( vTBN * mapN ); - #else - normal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection ); - #endif -#elif defined( USE_BUMPMAP ) - normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); -#endif`,s5t=`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,l5t=`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,c5t=`#ifndef FLAT_SHADED - vNormal = normalize( transformedNormal ); - #ifdef USE_TANGENT - vTangent = normalize( transformedTangent ); - vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); - #endif -#endif`,u5t=`#ifdef USE_NORMALMAP - uniform sampler2D normalMap; - uniform vec2 normalScale; -#endif -#ifdef OBJECTSPACE_NORMALMAP - uniform mat3 normalMatrix; -#endif -#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) ) - vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) { - vec3 q0 = dFdx( eye_pos.xyz ); - vec3 q1 = dFdy( eye_pos.xyz ); - vec2 st0 = dFdx( vUv.st ); - vec2 st1 = dFdy( vUv.st ); - vec3 N = surf_norm; - vec3 q1perp = cross( q1, N ); - vec3 q0perp = cross( N, q0 ); - vec3 T = q1perp * st0.x + q0perp * st1.x; - vec3 B = q1perp * st0.y + q0perp * st1.y; - float det = max( dot( T, T ), dot( B, B ) ); - float scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det ); - return normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z ); - } -#endif`,f5t=`#ifdef USE_CLEARCOAT - vec3 clearcoatNormal = geometryNormal; -#endif`,d5t=`#ifdef USE_CLEARCOAT_NORMALMAP - vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0; - clearcoatMapN.xy *= clearcoatNormalScale; - #ifdef USE_TANGENT - clearcoatNormal = normalize( vTBN * clearcoatMapN ); - #else - clearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection ); - #endif -#endif`,h5t=`#ifdef USE_CLEARCOATMAP - uniform sampler2D clearcoatMap; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - uniform sampler2D clearcoatRoughnessMap; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - uniform sampler2D clearcoatNormalMap; - uniform vec2 clearcoatNormalScale; -#endif`,p5t=`#ifdef USE_IRIDESCENCEMAP - uniform sampler2D iridescenceMap; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - uniform sampler2D iridescenceThicknessMap; -#endif`,m5t=`#ifdef OPAQUE -diffuseColor.a = 1.0; -#endif -#ifdef USE_TRANSMISSION -diffuseColor.a *= material.transmissionAlpha + 0.1; -#endif -gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,g5t=`vec3 packNormalToRGB( const in vec3 normal ) { - return normalize( normal ) * 0.5 + 0.5; -} -vec3 unpackRGBToNormal( const in vec3 rgb ) { - return 2.0 * rgb.xyz - 1.0; -} -const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.; -const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. ); -const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. ); -const float ShiftRight8 = 1. / 256.; -vec4 packDepthToRGBA( const in float v ) { - vec4 r = vec4( fract( v * PackFactors ), v ); - r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale; -} -float unpackRGBAToDepth( const in vec4 v ) { - return dot( v, UnpackFactors ); -} -vec4 pack2HalfToRGBA( vec2 v ) { - vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); - return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); -} -vec2 unpackRGBATo2Half( vec4 v ) { - return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); -} -float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { - return ( viewZ + near ) / ( near - far ); -} -float orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) { - return linearClipZ * ( near - far ) - near; -} -float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { - return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); -} -float perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) { - return ( near * far ) / ( ( far - near ) * invClipZ - far ); -}`,v5t=`#ifdef PREMULTIPLIED_ALPHA - gl_FragColor.rgb *= gl_FragColor.a; -#endif`,y5t=`vec4 mvPosition = vec4( transformed, 1.0 ); -#ifdef USE_INSTANCING - mvPosition = instanceMatrix * mvPosition; -#endif -mvPosition = modelViewMatrix * mvPosition; -gl_Position = projectionMatrix * mvPosition;`,x5t=`#ifdef DITHERING - gl_FragColor.rgb = dithering( gl_FragColor.rgb ); -#endif`,b5t=`#ifdef DITHERING - vec3 dithering( vec3 color ) { - float grid_position = rand( gl_FragCoord.xy ); - vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); - dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); - return color + dither_shift_RGB; - } -#endif`,_5t=`float roughnessFactor = roughness; -#ifdef USE_ROUGHNESSMAP - vec4 texelRoughness = texture2D( roughnessMap, vUv ); - roughnessFactor *= texelRoughness.g; -#endif`,w5t=`#ifdef USE_ROUGHNESSMAP - uniform sampler2D roughnessMap; -#endif`,S5t=`#if NUM_SPOT_LIGHT_COORDS > 0 - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#if NUM_SPOT_LIGHT_MAPS > 0 - uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; - struct SpotLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif - float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { - return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); - } - vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) { - return unpackRGBATo2Half( texture2D( shadow, uv ) ); - } - float VSMShadow (sampler2D shadow, vec2 uv, float compare ){ - float occlusion = 1.0; - vec2 distribution = texture2DDistribution( shadow, uv ); - float hard_shadow = step( compare , distribution.x ); - if (hard_shadow != 1.0 ) { - float distance = compare - distribution.x ; - float variance = max( 0.00000, distribution.y * distribution.y ); - float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 ); - } - return occlusion; - } - float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - shadowCoord.z += shadowBias; - bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 ); - bool inFrustum = all( inFrustumVec ); - bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 ); - bool frustumTest = all( frustumTestVec ); - if ( frustumTest ) { - #if defined( SHADOWMAP_TYPE_PCF ) - vec2 texelSize = vec2( 1.0 ) / shadowMapSize; - float dx0 = - texelSize.x * shadowRadius; - float dy0 = - texelSize.y * shadowRadius; - float dx1 = + texelSize.x * shadowRadius; - float dy1 = + texelSize.y * shadowRadius; - float dx2 = dx0 / 2.0; - float dy2 = dy0 / 2.0; - float dx3 = dx1 / 2.0; - float dy3 = dy1 / 2.0; - shadow = ( - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z ) - ) * ( 1.0 / 17.0 ); - #elif defined( SHADOWMAP_TYPE_PCF_SOFT ) - vec2 texelSize = vec2( 1.0 ) / shadowMapSize; - float dx = texelSize.x; - float dy = texelSize.y; - vec2 uv = shadowCoord.xy; - vec2 f = fract( uv * shadowMapSize + 0.5 ); - uv -= f * texelSize; - shadow = ( - texture2DCompare( shadowMap, uv, shadowCoord.z ) + - texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) + - texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) + - mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ), - f.x ) + - mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ), - f.x ) + - mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ), - f.y ) + - mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ), - f.y ) + - mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ), - f.x ), - mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ), - f.x ), - f.y ) - ) * ( 1.0 / 9.0 ); - #elif defined( SHADOWMAP_TYPE_VSM ) - shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z ); - #else - shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ); - #endif - } - return shadow; - } - vec2 cubeToUV( vec3 v, float texelSizeY ) { - vec3 absV = abs( v ); - float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) ); - absV *= scaleToCube; - v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY ); - vec2 planar = v.xy; - float almostATexel = 1.5 * texelSizeY; - float almostOne = 1.0 - almostATexel; - if ( absV.z >= almostOne ) { - if ( v.z > 0.0 ) - planar.x = 4.0 - v.x; - } else if ( absV.x >= almostOne ) { - float signX = sign( v.x ); - planar.x = v.z * signX + 2.0 * signX; - } else if ( absV.y >= almostOne ) { - float signY = sign( v.y ); - planar.x = v.x + 2.0 * signY + 2.0; - planar.y = v.z * signY - 2.0; - } - return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 ); - } - float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { - vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) ); - vec3 lightToPosition = shadowCoord.xyz; - float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias; - vec3 bd3D = normalize( lightToPosition ); - #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM ) - vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y; - return ( - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp ) - ) * ( 1.0 / 9.0 ); - #else - return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); - #endif - } -#endif`,O5t=`#if NUM_SPOT_LIGHT_COORDS > 0 - uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - struct SpotLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif -#endif`,C5t=`#if defined( USE_SHADOWMAP ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) - #if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_COORDS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 - vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - vec4 shadowWorldPosition; - #endif - #if NUM_DIR_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); - vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif - #if NUM_SPOT_LIGHT_COORDS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { - shadowWorldPosition = worldPosition; - #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; - #endif - vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); - vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif -#endif`,T5t=`float getShadowMask() { - float shadow = 1.0; - #ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - directionalLight = directionalLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { - spotLight = spotLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - PointLightShadow pointLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - pointLight = pointLightShadows[ i ]; - shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; - } - #pragma unroll_loop_end - #endif - #endif - return shadow; -}`,E5t=`#ifdef USE_SKINNING - mat4 boneMatX = getBoneMatrix( skinIndex.x ); - mat4 boneMatY = getBoneMatrix( skinIndex.y ); - mat4 boneMatZ = getBoneMatrix( skinIndex.z ); - mat4 boneMatW = getBoneMatrix( skinIndex.w ); -#endif`,P5t=`#ifdef USE_SKINNING - uniform mat4 bindMatrix; - uniform mat4 bindMatrixInverse; - uniform highp sampler2D boneTexture; - uniform int boneTextureSize; - mat4 getBoneMatrix( const in float i ) { - float j = i * 4.0; - float x = mod( j, float( boneTextureSize ) ); - float y = floor( j / float( boneTextureSize ) ); - float dx = 1.0 / float( boneTextureSize ); - float dy = 1.0 / float( boneTextureSize ); - y = dy * ( y + 0.5 ); - vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) ); - vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) ); - vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) ); - vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) ); - mat4 bone = mat4( v1, v2, v3, v4 ); - return bone; - } -#endif`,M5t=`#ifdef USE_SKINNING - vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); - vec4 skinned = vec4( 0.0 ); - skinned += boneMatX * skinVertex * skinWeight.x; - skinned += boneMatY * skinVertex * skinWeight.y; - skinned += boneMatZ * skinVertex * skinWeight.z; - skinned += boneMatW * skinVertex * skinWeight.w; - transformed = ( bindMatrixInverse * skinned ).xyz; -#endif`,k5t=`#ifdef USE_SKINNING - mat4 skinMatrix = mat4( 0.0 ); - skinMatrix += skinWeight.x * boneMatX; - skinMatrix += skinWeight.y * boneMatY; - skinMatrix += skinWeight.z * boneMatZ; - skinMatrix += skinWeight.w * boneMatW; - skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; - objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; - #ifdef USE_TANGENT - objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #endif -#endif`,A5t=`float specularStrength; -#ifdef USE_SPECULARMAP - vec4 texelSpecular = texture2D( specularMap, vUv ); - specularStrength = texelSpecular.r; -#else - specularStrength = 1.0; -#endif`,R5t=`#ifdef USE_SPECULARMAP - uniform sampler2D specularMap; -#endif`,I5t=`#if defined( TONE_MAPPING ) - gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); -#endif`,D5t=`#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -uniform float toneMappingExposure; -vec3 LinearToneMapping( vec3 color ) { - return toneMappingExposure * color; -} -vec3 ReinhardToneMapping( vec3 color ) { - color *= toneMappingExposure; - return saturate( color / ( vec3( 1.0 ) + color ) ); -} -vec3 OptimizedCineonToneMapping( vec3 color ) { - color *= toneMappingExposure; - color = max( vec3( 0.0 ), color - 0.004 ); - return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); -} -vec3 RRTAndODTFit( vec3 v ) { - vec3 a = v * ( v + 0.0245786 ) - 0.000090537; - vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; - return a / b; -} -vec3 ACESFilmicToneMapping( vec3 color ) { - const mat3 ACESInputMat = mat3( - vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), - vec3( 0.04823, 0.01566, 0.83777 ) - ); - const mat3 ACESOutputMat = mat3( - vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), - vec3( -0.07367, -0.00605, 1.07602 ) - ); - color *= toneMappingExposure / 0.6; - color = ACESInputMat * color; - color = RRTAndODTFit( color ); - color = ACESOutputMat * color; - return saturate( color ); -} -vec3 CustomToneMapping( vec3 color ) { return color; }`,L5t=`#ifdef USE_TRANSMISSION - material.transmission = transmission; - material.transmissionAlpha = 1.0; - material.thickness = thickness; - material.attenuationDistance = attenuationDistance; - material.attenuationColor = attenuationColor; - #ifdef USE_TRANSMISSIONMAP - material.transmission *= texture2D( transmissionMap, vUv ).r; - #endif - #ifdef USE_THICKNESSMAP - material.thickness *= texture2D( thicknessMap, vUv ).g; - #endif - vec3 pos = vWorldPosition; - vec3 v = normalize( cameraPosition - pos ); - vec3 n = inverseTransformDirection( normal, viewMatrix ); - vec4 transmission = getIBLVolumeRefraction( - n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90, - pos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness, - material.attenuationColor, material.attenuationDistance ); - material.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission ); - totalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission ); -#endif`,$5t=`#ifdef USE_TRANSMISSION - uniform float transmission; - uniform float thickness; - uniform float attenuationDistance; - uniform vec3 attenuationColor; - #ifdef USE_TRANSMISSIONMAP - uniform sampler2D transmissionMap; - #endif - #ifdef USE_THICKNESSMAP - uniform sampler2D thicknessMap; - #endif - uniform vec2 transmissionSamplerSize; - uniform sampler2D transmissionSamplerMap; - uniform mat4 modelMatrix; - uniform mat4 projectionMatrix; - varying vec3 vWorldPosition; - vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { - vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); - vec3 modelScale; - modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); - modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); - modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); - return normalize( refractionVector ) * thickness * modelScale; - } - float applyIorToRoughness( const in float roughness, const in float ior ) { - return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); - } - vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { - float framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); - #ifdef texture2DLodEXT - return texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod ); - #else - return texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod ); - #endif - } - vec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { - if ( attenuationDistance == 0.0 ) { - return radiance; - } else { - vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; - vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance * radiance; - } - } - vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, - const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, - const in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness, - const in vec3 attenuationColor, const in float attenuationDistance ) { - vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); - vec3 refractedRayExit = position + transmissionRay; - vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - vec2 refractionCoords = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - vec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); - vec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance ); - vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); - return vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a ); - } -#endif`,N5t=`#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) ) - varying vec2 vUv; -#endif`,F5t=`#ifdef USE_UV - #ifdef UVS_VERTEX_ONLY - vec2 vUv; - #else - varying vec2 vUv; - #endif - uniform mat3 uvTransform; -#endif`,j5t=`#ifdef USE_UV - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; -#endif`,B5t=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) - varying vec2 vUv2; -#endif`,z5t=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) - attribute vec2 uv2; - varying vec2 vUv2; - uniform mat3 uv2Transform; -#endif`,U5t=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) - vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy; -#endif`,W5t=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 - vec4 worldPosition = vec4( transformed, 1.0 ); - #ifdef USE_INSTANCING - worldPosition = instanceMatrix * worldPosition; - #endif - worldPosition = modelMatrix * worldPosition; -#endif`;const V5t=`varying vec2 vUv; -uniform mat3 uvTransform; -void main() { - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; - gl_Position = vec4( position.xy, 1.0, 1.0 ); -}`,G5t=`uniform sampler2D t2D; -varying vec2 vUv; -void main() { - gl_FragColor = texture2D( t2D, vUv ); - #ifdef DECODE_VIDEO_TEXTURE - gl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w ); - #endif - #include - #include -}`,H5t=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include - gl_Position.z = gl_Position.w; -}`,q5t=`#include -uniform float opacity; -varying vec3 vWorldDirection; -#include -void main() { - vec3 vReflect = vWorldDirection; - #include - gl_FragColor = envColor; - gl_FragColor.a *= opacity; - #include - #include -}`,X5t=`#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vHighPrecisionZW = gl_Position.zw; -}`,Q5t=`#if DEPTH_PACKING == 3200 - uniform float opacity; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - #include - vec4 diffuseColor = vec4( 1.0 ); - #if DEPTH_PACKING == 3200 - diffuseColor.a = opacity; - #endif - #include - #include - #include - #include - float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5; - #if DEPTH_PACKING == 3200 - gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); - #elif DEPTH_PACKING == 3201 - gl_FragColor = packDepthToRGBA( fragCoordZ ); - #endif -}`,Y5t=`#define DISTANCE -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vWorldPosition = worldPosition.xyz; -}`,K5t=`#define DISTANCE -uniform vec3 referencePosition; -uniform float nearDistance; -uniform float farDistance; -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -#include -void main () { - #include - vec4 diffuseColor = vec4( 1.0 ); - #include - #include - #include - float dist = length( vWorldPosition - referencePosition ); - dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); - dist = saturate( dist ); - gl_FragColor = packDepthToRGBA( dist ); -}`,Z5t=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include -}`,J5t=`uniform sampler2D tEquirect; -varying vec3 vWorldDirection; -#include -void main() { - vec3 direction = normalize( vWorldDirection ); - vec2 sampleUV = equirectUv( direction ); - gl_FragColor = texture2D( tEquirect, sampleUV ); - #include - #include -}`,eBt=`uniform float scale; -attribute float lineDistance; -varying float vLineDistance; -#include -#include -#include -#include -#include -#include -void main() { - vLineDistance = scale * lineDistance; - #include - #include - #include - #include - #include - #include - #include - #include -}`,tBt=`uniform vec3 diffuse; -uniform float opacity; -uniform float dashSize; -uniform float totalSize; -varying float vLineDistance; -#include -#include -#include -#include -#include -void main() { - #include - if ( mod( vLineDistance, totalSize ) > dashSize ) { - discard; - } - vec3 outgoingLight = vec3( 0.0 ); - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,nBt=`#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) - #include - #include - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,rBt=`uniform vec3 diffuse; -uniform float opacity; -#ifndef FLAT_SHADED - varying vec3 vNormal; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vUv2 ); - reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; - #else - reflectedLight.indirectDiffuse += vec3( 1.0 ); - #endif - #include - reflectedLight.indirectDiffuse *= diffuseColor.rgb; - vec3 outgoingLight = reflectedLight.indirectDiffuse; - #include - #include - #include - #include - #include - #include - #include -}`,iBt=`#define LAMBERT -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,oBt=`#define LAMBERT -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,aBt=`#define MATCAP -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; -}`,sBt=`#define MATCAP -uniform vec3 diffuse; -uniform float opacity; -uniform sampler2D matcap; -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - #include - vec3 viewDir = normalize( vViewPosition ); - vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); - vec3 y = cross( viewDir, x ); - vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; - #ifdef USE_MATCAP - vec4 matcapColor = texture2D( matcap, uv ); - #else - vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); - #endif - vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; - #include - #include - #include - #include - #include - #include -}`,lBt=`#define NORMAL -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) - vViewPosition = - mvPosition.xyz; -#endif -}`,cBt=`#define NORMAL -uniform float opacity; -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); - #ifdef OPAQUE - gl_FragColor.a = 1.0; - #endif -}`,uBt=`#define PHONG -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,fBt=`#define PHONG -uniform vec3 diffuse; -uniform vec3 emissive; -uniform vec3 specular; -uniform float shininess; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,dBt=`#define STANDARD -varying vec3 vViewPosition; -#ifdef USE_TRANSMISSION - varying vec3 vWorldPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -#ifdef USE_TRANSMISSION - vWorldPosition = worldPosition.xyz; -#endif -}`,hBt=`#define STANDARD -#ifdef PHYSICAL - #define IOR - #define SPECULAR -#endif -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float roughness; -uniform float metalness; -uniform float opacity; -#ifdef IOR - uniform float ior; -#endif -#ifdef SPECULAR - uniform float specularIntensity; - uniform vec3 specularColor; - #ifdef USE_SPECULARINTENSITYMAP - uniform sampler2D specularIntensityMap; - #endif - #ifdef USE_SPECULARCOLORMAP - uniform sampler2D specularColorMap; - #endif -#endif -#ifdef USE_CLEARCOAT - uniform float clearcoat; - uniform float clearcoatRoughness; -#endif -#ifdef USE_IRIDESCENCE - uniform float iridescence; - uniform float iridescenceIOR; - uniform float iridescenceThicknessMinimum; - uniform float iridescenceThicknessMaximum; -#endif -#ifdef USE_SHEEN - uniform vec3 sheenColor; - uniform float sheenRoughness; - #ifdef USE_SHEENCOLORMAP - uniform sampler2D sheenColorMap; - #endif - #ifdef USE_SHEENROUGHNESSMAP - uniform sampler2D sheenRoughnessMap; - #endif -#endif -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; - vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; - #include - vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; - #ifdef USE_SHEEN - float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor ); - outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular; - #endif - #ifdef USE_CLEARCOAT - float dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); - vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); - outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat; - #endif - #include - #include - #include - #include - #include - #include -}`,pBt=`#define TOON -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -}`,mBt=`#define TOON -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include -}`,gBt=`uniform float size; -uniform float scale; -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - gl_PointSize = size; - #ifdef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); - #endif - #include - #include - #include - #include -}`,vBt=`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec3 outgoingLight = vec3( 0.0 ); - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,yBt=`#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,xBt=`uniform vec3 color; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -void main() { - gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); - #include - #include - #include -}`,bBt=`uniform float rotation; -uniform vec2 center; -#include -#include -#include -#include -#include -void main() { - #include - vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); - vec2 scale; - scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); - scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); - #ifndef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) scale *= - mvPosition.z; - #endif - vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; - vec2 rotatedPosition; - rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; - rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; - mvPosition.xy += rotatedPosition; - gl_Position = projectionMatrix * mvPosition; - #include - #include - #include -}`,_Bt=`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec3 outgoingLight = vec3( 0.0 ); - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include -}`,Gt={alphamap_fragment:HFt,alphamap_pars_fragment:qFt,alphatest_fragment:XFt,alphatest_pars_fragment:QFt,aomap_fragment:YFt,aomap_pars_fragment:KFt,begin_vertex:ZFt,beginnormal_vertex:JFt,bsdfs:ejt,iridescence_fragment:tjt,bumpmap_pars_fragment:njt,clipping_planes_fragment:rjt,clipping_planes_pars_fragment:ijt,clipping_planes_pars_vertex:ojt,clipping_planes_vertex:ajt,color_fragment:sjt,color_pars_fragment:ljt,color_pars_vertex:cjt,color_vertex:ujt,common:fjt,cube_uv_reflection_fragment:djt,defaultnormal_vertex:hjt,displacementmap_pars_vertex:pjt,displacementmap_vertex:mjt,emissivemap_fragment:gjt,emissivemap_pars_fragment:vjt,encodings_fragment:yjt,encodings_pars_fragment:xjt,envmap_fragment:bjt,envmap_common_pars_fragment:_jt,envmap_pars_fragment:wjt,envmap_pars_vertex:Sjt,envmap_physical_pars_fragment:Ljt,envmap_vertex:Ojt,fog_vertex:Cjt,fog_pars_vertex:Tjt,fog_fragment:Ejt,fog_pars_fragment:Pjt,gradientmap_pars_fragment:Mjt,lightmap_fragment:kjt,lightmap_pars_fragment:Ajt,lights_lambert_fragment:Rjt,lights_lambert_pars_fragment:Ijt,lights_pars_begin:Djt,lights_toon_fragment:$jt,lights_toon_pars_fragment:Njt,lights_phong_fragment:Fjt,lights_phong_pars_fragment:jjt,lights_physical_fragment:Bjt,lights_physical_pars_fragment:zjt,lights_fragment_begin:Ujt,lights_fragment_maps:Wjt,lights_fragment_end:Vjt,logdepthbuf_fragment:Gjt,logdepthbuf_pars_fragment:Hjt,logdepthbuf_pars_vertex:qjt,logdepthbuf_vertex:Xjt,map_fragment:Qjt,map_pars_fragment:Yjt,map_particle_fragment:Kjt,map_particle_pars_fragment:Zjt,metalnessmap_fragment:Jjt,metalnessmap_pars_fragment:e5t,morphcolor_vertex:t5t,morphnormal_vertex:n5t,morphtarget_pars_vertex:r5t,morphtarget_vertex:i5t,normal_fragment_begin:o5t,normal_fragment_maps:a5t,normal_pars_fragment:s5t,normal_pars_vertex:l5t,normal_vertex:c5t,normalmap_pars_fragment:u5t,clearcoat_normal_fragment_begin:f5t,clearcoat_normal_fragment_maps:d5t,clearcoat_pars_fragment:h5t,iridescence_pars_fragment:p5t,output_fragment:m5t,packing:g5t,premultiplied_alpha_fragment:v5t,project_vertex:y5t,dithering_fragment:x5t,dithering_pars_fragment:b5t,roughnessmap_fragment:_5t,roughnessmap_pars_fragment:w5t,shadowmap_pars_fragment:S5t,shadowmap_pars_vertex:O5t,shadowmap_vertex:C5t,shadowmask_pars_fragment:T5t,skinbase_vertex:E5t,skinning_pars_vertex:P5t,skinning_vertex:M5t,skinnormal_vertex:k5t,specularmap_fragment:A5t,specularmap_pars_fragment:R5t,tonemapping_fragment:I5t,tonemapping_pars_fragment:D5t,transmission_fragment:L5t,transmission_pars_fragment:$5t,uv_pars_fragment:N5t,uv_pars_vertex:F5t,uv_vertex:j5t,uv2_pars_fragment:B5t,uv2_pars_vertex:z5t,uv2_vertex:U5t,worldpos_vertex:W5t,background_vert:V5t,background_frag:G5t,cube_vert:H5t,cube_frag:q5t,depth_vert:X5t,depth_frag:Q5t,distanceRGBA_vert:Y5t,distanceRGBA_frag:K5t,equirect_vert:Z5t,equirect_frag:J5t,linedashed_vert:eBt,linedashed_frag:tBt,meshbasic_vert:nBt,meshbasic_frag:rBt,meshlambert_vert:iBt,meshlambert_frag:oBt,meshmatcap_vert:aBt,meshmatcap_frag:sBt,meshnormal_vert:lBt,meshnormal_frag:cBt,meshphong_vert:uBt,meshphong_frag:fBt,meshphysical_vert:dBt,meshphysical_frag:hBt,meshtoon_vert:pBt,meshtoon_frag:mBt,points_vert:gBt,points_frag:vBt,shadow_vert:yBt,shadow_frag:xBt,sprite_vert:bBt,sprite_frag:_Bt},Ze={common:{diffuse:{value:new ar(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new ha},uv2Transform:{value:new ha},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new qt(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new ar(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new ar(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new ha}},sprite:{diffuse:{value:new ar(16777215)},opacity:{value:1},center:{value:new qt(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new ha}}},fl={basic:{uniforms:Bi([Ze.common,Ze.specularmap,Ze.envmap,Ze.aomap,Ze.lightmap,Ze.fog]),vertexShader:Gt.meshbasic_vert,fragmentShader:Gt.meshbasic_frag},lambert:{uniforms:Bi([Ze.common,Ze.specularmap,Ze.envmap,Ze.aomap,Ze.lightmap,Ze.emissivemap,Ze.bumpmap,Ze.normalmap,Ze.displacementmap,Ze.fog,Ze.lights,{emissive:{value:new ar(0)}}]),vertexShader:Gt.meshlambert_vert,fragmentShader:Gt.meshlambert_frag},phong:{uniforms:Bi([Ze.common,Ze.specularmap,Ze.envmap,Ze.aomap,Ze.lightmap,Ze.emissivemap,Ze.bumpmap,Ze.normalmap,Ze.displacementmap,Ze.fog,Ze.lights,{emissive:{value:new ar(0)},specular:{value:new ar(1118481)},shininess:{value:30}}]),vertexShader:Gt.meshphong_vert,fragmentShader:Gt.meshphong_frag},standard:{uniforms:Bi([Ze.common,Ze.envmap,Ze.aomap,Ze.lightmap,Ze.emissivemap,Ze.bumpmap,Ze.normalmap,Ze.displacementmap,Ze.roughnessmap,Ze.metalnessmap,Ze.fog,Ze.lights,{emissive:{value:new ar(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Gt.meshphysical_vert,fragmentShader:Gt.meshphysical_frag},toon:{uniforms:Bi([Ze.common,Ze.aomap,Ze.lightmap,Ze.emissivemap,Ze.bumpmap,Ze.normalmap,Ze.displacementmap,Ze.gradientmap,Ze.fog,Ze.lights,{emissive:{value:new ar(0)}}]),vertexShader:Gt.meshtoon_vert,fragmentShader:Gt.meshtoon_frag},matcap:{uniforms:Bi([Ze.common,Ze.bumpmap,Ze.normalmap,Ze.displacementmap,Ze.fog,{matcap:{value:null}}]),vertexShader:Gt.meshmatcap_vert,fragmentShader:Gt.meshmatcap_frag},points:{uniforms:Bi([Ze.points,Ze.fog]),vertexShader:Gt.points_vert,fragmentShader:Gt.points_frag},dashed:{uniforms:Bi([Ze.common,Ze.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Gt.linedashed_vert,fragmentShader:Gt.linedashed_frag},depth:{uniforms:Bi([Ze.common,Ze.displacementmap]),vertexShader:Gt.depth_vert,fragmentShader:Gt.depth_frag},normal:{uniforms:Bi([Ze.common,Ze.bumpmap,Ze.normalmap,Ze.displacementmap,{opacity:{value:1}}]),vertexShader:Gt.meshnormal_vert,fragmentShader:Gt.meshnormal_frag},sprite:{uniforms:Bi([Ze.sprite,Ze.fog]),vertexShader:Gt.sprite_vert,fragmentShader:Gt.sprite_frag},background:{uniforms:{uvTransform:{value:new ha},t2D:{value:null}},vertexShader:Gt.background_vert,fragmentShader:Gt.background_frag},cube:{uniforms:Bi([Ze.envmap,{opacity:{value:1}}]),vertexShader:Gt.cube_vert,fragmentShader:Gt.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Gt.equirect_vert,fragmentShader:Gt.equirect_frag},distanceRGBA:{uniforms:Bi([Ze.common,Ze.displacementmap,{referencePosition:{value:new Se},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Gt.distanceRGBA_vert,fragmentShader:Gt.distanceRGBA_frag},shadow:{uniforms:Bi([Ze.lights,Ze.fog,{color:{value:new ar(0)},opacity:{value:1}}]),vertexShader:Gt.shadow_vert,fragmentShader:Gt.shadow_frag}};fl.physical={uniforms:Bi([fl.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new qt(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new ar(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new qt},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new ar(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new ar(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Gt.meshphysical_vert,fragmentShader:Gt.meshphysical_frag};function wBt(t,e,n,r,i,o){const a=new ar(0);let s=i===!0?0:1,l,c,u=null,f=0,d=null;function h(m,g){let v=!1,y=g.isScene===!0?g.background:null;y&&y.isTexture&&(y=e.get(y));const x=t.xr,b=x.getSession&&x.getSession();b&&b.environmentBlendMode==="additive"&&(y=null),y===null?p(a,s):y&&y.isColor&&(p(y,1),v=!0),(t.autoClear||v)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),y&&(y.isCubeTexture||y.mapping===ek)?(c===void 0&&(c=new Ml(new Cy(1,1,1),new Kf({name:"BackgroundCubeMaterial",uniforms:Ov(fl.cube.uniforms),vertexShader:fl.cube.vertexShader,fragmentShader:fl.cube.fragmentShader,side:ga,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),c.geometry.deleteAttribute("uv"),c.onBeforeRender=function(_,S,O){this.matrixWorld.copyPosition(O.matrixWorld)},Object.defineProperty(c.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(c)),c.material.uniforms.envMap.value=y,c.material.uniforms.flipEnvMap.value=y.isCubeTexture&&y.isRenderTargetTexture===!1?-1:1,(u!==y||f!==y.version||d!==t.toneMapping)&&(c.material.needsUpdate=!0,u=y,f=y.version,d=t.toneMapping),c.layers.enableAll(),m.unshift(c,c.geometry,c.material,0,0,null)):y&&y.isTexture&&(l===void 0&&(l=new Ml(new rk(2,2),new Kf({name:"BackgroundMaterial",uniforms:Ov(fl.background.uniforms),vertexShader:fl.background.vertexShader,fragmentShader:fl.background.fragmentShader,side:bv,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),Object.defineProperty(l.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(l)),l.material.uniforms.t2D.value=y,y.matrixAutoUpdate===!0&&y.updateMatrix(),l.material.uniforms.uvTransform.value.copy(y.matrix),(u!==y||f!==y.version||d!==t.toneMapping)&&(l.material.needsUpdate=!0,u=y,f=y.version,d=t.toneMapping),l.layers.enableAll(),m.unshift(l,l.geometry,l.material,0,0,null))}function p(m,g){n.buffers.color.setClear(m.r,m.g,m.b,g,o)}return{getClearColor:function(){return a},setClearColor:function(m,g=1){a.set(m),s=g,p(a,s)},getClearAlpha:function(){return s},setClearAlpha:function(m){s=m,p(a,s)},render:h}}function SBt(t,e,n,r){const i=t.getParameter(34921),o=r.isWebGL2?null:e.get("OES_vertex_array_object"),a=r.isWebGL2||o!==null,s={},l=g(null);let c=l,u=!1;function f(T,D,U,B,W){let z=!1;if(a){const $=m(B,U,D);c!==$&&(c=$,h(c.object)),z=v(T,B,U,W),z&&y(T,B,U,W)}else{const $=D.wireframe===!0;(c.geometry!==B.id||c.program!==U.id||c.wireframe!==$)&&(c.geometry=B.id,c.program=U.id,c.wireframe=$,z=!0)}W!==null&&n.update(W,34963),(z||u)&&(u=!1,C(T,D,U,B),W!==null&&t.bindBuffer(34963,n.get(W).buffer))}function d(){return r.isWebGL2?t.createVertexArray():o.createVertexArrayOES()}function h(T){return r.isWebGL2?t.bindVertexArray(T):o.bindVertexArrayOES(T)}function p(T){return r.isWebGL2?t.deleteVertexArray(T):o.deleteVertexArrayOES(T)}function m(T,D,U){const B=U.wireframe===!0;let W=s[T.id];W===void 0&&(W={},s[T.id]=W);let z=W[D.id];z===void 0&&(z={},W[D.id]=z);let $=z[B];return $===void 0&&($=g(d()),z[B]=$),$}function g(T){const D=[],U=[],B=[];for(let W=0;W=0){const q=W[L];let Y=z[L];if(Y===void 0&&(L==="instanceMatrix"&&T.instanceMatrix&&(Y=T.instanceMatrix),L==="instanceColor"&&T.instanceColor&&(Y=T.instanceColor)),q===void 0||q.attribute!==Y||Y&&q.data!==Y.data)return!0;$++}return c.attributesNum!==$||c.index!==B}function y(T,D,U,B){const W={},z=D.attributes;let $=0;const N=U.getAttributes();for(const L in N)if(N[L].location>=0){let q=z[L];q===void 0&&(L==="instanceMatrix"&&T.instanceMatrix&&(q=T.instanceMatrix),L==="instanceColor"&&T.instanceColor&&(q=T.instanceColor));const Y={};Y.attribute=q,q&&q.data&&(Y.data=q.data),W[L]=Y,$++}c.attributes=W,c.attributesNum=$,c.index=B}function x(){const T=c.newAttributes;for(let D=0,U=T.length;D=0){let A=W[N];if(A===void 0&&(N==="instanceMatrix"&&T.instanceMatrix&&(A=T.instanceMatrix),N==="instanceColor"&&T.instanceColor&&(A=T.instanceColor)),A!==void 0){const q=A.normalized,Y=A.itemSize,K=n.get(A);if(K===void 0)continue;const se=K.buffer,ee=K.type,te=K.bytesPerElement;if(A.isInterleavedBufferAttribute){const de=A.data,xe=de.stride,ie=A.offset;if(de.isInstancedInterleavedBuffer){for(let ve=0;ve0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";O="mediump"}return O==="mediump"&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const a=typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&t instanceof WebGL2ComputeRenderingContext;let s=n.precision!==void 0?n.precision:"highp";const l=o(s);l!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",l,"instead."),s=l);const c=a||e.has("WEBGL_draw_buffers"),u=n.logarithmicDepthBuffer===!0,f=t.getParameter(34930),d=t.getParameter(35660),h=t.getParameter(3379),p=t.getParameter(34076),m=t.getParameter(34921),g=t.getParameter(36347),v=t.getParameter(36348),y=t.getParameter(36349),x=d>0,b=a||e.has("OES_texture_float"),_=x&&b,S=a?t.getParameter(36183):0;return{isWebGL2:a,drawBuffers:c,getMaxAnisotropy:i,getMaxPrecision:o,precision:s,logarithmicDepthBuffer:u,maxTextures:f,maxVertexTextures:d,maxTextureSize:h,maxCubemapSize:p,maxAttributes:m,maxVertexUniforms:g,maxVaryings:v,maxFragmentUniforms:y,vertexTextures:x,floatFragmentTextures:b,floatVertexTextures:_,maxSamples:S}}function TBt(t){const e=this;let n=null,r=0,i=!1,o=!1;const a=new Bd,s=new ha,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(f,d,h){const p=f.length!==0||d||r!==0||i;return i=d,n=u(f,h,0),r=f.length,p},this.beginShadows=function(){o=!0,u(null)},this.endShadows=function(){o=!1,c()},this.setState=function(f,d,h){const p=f.clippingPlanes,m=f.clipIntersection,g=f.clipShadows,v=t.get(f);if(!i||p===null||p.length===0||o&&!g)o?u(null):c();else{const y=o?0:r,x=y*4;let b=v.clippingState||null;l.value=b,b=u(p,d,x,h);for(let _=0;_!==x;++_)b[_]=n[_];v.clippingState=b,this.numIntersection=m?this.numPlanes:0,this.numPlanes+=y}};function c(){l.value!==n&&(l.value=n,l.needsUpdate=r>0),e.numPlanes=r,e.numIntersection=0}function u(f,d,h,p){const m=f!==null?f.length:0;let g=null;if(m!==0){if(g=l.value,p!==!0||g===null){const v=h+m*4,y=d.matrixWorldInverse;s.getNormalMatrix(y),(g===null||g.length0){const c=new UFt(l.height/2);return c.fromEquirectangularTexture(t,a),e.set(a,c),a.addEventListener("dispose",i),n(c.texture,a.mapping)}else return null}}return a}function i(a){const s=a.target;s.removeEventListener("dispose",i);const l=e.get(s);l!==void 0&&(e.delete(s),l.dispose())}function o(){e=new WeakMap}return{get:r,dispose:o}}class rve extends Jge{constructor(e=-1,n=1,r=1,i=-1,o=.1,a=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=n,this.top=r,this.bottom=i,this.near=o,this.far=a,this.updateProjectionMatrix()}copy(e,n){return super.copy(e,n),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,n,r,i,o,a){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),n=(this.top-this.bottom)/(2*this.zoom),r=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let o=r-e,a=r+e,s=i+n,l=i-n;if(this.view!==null&&this.view.enabled){const c=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;o+=c*this.view.offsetX,a=o+c*this.view.width,s-=u*this.view.offsetY,l=s-u*this.view.height}this.projectionMatrix.makeOrthographic(o,a,s,l,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const n=super.toJSON(e);return n.object.zoom=this.zoom,n.object.left=this.left,n.object.right=this.right,n.object.top=this.top,n.object.bottom=this.bottom,n.object.near=this.near,n.object.far=this.far,this.view!==null&&(n.object.view=Object.assign({},this.view)),n}}const Xm=4,VK=[.125,.215,.35,.446,.526,.582],Qd=20,$I=new rve,GK=new ar;let NI=null;const zd=(1+Math.sqrt(5))/2,mm=1/zd,HK=[new Se(1,1,1),new Se(-1,1,1),new Se(1,1,-1),new Se(-1,1,-1),new Se(0,zd,mm),new Se(0,zd,-mm),new Se(mm,0,zd),new Se(-mm,0,zd),new Se(zd,mm,0),new Se(-zd,mm,0)];class qK{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,n=0,r=.1,i=100){NI=this._renderer.getRenderTarget(),this._setSize(256);const o=this._allocateTargets();return o.depthBuffer=!0,this._sceneToCubeUV(e,r,i,o),n>0&&this._blur(o,0,0,n),this._applyPMREM(o),this._cleanup(o),o}fromEquirectangular(e,n=null){return this._fromTexture(e,n)}fromCubemap(e,n=null){return this._fromTexture(e,n)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=YK(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=QK(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?x:0,x,x),u.setRenderTarget(i),m&&u.render(p,s),u.render(e,s)}p.geometry.dispose(),p.material.dispose(),u.toneMapping=d,u.autoClear=f,e.background=g}_textureToCubeUV(e,n){const r=this._renderer,i=e.mapping===_v||e.mapping===wv;i?(this._cubemapMaterial===null&&(this._cubemapMaterial=YK()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=QK());const o=i?this._cubemapMaterial:this._equirectMaterial,a=new Ml(this._lodPlanes[0],o),s=o.uniforms;s.envMap.value=e;const l=this._cubeSize;AO(n,0,0,3*l,2*l),r.setRenderTarget(n),r.render(a,$I)}_applyPMREM(e){const n=this._renderer,r=n.autoClear;n.autoClear=!1;for(let i=1;iQd&&console.warn(`sigmaRadians, ${o}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${Qd}`);const v=[];let y=0;for(let O=0;Ox-Xm?i-x+Xm:0),S=4*(this._cubeSize-b);AO(n,_,S,3*b,2*b),l.setRenderTarget(n),l.render(f,$I)}}function PBt(t){const e=[],n=[],r=[];let i=t;const o=t-Xm+1+VK.length;for(let a=0;at-Xm?l=VK[a-t+Xm-1]:a===0&&(l=0),r.push(l);const c=1/(s-2),u=-c,f=1+c,d=[u,u,f,u,f,f,u,u,f,f,u,f],h=6,p=6,m=3,g=2,v=1,y=new Float32Array(m*p*h),x=new Float32Array(g*p*h),b=new Float32Array(v*p*h);for(let S=0;S2?0:-1,E=[O,C,0,O+2/3,C,0,O+2/3,C+1,0,O,C,0,O+2/3,C+1,0,O,C+1,0];y.set(E,m*p*S),x.set(d,g*p*S);const M=[S,S,S,S,S,S];b.set(M,v*p*S)}const _=new mu;_.setAttribute("position",new Za(y,m)),_.setAttribute("uv",new Za(x,g)),_.setAttribute("faceIndex",new Za(b,v)),e.push(_),i>Xm&&i--}return{lodPlanes:e,sizeLods:n,sigmas:r}}function XK(t,e,n){const r=new tp(t,e,n);return r.texture.mapping=ek,r.texture.name="PMREM.cubeUv",r.scissorTest=!0,r}function AO(t,e,n,r,i){t.viewport.set(e,n,r,i),t.scissor.set(e,n,r,i)}function MBt(t,e,n){const r=new Float32Array(Qd),i=new Se(0,1,0);return new Kf({name:"SphericalGaussianBlur",defines:{n:Qd,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:kU(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:Lf,depthTest:!1,depthWrite:!1})}function QK(){return new Kf({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:kU(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:Lf,depthTest:!1,depthWrite:!1})}function YK(){return new Kf({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:kU(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:Lf,depthTest:!1,depthWrite:!1})}function kU(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}function kBt(t){let e=new WeakMap,n=null;function r(s){if(s&&s.isTexture){const l=s.mapping,c=l===BN||l===zN,u=l===_v||l===wv;if(c||u)if(s.isRenderTargetTexture&&s.needsPMREMUpdate===!0){s.needsPMREMUpdate=!1;let f=e.get(s);return n===null&&(n=new qK(t)),f=c?n.fromEquirectangular(s,f):n.fromCubemap(s,f),e.set(s,f),f.texture}else{if(e.has(s))return e.get(s).texture;{const f=s.image;if(c&&f&&f.height>0||u&&f&&i(f)){n===null&&(n=new qK(t));const d=c?n.fromEquirectangular(s):n.fromCubemap(s);return e.set(s,d),s.addEventListener("dispose",o),d.texture}else return null}}}return s}function i(s){let l=0;const c=6;for(let u=0;ue.maxTextureSize&&(I=Math.ceil(M/e.maxTextureSize),M=e.maxTextureSize);const P=new Float32Array(M*I*4*m),R=new Hge(P,M,I,m);R.type=gf,R.needsUpdate=!0;const T=E*4;for(let U=0;U0)return t;const i=e*n;let o=KK[i];if(o===void 0&&(o=new Float32Array(i),KK[i]=o),e!==0){r.toArray(o,0);for(let a=1,s=0;a!==e;++a)s+=n,t[a].toArray(o,s)}return o}function mo(t,e){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n":" "} ${s}: ${n[a]}`)}return r.join(` -`)}function Azt(t){switch(t){case ep:return["Linear","( value )"];case gr:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",t),["Linear","( value )"]}}function iZ(t,e,n){const r=t.getShaderParameter(e,35713),i=t.getShaderInfoLog(e).trim();if(r&&i==="")return"";const o=/ERROR: 0:(\d+)/.exec(i);if(o){const a=parseInt(o[1]);return n.toUpperCase()+` - -`+i+` - -`+kzt(t.getShaderSource(e),a)}else return i}function Rzt(t,e){const n=Azt(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function Izt(t,e){let n;switch(e){case tFt:n="Linear";break;case nFt:n="Reinhard";break;case rFt:n="OptimizedCineon";break;case iFt:n="ACESFilmic";break;case oFt:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),n="Linear"}return"vec3 "+t+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function Dzt(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.tangentSpaceNormalMap||t.clearcoatNormalMap||t.flatShading||t.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(K0).join(` -`)}function Lzt(t){const e=[];for(const n in t){const r=t[n];r!==!1&&e.push("#define "+n+" "+r)}return e.join(` -`)}function $zt(t,e){const n={},r=t.getProgramParameter(e,35721);for(let i=0;i/gm;function HN(t){return t.replace(Nzt,Fzt)}function Fzt(t,e){const n=Gt[e];if(n===void 0)throw new Error("Can not resolve #include <"+e+">");return HN(n)}const jzt=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function sZ(t){return t.replace(jzt,Bzt)}function Bzt(t,e,n,r){let i="";for(let o=parseInt(e);o0&&(g+=` -`),v=[h,p].filter(K0).join(` -`),v.length>0&&(v+=` -`)):(g=[lZ(n),"#define SHADER_NAME "+n.shaderName,p,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.supportsVertexTextures?"#define VERTEX_TEXTURES":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+u:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.displacementMap&&n.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&n.flatShading===!1?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` -`].filter(K0).join(` -`),v=[h,lZ(n),"#define SHADER_NAME "+n.shaderName,p,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+c:"",n.envMap?"#define "+u:"",n.envMap?"#define "+f:"",d?"#define CUBEUV_TEXEL_WIDTH "+d.texelWidth:"",d?"#define CUBEUV_TEXEL_HEIGHT "+d.texelHeight:"",d?"#define CUBEUV_MAX_MIP "+d.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==Yc?"#define TONE_MAPPING":"",n.toneMapping!==Yc?Gt.tonemapping_pars_fragment:"",n.toneMapping!==Yc?Izt("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",Gt.encodings_pars_fragment,Rzt("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"",` -`].filter(K0).join(` -`)),a=HN(a),a=oZ(a,n),a=aZ(a,n),s=HN(s),s=oZ(s,n),s=aZ(s,n),a=sZ(a),s=sZ(s),n.isWebGL2&&n.isRawShaderMaterial!==!0&&(y=`#version 300 es -`,g=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(` -`)+` -`+g,v=["#define varying in",n.glslVersion===kK?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===kK?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(` -`)+` -`+v);const x=y+g+a,b=y+v+s,_=rZ(i,35633,x),S=rZ(i,35632,b);if(i.attachShader(m,_),i.attachShader(m,S),n.index0AttributeName!==void 0?i.bindAttribLocation(m,0,n.index0AttributeName):n.morphTargets===!0&&i.bindAttribLocation(m,0,"position"),i.linkProgram(m),t.debug.checkShaderErrors){const E=i.getProgramInfoLog(m).trim(),M=i.getShaderInfoLog(_).trim(),I=i.getShaderInfoLog(S).trim();let P=!0,R=!0;if(i.getProgramParameter(m,35714)===!1){P=!1;const T=iZ(i,_,"vertex"),D=iZ(i,S,"fragment");console.error("THREE.WebGLProgram: Shader Error "+i.getError()+" - VALIDATE_STATUS "+i.getProgramParameter(m,35715)+` - -Program Info Log: `+E+` -`+T+` -`+D)}else E!==""?console.warn("THREE.WebGLProgram: Program Info Log:",E):(M===""||I==="")&&(R=!1);R&&(this.diagnostics={runnable:P,programLog:E,vertexShader:{log:M,prefix:g},fragmentShader:{log:I,prefix:v}})}i.deleteShader(_),i.deleteShader(S);let O;this.getUniforms=function(){return O===void 0&&(O=new PC(i,m)),O};let C;return this.getAttributes=function(){return C===void 0&&(C=$zt(i,m)),C},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(m),this.program=void 0},this.name=n.shaderName,this.id=Mzt++,this.cacheKey=e,this.usedTimes=1,this.program=m,this.vertexShader=_,this.fragmentShader=S,this}let qzt=0;class Xzt{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const n=e.vertexShader,r=e.fragmentShader,i=this._getShaderStage(n),o=this._getShaderStage(r),a=this._getShaderCacheForMaterial(e);return a.has(i)===!1&&(a.add(i),i.usedTimes++),a.has(o)===!1&&(a.add(o),o.usedTimes++),this}remove(e){const n=this.materialCache.get(e);for(const r of n)r.usedTimes--,r.usedTimes===0&&this.shaderCache.delete(r.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const n=this.materialCache;let r=n.get(e);return r===void 0&&(r=new Set,n.set(e,r)),r}_getShaderStage(e){const n=this.shaderCache;let r=n.get(e);return r===void 0&&(r=new Qzt(e),n.set(e,r)),r}}class Qzt{constructor(e){this.id=qzt++,this.code=e,this.usedTimes=0}}function Yzt(t,e,n,r,i,o,a){const s=new Qge,l=new Xzt,c=[],u=i.isWebGL2,f=i.logarithmicDepthBuffer,d=i.vertexTextures;let h=i.precision;const p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function m(C,E,M,I,P){const R=I.fog,T=P.geometry,D=C.isMeshStandardMaterial?I.environment:null,U=(C.isMeshStandardMaterial?n:e).get(C.envMap||D),B=U&&U.mapping===ek?U.image.height:null,W=p[C.type];C.precision!==null&&(h=i.getMaxPrecision(C.precision),h!==C.precision&&console.warn("THREE.WebGLProgram.getParameters:",C.precision,"not supported, using",h,"instead."));const z=T.morphAttributes.position||T.morphAttributes.normal||T.morphAttributes.color,$=z!==void 0?z.length:0;let N=0;T.morphAttributes.position!==void 0&&(N=1),T.morphAttributes.normal!==void 0&&(N=2),T.morphAttributes.color!==void 0&&(N=3);let L,A,q,Y;if(W){const xe=fl[W];L=xe.vertexShader,A=xe.fragmentShader}else L=C.vertexShader,A=C.fragmentShader,l.update(C),q=l.getVertexShaderID(C),Y=l.getFragmentShaderID(C);const K=t.getRenderTarget(),se=C.alphaTest>0,ee=C.clearcoat>0,te=C.iridescence>0;return{isWebGL2:u,shaderID:W,shaderName:C.type,vertexShader:L,fragmentShader:A,defines:C.defines,customVertexShaderID:q,customFragmentShaderID:Y,isRawShaderMaterial:C.isRawShaderMaterial===!0,glslVersion:C.glslVersion,precision:h,instancing:P.isInstancedMesh===!0,instancingColor:P.isInstancedMesh===!0&&P.instanceColor!==null,supportsVertexTextures:d,outputEncoding:K===null?t.outputEncoding:K.isXRRenderTarget===!0?K.texture.encoding:ep,map:!!C.map,matcap:!!C.matcap,envMap:!!U,envMapMode:U&&U.mapping,envMapCubeUVHeight:B,lightMap:!!C.lightMap,aoMap:!!C.aoMap,emissiveMap:!!C.emissiveMap,bumpMap:!!C.bumpMap,normalMap:!!C.normalMap,objectSpaceNormalMap:C.normalMapType===OFt,tangentSpaceNormalMap:C.normalMapType===SFt,decodeVideoTexture:!!C.map&&C.map.isVideoTexture===!0&&C.map.encoding===gr,clearcoat:ee,clearcoatMap:ee&&!!C.clearcoatMap,clearcoatRoughnessMap:ee&&!!C.clearcoatRoughnessMap,clearcoatNormalMap:ee&&!!C.clearcoatNormalMap,iridescence:te,iridescenceMap:te&&!!C.iridescenceMap,iridescenceThicknessMap:te&&!!C.iridescenceThicknessMap,displacementMap:!!C.displacementMap,roughnessMap:!!C.roughnessMap,metalnessMap:!!C.metalnessMap,specularMap:!!C.specularMap,specularIntensityMap:!!C.specularIntensityMap,specularColorMap:!!C.specularColorMap,opaque:C.transparent===!1&&C.blending===Cg,alphaMap:!!C.alphaMap,alphaTest:se,gradientMap:!!C.gradientMap,sheen:C.sheen>0,sheenColorMap:!!C.sheenColorMap,sheenRoughnessMap:!!C.sheenRoughnessMap,transmission:C.transmission>0,transmissionMap:!!C.transmissionMap,thicknessMap:!!C.thicknessMap,combine:C.combine,vertexTangents:!!C.normalMap&&!!T.attributes.tangent,vertexColors:C.vertexColors,vertexAlphas:C.vertexColors===!0&&!!T.attributes.color&&T.attributes.color.itemSize===4,vertexUvs:!!C.map||!!C.bumpMap||!!C.normalMap||!!C.specularMap||!!C.alphaMap||!!C.emissiveMap||!!C.roughnessMap||!!C.metalnessMap||!!C.clearcoatMap||!!C.clearcoatRoughnessMap||!!C.clearcoatNormalMap||!!C.iridescenceMap||!!C.iridescenceThicknessMap||!!C.displacementMap||!!C.transmissionMap||!!C.thicknessMap||!!C.specularIntensityMap||!!C.specularColorMap||!!C.sheenColorMap||!!C.sheenRoughnessMap,uvsVertexOnly:!(C.map||C.bumpMap||C.normalMap||C.specularMap||C.alphaMap||C.emissiveMap||C.roughnessMap||C.metalnessMap||C.clearcoatNormalMap||C.iridescenceMap||C.iridescenceThicknessMap||C.transmission>0||C.transmissionMap||C.thicknessMap||C.specularIntensityMap||C.specularColorMap||C.sheen>0||C.sheenColorMap||C.sheenRoughnessMap)&&!!C.displacementMap,fog:!!R,useFog:C.fog===!0,fogExp2:R&&R.isFogExp2,flatShading:!!C.flatShading,sizeAttenuation:C.sizeAttenuation,logarithmicDepthBuffer:f,skinning:P.isSkinnedMesh===!0,morphTargets:T.morphAttributes.position!==void 0,morphNormals:T.morphAttributes.normal!==void 0,morphColors:T.morphAttributes.color!==void 0,morphTargetsCount:$,morphTextureStride:N,numDirLights:E.directional.length,numPointLights:E.point.length,numSpotLights:E.spot.length,numSpotLightMaps:E.spotLightMap.length,numRectAreaLights:E.rectArea.length,numHemiLights:E.hemi.length,numDirLightShadows:E.directionalShadowMap.length,numPointLightShadows:E.pointShadowMap.length,numSpotLightShadows:E.spotShadowMap.length,numSpotLightShadowsWithMaps:E.numSpotLightShadowsWithMaps,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:C.dithering,shadowMapEnabled:t.shadowMap.enabled&&M.length>0,shadowMapType:t.shadowMap.type,toneMapping:C.toneMapped?t.toneMapping:Yc,physicallyCorrectLights:t.physicallyCorrectLights,premultipliedAlpha:C.premultipliedAlpha,doubleSided:C.side===Bc,flipSided:C.side===ga,useDepthPacking:!!C.depthPacking,depthPacking:C.depthPacking||0,index0AttributeName:C.index0AttributeName,extensionDerivatives:C.extensions&&C.extensions.derivatives,extensionFragDepth:C.extensions&&C.extensions.fragDepth,extensionDrawBuffers:C.extensions&&C.extensions.drawBuffers,extensionShaderTextureLOD:C.extensions&&C.extensions.shaderTextureLOD,rendererExtensionFragDepth:u||r.has("EXT_frag_depth"),rendererExtensionDrawBuffers:u||r.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:u||r.has("EXT_shader_texture_lod"),customProgramCacheKey:C.customProgramCacheKey()}}function g(C){const E=[];if(C.shaderID?E.push(C.shaderID):(E.push(C.customVertexShaderID),E.push(C.customFragmentShaderID)),C.defines!==void 0)for(const M in C.defines)E.push(M),E.push(C.defines[M]);return C.isRawShaderMaterial===!1&&(v(E,C),y(E,C),E.push(t.outputEncoding)),E.push(C.customProgramCacheKey),E.join()}function v(C,E){C.push(E.precision),C.push(E.outputEncoding),C.push(E.envMapMode),C.push(E.envMapCubeUVHeight),C.push(E.combine),C.push(E.vertexUvs),C.push(E.fogExp2),C.push(E.sizeAttenuation),C.push(E.morphTargetsCount),C.push(E.morphAttributeCount),C.push(E.numDirLights),C.push(E.numPointLights),C.push(E.numSpotLights),C.push(E.numSpotLightMaps),C.push(E.numHemiLights),C.push(E.numRectAreaLights),C.push(E.numDirLightShadows),C.push(E.numPointLightShadows),C.push(E.numSpotLightShadows),C.push(E.numSpotLightShadowsWithMaps),C.push(E.shadowMapType),C.push(E.toneMapping),C.push(E.numClippingPlanes),C.push(E.numClipIntersection),C.push(E.depthPacking)}function y(C,E){s.disableAll(),E.isWebGL2&&s.enable(0),E.supportsVertexTextures&&s.enable(1),E.instancing&&s.enable(2),E.instancingColor&&s.enable(3),E.map&&s.enable(4),E.matcap&&s.enable(5),E.envMap&&s.enable(6),E.lightMap&&s.enable(7),E.aoMap&&s.enable(8),E.emissiveMap&&s.enable(9),E.bumpMap&&s.enable(10),E.normalMap&&s.enable(11),E.objectSpaceNormalMap&&s.enable(12),E.tangentSpaceNormalMap&&s.enable(13),E.clearcoat&&s.enable(14),E.clearcoatMap&&s.enable(15),E.clearcoatRoughnessMap&&s.enable(16),E.clearcoatNormalMap&&s.enable(17),E.iridescence&&s.enable(18),E.iridescenceMap&&s.enable(19),E.iridescenceThicknessMap&&s.enable(20),E.displacementMap&&s.enable(21),E.specularMap&&s.enable(22),E.roughnessMap&&s.enable(23),E.metalnessMap&&s.enable(24),E.gradientMap&&s.enable(25),E.alphaMap&&s.enable(26),E.alphaTest&&s.enable(27),E.vertexColors&&s.enable(28),E.vertexAlphas&&s.enable(29),E.vertexUvs&&s.enable(30),E.vertexTangents&&s.enable(31),E.uvsVertexOnly&&s.enable(32),C.push(s.mask),s.disableAll(),E.fog&&s.enable(0),E.useFog&&s.enable(1),E.flatShading&&s.enable(2),E.logarithmicDepthBuffer&&s.enable(3),E.skinning&&s.enable(4),E.morphTargets&&s.enable(5),E.morphNormals&&s.enable(6),E.morphColors&&s.enable(7),E.premultipliedAlpha&&s.enable(8),E.shadowMapEnabled&&s.enable(9),E.physicallyCorrectLights&&s.enable(10),E.doubleSided&&s.enable(11),E.flipSided&&s.enable(12),E.useDepthPacking&&s.enable(13),E.dithering&&s.enable(14),E.specularIntensityMap&&s.enable(15),E.specularColorMap&&s.enable(16),E.transmission&&s.enable(17),E.transmissionMap&&s.enable(18),E.thicknessMap&&s.enable(19),E.sheen&&s.enable(20),E.sheenColorMap&&s.enable(21),E.sheenRoughnessMap&&s.enable(22),E.decodeVideoTexture&&s.enable(23),E.opaque&&s.enable(24),C.push(s.mask)}function x(C){const E=p[C.type];let M;if(E){const I=fl[E];M=Zge.clone(I.uniforms)}else M=C.uniforms;return M}function b(C,E){let M;for(let I=0,P=c.length;I0?r.push(v):h.transparent===!0?i.push(v):n.push(v)}function l(f,d,h,p,m,g){const v=a(f,d,h,p,m,g);h.transmission>0?r.unshift(v):h.transparent===!0?i.unshift(v):n.unshift(v)}function c(f,d){n.length>1&&n.sort(f||Zzt),r.length>1&&r.sort(d||cZ),i.length>1&&i.sort(d||cZ)}function u(){for(let f=e,d=t.length;f=o.length?(a=new uZ,o.push(a)):a=o[i],a}function n(){t=new WeakMap}return{get:e,dispose:n}}function e4t(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let n;switch(e.type){case"DirectionalLight":n={direction:new Se,color:new ar};break;case"SpotLight":n={position:new Se,direction:new Se,color:new ar,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new Se,color:new ar,distance:0,decay:0};break;case"HemisphereLight":n={direction:new Se,skyColor:new ar,groundColor:new ar};break;case"RectAreaLight":n={color:new ar,position:new Se,halfWidth:new Se,halfHeight:new Se};break}return t[e.id]=n,n}}}function t4t(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let n;switch(e.type){case"DirectionalLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new qt};break;case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new qt};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new qt,shadowCameraNear:1,shadowCameraFar:1e3};break}return t[e.id]=n,n}}}let n4t=0;function r4t(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function i4t(t,e){const n=new e4t,r=t4t(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let u=0;u<9;u++)i.probe.push(new Se);const o=new Se,a=new Vn,s=new Vn;function l(u,f){let d=0,h=0,p=0;for(let I=0;I<9;I++)i.probe[I].set(0,0,0);let m=0,g=0,v=0,y=0,x=0,b=0,_=0,S=0,O=0,C=0;u.sort(r4t);const E=f!==!0?Math.PI:1;for(let I=0,P=u.length;I0&&(e.isWebGL2||t.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=Ze.LTC_FLOAT_1,i.rectAreaLTC2=Ze.LTC_FLOAT_2):t.has("OES_texture_half_float_linear")===!0?(i.rectAreaLTC1=Ze.LTC_HALF_1,i.rectAreaLTC2=Ze.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=d,i.ambient[1]=h,i.ambient[2]=p;const M=i.hash;(M.directionalLength!==m||M.pointLength!==g||M.spotLength!==v||M.rectAreaLength!==y||M.hemiLength!==x||M.numDirectionalShadows!==b||M.numPointShadows!==_||M.numSpotShadows!==S||M.numSpotMaps!==O)&&(i.directional.length=m,i.spot.length=v,i.rectArea.length=y,i.point.length=g,i.hemi.length=x,i.directionalShadow.length=b,i.directionalShadowMap.length=b,i.pointShadow.length=_,i.pointShadowMap.length=_,i.spotShadow.length=S,i.spotShadowMap.length=S,i.directionalShadowMatrix.length=b,i.pointShadowMatrix.length=_,i.spotLightMatrix.length=S+O-C,i.spotLightMap.length=O,i.numSpotLightShadowsWithMaps=C,M.directionalLength=m,M.pointLength=g,M.spotLength=v,M.rectAreaLength=y,M.hemiLength=x,M.numDirectionalShadows=b,M.numPointShadows=_,M.numSpotShadows=S,M.numSpotMaps=O,i.version=n4t++)}function c(u,f){let d=0,h=0,p=0,m=0,g=0;const v=f.matrixWorldInverse;for(let y=0,x=u.length;y=s.length?(l=new fZ(t,e),s.push(l)):l=s[a],l}function i(){n=new WeakMap}return{get:r,dispose:i}}class a4t extends gw{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=_Ft,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class s4t extends gw{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.referencePosition=new Se,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.referencePosition.copy(e.referencePosition),this.nearDistance=e.nearDistance,this.farDistance=e.farDistance,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const l4t=`void main() { - gl_Position = vec4( position, 1.0 ); -}`,c4t=`uniform sampler2D shadow_pass; -uniform vec2 resolution; -uniform float radius; -#include -void main() { - const float samples = float( VSM_SAMPLES ); - float mean = 0.0; - float squared_mean = 0.0; - float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); - float uvStart = samples <= 1.0 ? 0.0 : - 1.0; - for ( float i = 0.0; i < samples; i ++ ) { - float uvOffset = uvStart + i * uvStride; - #ifdef HORIZONTAL_PASS - vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) ); - mean += distribution.x; - squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; - #else - float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) ); - mean += depth; - squared_mean += depth * depth; - #endif - } - mean = mean / samples; - squared_mean = squared_mean / samples; - float std_dev = sqrt( squared_mean - mean * mean ); - gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); -}`;function u4t(t,e,n){let r=new tve;const i=new qt,o=new qt,a=new Ai,s=new a4t({depthPacking:wFt}),l=new s4t,c={},u=n.maxTextureSize,f={0:ga,1:bv,2:Bc},d=new Kf({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new qt},radius:{value:4}},vertexShader:l4t,fragmentShader:c4t}),h=d.clone();h.defines.HORIZONTAL_PASS=1;const p=new mu;p.setAttribute("position",new Za(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const m=new Ml(p,d),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=Lge,this.render=function(b,_,S){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||b.length===0)return;const O=t.getRenderTarget(),C=t.getActiveCubeFace(),E=t.getActiveMipmapLevel(),M=t.state;M.setBlending(Lf),M.buffers.color.setClear(1,1,1,1),M.buffers.depth.setTest(!0),M.setScissorTest(!1);for(let I=0,P=b.length;Iu||i.y>u)&&(i.x>u&&(o.x=Math.floor(u/D.x),i.x=o.x*D.x,T.mapSize.x=o.x),i.y>u&&(o.y=Math.floor(u/D.y),i.y=o.y*D.y,T.mapSize.y=o.y)),T.map===null){const B=this.type!==Y0?{minFilter:Eo,magFilter:Eo}:{};T.map=new tp(i.x,i.y,B),T.map.texture.name=R.name+".shadowMap",T.camera.updateProjectionMatrix()}t.setRenderTarget(T.map),t.clear();const U=T.getViewportCount();for(let B=0;B0){const P=M.uuid,R=_.uuid;let T=c[P];T===void 0&&(T={},c[P]=T);let D=T[R];D===void 0&&(D=M.clone(),T[R]=D),M=D}return M.visible=_.visible,M.wireframe=_.wireframe,E===Y0?M.side=_.shadowSide!==null?_.shadowSide:_.side:M.side=_.shadowSide!==null?_.shadowSide:f[_.side],M.alphaMap=_.alphaMap,M.alphaTest=_.alphaTest,M.clipShadows=_.clipShadows,M.clippingPlanes=_.clippingPlanes,M.clipIntersection=_.clipIntersection,M.displacementMap=_.displacementMap,M.displacementScale=_.displacementScale,M.displacementBias=_.displacementBias,M.wireframeLinewidth=_.wireframeLinewidth,M.linewidth=_.linewidth,S.isPointLight===!0&&M.isMeshDistanceMaterial===!0&&(M.referencePosition.setFromMatrixPosition(S.matrixWorld),M.nearDistance=O,M.farDistance=C),M}function x(b,_,S,O,C){if(b.visible===!1)return;if(b.layers.test(_.layers)&&(b.isMesh||b.isLine||b.isPoints)&&(b.castShadow||b.receiveShadow&&C===Y0)&&(!b.frustumCulled||r.intersectsObject(b))){b.modelViewMatrix.multiplyMatrices(S.matrixWorldInverse,b.matrixWorld);const I=e.update(b),P=b.material;if(Array.isArray(P)){const R=I.groups;for(let T=0,D=R.length;T=1):W.indexOf("OpenGL ES")!==-1&&(B=parseFloat(/^OpenGL ES (\d)/.exec(W)[1]),U=B>=2);let z=null,$={};const N=t.getParameter(3088),L=t.getParameter(2978),A=new Ai().fromArray(N),q=new Ai().fromArray(L);function Y(ae,Le,Te){const ze=new Uint8Array(4),He=t.createTexture();t.bindTexture(ae,He),t.texParameteri(ae,10241,9728),t.texParameteri(ae,10240,9728);for(let xt=0;xthe||V.height>he)&&(we=he/Math.max(V.width,V.height)),we<1||H===!0)if(typeof HTMLImageElement<"u"&&V instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&V instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&V instanceof ImageBitmap){const oe=H?GN:Math.floor,Z=oe(we*V.width),G=oe(we*V.height);m===void 0&&(m=y(Z,G));const fe=re?y(Z,G):m;return fe.width=Z,fe.height=G,fe.getContext("2d").drawImage(V,0,0,Z,G),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+V.width+"x"+V.height+") to ("+Z+"x"+G+")."),fe}else return"data"in V&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+V.width+"x"+V.height+")."),V;return V}function b(V){return RK(V.width)&&RK(V.height)}function _(V){return s?!1:V.wrapS!==Ba||V.wrapT!==Ba||V.minFilter!==Eo&&V.minFilter!==Po}function S(V,H){return V.generateMipmaps&&H&&V.minFilter!==Eo&&V.minFilter!==Po}function O(V){t.generateMipmap(V)}function C(V,H,re,he,we=!1){if(s===!1)return H;if(V!==null){if(t[V]!==void 0)return t[V];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+V+"'")}let oe=H;return H===6403&&(re===5126&&(oe=33326),re===5131&&(oe=33325),re===5121&&(oe=33321)),H===33319&&(re===5126&&(oe=33328),re===5131&&(oe=33327),re===5121&&(oe=33323)),H===6408&&(re===5126&&(oe=34836),re===5131&&(oe=34842),re===5121&&(oe=he===gr&&we===!1?35907:32856),re===32819&&(oe=32854),re===32820&&(oe=32855)),(oe===33325||oe===33326||oe===33327||oe===33328||oe===34842||oe===34836)&&e.get("EXT_color_buffer_float"),oe}function E(V,H,re){return S(V,re)===!0||V.isFramebufferTexture&&V.minFilter!==Eo&&V.minFilter!==Po?Math.log2(Math.max(H.width,H.height))+1:V.mipmaps!==void 0&&V.mipmaps.length>0?V.mipmaps.length:V.isCompressedTexture&&Array.isArray(V.image)?H.mipmaps.length:1}function M(V){return V===Eo||V===aK||V===sK?9728:9729}function I(V){const H=V.target;H.removeEventListener("dispose",I),R(H),H.isVideoTexture&&p.delete(H)}function P(V){const H=V.target;H.removeEventListener("dispose",P),D(H)}function R(V){const H=r.get(V);if(H.__webglInit===void 0)return;const re=V.source,he=g.get(re);if(he){const we=he[H.__cacheKey];we.usedTimes--,we.usedTimes===0&&T(V),Object.keys(he).length===0&&g.delete(re)}r.remove(V)}function T(V){const H=r.get(V);t.deleteTexture(H.__webglTexture);const re=V.source,he=g.get(re);delete he[H.__cacheKey],a.memory.textures--}function D(V){const H=V.texture,re=r.get(V),he=r.get(H);if(he.__webglTexture!==void 0&&(t.deleteTexture(he.__webglTexture),a.memory.textures--),V.depthTexture&&V.depthTexture.dispose(),V.isWebGLCubeRenderTarget)for(let we=0;we<6;we++)t.deleteFramebuffer(re.__webglFramebuffer[we]),re.__webglDepthbuffer&&t.deleteRenderbuffer(re.__webglDepthbuffer[we]);else{if(t.deleteFramebuffer(re.__webglFramebuffer),re.__webglDepthbuffer&&t.deleteRenderbuffer(re.__webglDepthbuffer),re.__webglMultisampledFramebuffer&&t.deleteFramebuffer(re.__webglMultisampledFramebuffer),re.__webglColorRenderbuffer)for(let we=0;we=l&&console.warn("THREE.WebGLTextures: Trying to use "+V+" texture units while this GPU supports only "+l),U+=1,V}function z(V){const H=[];return H.push(V.wrapS),H.push(V.wrapT),H.push(V.magFilter),H.push(V.minFilter),H.push(V.anisotropy),H.push(V.internalFormat),H.push(V.format),H.push(V.type),H.push(V.generateMipmaps),H.push(V.premultiplyAlpha),H.push(V.flipY),H.push(V.unpackAlignment),H.push(V.encoding),H.join()}function $(V,H){const re=r.get(V);if(V.isVideoTexture&&ge(V),V.isRenderTargetTexture===!1&&V.version>0&&re.__version!==V.version){const he=V.image;if(he===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(he.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{ee(re,V,H);return}}n.activeTexture(33984+H),n.bindTexture(3553,re.__webglTexture)}function N(V,H){const re=r.get(V);if(V.version>0&&re.__version!==V.version){ee(re,V,H);return}n.activeTexture(33984+H),n.bindTexture(35866,re.__webglTexture)}function L(V,H){const re=r.get(V);if(V.version>0&&re.__version!==V.version){ee(re,V,H);return}n.activeTexture(33984+H),n.bindTexture(32879,re.__webglTexture)}function A(V,H){const re=r.get(V);if(V.version>0&&re.__version!==V.version){te(re,V,H);return}n.activeTexture(33984+H),n.bindTexture(34067,re.__webglTexture)}const q={[UN]:10497,[Ba]:33071,[WN]:33648},Y={[Eo]:9728,[aK]:9984,[sK]:9986,[Po]:9729,[aFt]:9985,[tk]:9987};function K(V,H,re){if(re?(t.texParameteri(V,10242,q[H.wrapS]),t.texParameteri(V,10243,q[H.wrapT]),(V===32879||V===35866)&&t.texParameteri(V,32882,q[H.wrapR]),t.texParameteri(V,10240,Y[H.magFilter]),t.texParameteri(V,10241,Y[H.minFilter])):(t.texParameteri(V,10242,33071),t.texParameteri(V,10243,33071),(V===32879||V===35866)&&t.texParameteri(V,32882,33071),(H.wrapS!==Ba||H.wrapT!==Ba)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(V,10240,M(H.magFilter)),t.texParameteri(V,10241,M(H.minFilter)),H.minFilter!==Eo&&H.minFilter!==Po&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),e.has("EXT_texture_filter_anisotropic")===!0){const he=e.get("EXT_texture_filter_anisotropic");if(H.type===gf&&e.has("OES_texture_float_linear")===!1||s===!1&&H.type===R_&&e.has("OES_texture_half_float_linear")===!1)return;(H.anisotropy>1||r.get(H).__currentAnisotropy)&&(t.texParameterf(V,he.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(H.anisotropy,i.getMaxAnisotropy())),r.get(H).__currentAnisotropy=H.anisotropy)}}function se(V,H){let re=!1;V.__webglInit===void 0&&(V.__webglInit=!0,H.addEventListener("dispose",I));const he=H.source;let we=g.get(he);we===void 0&&(we={},g.set(he,we));const oe=z(H);if(oe!==V.__cacheKey){we[oe]===void 0&&(we[oe]={texture:t.createTexture(),usedTimes:0},a.memory.textures++,re=!0),we[oe].usedTimes++;const Z=we[V.__cacheKey];Z!==void 0&&(we[V.__cacheKey].usedTimes--,Z.usedTimes===0&&T(H)),V.__cacheKey=oe,V.__webglTexture=we[oe].texture}return re}function ee(V,H,re){let he=3553;H.isDataArrayTexture&&(he=35866),H.isData3DTexture&&(he=32879);const we=se(V,H),oe=H.source;if(n.activeTexture(33984+re),n.bindTexture(he,V.__webglTexture),oe.version!==oe.__currentVersion||we===!0){t.pixelStorei(37440,H.flipY),t.pixelStorei(37441,H.premultiplyAlpha),t.pixelStorei(3317,H.unpackAlignment),t.pixelStorei(37443,0);const Z=_(H)&&b(H.image)===!1;let G=x(H.image,Z,!1,u);G=ye(H,G);const fe=b(G)||s,_e=o.convert(H.format,H.encoding);let Me=o.convert(H.type),me=C(H.internalFormat,_e,Me,H.encoding,H.isVideoTexture);K(he,H,fe);let Fe;const Pe=H.mipmaps,Re=s&&H.isVideoTexture!==!0,ae=oe.__currentVersion===void 0||we===!0,Le=E(H,G,fe);if(H.isDepthTexture)me=6402,s?H.type===gf?me=36012:H.type===hh?me=33190:H.type===Tg?me=35056:me=33189:H.type===gf&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),H.format===Mh&&me===6402&&H.type!==Bge&&H.type!==hh&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),H.type=hh,Me=o.convert(H.type)),H.format===Sv&&me===6402&&(me=34041,H.type!==Tg&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),H.type=Tg,Me=o.convert(H.type))),ae&&(Re?n.texStorage2D(3553,1,me,G.width,G.height):n.texImage2D(3553,0,me,G.width,G.height,0,_e,Me,null));else if(H.isDataTexture)if(Pe.length>0&&fe){Re&&ae&&n.texStorage2D(3553,Le,me,Pe[0].width,Pe[0].height);for(let Te=0,ze=Pe.length;Te>=1,ze>>=1}}else if(Pe.length>0&&fe){Re&&ae&&n.texStorage2D(3553,Le,me,Pe[0].width,Pe[0].height);for(let Te=0,ze=Pe.length;Te0&&ae++,n.texStorage2D(34067,ae,Fe,G[0].width,G[0].height));for(let Te=0;Te<6;Te++)if(Z){Pe?n.texSubImage2D(34069+Te,0,0,0,G[Te].width,G[Te].height,Me,me,G[Te].data):n.texImage2D(34069+Te,0,Fe,G[Te].width,G[Te].height,0,Me,me,G[Te].data);for(let ze=0;ze0&&J(V)===!1){const G=oe?H:[H];re.__webglMultisampledFramebuffer=t.createFramebuffer(),re.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,re.__webglMultisampledFramebuffer);for(let fe=0;fe0&&J(V)===!1){const H=V.isWebGLMultipleRenderTargets?V.texture:[V.texture],re=V.width,he=V.height;let we=16384;const oe=[],Z=V.stencilBuffer?33306:36096,G=r.get(V),fe=V.isWebGLMultipleRenderTargets===!0;if(fe)for(let _e=0;_e0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&H.__useRenderToTexture!==!1}function ge(V){const H=a.render.frame;p.get(V)!==H&&(p.set(V,H),V.update())}function ye(V,H){const re=V.encoding,he=V.format,we=V.type;return V.isCompressedTexture===!0||V.isVideoTexture===!0||V.format===VN||re!==ep&&(re===gr?s===!1?e.has("EXT_sRGB")===!0&&he===Pl?(V.format=VN,V.minFilter=Po,V.generateMipmaps=!1):H=Vge.sRGBToLinear(H):(he!==Pl||we!==Jh)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",re)),H}this.allocateTextureUnit=W,this.resetTextureUnits=B,this.setTexture2D=$,this.setTexture2DArray=N,this.setTexture3D=L,this.setTextureCube=A,this.rebindTextures=F,this.setupRenderTarget=ce,this.updateRenderTargetMipmap=le,this.updateMultisampleRenderTarget=Q,this.setupDepthRenderbuffer=ve,this.setupFrameBufferTexture=de,this.useMultisampledRTT=J}function h4t(t,e,n){const r=n.isWebGL2;function i(o,a=null){let s;if(o===Jh)return 5121;if(o===uFt)return 32819;if(o===fFt)return 32820;if(o===sFt)return 5120;if(o===lFt)return 5122;if(o===Bge)return 5123;if(o===cFt)return 5124;if(o===hh)return 5125;if(o===gf)return 5126;if(o===R_)return r?5131:(s=e.get("OES_texture_half_float"),s!==null?s.HALF_FLOAT_OES:null);if(o===dFt)return 6406;if(o===Pl)return 6408;if(o===pFt)return 6409;if(o===mFt)return 6410;if(o===Mh)return 6402;if(o===Sv)return 34041;if(o===zge)return 6403;if(o===hFt)return console.warn("THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228"),6408;if(o===VN)return s=e.get("EXT_sRGB"),s!==null?s.SRGB_ALPHA_EXT:null;if(o===gFt)return 36244;if(o===vFt)return 33319;if(o===yFt)return 33320;if(o===xFt)return 36249;if(o===lI||o===cI||o===uI||o===fI)if(a===gr)if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),s!==null){if(o===lI)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(o===cI)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(o===uI)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(o===fI)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(s=e.get("WEBGL_compressed_texture_s3tc"),s!==null){if(o===lI)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(o===cI)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(o===uI)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(o===fI)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(o===lK||o===cK||o===uK||o===fK)if(s=e.get("WEBGL_compressed_texture_pvrtc"),s!==null){if(o===lK)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(o===cK)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(o===uK)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(o===fK)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(o===bFt)return s=e.get("WEBGL_compressed_texture_etc1"),s!==null?s.COMPRESSED_RGB_ETC1_WEBGL:null;if(o===dK||o===hK)if(s=e.get("WEBGL_compressed_texture_etc"),s!==null){if(o===dK)return a===gr?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(o===hK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(o===pK||o===mK||o===gK||o===vK||o===yK||o===xK||o===bK||o===_K||o===wK||o===SK||o===OK||o===CK||o===TK||o===EK)if(s=e.get("WEBGL_compressed_texture_astc"),s!==null){if(o===pK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(o===mK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(o===gK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(o===vK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(o===yK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(o===xK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(o===bK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(o===_K)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(o===wK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(o===SK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(o===OK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(o===CK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(o===TK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(o===EK)return a===gr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(o===PK)if(s=e.get("EXT_texture_compression_bptc"),s!==null){if(o===PK)return a===gr?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT}else return null;return o===Tg?r?34042:(s=e.get("WEBGL_depth_texture"),s!==null?s.UNSIGNED_INT_24_8_WEBGL:null):t[o]!==void 0?t[o]:null}return{convert:i}}class p4t extends Is{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class RO extends jo{constructor(){super(),this.isGroup=!0,this.type="Group"}}const m4t={type:"move"};class jI{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new RO,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new RO,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new Se,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new Se),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new RO,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new Se,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new Se),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,n,r){let i=null,o=null,a=null;const s=this._targetRay,l=this._grip,c=this._hand;if(e&&n.session.visibilityState!=="visible-blurred"){if(c&&e.hand){a=!0;for(const m of e.hand.values()){const g=n.getJointPose(m,r);if(c.joints[m.jointName]===void 0){const y=new RO;y.matrixAutoUpdate=!1,y.visible=!1,c.joints[m.jointName]=y,c.add(y)}const v=c.joints[m.jointName];g!==null&&(v.matrix.fromArray(g.transform.matrix),v.matrix.decompose(v.position,v.rotation,v.scale),v.jointRadius=g.radius),v.visible=g!==null}const u=c.joints["index-finger-tip"],f=c.joints["thumb-tip"],d=u.position.distanceTo(f.position),h=.02,p=.005;c.inputState.pinching&&d>h+p?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&d<=h-p&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(o=n.getPose(e.gripSpace,r),o!==null&&(l.matrix.fromArray(o.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),o.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(o.linearVelocity)):l.hasLinearVelocity=!1,o.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(o.angularVelocity)):l.hasAngularVelocity=!1));s!==null&&(i=n.getPose(e.targetRaySpace,r),i===null&&o!==null&&(i=o),i!==null&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(m4t)))}return s!==null&&(s.visible=i!==null),l!==null&&(l.visible=o!==null),c!==null&&(c.visible=a!==null),this}}class g4t extends _a{constructor(e,n,r,i,o,a,s,l,c,u){if(u=u!==void 0?u:Mh,u!==Mh&&u!==Sv)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");r===void 0&&u===Mh&&(r=hh),r===void 0&&u===Sv&&(r=Tg),super(null,i,o,a,s,l,u,r,c),this.isDepthTexture=!0,this.image={width:e,height:n},this.magFilter=s!==void 0?s:Eo,this.minFilter=l!==void 0?l:Eo,this.flipY=!1,this.generateMipmaps=!1}}class v4t extends kp{constructor(e,n){super();const r=this;let i=null,o=1,a=null,s="local-floor",l=null,c=null,u=null,f=null,d=null,h=null;const p=n.getContextAttributes();let m=null,g=null;const v=[],y=[],x=new Is;x.layers.enable(1),x.viewport=new Ai;const b=new Is;b.layers.enable(2),b.viewport=new Ai;const _=[x,b],S=new p4t;S.layers.enable(1),S.layers.enable(2);let O=null,C=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(z){let $=v[z];return $===void 0&&($=new jI,v[z]=$),$.getTargetRaySpace()},this.getControllerGrip=function(z){let $=v[z];return $===void 0&&($=new jI,v[z]=$),$.getGripSpace()},this.getHand=function(z){let $=v[z];return $===void 0&&($=new jI,v[z]=$),$.getHandSpace()};function E(z){const $=y.indexOf(z.inputSource);if($===-1)return;const N=v[$];N!==void 0&&N.dispatchEvent({type:z.type,data:z.inputSource})}function M(){i.removeEventListener("select",E),i.removeEventListener("selectstart",E),i.removeEventListener("selectend",E),i.removeEventListener("squeeze",E),i.removeEventListener("squeezestart",E),i.removeEventListener("squeezeend",E),i.removeEventListener("end",M),i.removeEventListener("inputsourceschange",I);for(let z=0;z=0&&(y[L]=null,v[L].dispatchEvent({type:"disconnected",data:N}))}for(let $=0;$=y.length){y.push(N),L=q;break}else if(y[q]===null){y[q]=N,L=q;break}if(L===-1)break}const A=v[L];A&&A.dispatchEvent({type:"connected",data:N})}}const P=new Se,R=new Se;function T(z,$,N){P.setFromMatrixPosition($.matrixWorld),R.setFromMatrixPosition(N.matrixWorld);const L=P.distanceTo(R),A=$.projectionMatrix.elements,q=N.projectionMatrix.elements,Y=A[14]/(A[10]-1),K=A[14]/(A[10]+1),se=(A[9]+1)/A[5],ee=(A[9]-1)/A[5],te=(A[8]-1)/A[0],de=(q[8]+1)/q[0],xe=Y*te,ie=Y*de,ve=L/(-te+de),F=ve*-te;$.matrixWorld.decompose(z.position,z.quaternion,z.scale),z.translateX(F),z.translateZ(ve),z.matrixWorld.compose(z.position,z.quaternion,z.scale),z.matrixWorldInverse.copy(z.matrixWorld).invert();const ce=Y+ve,le=K+ve,Q=xe-F,X=ie+(L-F),J=se*K/le*ce,ge=ee*K/le*ce;z.projectionMatrix.makePerspective(Q,X,J,ge,ce,le)}function D(z,$){$===null?z.matrixWorld.copy(z.matrix):z.matrixWorld.multiplyMatrices($.matrixWorld,z.matrix),z.matrixWorldInverse.copy(z.matrixWorld).invert()}this.updateCamera=function(z){if(i===null)return;S.near=b.near=x.near=z.near,S.far=b.far=x.far=z.far,(O!==S.near||C!==S.far)&&(i.updateRenderState({depthNear:S.near,depthFar:S.far}),O=S.near,C=S.far);const $=z.parent,N=S.cameras;D(S,$);for(let A=0;A0&&(m.alphaTest.value=g.alphaTest);const v=e.get(g).envMap;if(v&&(m.envMap.value=v,m.flipEnvMap.value=v.isCubeTexture&&v.isRenderTargetTexture===!1?-1:1,m.reflectivity.value=g.reflectivity,m.ior.value=g.ior,m.refractionRatio.value=g.refractionRatio),g.lightMap){m.lightMap.value=g.lightMap;const b=t.physicallyCorrectLights!==!0?Math.PI:1;m.lightMapIntensity.value=g.lightMapIntensity*b}g.aoMap&&(m.aoMap.value=g.aoMap,m.aoMapIntensity.value=g.aoMapIntensity);let y;g.map?y=g.map:g.specularMap?y=g.specularMap:g.displacementMap?y=g.displacementMap:g.normalMap?y=g.normalMap:g.bumpMap?y=g.bumpMap:g.roughnessMap?y=g.roughnessMap:g.metalnessMap?y=g.metalnessMap:g.alphaMap?y=g.alphaMap:g.emissiveMap?y=g.emissiveMap:g.clearcoatMap?y=g.clearcoatMap:g.clearcoatNormalMap?y=g.clearcoatNormalMap:g.clearcoatRoughnessMap?y=g.clearcoatRoughnessMap:g.iridescenceMap?y=g.iridescenceMap:g.iridescenceThicknessMap?y=g.iridescenceThicknessMap:g.specularIntensityMap?y=g.specularIntensityMap:g.specularColorMap?y=g.specularColorMap:g.transmissionMap?y=g.transmissionMap:g.thicknessMap?y=g.thicknessMap:g.sheenColorMap?y=g.sheenColorMap:g.sheenRoughnessMap&&(y=g.sheenRoughnessMap),y!==void 0&&(y.isWebGLRenderTarget&&(y=y.texture),y.matrixAutoUpdate===!0&&y.updateMatrix(),m.uvTransform.value.copy(y.matrix));let x;g.aoMap?x=g.aoMap:g.lightMap&&(x=g.lightMap),x!==void 0&&(x.isWebGLRenderTarget&&(x=x.texture),x.matrixAutoUpdate===!0&&x.updateMatrix(),m.uv2Transform.value.copy(x.matrix))}function o(m,g){m.diffuse.value.copy(g.color),m.opacity.value=g.opacity}function a(m,g){m.dashSize.value=g.dashSize,m.totalSize.value=g.dashSize+g.gapSize,m.scale.value=g.scale}function s(m,g,v,y){m.diffuse.value.copy(g.color),m.opacity.value=g.opacity,m.size.value=g.size*v,m.scale.value=y*.5,g.map&&(m.map.value=g.map),g.alphaMap&&(m.alphaMap.value=g.alphaMap),g.alphaTest>0&&(m.alphaTest.value=g.alphaTest);let x;g.map?x=g.map:g.alphaMap&&(x=g.alphaMap),x!==void 0&&(x.matrixAutoUpdate===!0&&x.updateMatrix(),m.uvTransform.value.copy(x.matrix))}function l(m,g){m.diffuse.value.copy(g.color),m.opacity.value=g.opacity,m.rotation.value=g.rotation,g.map&&(m.map.value=g.map),g.alphaMap&&(m.alphaMap.value=g.alphaMap),g.alphaTest>0&&(m.alphaTest.value=g.alphaTest);let v;g.map?v=g.map:g.alphaMap&&(v=g.alphaMap),v!==void 0&&(v.matrixAutoUpdate===!0&&v.updateMatrix(),m.uvTransform.value.copy(v.matrix))}function c(m,g){m.specular.value.copy(g.specular),m.shininess.value=Math.max(g.shininess,1e-4)}function u(m,g){g.gradientMap&&(m.gradientMap.value=g.gradientMap)}function f(m,g){m.roughness.value=g.roughness,m.metalness.value=g.metalness,g.roughnessMap&&(m.roughnessMap.value=g.roughnessMap),g.metalnessMap&&(m.metalnessMap.value=g.metalnessMap),e.get(g).envMap&&(m.envMapIntensity.value=g.envMapIntensity)}function d(m,g,v){m.ior.value=g.ior,g.sheen>0&&(m.sheenColor.value.copy(g.sheenColor).multiplyScalar(g.sheen),m.sheenRoughness.value=g.sheenRoughness,g.sheenColorMap&&(m.sheenColorMap.value=g.sheenColorMap),g.sheenRoughnessMap&&(m.sheenRoughnessMap.value=g.sheenRoughnessMap)),g.clearcoat>0&&(m.clearcoat.value=g.clearcoat,m.clearcoatRoughness.value=g.clearcoatRoughness,g.clearcoatMap&&(m.clearcoatMap.value=g.clearcoatMap),g.clearcoatRoughnessMap&&(m.clearcoatRoughnessMap.value=g.clearcoatRoughnessMap),g.clearcoatNormalMap&&(m.clearcoatNormalScale.value.copy(g.clearcoatNormalScale),m.clearcoatNormalMap.value=g.clearcoatNormalMap,g.side===ga&&m.clearcoatNormalScale.value.negate())),g.iridescence>0&&(m.iridescence.value=g.iridescence,m.iridescenceIOR.value=g.iridescenceIOR,m.iridescenceThicknessMinimum.value=g.iridescenceThicknessRange[0],m.iridescenceThicknessMaximum.value=g.iridescenceThicknessRange[1],g.iridescenceMap&&(m.iridescenceMap.value=g.iridescenceMap),g.iridescenceThicknessMap&&(m.iridescenceThicknessMap.value=g.iridescenceThicknessMap)),g.transmission>0&&(m.transmission.value=g.transmission,m.transmissionSamplerMap.value=v.texture,m.transmissionSamplerSize.value.set(v.width,v.height),g.transmissionMap&&(m.transmissionMap.value=g.transmissionMap),m.thickness.value=g.thickness,g.thicknessMap&&(m.thicknessMap.value=g.thicknessMap),m.attenuationDistance.value=g.attenuationDistance,m.attenuationColor.value.copy(g.attenuationColor)),m.specularIntensity.value=g.specularIntensity,m.specularColor.value.copy(g.specularColor),g.specularIntensityMap&&(m.specularIntensityMap.value=g.specularIntensityMap),g.specularColorMap&&(m.specularColorMap.value=g.specularColorMap)}function h(m,g){g.matcap&&(m.matcap.value=g.matcap)}function p(m,g){m.referencePosition.value.copy(g.referencePosition),m.nearDistance.value=g.nearDistance,m.farDistance.value=g.farDistance}return{refreshFogUniforms:n,refreshMaterialUniforms:r}}function x4t(t,e,n,r){let i={},o={},a=[];const s=n.isWebGL2?t.getParameter(35375):0;function l(y,x){const b=x.program;r.uniformBlockBinding(y,b)}function c(y,x){let b=i[y.id];b===void 0&&(p(y),b=u(y),i[y.id]=b,y.addEventListener("dispose",g));const _=x.program;r.updateUBOMapping(y,_);const S=e.render.frame;o[y.id]!==S&&(d(y),o[y.id]=S)}function u(y){const x=f();y.__bindingPointIndex=x;const b=t.createBuffer(),_=y.__size,S=y.usage;return t.bindBuffer(35345,b),t.bufferData(35345,_,S),t.bindBuffer(35345,null),t.bindBufferBase(35345,x,b),b}function f(){for(let y=0;y0){S=b%_;const I=_-S;S!==0&&I-M.boundary<0&&(b+=_-S,E.__offset=b)}b+=M.storage}return S=b%_,S>0&&(b+=_-S),y.__size=b,y.__cache={},this}function m(y){const x=y.value,b={boundary:0,storage:0};return typeof x=="number"?(b.boundary=4,b.storage=4):x.isVector2?(b.boundary=8,b.storage=8):x.isVector3||x.isColor?(b.boundary=16,b.storage=12):x.isVector4?(b.boundary=16,b.storage=16):x.isMatrix3?(b.boundary=48,b.storage=48):x.isMatrix4?(b.boundary=64,b.storage=64):x.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",x),b}function g(y){const x=y.target;x.removeEventListener("dispose",g);const b=a.indexOf(x.__bindingPointIndex);a.splice(b,1),t.deleteBuffer(i[x.id]),delete i[x.id],delete o[x.id]}function v(){for(const y in i)t.deleteBuffer(i[y]);a=[],i={},o={}}return{bind:l,update:c,dispose:v}}function b4t(){const t=I_("canvas");return t.style.display="block",t}function lve(t={}){this.isWebGLRenderer=!0;const e=t.canvas!==void 0?t.canvas:b4t(),n=t.context!==void 0?t.context:null,r=t.depth!==void 0?t.depth:!0,i=t.stencil!==void 0?t.stencil:!0,o=t.antialias!==void 0?t.antialias:!1,a=t.premultipliedAlpha!==void 0?t.premultipliedAlpha:!0,s=t.preserveDrawingBuffer!==void 0?t.preserveDrawingBuffer:!1,l=t.powerPreference!==void 0?t.powerPreference:"default",c=t.failIfMajorPerformanceCaveat!==void 0?t.failIfMajorPerformanceCaveat:!1;let u;n!==null?u=n.getContextAttributes().alpha:u=t.alpha!==void 0?t.alpha:!1;let f=null,d=null;const h=[],p=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=ep,this.physicallyCorrectLights=!1,this.toneMapping=Yc,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaFactor has been removed."),2},set:function(){console.warn("THREE.WebGLRenderer: .gammaFactor has been removed.")}}});const m=this;let g=!1,v=0,y=0,x=null,b=-1,_=null;const S=new Ai,O=new Ai;let C=null,E=e.width,M=e.height,I=1,P=null,R=null;const T=new Ai(0,0,E,M),D=new Ai(0,0,E,M);let U=!1;const B=new tve;let W=!1,z=!1,$=null;const N=new Vn,L=new qt,A=new Se,q={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Y(){return x===null?I:1}let K=n;function se(ne,Ee){for(let Ie=0;Ie0?d=p[p.length-1]:d=null,h.pop(),h.length>0?f=h[h.length-1]:f=null};function Wr(ne,Ee,Ie,Oe){if(ne.visible===!1)return;if(ne.layers.test(Ee.layers)){if(ne.isGroup)Ie=ne.renderOrder;else if(ne.isLOD)ne.autoUpdate===!0&&ne.update(Ee);else if(ne.isLight)d.pushLight(ne),ne.castShadow&&d.pushShadow(ne);else if(ne.isSprite){if(!ne.frustumCulled||B.intersectsSprite(ne)){Oe&&A.setFromMatrixPosition(ne.matrixWorld).applyMatrix4(N);const Ke=X.update(ne),ht=ne.material;ht.visible&&f.push(ne,Ke,ht,Ie,A.z,null)}}else if((ne.isMesh||ne.isLine||ne.isPoints)&&(ne.isSkinnedMesh&&ne.skeleton.frame!==xe.render.frame&&(ne.skeleton.update(),ne.skeleton.frame=xe.render.frame),!ne.frustumCulled||B.intersectsObject(ne))){Oe&&A.setFromMatrixPosition(ne.matrixWorld).applyMatrix4(N);const Ke=X.update(ne),ht=ne.material;if(Array.isArray(ht)){const _t=Ke.groups;for(let jt=0,Pt=_t.length;jt0&&Vr($e,Ee,Ie),Oe&&de.viewport(S.copy(Oe)),$e.length>0&&nr($e,Ee,Ie),ot.length>0&&nr(ot,Ee,Ie),Ke.length>0&&nr(Ke,Ee,Ie),de.buffers.depth.setTest(!0),de.buffers.depth.setMask(!0),de.buffers.color.setMask(!0),de.setPolygonOffset(!1)}function Vr(ne,Ee,Ie){const Oe=te.isWebGL2;$===null&&($=new tp(1,1,{generateMipmaps:!0,type:ee.has("EXT_color_buffer_half_float")?R_:Jh,minFilter:tk,samples:Oe&&o===!0?4:0})),m.getDrawingBufferSize(L),Oe?$.setSize(L.x,L.y):$.setSize(GN(L.x),GN(L.y));const $e=m.getRenderTarget();m.setRenderTarget($),m.clear();const ot=m.toneMapping;m.toneMapping=Yc,nr(ne,Ee,Ie),m.toneMapping=ot,ve.updateMultisampleRenderTarget($),ve.updateRenderTargetMipmap($),m.setRenderTarget($e)}function nr(ne,Ee,Ie){const Oe=Ee.isScene===!0?Ee.overrideMaterial:null;for(let $e=0,ot=ne.length;$e0&&ve.useMultisampledRTT(ne)===!1?$e=ie.get(ne).__webglMultisampledFramebuffer:$e=jt,S.copy(ne.viewport),O.copy(ne.scissor),C=ne.scissorTest}else S.copy(T).multiplyScalar(I).floor(),O.copy(D).multiplyScalar(I).floor(),C=U;if(de.bindFramebuffer(36160,$e)&&te.drawBuffers&&Oe&&de.drawBuffers(ne,$e),de.viewport(S),de.scissor(O),de.setScissorTest(C),ot){const _t=ie.get(ne.texture);K.framebufferTexture2D(36160,36064,34069+Ee,_t.__webglTexture,Ie)}else if(Ke){const _t=ie.get(ne.texture),jt=Ee||0;K.framebufferTextureLayer(36160,36064,_t.__webglTexture,Ie||0,jt)}b=-1},this.readRenderTargetPixels=function(ne,Ee,Ie,Oe,$e,ot,Ke){if(!(ne&&ne.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let ht=ie.get(ne).__webglFramebuffer;if(ne.isWebGLCubeRenderTarget&&Ke!==void 0&&(ht=ht[Ke]),ht){de.bindFramebuffer(36160,ht);try{const _t=ne.texture,jt=_t.format,Pt=_t.type;if(jt!==Pl&&G.convert(jt)!==K.getParameter(35739)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const at=Pt===R_&&(ee.has("EXT_color_buffer_half_float")||te.isWebGL2&&ee.has("EXT_color_buffer_float"));if(Pt!==Jh&&G.convert(Pt)!==K.getParameter(35738)&&!(Pt===gf&&(te.isWebGL2||ee.has("OES_texture_float")||ee.has("WEBGL_color_buffer_float")))&&!at){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}Ee>=0&&Ee<=ne.width-Oe&&Ie>=0&&Ie<=ne.height-$e&&K.readPixels(Ee,Ie,Oe,$e,G.convert(jt),G.convert(Pt),ot)}finally{const _t=x!==null?ie.get(x).__webglFramebuffer:null;de.bindFramebuffer(36160,_t)}}},this.copyFramebufferToTexture=function(ne,Ee,Ie=0){const Oe=Math.pow(2,-Ie),$e=Math.floor(Ee.image.width*Oe),ot=Math.floor(Ee.image.height*Oe);ve.setTexture2D(Ee,0),K.copyTexSubImage2D(3553,Ie,0,0,ne.x,ne.y,$e,ot),de.unbindTexture()},this.copyTextureToTexture=function(ne,Ee,Ie,Oe=0){const $e=Ee.image.width,ot=Ee.image.height,Ke=G.convert(Ie.format),ht=G.convert(Ie.type);ve.setTexture2D(Ie,0),K.pixelStorei(37440,Ie.flipY),K.pixelStorei(37441,Ie.premultiplyAlpha),K.pixelStorei(3317,Ie.unpackAlignment),Ee.isDataTexture?K.texSubImage2D(3553,Oe,ne.x,ne.y,$e,ot,Ke,ht,Ee.image.data):Ee.isCompressedTexture?K.compressedTexSubImage2D(3553,Oe,ne.x,ne.y,Ee.mipmaps[0].width,Ee.mipmaps[0].height,Ke,Ee.mipmaps[0].data):K.texSubImage2D(3553,Oe,ne.x,ne.y,Ke,ht,Ee.image),Oe===0&&Ie.generateMipmaps&&K.generateMipmap(3553),de.unbindTexture()},this.copyTextureToTexture3D=function(ne,Ee,Ie,Oe,$e=0){if(m.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const ot=ne.max.x-ne.min.x+1,Ke=ne.max.y-ne.min.y+1,ht=ne.max.z-ne.min.z+1,_t=G.convert(Oe.format),jt=G.convert(Oe.type);let Pt;if(Oe.isData3DTexture)ve.setTexture3D(Oe,0),Pt=32879;else if(Oe.isDataArrayTexture)ve.setTexture2DArray(Oe,0),Pt=35866;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}K.pixelStorei(37440,Oe.flipY),K.pixelStorei(37441,Oe.premultiplyAlpha),K.pixelStorei(3317,Oe.unpackAlignment);const at=K.getParameter(3314),Yt=K.getParameter(32878),yd=K.getParameter(3316),Rp=K.getParameter(3315),Ip=K.getParameter(32877),Ks=Ie.isCompressedTexture?Ie.mipmaps[0]:Ie.image;K.pixelStorei(3314,Ks.width),K.pixelStorei(32878,Ks.height),K.pixelStorei(3316,ne.min.x),K.pixelStorei(3315,ne.min.y),K.pixelStorei(32877,ne.min.z),Ie.isDataTexture||Ie.isData3DTexture?K.texSubImage3D(Pt,$e,Ee.x,Ee.y,Ee.z,ot,Ke,ht,_t,jt,Ks.data):Ie.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),K.compressedTexSubImage3D(Pt,$e,Ee.x,Ee.y,Ee.z,ot,Ke,ht,_t,Ks.data)):K.texSubImage3D(Pt,$e,Ee.x,Ee.y,Ee.z,ot,Ke,ht,_t,jt,Ks),K.pixelStorei(3314,at),K.pixelStorei(32878,Yt),K.pixelStorei(3316,yd),K.pixelStorei(3315,Rp),K.pixelStorei(32877,Ip),$e===0&&Oe.generateMipmaps&&K.generateMipmap(Pt),de.unbindTexture()},this.initTexture=function(ne){ne.isCubeTexture?ve.setTextureCube(ne,0):ne.isData3DTexture?ve.setTexture3D(ne,0):ne.isDataArrayTexture?ve.setTexture2DArray(ne,0):ve.setTexture2D(ne,0),de.unbindTexture()},this.resetState=function(){v=0,y=0,x=null,de.reset(),fe.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}class _4t extends lve{}_4t.prototype.isWebGL1Renderer=!0;class w4t extends jo{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,n){return super.copy(e,n),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const n=super.toJSON(e);return this.fog!==null&&(n.object.fog=this.fog.toJSON()),n}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(e){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=e}}class cve extends gw{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new ar(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const dZ=new Se,hZ=new Se,pZ=new Vn,BI=new Xge,IO=new nk;class S4t extends jo{constructor(e=new mu,n=new cve){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=n,this.updateMorphTargets()}copy(e,n){return super.copy(e,n),this.material=e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(e.index===null){const n=e.attributes.position,r=[0];for(let i=1,o=n.count;il)continue;d.applyMatrix4(this.matrixWorld);const C=e.ray.origin.distanceTo(d);Ce.far||n.push({distance:C,point:f.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}else{const v=Math.max(0,a.start),y=Math.min(g.count,a.start+a.count);for(let x=v,b=y-1;xl)continue;d.applyMatrix4(this.matrixWorld);const S=e.ray.origin.distanceTo(d);Se.far||n.push({distance:S,point:f.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const n=this.geometry.morphAttributes,r=Object.keys(n);if(r.length>0){const i=n[r[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,a=i.length;o{n&&n(o),this.manager.itemEnd(e)},0),o;if(hc[e]!==void 0){hc[e].push({onLoad:n,onProgress:r,onError:i});return}hc[e]=[],hc[e].push({onLoad:n,onProgress:r,onError:i});const a=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,l=this.responseType;fetch(a).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body===void 0||c.body.getReader===void 0)return c;const u=hc[e],f=c.body.getReader(),d=c.headers.get("Content-Length"),h=d?parseInt(d):0,p=h!==0;let m=0;const g=new ReadableStream({start(v){y();function y(){f.read().then(({done:x,value:b})=>{if(x)v.close();else{m+=b.byteLength;const _=new ProgressEvent("progress",{lengthComputable:p,loaded:m,total:h});for(let S=0,O=u.length;S{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(u=>new DOMParser().parseFromString(u,s));case"json":return c.json();default:if(s===void 0)return c.text();{const f=/charset="?([^;"\s]*)"?/i.exec(s),d=f&&f[1]?f[1].toLowerCase():void 0,h=new TextDecoder(d);return c.arrayBuffer().then(p=>h.decode(p))}}}).then(c=>{aP.add(e,c);const u=hc[e];delete hc[e];for(let f=0,d=u.length;f{const u=hc[e];if(u===void 0)throw this.manager.itemError(e),c;delete hc[e];for(let f=0,d=u.length;f{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class M4t extends ok{constructor(e){super(e)}load(e,n,r,i){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const o=this,a=aP.get(e);if(a!==void 0)return o.manager.itemStart(e),setTimeout(function(){n&&n(a),o.manager.itemEnd(e)},0),a;const s=I_("img");function l(){u(),aP.add(e,this),n&&n(this),o.manager.itemEnd(e)}function c(f){u(),i&&i(f),o.manager.itemError(e),o.manager.itemEnd(e)}function u(){s.removeEventListener("load",l,!1),s.removeEventListener("error",c,!1)}return s.addEventListener("load",l,!1),s.addEventListener("error",c,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(s.crossOrigin=this.crossOrigin),o.manager.itemStart(e),s.src=e,s}}class k4t extends ok{constructor(e){super(e)}load(e,n,r,i){const o=new _a,a=new M4t(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(e,function(s){o.image=s,o.needsUpdate=!0,n!==void 0&&n(o)},r,i),o}}class vZ{constructor(e=1,n=0,r=0){return this.radius=e,this.phi=n,this.theta=r,this}set(e,n,r){return this.radius=e,this.phi=n,this.theta=r,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){return this.phi=Math.max(1e-6,Math.min(Math.PI-1e-6,this.phi)),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,n,r){return this.radius=Math.sqrt(e*e+n*n+r*r),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,r),this.phi=Math.acos(Mo(n/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}}const DO=new Oy;class A4t extends O4t{constructor(e,n=16776960){const r=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new Float32Array(8*3),o=new mu;o.setIndex(new Za(r,1)),o.setAttribute("position",new Za(i,3)),super(o,new cve({color:n,toneMapped:!1})),this.object=e,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(e){if(e!==void 0&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),this.object!==void 0&&DO.setFromObject(this.object),DO.isEmpty())return;const n=DO.min,r=DO.max,i=this.geometry.attributes.position,o=i.array;o[0]=r.x,o[1]=r.y,o[2]=r.z,o[3]=n.x,o[4]=r.y,o[5]=r.z,o[6]=n.x,o[7]=n.y,o[8]=r.z,o[9]=r.x,o[10]=n.y,o[11]=r.z,o[12]=r.x,o[13]=r.y,o[14]=n.z,o[15]=n.x,o[16]=r.y,o[17]=n.z,o[18]=n.x,o[19]=n.y,o[20]=n.z,o[21]=r.x,o[22]=n.y,o[23]=n.z,i.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(e){return this.object=e,this.update(),this}copy(e,n){return super.copy(e,n),this.object=e.object,this}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:PU}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=PU);const yZ={type:"change"},zI={type:"start"},xZ={type:"end"};class R4t extends kp{constructor(e,n){super(),this.object=e,this.domElement=n,this.domElement.style.touchAction="none",this.enabled=!0,this.target=new Se,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:em.ROTATE,MIDDLE:em.DOLLY,RIGHT:em.PAN},this.touches={ONE:tm.ROTATE,TWO:tm.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return s.phi},this.getAzimuthalAngle=function(){return s.theta},this.getDistance=function(){return this.object.position.distanceTo(this.target)},this.listenToKeyEvents=function(G){G.addEventListener("keydown",ye),this._domElementKeyEvents=G},this.saveState=function(){r.target0.copy(r.target),r.position0.copy(r.object.position),r.zoom0=r.object.zoom},this.reset=function(){r.target.copy(r.target0),r.object.position.copy(r.position0),r.object.zoom=r.zoom0,r.object.updateProjectionMatrix(),r.dispatchEvent(yZ),r.update(),o=i.NONE},this.update=function(){const G=new Se,fe=new np().setFromUnitVectors(e.up,new Se(0,1,0)),_e=fe.clone().invert(),Me=new Se,me=new np,Fe=2*Math.PI;return function(){const Re=r.object.position;G.copy(Re).sub(r.target),G.applyQuaternion(fe),s.setFromVector3(G),r.autoRotate&&o===i.NONE&&E(O()),r.enableDamping?(s.theta+=l.theta*r.dampingFactor,s.phi+=l.phi*r.dampingFactor):(s.theta+=l.theta,s.phi+=l.phi);let ae=r.minAzimuthAngle,Le=r.maxAzimuthAngle;return isFinite(ae)&&isFinite(Le)&&(ae<-Math.PI?ae+=Fe:ae>Math.PI&&(ae-=Fe),Le<-Math.PI?Le+=Fe:Le>Math.PI&&(Le-=Fe),ae<=Le?s.theta=Math.max(ae,Math.min(Le,s.theta)):s.theta=s.theta>(ae+Le)/2?Math.max(ae,s.theta):Math.min(Le,s.theta)),s.phi=Math.max(r.minPolarAngle,Math.min(r.maxPolarAngle,s.phi)),s.makeSafe(),s.radius*=c,s.radius=Math.max(r.minDistance,Math.min(r.maxDistance,s.radius)),r.enableDamping===!0?r.target.addScaledVector(u,r.dampingFactor):r.target.add(u),G.setFromSpherical(s),G.applyQuaternion(_e),Re.copy(r.target).add(G),r.object.lookAt(r.target),r.enableDamping===!0?(l.theta*=1-r.dampingFactor,l.phi*=1-r.dampingFactor,u.multiplyScalar(1-r.dampingFactor)):(l.set(0,0,0),u.set(0,0,0)),c=1,f||Me.distanceToSquared(r.object.position)>a||8*(1-me.dot(r.object.quaternion))>a?(r.dispatchEvent(yZ),Me.copy(r.object.position),me.copy(r.object.quaternion),f=!1,!0):!1}}(),this.dispose=function(){r.domElement.removeEventListener("contextmenu",re),r.domElement.removeEventListener("pointerdown",F),r.domElement.removeEventListener("pointercancel",Q),r.domElement.removeEventListener("wheel",ge),r.domElement.removeEventListener("pointermove",ce),r.domElement.removeEventListener("pointerup",le),r._domElementKeyEvents!==null&&r._domElementKeyEvents.removeEventListener("keydown",ye)};const r=this,i={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let o=i.NONE;const a=1e-6,s=new vZ,l=new vZ;let c=1;const u=new Se;let f=!1;const d=new qt,h=new qt,p=new qt,m=new qt,g=new qt,v=new qt,y=new qt,x=new qt,b=new qt,_=[],S={};function O(){return 2*Math.PI/60/60*r.autoRotateSpeed}function C(){return Math.pow(.95,r.zoomSpeed)}function E(G){l.theta-=G}function M(G){l.phi-=G}const I=function(){const G=new Se;return function(_e,Me){G.setFromMatrixColumn(Me,0),G.multiplyScalar(-_e),u.add(G)}}(),P=function(){const G=new Se;return function(_e,Me){r.screenSpacePanning===!0?G.setFromMatrixColumn(Me,1):(G.setFromMatrixColumn(Me,0),G.crossVectors(r.object.up,G)),G.multiplyScalar(_e),u.add(G)}}(),R=function(){const G=new Se;return function(_e,Me){const me=r.domElement;if(r.object.isPerspectiveCamera){const Fe=r.object.position;G.copy(Fe).sub(r.target);let Pe=G.length();Pe*=Math.tan(r.object.fov/2*Math.PI/180),I(2*_e*Pe/me.clientHeight,r.object.matrix),P(2*Me*Pe/me.clientHeight,r.object.matrix)}else r.object.isOrthographicCamera?(I(_e*(r.object.right-r.object.left)/r.object.zoom/me.clientWidth,r.object.matrix),P(Me*(r.object.top-r.object.bottom)/r.object.zoom/me.clientHeight,r.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),r.enablePan=!1)}}();function T(G){r.object.isPerspectiveCamera?c/=G:r.object.isOrthographicCamera?(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom*G)),r.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function D(G){r.object.isPerspectiveCamera?c*=G:r.object.isOrthographicCamera?(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom/G)),r.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function U(G){d.set(G.clientX,G.clientY)}function B(G){y.set(G.clientX,G.clientY)}function W(G){m.set(G.clientX,G.clientY)}function z(G){h.set(G.clientX,G.clientY),p.subVectors(h,d).multiplyScalar(r.rotateSpeed);const fe=r.domElement;E(2*Math.PI*p.x/fe.clientHeight),M(2*Math.PI*p.y/fe.clientHeight),d.copy(h),r.update()}function $(G){x.set(G.clientX,G.clientY),b.subVectors(x,y),b.y>0?T(C()):b.y<0&&D(C()),y.copy(x),r.update()}function N(G){g.set(G.clientX,G.clientY),v.subVectors(g,m).multiplyScalar(r.panSpeed),R(v.x,v.y),m.copy(g),r.update()}function L(G){G.deltaY<0?D(C()):G.deltaY>0&&T(C()),r.update()}function A(G){let fe=!1;switch(G.code){case r.keys.UP:R(0,r.keyPanSpeed),fe=!0;break;case r.keys.BOTTOM:R(0,-r.keyPanSpeed),fe=!0;break;case r.keys.LEFT:R(r.keyPanSpeed,0),fe=!0;break;case r.keys.RIGHT:R(-r.keyPanSpeed,0),fe=!0;break}fe&&(G.preventDefault(),r.update())}function q(){if(_.length===1)d.set(_[0].pageX,_[0].pageY);else{const G=.5*(_[0].pageX+_[1].pageX),fe=.5*(_[0].pageY+_[1].pageY);d.set(G,fe)}}function Y(){if(_.length===1)m.set(_[0].pageX,_[0].pageY);else{const G=.5*(_[0].pageX+_[1].pageX),fe=.5*(_[0].pageY+_[1].pageY);m.set(G,fe)}}function K(){const G=_[0].pageX-_[1].pageX,fe=_[0].pageY-_[1].pageY,_e=Math.sqrt(G*G+fe*fe);y.set(0,_e)}function se(){r.enableZoom&&K(),r.enablePan&&Y()}function ee(){r.enableZoom&&K(),r.enableRotate&&q()}function te(G){if(_.length===1)h.set(G.pageX,G.pageY);else{const _e=Z(G),Me=.5*(G.pageX+_e.x),me=.5*(G.pageY+_e.y);h.set(Me,me)}p.subVectors(h,d).multiplyScalar(r.rotateSpeed);const fe=r.domElement;E(2*Math.PI*p.x/fe.clientHeight),M(2*Math.PI*p.y/fe.clientHeight),d.copy(h)}function de(G){if(_.length===1)g.set(G.pageX,G.pageY);else{const fe=Z(G),_e=.5*(G.pageX+fe.x),Me=.5*(G.pageY+fe.y);g.set(_e,Me)}v.subVectors(g,m).multiplyScalar(r.panSpeed),R(v.x,v.y),m.copy(g)}function xe(G){const fe=Z(G),_e=G.pageX-fe.x,Me=G.pageY-fe.y,me=Math.sqrt(_e*_e+Me*Me);x.set(0,me),b.set(0,Math.pow(x.y/y.y,r.zoomSpeed)),T(b.y),y.copy(x)}function ie(G){r.enableZoom&&xe(G),r.enablePan&&de(G)}function ve(G){r.enableZoom&&xe(G),r.enableRotate&&te(G)}function F(G){r.enabled!==!1&&(_.length===0&&(r.domElement.setPointerCapture(G.pointerId),r.domElement.addEventListener("pointermove",ce),r.domElement.addEventListener("pointerup",le)),he(G),G.pointerType==="touch"?V(G):X(G))}function ce(G){r.enabled!==!1&&(G.pointerType==="touch"?H(G):J(G))}function le(G){we(G),_.length===0&&(r.domElement.releasePointerCapture(G.pointerId),r.domElement.removeEventListener("pointermove",ce),r.domElement.removeEventListener("pointerup",le)),r.dispatchEvent(xZ),o=i.NONE}function Q(G){we(G)}function X(G){let fe;switch(G.button){case 0:fe=r.mouseButtons.LEFT;break;case 1:fe=r.mouseButtons.MIDDLE;break;case 2:fe=r.mouseButtons.RIGHT;break;default:fe=-1}switch(fe){case em.DOLLY:if(r.enableZoom===!1)return;B(G),o=i.DOLLY;break;case em.ROTATE:if(G.ctrlKey||G.metaKey||G.shiftKey){if(r.enablePan===!1)return;W(G),o=i.PAN}else{if(r.enableRotate===!1)return;U(G),o=i.ROTATE}break;case em.PAN:if(G.ctrlKey||G.metaKey||G.shiftKey){if(r.enableRotate===!1)return;U(G),o=i.ROTATE}else{if(r.enablePan===!1)return;W(G),o=i.PAN}break;default:o=i.NONE}o!==i.NONE&&r.dispatchEvent(zI)}function J(G){switch(o){case i.ROTATE:if(r.enableRotate===!1)return;z(G);break;case i.DOLLY:if(r.enableZoom===!1)return;$(G);break;case i.PAN:if(r.enablePan===!1)return;N(G);break}}function ge(G){r.enabled===!1||r.enableZoom===!1||o!==i.NONE||(G.preventDefault(),r.dispatchEvent(zI),L(G),r.dispatchEvent(xZ))}function ye(G){r.enabled===!1||r.enablePan===!1||A(G)}function V(G){switch(oe(G),_.length){case 1:switch(r.touches.ONE){case tm.ROTATE:if(r.enableRotate===!1)return;q(),o=i.TOUCH_ROTATE;break;case tm.PAN:if(r.enablePan===!1)return;Y(),o=i.TOUCH_PAN;break;default:o=i.NONE}break;case 2:switch(r.touches.TWO){case tm.DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;se(),o=i.TOUCH_DOLLY_PAN;break;case tm.DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;ee(),o=i.TOUCH_DOLLY_ROTATE;break;default:o=i.NONE}break;default:o=i.NONE}o!==i.NONE&&r.dispatchEvent(zI)}function H(G){switch(oe(G),o){case i.TOUCH_ROTATE:if(r.enableRotate===!1)return;te(G),r.update();break;case i.TOUCH_PAN:if(r.enablePan===!1)return;de(G),r.update();break;case i.TOUCH_DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;ie(G),r.update();break;case i.TOUCH_DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;ve(G),r.update();break;default:o=i.NONE}}function re(G){r.enabled!==!1&&G.preventDefault()}function he(G){_.push(G)}function we(G){delete S[G.pointerId];for(let fe=0;fe<_.length;fe++)if(_[fe].pointerId===G.pointerId){_.splice(fe,1);return}}function oe(G){let fe=S[G.pointerId];fe===void 0&&(fe=new qt,S[G.pointerId]=fe),fe.set(G.pageX,G.pageY)}function Z(G){const fe=G.pointerId===_[0].pointerId?_[1]:_[0];return S[fe.pointerId]}r.domElement.addEventListener("contextmenu",re),r.domElement.addEventListener("pointerdown",F),r.domElement.addEventListener("pointercancel",Q),r.domElement.addEventListener("wheel",ge,{passive:!1}),this.update()}}const I4t={uniforms:{u_size:{value:new Se(1,1,1)},u_renderstyle:{value:0},u_renderthreshold:{value:.5},u_clim:{value:new qt(0,1)},u_data:{value:null},u_cmdata:{value:null}},vertexShader:` - - varying vec4 v_nearpos; - varying vec4 v_farpos; - varying vec3 v_position; - - void main() { - // Prepare transforms to map to "camera view". See also: - // https://threejs.org/docs/#api/renderers/webgl/WebGLProgram - mat4 viewModelMatrix = inverse(modelViewMatrix); - - // Project local vertex coordinate to camera position. Then do a step - // backward (in cam coords) to the near clipping plane, and project back. Do - // the same for the far clipping plane. This gives us all the information we - // need to calculate the ray and truncate it to the viewing cone. - vec4 position4 = vec4(position, 1.0); - vec4 pos_in_cam = modelViewMatrix * position4; - - // Intersection of ray and near clipping plane (z = -1 in clip coords) - pos_in_cam.z = -pos_in_cam.w; - // pos_in_cam.w = 1.0; - // pos_in_cam.z = -1.0; - v_nearpos = viewModelMatrix * pos_in_cam; - - // Intersection of ray and far clipping plane (z = +1 in clip coords) - pos_in_cam.z = pos_in_cam.w; - // pos_in_cam.z = 1.0; - v_farpos = viewModelMatrix * pos_in_cam; - - // Set varyings and output pos - v_position = position; - gl_Position = projectionMatrix * viewMatrix * modelMatrix * position4; - }`,fragmentShader:` - - precision highp float; - precision mediump sampler3D; - - uniform vec3 u_size; - uniform int u_renderstyle; - uniform float u_renderthreshold; - uniform vec2 u_clim; - - uniform sampler3D u_data; - uniform sampler2D u_cmdata; - - varying vec3 v_position; - varying vec4 v_nearpos; - varying vec4 v_farpos; - - // The maximum distance through our rendering volume is sqrt(3). - const int MAX_STEPS = 2000; // 887; // 887 for 512^3, 1774 for 1024^3 - const int REFINEMENT_STEPS = 8; // 4; - const float relative_step_size = 1.0; - const vec4 ambient_color = vec4(0.2, 0.4, 0.2, 1.0); - const vec4 diffuse_color = vec4(0.8, 0.2, 0.2, 1.0); - const vec4 specular_color = vec4(1.0, 1.0, 1.0, 1.0); - const float shininess = 40.0; - - void cast_mip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray); - void cast_aip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray); - void cast_iso(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray); - - float sample1(vec3 texcoords); - vec4 apply_colormap(float val); - vec4 add_lighting(float val, vec3 loc, vec3 step, vec3 view_ray); - - void main() { - // Normalize clipping plane info - vec3 farpos = v_farpos.xyz / v_farpos.w; - vec3 nearpos = v_nearpos.xyz / v_nearpos.w; - - // Calculate unit vector pointing in the view direction through this fragment. - vec3 view_ray = normalize(nearpos.xyz - farpos.xyz); - - // Compute the (negative) distance to the front surface or near clipping plane. - // v_position is the back face of the cuboid, so the initial distance calculated in the dot - // product below is the distance from near clip plane to the back of the cuboid - float distance = dot(nearpos - v_position, view_ray); - distance = max(distance, min((-0.5 - v_position.x) / view_ray.x, - (u_size.x - 0.5 - v_position.x) / view_ray.x)); - distance = max(distance, min((-0.5 - v_position.y) / view_ray.y, - (u_size.y - 0.5 - v_position.y) / view_ray.y)); - distance = max(distance, min((-0.5 - v_position.z) / view_ray.z, - (u_size.z - 0.5 - v_position.z) / view_ray.z)); - - // Now we have the starting position on the front surface - vec3 front = v_position + view_ray * distance; - - // Decide how many steps to take - int nsteps = int(-distance / relative_step_size + 0.5); - if ( nsteps < 1 ) - discard; - - // Get starting location and step vector in texture coordinates - vec3 step = ((v_position - front) / u_size) / float(nsteps); - vec3 start_loc = front / u_size; - - // For testing: show the number of steps. This helps to establish - // whether the rays are correctly oriented - //'gl_FragColor = vec4(0.0, float(nsteps) / 1.0 / u_size.x, 1.0, 1.0); - //'return; - - if (u_renderstyle == 0) - cast_mip(start_loc, step, nsteps, view_ray); - else if (u_renderstyle == 1) - cast_aip(start_loc, step, nsteps, view_ray); - else if (u_renderstyle == 2) - cast_iso(start_loc, step, nsteps, view_ray); - - if (gl_FragColor.a < 0.05) - discard; - } - - float sample1(vec3 texcoords) { - /* Sample float value from a 3D texture. Assumes intensity data. */ - return texture(u_data, texcoords.xyz).r; - } - - vec4 apply_colormap(float val) { - val = (val - u_clim[0]) / (u_clim[1] - u_clim[0]); - return texture2D(u_cmdata, vec2(val, 0.5)); - } - - void cast_mip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { - - float max_val = -1e6; - vec3 loc = start_loc; - - // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with - // non-constant expression. So we use a hard-coded max, and an additional condition - // inside the loop. - for (int iter = 0; iter < MAX_STEPS; iter++) { - if (iter >= nsteps) { - break; - } - // Sample from the 3D texture - float val = sample1(loc); - // Apply MIP operation - if (val > max_val) { - max_val = val; - } - // Advance location deeper into the volume - loc += step; - } - - // Resolve final color - gl_FragColor = apply_colormap(max_val); - } - - void cast_aip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { - - float avg_val = 0.0; - int count = 0; - vec3 loc = start_loc; - float eps = 0.02; - - // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with - // non-constant expression. So we use a hard-coded max, and an additional condition - // inside the loop. - for (int iter = 0; iter < MAX_STEPS; iter++) { - if (iter >= nsteps) { - break; - } - // Sample from the 3D texture - float val = sample1(loc); - // Apply SUM operation - if (abs(loc.x - 0.5) < eps - || abs(loc.y - 0.5) < eps - || abs(loc.z - 0.5) < eps) { - avg_val += val; - count += 1; - } - // Advance location deeper into the volume - loc += step; - } - - // Resolve final color - if (count > 0) { - gl_FragColor = apply_colormap(avg_val / float(count)); - } else { - gl_FragColor = vec4(0.0); - } - } - - void cast_iso(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { - - gl_FragColor = vec4(0.0); // init transparent - vec4 color3 = vec4(0.0); // final color - vec3 dstep = 1.5 / u_size; // step to sample derivative - vec3 loc = start_loc; - - float low_threshold = u_renderthreshold - 0.02 * (u_clim[1] - u_clim[0]); - - // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with - // non-constant expression. So we use a hard-coded max, and an additional condition - // inside the loop. - for (int iter=0; iter= nsteps) - break; - - // Sample from the 3D texture - float val = sample1(loc); - - if (val > low_threshold) { - // Take the last interval in smaller steps - vec3 iloc = loc - 0.5 * step; - vec3 istep = step / float(REFINEMENT_STEPS); - for (int i=0; i u_renderthreshold) { - gl_FragColor = add_lighting(val, iloc, dstep, view_ray); - return; - } - iloc += istep; - } - } - - // Advance location deeper into the volume - loc += step; - } - } - - vec4 add_lighting(float val, vec3 loc, vec3 step, vec3 view_ray) { - // Calculate color by incorporating lighting - - // View direction - vec3 V = normalize(view_ray); - - // calculate normal vector from gradient - vec3 N; - float val1, val2; - val1 = sample1(loc + vec3(-step[0], 0.0, 0.0)); - val2 = sample1(loc + vec3(+step[0], 0.0, 0.0)); - N[0] = val1 - val2; - val = max(max(val1, val2), val); - val1 = sample1(loc + vec3(0.0, -step[1], 0.0)); - val2 = sample1(loc + vec3(0.0, +step[1], 0.0)); - N[1] = val1 - val2; - val = max(max(val1, val2), val); - val1 = sample1(loc + vec3(0.0, 0.0, -step[2])); - val2 = sample1(loc + vec3(0.0, 0.0, +step[2])); - N[2] = val1 - val2; - val = max(max(val1, val2), val); - - float gm = length(N); // gradient magnitude - N = normalize(N); - - // Flip normal so it points towards viewer - float Nselect = float(dot(N, V) > 0.0); - N = (2.0 * Nselect - 1.0) * N; // == Nselect * N - (1.0-Nselect)*N; - - // Init colors - vec4 ambient_color = vec4(0.0, 0.0, 0.0, 0.0); - vec4 diffuse_color = vec4(0.0, 0.0, 0.0, 0.0); - vec4 specular_color = vec4(0.0, 0.0, 0.0, 0.0); - - // note: could allow multiple lights - for (int i=0; i<1; i++) { - // Get light direction (make sure to prevent zero devision) - vec3 L = normalize(view_ray); //lightDirs[i]; - float lightEnabled = float( length(L) > 0.0 ); - L = normalize(L + (1.0 - lightEnabled)); - - // Calculate lighting properties - float lambertTerm = clamp(dot(N, L), 0.0, 1.0); - vec3 H = normalize(L+V); // Halfway vector - float specularTerm = pow(max(dot(H, N), 0.0), shininess); - - // Calculate mask - float mask1 = lightEnabled; - - // Calculate colors - ambient_color += mask1 * ambient_color; // * gl_LightSource[i].ambient; - diffuse_color += mask1 * lambertTerm; - specular_color += mask1 * specularTerm * specular_color; - } - - // Calculate final color by componing different components - vec4 final_color; - vec4 color = apply_colormap(val); - final_color = color * (ambient_color + diffuse_color) + specular_color; - final_color.a = color.a; - return final_color; - }`};function D4t(){try{const t=document.createElement("canvas");return!!(window.WebGL2RenderingContext&&t.getContext("webgl2"))}catch{return!1}}class L4t{constructor(){Ut(this,"textures");this.textures={}}get(e,n){const r=DT(e);let i=this.textures[r];return i||(i=new k4t().load(`data:image/png;base64,${e.imageData}`,n),this.textures[r]=i),i}}const $4t=new L4t;class N4t{constructor(e){Ut(this,"canvas");Ut(this,"camera");Ut(this,"renderer");Ut(this,"scene");Ut(this,"material");if(!D4t())throw new Error("Missing WebGL2");this.render=this.render.bind(this);const n=new lve({canvas:e});n.setPixelRatio(window.devicePixelRatio),n.setSize(e.clientWidth,e.clientHeight);const r=100,i=e.clientWidth/e.clientHeight,o=new rve(-r*i,r*i,r,-r,-1e3,1e3);o.position.set(0,0,100),o.up.set(0,1,0);const a=new R4t(o,n.domElement);a.target.set(100,50,0),a.minZoom=.1,a.maxZoom=500,a.enablePan=!0,a.update(),this.canvas=e,this.renderer=n,this.camera=o,this.scene=null,this.material=null,a.addEventListener("change",this.render),e.addEventListener("resize",this.onCanvasResize)}setVolume(e,n){const r=new qge(e.data,e.xLength,e.yLength,e.zLength);r.format=zge,r.type=gf,r.minFilter=r.magFilter=Po,r.unpackAlignment=1,r.needsUpdate=!0;const i=I4t,o=Zge.clone(i.uniforms),[a,s,l]=e.spacing,c=Math.floor(a*e.xLength),u=Math.floor(s*e.yLength),f=Math.floor(l*e.zLength);o.u_data.value=r,o.u_size.value.set(c,u,f);const d=new Kf({uniforms:o,vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:ga}),h=new Cy(c,u,f);h.translate(c/2,u/2,f/2);const p=new Ml(h,d),m=new w4t;m.add(p),m.add(new A4t(p)),this.scene=m,this.material=d,this.setVolumeOptions(n)}setVolumeOptions(e){const n=this.material;if(n!==null){const{value1:r,value2:i,isoThreshold:o,renderMode:a,colorBar:s}=e,l=n.uniforms;l.u_clim.value.set(r,i),l.u_renderthreshold.value=o,l.u_renderstyle.value=a==="mip"?0:a==="aip"?1:2,l.u_cmdata.value=$4t.get(s,this.render),this.render()}}getMaterial(){if(this.material===null)throw new Error("Volume not set!");return this.material}onCanvasResize(){console.warn("Alarm: Canvas resize!");const e=this.renderer.domElement;this.renderer.setSize(e.clientWidth,e.clientHeight);const n=e.clientWidth/e.clientHeight,r=this.camera.top-this.camera.bottom;this.camera.left=-r*n/2,this.camera.right=r*n/2,this.camera.updateProjectionMatrix(),this.render()}render(){this.scene!==null&&this.renderer.render(this.scene,this.camera)}}var ua=Uint8Array,mh=Uint16Array,uve=Uint32Array,fve=new ua([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,0,0,0]),dve=new ua([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,0,0]),F4t=new ua([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),hve=function(t,e){for(var n=new mh(31),r=0;r<31;++r)n[r]=e+=1<>>1|(Kn&21845)<<1;Lu=(Lu&52428)>>>2|(Lu&13107)<<2,Lu=(Lu&61680)>>>4|(Lu&3855)<<4,qN[Kn]=((Lu&65280)>>>8|(Lu&255)<<8)>>>1}var Bx=function(t,e,n){for(var r=t.length,i=0,o=new mh(e);i>>l]=c}else for(s=new mh(r),i=0;i>>15-t[i]);return s},vw=new ua(288);for(var Kn=0;Kn<144;++Kn)vw[Kn]=8;for(var Kn=144;Kn<256;++Kn)vw[Kn]=9;for(var Kn=256;Kn<280;++Kn)vw[Kn]=7;for(var Kn=280;Kn<288;++Kn)vw[Kn]=8;var gve=new ua(32);for(var Kn=0;Kn<32;++Kn)gve[Kn]=5;var U4t=Bx(vw,9,1),W4t=Bx(gve,5,1),UI=function(t){for(var e=t[0],n=1;ne&&(e=t[n]);return e},Ts=function(t,e,n){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&n},WI=function(t,e){var n=e/8|0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>(e&7)},V4t=function(t){return(t+7)/8|0},G4t=function(t,e,n){(e==null||e<0)&&(e=0),(n==null||n>t.length)&&(n=t.length);var r=new(t.BYTES_PER_ELEMENT==2?mh:t.BYTES_PER_ELEMENT==4?uve:ua)(n-e);return r.set(t.subarray(e,n)),r},H4t=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],wc=function(t,e,n){var r=new Error(e||H4t[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,wc),!n)throw r;return r},q4t=function(t,e,n){var r=t.length;if(!r||n&&n.f&&!n.l)return e||new ua(0);var i=!e||n,o=!n||n.i;n||(n={}),e||(e=new ua(r*3));var a=function(K){var se=e.length;if(K>se){var ee=new ua(Math.max(se*2,K));ee.set(e),e=ee}},s=n.f||0,l=n.p||0,c=n.b||0,u=n.l,f=n.d,d=n.m,h=n.n,p=r*8;do{if(!u){s=Ts(t,l,1);var m=Ts(t,l+1,3);if(l+=3,m)if(m==1)u=U4t,f=W4t,d=9,h=5;else if(m==2){var x=Ts(t,l,31)+257,b=Ts(t,l+10,15)+4,_=x+Ts(t,l+5,31)+1;l+=14;for(var S=new ua(_),O=new ua(19),C=0;C>>4;if(g<16)S[C++]=g;else{var R=0,T=0;for(g==16?(T=3+Ts(t,l,3),l+=2,R=S[C-1]):g==17?(T=3+Ts(t,l,7),l+=3):g==18&&(T=11+Ts(t,l,127),l+=7);T--;)S[C++]=R}}var D=S.subarray(0,x),U=S.subarray(x);d=UI(D),h=UI(U),u=Bx(D,d,1),f=Bx(U,h,1)}else wc(1);else{var g=V4t(l)+4,v=t[g-4]|t[g-3]<<8,y=g+v;if(y>r){o&&wc(0);break}i&&a(c+v),e.set(t.subarray(g,y),c),n.b=c+=v,n.p=l=y*8,n.f=s;continue}if(l>p){o&&wc(0);break}}i&&a(c+131072);for(var B=(1<>>4;if(l+=R&15,l>p){o&&wc(0);break}if(R||wc(2),$<256)e[c++]=$;else if($==256){z=l,u=null;break}else{var N=$-254;if($>264){var C=$-257,L=fve[C];N=Ts(t,l,(1<>>4;A||wc(3),l+=A&15;var U=z4t[q];if(q>3){var L=dve[q];U+=WI(t,l)&(1<p){o&&wc(0);break}i&&a(c+131072);for(var Y=c+N;c>3&1)+(e>>4&1);r>0;r-=!t[n++]);return n+(e&2)},Y4t=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0};function K4t(t,e){return q4t(t.subarray(Q4t(t),-8),e||new ua(Y4t(t)))}var Z4t=typeof TextDecoder<"u"&&new TextDecoder,J4t=0;try{Z4t.decode(X4t,{stream:!0}),J4t=1}catch{}class eUt{constructor(e,n,r){const i=this;this.volume=e,n=n||0,Object.defineProperty(this,"index",{get:function(){return n},set:function(s){return n=s,i.geometryNeedsUpdate=!0,n}}),this.axis=r||"z",this.canvas=document.createElement("canvas"),this.canvasBuffer=document.createElement("canvas"),this.updateGeometry();const o=new _a(this.canvas);o.minFilter=Po,o.wrapS=o.wrapT=Ba;const a=new MU({map:o,side:Bc,transparent:!0});this.mesh=new Ml(this.geometry,a),this.mesh.matrixAutoUpdate=!1,this.geometryNeedsUpdate=!0,this.repaint()}repaint(){this.geometryNeedsUpdate&&this.updateGeometry();const e=this.iLength,n=this.jLength,r=this.sliceAccess,i=this.volume,o=this.canvasBuffer,a=this.ctxBuffer,s=a.getImageData(0,0,e,n),l=s.data,c=i.data,u=i.upperThreshold,f=i.lowerThreshold,d=i.windowLow,h=i.windowHigh;let p=0;if(i.dataType==="label")for(let m=0;m=this.colorMap.length?v%this.colorMap.length+1:v;const y=this.colorMap[v];l[4*p]=y>>24&255,l[4*p+1]=y>>16&255,l[4*p+2]=y>>8&255,l[4*p+3]=y&255,p++}else for(let m=0;m=v&&f<=v?y:0,v=Math.floor(255*(v-d)/(h-d)),v=v>255?255:v<0?0:v|0,l[4*p]=v,l[4*p+1]=v,l[4*p+2]=v,l[4*p+3]=y,p++}a.putImageData(s,0,0),this.ctx.drawImage(o,0,0,e,n,0,0,this.canvas.width,this.canvas.height),this.mesh.material.map.needsUpdate=!0}updateGeometry(){const e=this.volume.extractPerpendicularPlane(this.axis,this.index);this.sliceAccess=e.sliceAccess,this.jLength=e.jLength,this.iLength=e.iLength,this.matrix=e.matrix,this.canvas.width=e.planeWidth,this.canvas.height=e.planeHeight,this.canvasBuffer.width=this.iLength,this.canvasBuffer.height=this.jLength,this.ctx=this.canvas.getContext("2d"),this.ctxBuffer=this.canvasBuffer.getContext("2d"),this.geometry&&this.geometry.dispose(),this.geometry=new rk(e.planeWidth,e.planeHeight),this.mesh&&(this.mesh.geometry=this.geometry,this.mesh.matrix.identity(),this.mesh.applyMatrix4(this.matrix)),this.geometryNeedsUpdate=!1}}class tUt{constructor(e,n,r,i,o){if(e!==void 0){switch(this.xLength=Number(e)||1,this.yLength=Number(n)||1,this.zLength=Number(r)||1,this.axisOrder=["x","y","z"],i){case"Uint8":case"uint8":case"uchar":case"unsigned char":case"uint8_t":this.data=new Uint8Array(o);break;case"Int8":case"int8":case"signed char":case"int8_t":this.data=new Int8Array(o);break;case"Int16":case"int16":case"short":case"short int":case"signed short":case"signed short int":case"int16_t":this.data=new Int16Array(o);break;case"Uint16":case"uint16":case"ushort":case"unsigned short":case"unsigned short int":case"uint16_t":this.data=new Uint16Array(o);break;case"Int32":case"int32":case"int":case"signed int":case"int32_t":this.data=new Int32Array(o);break;case"Uint32":case"uint32":case"uint":case"unsigned int":case"uint32_t":this.data=new Uint32Array(o);break;case"longlong":case"long long":case"long long int":case"signed long long":case"signed long long int":case"int64":case"int64_t":case"ulonglong":case"unsigned long long":case"unsigned long long int":case"uint64":case"uint64_t":throw new Error("Error in Volume constructor : this type is not supported in JavaScript");case"Float32":case"float32":case"float":this.data=new Float32Array(o);break;case"Float64":case"float64":case"double":this.data=new Float64Array(o);break;default:this.data=new Uint8Array(o)}if(this.data.length!==this.xLength*this.yLength*this.zLength)throw new Error("Error in Volume constructor, lengths are not matching arrayBuffer size")}this.spacing=[1,1,1],this.offset=[0,0,0],this.matrix=new ha,this.matrix.identity();let a=-1/0;Object.defineProperty(this,"lowerThreshold",{get:function(){return a},set:function(l){a=l,this.sliceList.forEach(function(c){c.geometryNeedsUpdate=!0})}});let s=1/0;Object.defineProperty(this,"upperThreshold",{get:function(){return s},set:function(l){s=l,this.sliceList.forEach(function(c){c.geometryNeedsUpdate=!0})}}),this.sliceList=[]}getData(e,n,r){return this.data[r*this.xLength*this.yLength+n*this.xLength+e]}access(e,n,r){return r*this.xLength*this.yLength+n*this.xLength+e}reverseAccess(e){const n=Math.floor(e/(this.yLength*this.xLength)),r=Math.floor((e-n*this.yLength*this.xLength)/this.xLength);return[e-n*this.yLength*this.xLength-r*this.xLength,r,n]}map(e,n){const r=this.data.length;n=n||this;for(let i=0;i.9}),x=[l,c,s].find(function(S){return Math.abs(S.dot(v[1]))>.9}),b=[l,c,s].find(function(S){return Math.abs(S.dot(v[2]))>.9});function _(S,O){const C=y===s?a:y.arglet==="i"?S:O,E=x===s?a:x.arglet==="i"?S:O,M=b===s?a:b.arglet==="i"?S:O,I=y.dot(v[0])>0?C:f.xLength-1-C,P=x.dot(v[1])>0?E:f.yLength-1-E,R=b.dot(v[2])>0?M:f.zLength-1-M;return f.access(I,P,R)}return{iLength:h,jLength:p,sliceAccess:_,matrix:u,planeWidth:m,planeHeight:g}}extractSlice(e,n){const r=new eUt(this,n,e);return this.sliceList.push(r),r}repaintAllSlices(){return this.sliceList.forEach(function(e){e.repaint()}),this}computeMinMax(){let e=1/0,n=-1/0;const r=this.data.length;let i=0;for(i=0;i0,o=!0,a={};function s(C,E){E==null&&(E=1);let M=1,I=Uint8Array;switch(C){case"uchar":break;case"schar":I=Int8Array;break;case"ushort":I=Uint16Array,M=2;break;case"sshort":I=Int16Array,M=2;break;case"uint":I=Uint32Array,M=4;break;case"sint":I=Int32Array,M=4;break;case"float":I=Float32Array,M=4;break;case"complex":I=Float64Array,M=8;break;case"double":I=Float64Array,M=8;break}let P=new I(n.slice(r,r+=E*M));return i!==o&&(P=l(P,M)),E===1?P[0]:P}function l(C,E){const M=new Uint8Array(C.buffer,C.byteOffset,C.byteLength);for(let I=0;IR;P--,R++){const T=M[R];M[R]=M[P],M[P]=T}return C}function c(C){let E,M,I,P,R,T,D,U;const B=C.split(/\r?\n/);for(D=0,U=B.length;D13)&&P!==32?I+=String.fromCharCode(P):(I!==""&&(D[U]=B(I,T),U++),I="");return I!==""&&(D[U]=B(I,T),U++),D}const f=s("uchar",e.byteLength),d=f.length;let h=null,p=0,m;for(m=1;mP[0]!==0),E=a.vectors.findIndex(P=>P[1]!==0),M=a.vectors.findIndex(P=>P[2]!==0),I=[];I[C]="x",I[E]="y",I[M]="z",g.axisOrder=I}else g.axisOrder=["x","y","z"];const b=new Se().fromArray(a.vectors[0]).length(),_=new Se().fromArray(a.vectors[1]).length(),S=new Se().fromArray(a.vectors[2]).length();g.spacing=[b,_,S],g.matrix=new Vn;const O=new Vn;if(a.space==="left-posterior-superior"?O.set(-1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1):a.space==="left-anterior-superior"&&O.set(1,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,1),!a.vectors)g.matrix.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);else{const C=a.vectors,E=new Vn().set(C[0][0],C[1][0],C[2][0],0,C[0][1],C[1][1],C[2][1],0,C[0][2],C[1][2],C[2][2],0,0,0,0,1);g.matrix=new Vn().multiplyMatrices(E,O)}return g.inverseMatrix=new Vn,g.inverseMatrix.copy(g.matrix).invert(),g.RASDimensions=new Se(g.xLength,g.yLength,g.zLength).applyMatrix4(g.matrix).round().toArray().map(Math.abs),g.lowerThreshold===-1/0&&(g.lowerThreshold=y),g.upperThreshold===1/0&&(g.upperThreshold=x),g}parseChars(e,n,r){n===void 0&&(n=0),r===void 0&&(r=e.length);let i="",o;for(o=n;o{n.setVolume(f,zx.getVolumeOptions(this.props)),VI[a]=f,s(a,{status:"ok"})},()=>{},f=>{f.response instanceof Response?f.response.json().then(d=>{const h=d.error,p=!!h&&h.message;h&&h.exception&&console.debug("exception:",h.exception),s(a,{status:"error",message:p||`${f}`})}):s(a,{status:"error",message:`${f}`})})}}}render(){const{volumeId:n}=this.props;let r,i;if(!n)r=[w.jsx(zt,{variant:"subtitle2",children:"Cannot display 3D volume"},"subtitle2"),w.jsx(zt,{variant:"body2",children:"To display a volume, a variable and a place that represents an area must be selected. Please note that the 3D volume rendering is still an experimental feature."},"body2")];else{const o=this.props.volumeStates[n];(!o||o.status==="error"||!VI[n])&&(i=[w.jsx(Jn,{onClick:this.handleLoadVolume,disabled:!!o&&o.status==="loading",children:pe.get("Load Volume Data")},"load"),w.jsx(zt,{variant:"body2",children:pe.get("Please note that the 3D volume rendering is still an experimental feature.")},"note")]),o&&(o.status==="loading"?r=w.jsx(Fv,{style:{margin:10}}):o.status==="error"&&(r=w.jsx(zt,{variant:"body2",color:"red",children:`Failed loading volume: ${o.message}`})))}return r&&(r=w.jsx("div",{style:bZ,children:r})),i&&(i=w.jsx("div",{style:bZ,children:i})),w.jsxs("div",{style:sUt,children:[i,r,w.jsx("canvas",{id:"VolumeCanvas-canvas",ref:this.canvasRef,style:iUt}),!r&&!i&&aUt]})}updateVolumeScene(){const n=this.canvasRef.current;if(n===null){this.volumeScene=null;return}let r;this.props.volumeId&&(r=VI[this.props.volumeId]);let i=!1;(this.volumeScene===null||this.volumeScene.canvas!==n)&&(this.volumeScene=new N4t(n),i=!0),i&&r?this.volumeScene.setVolume(r,zx.getVolumeOptions(this.props)):this.volumeScene.setVolumeOptions(zx.getVolumeOptions(this.props))}}function _Z(t){let e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,i=Number.NEGATIVE_INFINITY;for(const o of t){const a=o[0],s=o[1];e=Math.min(e,a),n=Math.min(n,s),r=Math.max(r,a),i=Math.max(i,s)}return[e,n,r,i]}function lUt(t){let[e,n,r,i]=t[0];for(const o of t.slice(1))e=Math.min(e,o[0]),n=Math.min(n,o[1]),r=Math.max(r,o[2]),i=Math.max(i,o[3]);return[e,n,r,i]}const sP={card:t=>({maxWidth:"100%",marginBottom:t.spacing(1),marginRight:t.spacing(1)}),info:t=>({marginRight:t.spacing(1)}),close:{marginLeft:"auto"},cardContent:{padding:8},isoEditor:{display:"flex",flexDirection:"row"},isoTextField:{minWidth:"16em",marginLeft:"1em"},isoSlider:{minWidth:200}},cUt=({selectedDataset:t,selectedVariable:e,selectedPlaceInfo:n,variableColorBar:r,volumeId:i,volumeRenderMode:o,setVolumeRenderMode:a,volumeStates:s,updateVolumeState:l,updateVariableVolume:c,serverUrl:u})=>{let f=.5;e&&(typeof e.volumeIsoThreshold=="number"?f=e.volumeIsoThreshold:f=.5*(e.colorBarMin+e.colorBarMax),typeof e.volumeRenderMode=="string"&&(o=e.volumeRenderMode));const d=p=>{c(t.id,e.name,r,o,p)},h=(p,m)=>{m!==null&&(a(m),e&&c(t.id,e.name,r,m,f))};return w.jsxs(kne,{sx:sP.card,children:[w.jsx(Ane,{disableSpacing:!0,children:e&&w.jsxs(w.Fragment,{children:[w.jsxs(fp,{size:"small",exclusive:!0,value:o,onChange:h,children:[w.jsx(fn,{value:"mip",size:"small",children:w.jsx(Ct,{arrow:!0,title:"Maximum intensity projection",children:w.jsx("span",{children:"MIP"})})},"mip"),w.jsx(fn,{value:"aip",size:"small",children:w.jsx(Ct,{arrow:!0,title:"Average intensity projection",children:w.jsx("span",{children:"AIP"})})},"aip"),w.jsx(fn,{value:"iso",size:"small",children:w.jsx(Ct,{arrow:!0,title:"Iso-surface extraction",children:w.jsx("span",{children:"ISO"})})},"iso")]},0),o==="iso"&&w.jsx(uUt,{minValue:e.colorBarMin,maxValue:e.colorBarMax,value:f,setValue:d})]})}),w.jsx(Rne,{sx:sP.cardContent,children:w.jsx(zx,{selectedDataset:t,selectedVariable:e,selectedPlaceInfo:n,variableColorBar:r,volumeRenderMode:o,volumeIsoThreshold:f,volumeId:i,volumeStates:s,updateVolumeState:l,serverUrl:u})})]})},uUt=({value:t,minValue:e,maxValue:n,setValue:r,disabled:i})=>{const[o,a]=ue.useState(t),[s,l]=ue.useState(""+t),[c,u]=ue.useState(null);function f(m){const g=m.target.value||"";l(g);const v=parseFloat(g);Number.isNaN(v)?u("Not a number"):vn?u("Out of range"):u(null)}function d(m){if(m.key==="Enter"&&!c){const g=parseFloat(s);a(g),r(g)}}function h(m,g){a(g),l(g.toFixed(2))}function p(m,g){r(g)}return w.jsx(sr,{sx:sP.isoTextField,disabled:i,label:"Iso-Threshold",variant:"filled",size:"small",value:s,error:c!==null,onChange:f,onKeyPress:d,InputProps:{endAdornment:w.jsx(d1,{size:"small",sx:sP.isoSlider,min:e,max:n,value:o,step:(n-e)/20,onChange:h,onChangeCommitted:p})}})},fUt=t=>({locale:t.controlState.locale,selectedDataset:ei(t),selectedVariable:ds(t),selectedPlaceInfo:GM(t),variableColorBar:oB(t),volumeRenderMode:t.controlState.volumeRenderMode,volumeId:J8e(t),volumeStates:t.controlState.volumeStates,serverUrl:yo(t).url}),dUt={setVolumeRenderMode:THe,updateVolumeState:EHe,updateVariableVolume:aHe},hUt=sn(fUt,dUt)(cUt),pUt={info:w.jsx(gz,{fontSize:"inherit"}),timeSeries:w.jsx(zce,{fontSize:"inherit"}),stats:w.jsx(Bce,{fontSize:"inherit"}),volume:w.jsx(Uce,{fontSize:"inherit"})},mUt={info:"Info",timeSeries:"Time-Series",stats:"Statistics",volume:"Volume"},wZ={tabs:{minHeight:"34px"},tab:{padding:"5px 10px",textTransform:"none",fontWeight:"regular",minHeight:"32px"}},gUt=t=>({sidebarPanelId:t.controlState.sidebarPanelId}),vUt={setSidebarPanelId:bB};function yUt({sidebarPanelId:t,setSidebarPanelId:e}){return w.jsxs(tt,{sx:{width:"100%"},children:[w.jsx(tt,{sx:{borderBottom:1,borderColor:"divider"},children:w.jsx(Wj,{value:t,onChange:(n,r)=>{e(r)},variant:"scrollable",sx:wZ.tabs,children:a8e.map(n=>w.jsx(db,{icon:pUt[n],iconPosition:"start",sx:wZ.tab,disableRipple:!0,value:n,label:pe.get(mUt[n])},n))})}),t==="info"&&w.jsx(Uht,{}),t==="stats"&&w.jsx(kNt,{}),t==="timeSeries"&&w.jsx(pNt,{}),t==="volume"&&w.jsx(hUt,{})]})}const xUt=sn(gUt,vUt)(yUt),LO={containerHor:{flexGrow:1,overflow:"hidden"},containerVer:{flexGrow:1,overflowX:"hidden",overflowY:"auto"},viewerHor:{height:"100%",overflow:"hidden",padding:0},viewerVer:{width:"100%",overflow:"hidden",padding:0},sidebarHor:{flex:"auto",overflowX:"hidden",overflowY:"auto"},sidebarVer:{width:"100%",overflow:"hidden"},viewer:{overflow:"hidden",width:"100%",height:"100%"}},bUt=t=>({sidebarOpen:t.controlState.sidebarOpen,sidebarPosition:t.controlState.sidebarPosition}),_Ut={setSidebarPosition:CHe},SZ=()=>window.innerWidth/window.innerHeight>=1?"hor":"ver";function wUt({sidebarOpen:t,sidebarPosition:e,setSidebarPosition:n}){const[r,i]=k.useState(null),[o,a]=k.useState(SZ()),s=k.useRef(null),l=Wo();k.useEffect(()=>(c(),s.current=new ResizeObserver(c),s.current.observe(document.documentElement),()=>{s.current&&s.current.disconnect()}),[]),k.useEffect(()=>{r&&r.updateSize()},[r,e]);const c=()=>{a(SZ())},u=o==="hor"?"Hor":"Ver";return t?w.jsxs(Znt,{dir:o,splitPosition:e,setSplitPosition:n,style:LO["container"+u],child1Style:LO["viewer"+u],child2Style:LO["sidebar"+u],children:[w.jsx(YH,{onMapRef:i,theme:l}),w.jsx(xUt,{})]}):w.jsx("div",{style:LO.viewer,children:w.jsx(YH,{onMapRef:i,theme:l})})}const SUt=sn(bUt,_Ut)(wUt);var ak={exports:{}},vve={};function yve(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const n=(t=window.document)===null||t===void 0||(t=t.documentElement)===null||t===void 0?void 0:t.style;if(!n||e in n)return"";for(let r=0;re===n.identifier)||t.changedTouches&&(0,va.findInArray)(t.changedTouches,n=>e===n.identifier)}function GUt(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier}function HUt(t){if(!t)return;let e=t.getElementById("react-draggable-style-el");e||(e=t.createElement("style"),e.type="text/css",e.id="react-draggable-style-el",e.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} -`,e.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,t.getElementsByTagName("head")[0].appendChild(e)),t.body&&Sve(t.body,"react-draggable-transparent-selection")}function qUt(t){if(t)try{if(t.body&&Ove(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{const e=(t.defaultView||window).getSelection();e&&e.type!=="Caret"&&e.removeAllRanges()}}catch{}}function Sve(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function Ove(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}var ic={};Object.defineProperty(ic,"__esModule",{value:!0});ic.canDragX=YUt;ic.canDragY=KUt;ic.createCoreData=JUt;ic.createDraggableData=e6t;ic.getBoundPosition=XUt;ic.getControlPosition=ZUt;ic.snapToGrid=QUt;var ta=rc,Qm=wr;function XUt(t,e,n){if(!t.props.bounds)return[e,n];let{bounds:r}=t.props;r=typeof r=="string"?r:t6t(r);const i=RU(t);if(typeof r=="string"){const{ownerDocument:o}=i,a=o.defaultView;let s;if(r==="parent"?s=i.parentNode:s=o.querySelector(r),!(s instanceof a.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');const l=s,c=a.getComputedStyle(i),u=a.getComputedStyle(l);r={left:-i.offsetLeft+(0,ta.int)(u.paddingLeft)+(0,ta.int)(c.marginLeft),top:-i.offsetTop+(0,ta.int)(u.paddingTop)+(0,ta.int)(c.marginTop),right:(0,Qm.innerWidth)(l)-(0,Qm.outerWidth)(i)-i.offsetLeft+(0,ta.int)(u.paddingRight)-(0,ta.int)(c.marginRight),bottom:(0,Qm.innerHeight)(l)-(0,Qm.outerHeight)(i)-i.offsetTop+(0,ta.int)(u.paddingBottom)-(0,ta.int)(c.marginBottom)}}return(0,ta.isNum)(r.right)&&(e=Math.min(e,r.right)),(0,ta.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,ta.isNum)(r.left)&&(e=Math.max(e,r.left)),(0,ta.isNum)(r.top)&&(n=Math.max(n,r.top)),[e,n]}function QUt(t,e,n){const r=Math.round(e/t[0])*t[0],i=Math.round(n/t[1])*t[1];return[r,i]}function YUt(t){return t.props.axis==="both"||t.props.axis==="x"}function KUt(t){return t.props.axis==="both"||t.props.axis==="y"}function ZUt(t,e,n){const r=typeof e=="number"?(0,Qm.getTouch)(t,e):null;if(typeof e=="number"&&!r)return null;const i=RU(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,Qm.offsetXYFromParent)(r||t,o,n.props.scale)}function JUt(t,e,n){const r=!(0,ta.isNum)(t.lastX),i=RU(t);return r?{node:i,deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}:{node:i,deltaX:e-t.lastX,deltaY:n-t.lastY,lastX:t.lastX,lastY:t.lastY,x:e,y:n}}function e6t(t,e){const n=t.props.scale;return{node:e.node,x:t.state.x+e.deltaX/n,y:t.state.y+e.deltaY/n,deltaX:e.deltaX/n,deltaY:e.deltaY/n,lastX:t.state.x,lastY:t.state.y}}function t6t(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}function RU(t){const e=t.findDOMNode();if(!e)throw new Error(": Unmounted during event!");return e}var sk={},lk={};Object.defineProperty(lk,"__esModule",{value:!0});lk.default=n6t;function n6t(){}Object.defineProperty(sk,"__esModule",{value:!0});sk.default=void 0;var HI=i6t(k),_o=IU(GF),r6t=IU(Rv),Fi=wr,$u=ic,qI=rc,T0=IU(lk);function IU(t){return t&&t.__esModule?t:{default:t}}function Cve(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Cve=function(r){return r?n:e})(t)}function i6t(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=Cve(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function oo(t,e,n){return e=o6t(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o6t(t){var e=a6t(t,"string");return typeof e=="symbol"?e:String(e)}function a6t(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const Es={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Nu=Es.mouse,ck=class extends HI.Component{constructor(){super(...arguments),oo(this,"dragging",!1),oo(this,"lastX",NaN),oo(this,"lastY",NaN),oo(this,"touchIdentifier",null),oo(this,"mounted",!1),oo(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&typeof e.button=="number"&&e.button!==0)return!1;const n=this.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:r}=n;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,Fi.matchesSelectorAndParentsTo)(e.target,this.props.handle,n)||this.props.cancel&&(0,Fi.matchesSelectorAndParentsTo)(e.target,this.props.cancel,n))return;e.type==="touchstart"&&e.preventDefault();const i=(0,Fi.getTouchIdentifier)(e);this.touchIdentifier=i;const o=(0,$u.getControlPosition)(e,i,this);if(o==null)return;const{x:a,y:s}=o,l=(0,$u.createCoreData)(this,a,s);(0,T0.default)("DraggableCore: handleDragStart: %j",l),(0,T0.default)("calling",this.props.onStart),!(this.props.onStart(e,l)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Fi.addUserSelectStyles)(r),this.dragging=!0,this.lastX=a,this.lastY=s,(0,Fi.addEvent)(r,Nu.move,this.handleDrag),(0,Fi.addEvent)(r,Nu.stop,this.handleDragStop))}),oo(this,"handleDrag",e=>{const n=(0,$u.getControlPosition)(e,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let s=r-this.lastX,l=i-this.lastY;if([s,l]=(0,$u.snapToGrid)(this.props.grid,s,l),!s&&!l)return;r=this.lastX+s,i=this.lastY+l}const o=(0,$u.createCoreData)(this,r,i);if((0,T0.default)("DraggableCore: handleDrag: %j",o),this.props.onDrag(e,o)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const l=document.createEvent("MouseEvents");l.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(l)}return}this.lastX=r,this.lastY=i}),oo(this,"handleDragStop",e=>{if(!this.dragging)return;const n=(0,$u.getControlPosition)(e,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let l=r-this.lastX||0,c=i-this.lastY||0;[l,c]=(0,$u.snapToGrid)(this.props.grid,l,c),r=this.lastX+l,i=this.lastY+c}const o=(0,$u.createCoreData)(this,r,i);if(this.props.onStop(e,o)===!1||this.mounted===!1)return!1;const s=this.findDOMNode();s&&this.props.enableUserSelectHack&&(0,Fi.removeUserSelectStyles)(s.ownerDocument),(0,T0.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,s&&((0,T0.default)("DraggableCore: Removing handlers"),(0,Fi.removeEvent)(s.ownerDocument,Nu.move,this.handleDrag),(0,Fi.removeEvent)(s.ownerDocument,Nu.stop,this.handleDragStop))}),oo(this,"onMouseDown",e=>(Nu=Es.mouse,this.handleDragStart(e))),oo(this,"onMouseUp",e=>(Nu=Es.mouse,this.handleDragStop(e))),oo(this,"onTouchStart",e=>(Nu=Es.touch,this.handleDragStart(e))),oo(this,"onTouchEnd",e=>(Nu=Es.touch,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,Fi.addEvent)(e,Es.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:n}=e;(0,Fi.removeEvent)(n,Es.mouse.move,this.handleDrag),(0,Fi.removeEvent)(n,Es.touch.move,this.handleDrag),(0,Fi.removeEvent)(n,Es.mouse.stop,this.handleDragStop),(0,Fi.removeEvent)(n,Es.touch.stop,this.handleDragStop),(0,Fi.removeEvent)(e,Es.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Fi.removeUserSelectStyles)(n)}}findDOMNode(){var e,n;return(e=this.props)!==null&&e!==void 0&&e.nodeRef?(n=this.props)===null||n===void 0||(n=n.nodeRef)===null||n===void 0?void 0:n.current:r6t.default.findDOMNode(this)}render(){return HI.cloneElement(HI.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};sk.default=ck;oo(ck,"displayName","DraggableCore");oo(ck,"propTypes",{allowAnyClick:_o.default.bool,children:_o.default.node.isRequired,disabled:_o.default.bool,enableUserSelectHack:_o.default.bool,offsetParent:function(t,e){if(t[e]&&t[e].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:_o.default.arrayOf(_o.default.number),handle:_o.default.string,cancel:_o.default.string,nodeRef:_o.default.object,onStart:_o.default.func,onDrag:_o.default.func,onStop:_o.default.func,onMouseDown:_o.default.func,scale:_o.default.number,className:qI.dontSetMe,style:qI.dontSetMe,transform:qI.dontSetMe});oo(ck,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1});(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return l.default}}),t.default=void 0;var e=d(k),n=u(GF),r=u(Rv),i=u(CUt),o=wr,a=ic,s=rc,l=u(sk),c=u(lk);function u(y){return y&&y.__esModule?y:{default:y}}function f(y){if(typeof WeakMap!="function")return null;var x=new WeakMap,b=new WeakMap;return(f=function(_){return _?b:x})(y)}function d(y,x){if(!x&&y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var b=f(x);if(b&&b.has(y))return b.get(y);var _={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in y)if(O!=="default"&&Object.prototype.hasOwnProperty.call(y,O)){var C=S?Object.getOwnPropertyDescriptor(y,O):null;C&&(C.get||C.set)?Object.defineProperty(_,O,C):_[O]=y[O]}return _.default=y,b&&b.set(y,_),_}function h(){return h=Object.assign?Object.assign.bind():function(y){for(var x=1;x{if((0,c.default)("Draggable: onDragStart: %j",_),this.props.onStart(b,(0,a.createDraggableData)(this,_))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),p(this,"onDrag",(b,_)=>{if(!this.state.dragging)return!1;(0,c.default)("Draggable: onDrag: %j",_);const S=(0,a.createDraggableData)(this,_),O={x:S.x,y:S.y,slackX:0,slackY:0};if(this.props.bounds){const{x:E,y:M}=O;O.x+=this.state.slackX,O.y+=this.state.slackY;const[I,P]=(0,a.getBoundPosition)(this,O.x,O.y);O.x=I,O.y=P,O.slackX=this.state.slackX+(E-O.x),O.slackY=this.state.slackY+(M-O.y),S.x=O.x,S.y=O.y,S.deltaX=O.x-this.state.x,S.deltaY=O.y-this.state.y}if(this.props.onDrag(b,S)===!1)return!1;this.setState(O)}),p(this,"onDragStop",(b,_)=>{if(!this.state.dragging||this.props.onStop(b,(0,a.createDraggableData)(this,_))===!1)return!1;(0,c.default)("Draggable: onDragStop: %j",_);const O={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:E,y:M}=this.props.position;O.x=E,O.y=M}this.setState(O)}),this.state={dragging:!1,dragged:!1,x:x.position?x.position.x:x.defaultPosition.x,y:x.position?x.position.y:x.defaultPosition.y,prevPropsPosition:{...x.position},slackX:0,slackY:0,isElementSVG:!1},x.position&&!(x.onDrag||x.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var x,b;return(x=(b=this.props)===null||b===void 0||(b=b.nodeRef)===null||b===void 0?void 0:b.current)!==null&&x!==void 0?x:r.default.findDOMNode(this)}render(){const{axis:x,bounds:b,children:_,defaultPosition:S,defaultClassName:O,defaultClassNameDragging:C,defaultClassNameDragged:E,position:M,positionOffset:I,scale:P,...R}=this.props;let T={},D=null;const B=!!!M||this.state.dragging,W=M||S,z={x:(0,a.canDragX)(this)&&B?this.state.x:W.x,y:(0,a.canDragY)(this)&&B?this.state.y:W.y};this.state.isElementSVG?D=(0,o.createSVGTransform)(z,I):T=(0,o.createCSSTransform)(z,I);const $=(0,i.default)(_.props.className||"",O,{[C]:this.state.dragging,[E]:this.state.dragged});return e.createElement(l.default,h({},R,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),e.cloneElement(e.Children.only(_),{className:$,style:{..._.props.style,...T},transform:D}))}}t.default=v,p(v,"displayName","Draggable"),p(v,"propTypes",{...l.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe}),p(v,"defaultProps",{...l.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})})(vve);const{default:Tve,DraggableCore:s6t}=vve;ak.exports=Tve;ak.exports.default=Tve;ak.exports.DraggableCore=s6t;var l6t=ak.exports;const c6t=$t(l6t);var DU={},u6t=pt;Object.defineProperty(DU,"__esModule",{value:!0});var LU=DU.default=void 0,f6t=u6t(mt()),d6t=w;LU=DU.default=(0,f6t.default)((0,d6t.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");function Eve({title:t,subtitle:e,disabled:n,selected:r,onClick:i}){return r?w.jsxs(Yr,{onClick:i,disabled:n,children:[w.jsx(Gne,{children:w.jsx(LU,{})}),w.jsx(qa,{primary:t,secondary:e})]}):w.jsx(Yr,{onClick:i,disabled:n,children:w.jsx(qa,{inset:!0,primary:t,secondary:e})})}function pc({layerId:t,layerTitles:e,layerSubtitles:n,layerDisablements:r,layerVisibilities:i,setLayerVisibility:o}){const a=!!i[t];return w.jsx(Eve,{title:pe.get(e[t]),subtitle:n[t],disabled:r[t],selected:a,onClick:()=>o(t,!a)})}const h6t={x:10,y:180},XI={windowPaper:{position:"absolute",zIndex:1e3},windowHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"move",paddingTop:1,paddingLeft:1,paddingRight:1},windowTitle:{fontWeight:"bolder"}};function p6t(t){const[e,n]=k.useState(h6t),{layerMenuOpen:r,setLayerMenuOpen:i,openDialog:o,variableCompareMode:a,setVariableCompareMode:s,...l}=t,c=()=>{o("userOverlays")},u=()=>{o("userBaseMaps")},f=()=>{i(!1)},d=(h,p)=>{n({...p})};return r?w.jsx(c6t,{handle:"#layer-select-header",position:e,onStop:d,children:w.jsxs(Di,{elevation:10,sx:XI.windowPaper,children:[w.jsxs(tt,{id:"layer-select-header",sx:XI.windowHeader,children:[w.jsx(tt,{component:"span",sx:XI.windowTitle,children:pe.get("Layers")}),w.jsx(Et,{size:"small",onClick:f,children:w.jsx(_p,{fontSize:"inherit"})})]}),w.jsxs(qne,{dense:!0,children:[w.jsx(cg,{}),w.jsx(pc,{layerId:"baseMap",...l}),w.jsx(pc,{layerId:"datasetRgb2",...l}),w.jsx(pc,{layerId:"datasetRgb",...l}),w.jsx(pc,{layerId:"datasetVariable2",...l}),w.jsx(pc,{layerId:"datasetVariable",...l}),w.jsx(pc,{layerId:"datasetBoundary",...l}),w.jsx(pc,{layerId:"datasetPlaces",...l}),w.jsx(pc,{layerId:"userPlaces",...l}),w.jsx(pc,{layerId:"overlay",...l}),w.jsx(cg,{}),w.jsx(Eve,{title:pe.get("Compare Mode (Swipe)"),selected:a,onClick:()=>s(!a)}),w.jsx(cg,{}),w.jsx(Yr,{onClick:u,children:pe.get("User Base Maps")+"..."}),w.jsx(Yr,{onClick:c,children:pe.get("User Overlays")+"..."})]})]})}):null}const m6t=t=>({locale:t.controlState.locale,layerMenuOpen:t.controlState.layerMenuOpen,layerTitles:Cae(),layerSubtitles:Tae(t),layerDisablements:Eae(t),layerVisibilities:Xoe(t),variableCompareMode:t.controlState.variableCompareMode}),g6t={openDialog:xp,setLayerMenuOpen:gse,setLayerVisibility:ise,setVariableCompareMode:ase},v6t=sn(m6t,g6t)(p6t),y6t=t=>({locale:t.controlState.locale,hasConsent:t.controlState.privacyNoticeAccepted,compact:Wt.instance.branding.compact}),x6t={},b6t=be("main")(({theme:t})=>({padding:0,width:"100vw",height:"100vh",overflow:"hidden",display:"flex",flexDirection:"column",alignItems:"stretch",[t.breakpoints.up("md")]:{overflow:"hidden"}})),_6t=({hasConsent:t,compact:e})=>w.jsxs(b6t,{children:[!e&&w.jsx(yM,{variant:"dense"}),t&&w.jsxs(w.Fragment,{children:[w.jsx(Ynt,{}),w.jsx(SUt,{}),w.jsx(v6t,{})]})]}),w6t=sn(y6t,x6t)(_6t),S6t={icon:t=>({marginRight:t.spacing(2)})};function O6t({open:t,settings:e,updateSettings:n,syncWithServer:r}){const[i,o]=k.useState(null);if(k.useEffect(()=>{const l=pe.get("docs/privacy-note.en.md");fetch(l).then(c=>c.text()).then(c=>o(c))}),!t)return null;function a(){n({...e,privacyNoticeAccepted:!0}),r()}function s(){try{window.history.length>0?window.history.back():typeof window.home=="function"?window.home():window.location.href="about:home"}catch(l){console.error(l)}}return w.jsxs(qs,{open:t,disableEscapeKeyDown:!0,keepMounted:!0,scroll:"body",children:[w.jsx(rd,{children:pe.get("Privacy Notice")}),w.jsx(zs,{children:w.jsx(a2e,{children:i===null?w.jsx(Fv,{}):w.jsx(JM,{children:i,linkTarget:"_blank"})})}),w.jsxs(lp,{children:[w.jsxs(Jn,{onClick:a,children:[w.jsx(LU,{sx:S6t.icon}),pe.get("Accept and continue")]}),w.jsx(Jn,{onClick:s,children:pe.get("Leave")})]})]})}const C6t=t=>({open:!t.controlState.privacyNoticeAccepted,settings:t.controlState}),T6t={updateSettings:F1,syncWithServer:gB},E6t=sn(C6t,T6t)(O6t),P6t=fi(Fv)(({theme:t})=>({margin:t.spacing(2)})),M6t=fi(zt)(({theme:t})=>({margin:t.spacing(1)})),k6t=fi("div")(({theme:t})=>({margin:t.spacing(1),textAlign:"center",display:"flex",alignItems:"center",flexDirection:"column"}));function A6t({messages:t}){return t.length===0?null:w.jsxs(qs,{open:!0,"aria-labelledby":"loading",children:[w.jsx(rd,{id:"loading",children:pe.get("Please wait...")}),w.jsxs(k6t,{children:[w.jsx(P6t,{}),t.map((e,n)=>w.jsx(M6t,{children:e},n))]})]})}const R6t=t=>({locale:t.controlState.locale,messages:OGe(t)}),I6t={},D6t=sn(R6t,I6t)(A6t);var $U={},L6t=pt;Object.defineProperty($U,"__esModule",{value:!0});var Pve=$U.default=void 0,$6t=L6t(mt()),N6t=w;Pve=$U.default=(0,$6t.default)((0,N6t.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");var NU={},F6t=pt;Object.defineProperty(NU,"__esModule",{value:!0});var Mve=NU.default=void 0,j6t=F6t(mt()),B6t=w;Mve=NU.default=(0,j6t.default)((0,B6t.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning");var FU={},z6t=pt;Object.defineProperty(FU,"__esModule",{value:!0});var kve=FU.default=void 0,U6t=z6t(mt()),W6t=w;kve=FU.default=(0,U6t.default)((0,W6t.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");const V6t={success:kve,warning:Mve,error:Pve,info:gz},G6t=fi("span")(()=>({display:"flex",alignItems:"center"})),NO={close:{p:.5},success:t=>({color:t.palette.error.contrastText,backgroundColor:Oc[600]}),error:t=>({color:t.palette.error.contrastText,backgroundColor:t.palette.error.dark}),info:t=>({color:t.palette.error.contrastText,backgroundColor:t.palette.primary.dark}),warning:t=>({color:t.palette.error.contrastText,backgroundColor:rte[700]}),icon:{fontSize:20},iconVariant:t=>({opacity:.9,marginRight:t.spacing(1),fontSize:20}),message:{display:"flex",alignItems:"center"}},H6t={vertical:"bottom",horizontal:"center"};function q6t({className:t,message:e,hideMessage:n}){const r=()=>{n(e.id)};if(!e)return null;const i=V6t[e.type];return w.jsx(kIe,{open:!0,anchorOrigin:H6t,autoHideDuration:5e3,onClose:r,children:w.jsx(nre,{sx:NO[e.type],className:t,"aria-describedby":"client-snackbar",message:w.jsxs(G6t,{id:"client-snackbar",children:[w.jsx(i,{sx:NO.iconVariant}),e.text]}),action:[w.jsx(Et,{"aria-label":"Close",color:"inherit",sx:NO.close,onClick:r,size:"large",children:w.jsx(_p,{sx:NO.icon})},"close")]})},e.type+":"+e.text)}const X6t=t=>{const e=t.messageLogState.newEntries;return{locale:t.controlState.locale,message:e.length>0?e[0]:null}},Q6t={hideMessage:AGe},Y6t=sn(X6t,Q6t)(q6t);var jU={},K6t=pt;Object.defineProperty(jU,"__esModule",{value:!0});var lP=jU.default=void 0,Z6t=K6t(mt()),J6t=w;lP=jU.default=(0,Z6t.default)((0,J6t.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var BU={},eWt=pt;Object.defineProperty(BU,"__esModule",{value:!0});var zU=BU.default=void 0,tWt=eWt(mt()),nWt=w;zU=BU.default=(0,tWt.default)((0,nWt.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");const gm={formControl:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:200}),textField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:200}),textField2:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:400}),button:t=>({margin:t.spacing(.1)})};function rWt({open:t,servers:e,selectedServer:n,closeDialog:r,configureServers:i}){const o=k.useRef(!1),[a,s]=k.useState(e),[l,c]=k.useState(n),[u,f]=k.useState("select");k.useEffect(()=>{o.current&&(s(e),c(n)),o.current=!0},[e,n]);const d=()=>{u==="select"?(r("server"),i(a,l.id)):u==="add"?E():u==="edit"&&M()},h=()=>{u==="select"?_():I()},p=()=>{_()},m=B=>{const W=B.target.value,z=a.find($=>$.id===W);c(z)},g=B=>{const W=B.target.value,z={...l,name:W};c(z)},v=B=>{const W=B.target.value,z={...l,url:W};c(z)},y=()=>{f("add")},x=()=>{f("edit")},b=()=>{P()},_=()=>{r("server")},S=()=>{const B=l.id;return a.findIndex(W=>W.id===B)},O=(B,W)=>{const z=[...a];z[B]=W,s(z),c(W),f("select")},C=(B,W)=>{s(B),c(W),f("select")},E=()=>{const B={...l,id:Wl("server-")},W=[...a,B];C(W,B)},M=()=>{O(S(),{...l})},I=()=>{const B=S();O(S(),a[B])},P=()=>{const B=[...a];if(B.length<2)throw new Error("internal error: server list cannot be emptied");const W=S(),z=B[W+(W>0?-1:1)];B.splice(W,1),C(B,z)},R=a.map((B,W)=>w.jsx(Yr,{value:B.id,children:B.name},W));let T;u==="add"?T=pe.get("Add"):u==="edit"?T=pe.get("Save"):T=pe.get("OK");let D;u==="add"?D=pe.get("Add Server"):u==="edit"?D=pe.get("Edit Server"):D=pe.get("Select Server");let U;return u==="add"||u==="edit"?U=w.jsxs(zs,{dividers:!0,children:[w.jsx(sr,{variant:"standard",required:!0,id:"server-name",label:"Name",sx:gm.textField,margin:"normal",value:l.name,onChange:g}),w.jsx("br",{}),w.jsx(sr,{variant:"standard",required:!0,id:"server-url",label:"URL",sx:gm.textField2,margin:"normal",value:l.url,onChange:v})]}):U=w.jsx(zs,{dividers:!0,children:w.jsxs("div",{children:[w.jsxs(jv,{variant:"standard",sx:gm.formControl,children:[w.jsx(Bv,{htmlFor:"server-name",children:"Name"}),w.jsx(up,{variant:"standard",value:l.id,onChange:m,inputProps:{name:"server-name",id:"server-name"},children:R}),w.jsx(Fne,{children:l.url})]}),w.jsx(Et,{sx:gm.button,"aria-label":"Add",color:"primary",onClick:y,size:"large",children:w.jsx(lP,{fontSize:"small"})}),w.jsx(Et,{sx:gm.button,"aria-label":"Edit",onClick:x,size:"large",children:w.jsx(wp,{fontSize:"small"})}),w.jsx(Et,{sx:gm.button,"aria-label":"Delete",disabled:a.length<2,onClick:b,size:"large",children:w.jsx(zU,{fontSize:"small"})})]})}),w.jsxs(qs,{open:t,onClose:p,"aria-labelledby":"server-dialog-title",children:[w.jsx(rd,{id:"server-dialog-title",children:D}),U,w.jsxs(lp,{children:[w.jsx(Jn,{onClick:h,children:pe.get("Cancel")}),w.jsx(Jn,{onClick:d,autoFocus:!0,children:T})]})]})}const iWt=t=>({open:!!t.controlState.dialogOpen.server,servers:koe(t),selectedServer:yo(t)}),oWt={closeDialog:ey,configureServers:tHe},aWt=sn(iWt,oWt)(rWt),QI={settingsPanelTitle:t=>({marginBottom:t.spacing(1)}),settingsPanelPaper:t=>({backgroundColor:(t.palette.mode==="dark"?Ute:zte)(t.palette.background.paper,.1),marginBottom:t.spacing(2)}),settingsPanelList:{margin:0}},Mm=({title:t,children:e})=>{const n=ue.Children.count(e),r=[];return ue.Children.forEach(e,(i,o)=>{r.push(i),o{let i;e||(i={marginBottom:10});const o=w.jsx(qa,{primary:t,secondary:e});let a;return r&&(a=w.jsx(lT,{children:r})),n?w.jsxs(Wne,{style:i,onClick:n,children:[o,a]}):w.jsxs(yx,{style:i,children:[o,a]})},vf=({propertyName:t,settings:e,updateSettings:n,disabled:r})=>w.jsx(QIe,{checked:!!e[t],onChange:()=>n({...e,[t]:!e[t]}),disabled:r}),sWt=({propertyName:t,settings:e,updateSettings:n,options:r,disabled:i})=>{const o=(a,s)=>{n({...e,[t]:s})};return w.jsx(Fj,{row:!0,value:e[t],onChange:o,children:r.map(([a,s])=>w.jsx(gx,{control:w.jsx(xx,{}),value:s,label:a,disabled:i},a))})},TZ=({anchorElement:t,layers:e,selectedLayerId:n,setSelectedLayerId:r,onClose:i})=>w.jsx(f1,{anchorEl:t,keepMounted:!0,open:!!t,onClose:i,children:t&&e.map(o=>w.jsx(Yr,{selected:o.id===n,onClick:()=>r(o.id===n?null:o.id),dense:!0,children:w.jsx(qa,{primary:RT(o)})},o.id))}),E0={textField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2}),intTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2,width:t.spacing(6)}),localeAvatar:{margin:10}},EZ=[["doNothing","Do nothing"],["pan","Pan"],["panAndZoom","Pan and zoom"]],lWt=[["point","Points"],["line","Lines"],["bar","Bars"]],cWt=({open:t,closeDialog:e,settings:n,selectedServer:r,baseMapLayers:i,overlayLayers:o,updateSettings:a,changeLocale:s,openDialog:l,viewerVersion:c,serverInfo:u})=>{const[f,d]=ue.useState(null),[h,p]=ue.useState(null),[m,g]=ue.useState(null),[v,y]=ue.useState(n.timeChunkSize+"");if(ue.useEffect(()=>{const A=parseInt(v);!Number.isNaN(A)&&A!==n.timeChunkSize&&a({timeChunkSize:A})},[v,n,a]),!t)return null;function x(){e("settings")}function b(){l("server")}function _(A){a({timeAnimationInterval:parseInt(A.target.value)})}function S(A){a({timeSeriesChartTypeDefault:A.target.value})}function O(A){a({datasetLocateMode:A.target.value})}function C(A){a({placeLocateMode:A.target.value})}function E(A){y(A.target.value)}let M=null;f&&(M=Object.getOwnPropertyNames(pe.languages).map(A=>{const q=pe.languages[A];return w.jsx(Yr,{selected:A===n.locale,onClick:()=>s(A),children:w.jsx(qa,{primary:q})},A)}));function I(A){d(A.currentTarget)}function P(){d(null)}function R(A){p(A.currentTarget)}function T(){p(null)}const D=A=>{A.stopPropagation(),l("userBaseMaps")},U=IT(i,n.selectedBaseMapId),B=RT(U);function W(A){g(A.currentTarget)}function z(){g(null)}const $=A=>{A.stopPropagation(),l("userOverlays")},N=IT(o,n.selectedOverlayId),L=RT(N);return w.jsxs("div",{children:[w.jsxs(qs,{open:t,fullWidth:!0,maxWidth:"sm",onClose:x,scroll:"body",children:[w.jsx(rd,{children:pe.get("Settings")}),w.jsxs(zs,{children:[w.jsxs(Mm,{title:pe.get("General"),children:[w.jsx(dr,{label:pe.get("Server"),value:r.name,onClick:b}),w.jsx(dr,{label:pe.get("Language"),value:pe.languages[n.locale],onClick:I}),w.jsx(dr,{label:pe.get("Time interval of the player"),children:w.jsx(sr,{variant:"standard",select:!0,sx:E0.textField,value:n.timeAnimationInterval,onChange:_,margin:"normal",children:o8e.map((A,q)=>w.jsx(Yr,{value:A,children:A+" ms"},q))})})]}),w.jsxs(Mm,{title:pe.get("Time-Series"),children:[w.jsx(dr,{label:pe.get("Show chart after adding a place"),value:FO(n.autoShowTimeSeries),children:w.jsx(vf,{propertyName:"autoShowTimeSeries",settings:n,updateSettings:a})}),w.jsx(dr,{label:pe.get("Default chart type"),children:w.jsx(sr,{variant:"standard",select:!0,sx:E0.textField,value:n.timeSeriesChartTypeDefault,onChange:S,margin:"normal",children:lWt.map(([A,q])=>w.jsx(Yr,{value:A,children:pe.get(q)},A))})}),w.jsx(dr,{label:pe.get("Calculate standard deviation"),value:FO(n.timeSeriesIncludeStdev),children:w.jsx(vf,{propertyName:"timeSeriesIncludeStdev",settings:n,updateSettings:a})}),w.jsx(dr,{label:pe.get("Calculate median instead of mean (disables standard deviation)"),value:FO(n.timeSeriesUseMedian),children:w.jsx(vf,{propertyName:"timeSeriesUseMedian",settings:n,updateSettings:a})}),w.jsx(dr,{label:pe.get("Minimal number of data points in a time series update"),children:w.jsx(sr,{variant:"standard",sx:E0.intTextField,value:v,onChange:E,margin:"normal",size:"small"})})]}),w.jsxs(Mm,{title:pe.get("Map"),children:[w.jsx(dr,{label:pe.get("Base map"),value:B,onClick:R,children:w.jsx(Jn,{onClick:D,children:pe.get("User Base Maps")+"..."})}),w.jsx(dr,{label:pe.get("Overlay"),value:L,onClick:W,children:w.jsx(Jn,{onClick:$,children:pe.get("User Overlays")+"..."})}),w.jsx(dr,{label:pe.get("Projection"),children:w.jsx(sWt,{propertyName:"mapProjection",settings:n,updateSettings:a,options:[[pe.get("Geographic"),E1],[pe.get("Mercator"),q5]]})}),w.jsx(dr,{label:pe.get("Image smoothing"),value:FO(n.imageSmoothingEnabled),children:w.jsx(vf,{propertyName:"imageSmoothingEnabled",settings:n,updateSettings:a})}),w.jsx(dr,{label:pe.get("On dataset selection"),children:w.jsx(sr,{variant:"standard",select:!0,sx:E0.textField,value:n.datasetLocateMode,onChange:O,margin:"normal",children:EZ.map(([A,q])=>w.jsx(Yr,{value:A,children:pe.get(q)},A))})}),w.jsx(dr,{label:pe.get("On place selection"),children:w.jsx(sr,{variant:"standard",select:!0,sx:E0.textField,value:n.placeLocateMode,onChange:C,margin:"normal",children:EZ.map(([A,q])=>w.jsx(Yr,{value:A,children:pe.get(q)},A))})})]}),w.jsx(Mm,{title:pe.get("Legal Agreement"),children:w.jsx(dr,{label:pe.get("Privacy notice"),value:n.privacyNoticeAccepted?pe.get("Accepted"):"",children:w.jsx(Jn,{disabled:!n.privacyNoticeAccepted,onClick:()=>{a({privacyNoticeAccepted:!1}),window.location.reload()},children:pe.get("Revoke consent")})})}),w.jsxs(Mm,{title:pe.get("System Information"),children:[w.jsx(dr,{label:`xcube Viewer ${pe.get("version")}`,value:c}),w.jsx(dr,{label:`xcube Server ${pe.get("version")}`,value:u?u.version:pe.get("Cannot reach server")})]})]})]}),w.jsx(f1,{anchorEl:f,keepMounted:!0,open:!!f,onClose:P,children:M}),w.jsx(TZ,{anchorElement:h,layers:i,selectedLayerId:n.selectedBaseMapId,setSelectedLayerId:A=>a({selectedBaseMapId:A}),onClose:T}),w.jsx(TZ,{anchorElement:m,layers:o,selectedLayerId:n.selectedOverlayId,setSelectedLayerId:A=>a({selectedOverlayId:A}),onClose:z})]})},FO=t=>t?pe.get("On"):pe.get("Off"),uWt="1.3.0-dev.0",fWt=t=>({locale:t.controlState.locale,open:t.controlState.dialogOpen.settings,settings:t.controlState,baseMapLayers:lB(t),overlayLayers:cB(t),selectedServer:yo(t),viewerVersion:uWt,serverInfo:t.dataState.serverInfo}),dWt={closeDialog:ey,updateSettings:F1,changeLocale:Ese,openDialog:xp},hWt=sn(fWt,dWt)(cWt),PZ={separatorTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2,maxWidth:"6em"}),fileNameTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2})},pWt=({open:t,closeDialog:e,settings:n,updateSettings:r,downloadTimeSeries:i})=>{const o=()=>{e("export")};function a(c){r({exportFileName:c.target.value})}function s(c){r({exportTimeSeriesSeparator:c.target.value})}const l=()=>{o(),i()};return w.jsx("div",{children:w.jsxs(qs,{open:t,fullWidth:!0,maxWidth:"xs",onClose:o,scroll:"body",children:[w.jsx(zs,{children:w.jsxs(Mm,{title:pe.get("Export Settings"),children:[w.jsx(dr,{label:pe.get("Include time-series data")+" (*.txt)",value:jO(n.exportTimeSeries),children:w.jsx(vf,{propertyName:"exportTimeSeries",settings:n,updateSettings:r})}),w.jsx(dr,{label:pe.get("Separator for time-series data"),children:w.jsx(sr,{variant:"standard",sx:PZ.separatorTextField,value:n.exportTimeSeriesSeparator,onChange:s,disabled:!n.exportTimeSeries,margin:"normal",size:"small"})}),w.jsx(dr,{label:pe.get("Include places data")+" (*.geojson)",value:jO(n.exportPlaces),children:w.jsx(vf,{propertyName:"exportPlaces",settings:n,updateSettings:r})}),w.jsx(dr,{label:pe.get("Combine place data in one file"),value:jO(n.exportPlacesAsCollection),children:w.jsx(vf,{propertyName:"exportPlacesAsCollection",settings:n,updateSettings:r,disabled:!n.exportPlaces})}),w.jsx(dr,{label:pe.get("As ZIP archive"),value:jO(n.exportZipArchive),children:w.jsx(vf,{propertyName:"exportZipArchive",settings:n,updateSettings:r})}),w.jsx(dr,{label:pe.get("File name"),children:w.jsx(sr,{variant:"standard",sx:PZ.fileNameTextField,value:n.exportFileName,onChange:a,margin:"normal",size:"small"})})]})}),w.jsx(lp,{children:w.jsx(Jn,{onClick:l,disabled:!vWt(n),children:pe.get("Download")})})]})})},jO=t=>t?pe.get("On"):pe.get("Off"),mWt=t=>/^[0-9a-zA-Z_-]+$/.test(t),gWt=t=>t.toUpperCase()==="TAB"||t.length===1,vWt=t=>(t.exportTimeSeries||t.exportPlaces)&&mWt(t.exportFileName)&&(!t.exportTimeSeries||gWt(t.exportTimeSeriesSeparator)),yWt=t=>({locale:t.controlState.locale,open:!!t.controlState.dialogOpen.export,settings:t.controlState}),xWt={closeDialog:ey,updateSettings:F1,downloadTimeSeries:sHe},bWt=sn(yWt,xWt)(pWt);var UU={},_Wt=pt;Object.defineProperty(UU,"__esModule",{value:!0});var Ave=UU.default=void 0,wWt=_Wt(mt()),SWt=w;Ave=UU.default=(0,wWt.default)((0,SWt.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");var WU={},OWt=pt;Object.defineProperty(WU,"__esModule",{value:!0});var Rve=WU.default=void 0,CWt=OWt(mt()),TWt=w;Rve=WU.default=(0,CWt.default)((0,TWt.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");const EWt=({title:t,accept:e,multiple:n,disabled:r,onSelect:i,className:o})=>{const a=k.useRef(null),s=c=>{if(c.target.files!==null&&c.target.files.length){const u=[];for(let f=0;f{a.current!==null&&a.current.click()};return w.jsxs(w.Fragment,{children:[w.jsx("input",{type:"file",accept:e,multiple:n,ref:a,hidden:!0,onChange:s,disabled:r}),w.jsx(Jn,{onClick:l,disabled:r,className:o,variant:"outlined",size:"small",children:t})]})},YI={parse:t=>t,format:t=>typeof t=="string"?t:`${t}`,validate:t=>!0};function VU(){return t=>{const{options:e,updateOptions:n,optionKey:r,label:i,style:o,className:a,disabled:s,parse:l,format:c,validate:u}=t,f=e[r],d=h=>{const p=h.target.value,m=(l||YI.parse)(p);n({[r]:m})};return w.jsx(sr,{label:pe.get(i),value:(c||YI.format)(f),error:!(u||YI.validate)(f),onChange:d,style:o,className:a,disabled:s,size:"small",variant:"standard"})}}const P0=VU(),PWt=fi("div")(({theme:t})=>({paddingTop:t.spacing(2)})),MWt=({options:t,updateOptions:e})=>w.jsx(PWt,{children:w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[w.jsx(P0,{optionKey:"timeNames",label:"Time property names",options:t,updateOptions:e}),w.jsx("div",{id:"spareField"}),w.jsx(P0,{label:"Group property names",optionKey:"groupNames",options:t,updateOptions:e}),w.jsx(P0,{label:"Group prefix (used as fallback)",optionKey:"groupPrefix",options:t,updateOptions:e}),w.jsx(P0,{label:"Label property names",optionKey:"labelNames",options:t,updateOptions:e}),w.jsx(P0,{label:"Label prefix (used as fallback)",optionKey:"labelPrefix",options:t,updateOptions:e})]})}),ro=VU(),kWt=fi("div")(({theme:t})=>({paddingTop:t.spacing(2)})),AWt=({options:t,updateOptions:e})=>{const n=t.forceGeometry;return w.jsxs(kWt,{children:[w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[w.jsx(ro,{optionKey:"xNames",label:"X/longitude column names",options:t,updateOptions:e,disabled:n}),w.jsx(ro,{optionKey:"yNames",label:"Y/latitude column names",options:t,updateOptions:e,disabled:n}),w.jsxs("span",{children:[w.jsx(iL,{checked:t.forceGeometry,onChange:r=>e({forceGeometry:r.target.checked}),size:"small"}),w.jsx("span",{children:"Use geometry column"})]}),w.jsx(ro,{optionKey:"geometryNames",label:"Geometry column names",options:t,updateOptions:e,disabled:!n}),w.jsx(ro,{optionKey:"timeNames",label:"Time column names",options:t,updateOptions:e}),w.jsx("div",{id:"spareField"}),w.jsx(ro,{optionKey:"groupNames",label:"Group column names",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"groupPrefix",label:"Group prefix (used as fallback)",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"labelNames",label:"Label column names",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"labelPrefix",label:"Label prefix (used as fallback)",options:t,updateOptions:e})]}),w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto auto"},children:[w.jsx(ro,{optionKey:"separator",label:"Separator character",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"comment",label:"Comment character",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"quote",label:"Quote character",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"escape",label:"Escape character",options:t,updateOptions:e}),w.jsx("div",{}),w.jsxs("span",{children:[w.jsx(iL,{checked:t.trim,onChange:r=>e({trim:r.target.checked}),size:"small"}),w.jsx("span",{children:"Remove whitespaces"})]}),w.jsx(ro,{optionKey:"nanToken",label:"Not-a-number token",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"trueToken",label:"True token",options:t,updateOptions:e}),w.jsx(ro,{optionKey:"falseToken",label:"False token",options:t,updateOptions:e})]})]})},M0=VU(),RWt=fi("div")(({theme:t})=>({paddingTop:t.spacing(2)})),IWt=({options:t,updateOptions:e})=>w.jsx(RWt,{children:w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[w.jsx(M0,{optionKey:"time",label:"Time (UTC, ISO-format)",options:t,updateOptions:e}),w.jsx("div",{id:"spareField"}),w.jsx(M0,{label:"Group",options:t,optionKey:"group",updateOptions:e}),w.jsx(M0,{label:"Group prefix (used as fallback)",optionKey:"groupPrefix",options:t,updateOptions:e,disabled:t.group.trim()!==""}),w.jsx(M0,{label:"Label",optionKey:"label",options:t,updateOptions:e}),w.jsx(M0,{label:"Label prefix (used as fallback)",optionKey:"labelPrefix",options:t,updateOptions:e,disabled:t.label.trim()!==""})]})}),KI={csv:{...Woe,codeExt:[]},geojson:{...Voe,codeExt:[Kde()]},wkt:{...Goe,codeExt:[]}},ZI={spacer:{flexGrow:1},actionButton:t=>({marginRight:t.spacing(1)}),error:{fontSize:"small"}},DWt=fi("div")(({theme:t})=>({paddingTop:t.spacing(.5),display:"flex",flexDirection:"row",alignItems:"center"})),LWt=fi(EWt)(({theme:t})=>({marginRight:t.spacing(1)})),$Wt=({open:t,closeDialog:e,userPlacesFormatName:n,userPlacesFormatOptions:r,updateSettings:i,addUserPlacesFromText:o,nextMapInteraction:a,setMapInteraction:s})=>{const[l,c]=k.useState(""),[u,f]=k.useState(null),[d,h]=k.useState(!1),[p,m]=k.useState(!1),[g,v]=k.useState(n),[y,x]=k.useState(r);if(k.useEffect(()=>{v(n)},[n]),k.useEffect(()=>{x(r)},[r]),!t)return null;const b=()=>{s("Select"),e("addUserPlacesFromText"),i({userPlacesFormatName:g,userPlacesFormatOptions:y}),o(l)},_=()=>{s(a),e("addUserPlacesFromText")},S=()=>{c("")},O=U=>{const B=U[0];h(!0);const W=new FileReader;W.onloadend=()=>{const z=W.result;v(gG(z)),c(z),h(!1)},W.onabort=W.onerror=()=>{h(!1)},W.readAsText(B,"UTF-8")},C=()=>{c("")},E=()=>{console.info("PASTE!",l)},M=U=>{let B=g;l===""&&U.length>10&&(B=gG(U),v(B)),c(U),f(KI[B].checkError(U))};function I(U){v(U.target.value)}function P(U){x({...y,csv:{...y.csv,...U}})}function R(U){x({...y,geojson:{...y.geojson,...U}})}function T(U){x({...y,wkt:{...y.wkt,...U}})}let D;return g==="csv"?D=w.jsx(AWt,{options:y.csv,updateOptions:P}):g==="geojson"?D=w.jsx(MWt,{options:y.geojson,updateOptions:R}):D=w.jsx(IWt,{options:y.wkt,updateOptions:T}),w.jsxs(qs,{fullWidth:!0,open:t,onClose:_,"aria-labelledby":"server-dialog-title",children:[w.jsx(rd,{id:"server-dialog-title",children:pe.get("Import places")}),w.jsxs(zs,{dividers:!0,children:[w.jsxs(Fj,{row:!0,value:g,onChange:U=>I(U),children:[w.jsx(gx,{value:"csv",label:pe.get(Woe.name),control:w.jsx(xx,{})},"csv"),w.jsx(gx,{value:"geojson",label:pe.get(Voe.name),control:w.jsx(xx,{})},"geojson"),w.jsx(gx,{value:"wkt",label:pe.get(Goe.name),control:w.jsx(xx,{})},"wkt")]}),w.jsx(m2,{theme:Wt.instance.branding.themeName||"light",placeholder:pe.get("Enter text or drag & drop a text file."),autoFocus:!0,height:"400px",extensions:KI[g].codeExt,value:l,onChange:M,onDrop:C,onPaste:E,onPasteCapture:E}),u&&w.jsx(zt,{color:"error",sx:ZI.error,children:u}),w.jsxs(DWt,{children:[w.jsx(LWt,{title:pe.get("From File")+"...",accept:KI[g].fileExt,multiple:!1,onSelect:O,disabled:d}),w.jsx(Jn,{onClick:S,disabled:l.trim()===""||d,sx:ZI.actionButton,variant:"outlined",size:"small",children:pe.get("Clear")}),w.jsx(tt,{sx:ZI.spacer}),w.jsx(Jn,{onClick:()=>m(!p),endIcon:p?w.jsx(Rve,{}):w.jsx(Ave,{}),variant:"outlined",size:"small",children:pe.get("Options")})]}),w.jsx(ane,{in:p,timeout:"auto",unmountOnExit:!0,children:D})]}),w.jsxs(lp,{children:[w.jsx(Jn,{onClick:_,variant:"text",children:pe.get("Cancel")}),w.jsx(Jn,{onClick:b,disabled:l.trim()===""||u!==null||d,variant:"text",children:pe.get("OK")})]})]})},NWt=t=>({open:t.controlState.dialogOpen.addUserPlacesFromText,userPlacesFormatName:t.controlState.userPlacesFormatName,userPlacesFormatOptions:t.controlState.userPlacesFormatOptions,nextMapInteraction:t.controlState.lastMapInteraction}),FWt={closeDialog:ey,updateSettings:F1,setMapInteraction:pse,addUserPlacesFromText:$ae},jWt=sn(NWt,FWt)($Wt);var GU={},BWt=pt;Object.defineProperty(GU,"__esModule",{value:!0});var Ive=GU.default=void 0,zWt=BWt(mt()),UWt=w;Ive=GU.default=(0,zWt.default)((0,UWt.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");function HU(t,e){return Dve(t,e,[]).join("")}function Dve(t,e,n){if(t.nodeType==Node.CDATA_SECTION_NODE||t.nodeType==Node.TEXT_NODE)e?n.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):n.push(t.nodeValue);else{var r=void 0;for(r=t.firstChild;r;r=r.nextSibling)Dve(r,e,n)}return n}function WWt(t){return"documentElement"in t}function VWt(t){return new DOMParser().parseFromString(t,"application/xml")}function Lve(t,e){return function(n,r){var i=t.call(e!==void 0?e:this,n,r);if(i!==void 0){var o=r[r.length-1];o.push(i)}}}function ra(t,e,n){return function(r,i){var o=t.call(n!==void 0?n:this,r,i);if(o!==void 0){var a=i[i.length-1],s=e!==void 0?e:r.localName,l=void 0;s in a?l=a[s]:(l=[],a[s]=l),l.push(o)}}}function gt(t,e,n){return function(r,i){var o=t.call(n!==void 0?n:this,r,i);if(o!==void 0){var a=i[i.length-1],s=e!==void 0?e:r.localName;a[s]=o}}}function Li(t,e,n){var r=n!==void 0?n:{},i,o;for(i=0,o=t.length;i{const n=e.Name,r=e.Title||n;let i;const o=e.Attribution;if(uP(o)){const a=o.Title,s=o.OnlineResource;a&&s?i=`© ${a}`:s?i=`${s}`:a&&(i=`${a}`)}return{name:n,title:r,attribution:i}})}function DVt(t){const e=kVt.read(t);if(uP(e)){const n=e.Capability;if(uP(n))return XN(n,!0)}throw new Error("invalid WMSCapabilities object")}function XN(t,e){let n,r;if(e)n=t.Layer;else{const{Layer:o,...a}=t;n=o,r=a}let i;return Array.isArray(n)?i=n.flatMap(o=>XN(o)):uP(n)?i=XN(n):i=[{}],i.map(o=>LVt(r,o))}function LVt(t,e){if(!t)return e;if(typeof(t.Name||e.Name)!="string")throw new Error("invalid WMSCapabilities: missing Layer/Name");const r=t.Title,i=e.Title,o=r&&i?`${r} / ${i}`:i||r;return{...t,...e,Title:o}}function uP(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}const $Vt=({userLayer:t,onChange:e,onCancel:n})=>{const[r,i]=k.useState(t.url),[o,a]=k.useState(null),[s,l]=k.useState(-1);k.useEffect(()=>{AVt(r).then(f=>{a(f)})},[r]),k.useEffect(()=>{if(o&&t.wms){const{layerName:f}=t.wms;l(o.findIndex(d=>d.name===f))}else l(-1)},[o,t.wms]);const c=()=>o&&o.length&&s!=-1,u=()=>{o&&s!==-1&&e({...t,group:K5,title:o[s].title,url:r.trim(),attribution:o[s].attribution,wms:{layerName:o[s].name}})};return w.jsxs(tt,{sx:{display:"flex",gap:2,flexDirection:"column",padding:"5px 15px"},children:[w.jsx(sr,{required:!0,label:pe.get("WMS URL"),variant:"standard",size:"small",value:r,fullWidth:!0,onChange:f=>i(f.currentTarget.value)}),w.jsx(up,{disabled:!o||!o.length,variant:"standard",onChange:f=>l(f.target.value),value:s,size:"small",renderValue:()=>o&&o.length&&s>=0?o[s].title:pe.get("WMS Layer"),children:(o||[]).map((f,d)=>w.jsx(Yr,{value:d,selected:s===d,children:w.jsx(qa,{primary:f.title})},f.name))}),w.jsx(q1,{onDone:u,onCancel:n,doneDisabled:!c(),helpUrl:pe.get("docs/add-layer-wms.en.md")})]})},NVt=({userLayer:t,onChange:e,onCancel:n})=>{const[r,i]=ue.useState(t.title),[o,a]=ue.useState(t.url),[s,l]=ue.useState(t.attribution||""),c=(d,h)=>{const p=d!=="",m=h!==""&&(h.startsWith("http://")||h.trim().startsWith("https://"));return p&&m},u=()=>c(r.trim(),o.trim()),f=()=>e({...t,group:K5,title:r.trim(),url:o.trim(),attribution:s.trim()});return w.jsxs(tt,{sx:{display:"flex",gap:1,flexDirection:"column",padding:"5px 15px"},children:[w.jsx(sr,{required:!0,label:pe.get("XYZ Layer URL"),variant:"standard",size:"small",value:o,fullWidth:!0,onChange:d=>a(d.currentTarget.value)}),w.jsxs(tt,{sx:{display:"flex",gap:1},children:[w.jsx(sr,{required:!0,label:pe.get("Layer Title"),variant:"standard",size:"small",sx:{flexGrow:.3},value:r,onChange:d=>i(d.currentTarget.value)}),w.jsx(sr,{label:pe.get("Layer Attribution"),variant:"standard",size:"small",sx:{flexGrow:.7},value:s,onChange:d=>l(d.currentTarget.value)})]}),w.jsx(q1,{onDone:f,onCancel:n,doneDisabled:!u(),helpUrl:pe.get("docs/add-layer-xyz.en.md")})]})},FVt={paper:t=>({backgroundColor:(t.palette.mode==="dark"?Ute:zte)(t.palette.background.paper,.1),marginBottom:t.spacing(2)})},MZ=({userLayers:t,setUserLayers:e,selectedId:n,setSelectedId:r})=>{const[i,o]=ue.useState(n),[a,s]=ue.useState(null),[l,c]=$ce();if(!open)return null;const u=x=>{c(()=>e(t)),s({editId:x.id,editMode:"edit"})},f=x=>{c(void 0);const b=t.findIndex(_=>_.id===x.id);e([...t.slice(0,b+1),{...x,id:Wl("user-layer"),title:x.title+" Copy"},...t.slice(b+1)])},d=x=>{c(void 0);const b=t.findIndex(_=>_.id===x.id);x.id===n&&r(i),x.id===i&&o(null),e([...t.slice(0,b),...t.slice(b+1)])},h=x=>{c(()=>e(t));const b=Wl("user-layer-");e([...t,{id:b,group:K5,title:"",url:"",attribution:"",wms:x==="wms"?{layerName:""}:void 0}]),s({editId:b,editMode:"add"})},p=()=>{h("wms")},m=()=>{h("xyz")},g=x=>{c(void 0);const b=t.findIndex(_=>_.id===x.id);n===x.id&&r(i),e([...t.slice(0,b),x,...t.slice(b+1)]),s(null)},v=()=>{if(l(),a&&a.editMode==="add"){const x=t.findIndex(b=>b.id===a.editId);e([...t.slice(0,x),...t.slice(x+1)])}s(null)},y=a!==null;return w.jsx(Di,{sx:FVt.paper,children:w.jsxs(gM,{component:"nav",dense:!0,children:[t.map(x=>{const b=n===x.id;return a&&a.editId===x.id?x.wms?w.jsx($Vt,{userLayer:x,onChange:g,onCancel:v},x.id):w.jsx(NVt,{userLayer:x,onChange:g,onCancel:v},x.id):w.jsxs(Wne,{selected:b,onClick:()=>r(b?null:x.id),children:[w.jsx(qa,{primary:x.title,secondary:x.url}),w.jsxs(lT,{children:[w.jsx(Et,{onClick:()=>u(x),size:"small",disabled:y,children:w.jsx(wp,{})}),w.jsx(Et,{onClick:()=>f(x),size:"small",disabled:y,children:w.jsx(Ive,{})}),w.jsx(Et,{onClick:()=>d(x),size:"small",disabled:y,children:w.jsx(_p,{})})]})]},x.id)}),!y&&w.jsx(yx,{sx:{minHeight:"3em"},children:w.jsx(lT,{children:w.jsxs(tt,{sx:{display:"flex",gap:2,paddingTop:2},children:[w.jsx(Ct,{title:pe.get("Add layer from a Web Map Service"),children:w.jsx(Jn,{onClick:p,startIcon:w.jsx(lP,{}),children:"WMS"})}),w.jsx(Ct,{title:pe.get("Add layer from a Tiled Web Map"),children:w.jsx(Jn,{onClick:m,startIcon:w.jsx(lP,{}),children:"XYZ"})})]})})})]})})},jVt=({dialogId:t,open:e,closeDialog:n,settings:r,updateSettings:i})=>{const[o,a]=ue.useState(t==="userBaseMaps"?0:1);if(!e)return null;const s=r.userBaseMaps,l=g=>{i({userBaseMaps:g})},c=r.userOverlays,u=g=>{i({userOverlays:g})},f=r.selectedBaseMapId,d=g=>{i({selectedBaseMapId:g})},h=r.selectedOverlayId,p=g=>{i({selectedOverlayId:g})};function m(){n(t)}return w.jsxs(qs,{open:e,fullWidth:!0,maxWidth:"sm",onClose:m,scroll:"body",children:[w.jsx(rd,{children:pe.get("User Layers")}),w.jsxs(zs,{children:[w.jsx(tt,{sx:{borderBottom:1,borderColor:"divider"},children:w.jsxs(Wj,{value:o,onChange:(g,v)=>a(v),children:[w.jsx(db,{label:"Base Maps"}),w.jsx(db,{label:"Overlays"})]})}),o===0&&w.jsx(MZ,{userLayers:s,setUserLayers:l,selectedId:f,setSelectedId:d},"baseMaps"),o===1&&w.jsx(MZ,{userLayers:c,setUserLayers:u,selectedId:h,setSelectedId:p},"overlays")]})]})},BVt=(t,e)=>({open:t.controlState.dialogOpen[e.dialogId],settings:t.controlState,dialogId:e.dialogId}),zVt={closeDialog:ey,updateSettings:F1},kZ=sn(BVt,zVt)(jVt);function Bve({selected:t,title:e,actions:n}){return w.jsxs(yM,{sx:{pl:{sm:2},pr:{xs:1,sm:1},...t&&{background:r=>$c(r.palette.primary.main,r.palette.action.activatedOpacity)}},children:[w.jsx(NT,{}),w.jsx(zt,{sx:{flex:"1 1 100%",paddingLeft:1},children:e}),n]})}const AZ={container:{display:"flex",flexDirection:"column",height:"100%"},tableContainer:{overflowY:"auto",flexGrow:1}};function UVt({setEditedVariable:t,userVariables:e,setUserVariables:n}){const[r,i]=k.useState(-1),o=r>=0?e[r]:null,a=r>=0,s=f=>{i(f)},l=()=>{t({editMode:"add",variable:kQe()})},c=()=>{t({editMode:"edit",variable:o})},u=()=>{n([...e.slice(0,r),...e.slice(r+1)]),r>=e.length-1&&i(e.length-2)};return w.jsxs(tt,{sx:AZ.container,children:[w.jsx(Bve,{selected:r!==null,title:pe.get("User-defined Variables"),actions:w.jsxs(w.Fragment,{children:[w.jsx(Ct,{title:pe.get("Add variable"),children:w.jsx(Et,{color:"primary",onClick:l,children:w.jsx(H1,{})})}),a&&w.jsx(Ct,{title:pe.get("Edit variable"),children:w.jsx(Et,{onClick:c,children:w.jsx(wp,{})})}),a&&w.jsx(Ct,{title:pe.get("Delete variable"),children:w.jsx(Et,{onClick:u,children:w.jsx(zU,{})})})]})}),w.jsx(Uj,{component:Di,sx:AZ.tableContainer,children:w.jsxs(Bj,{size:"small",children:[w.jsx(IDe,{children:w.jsxs(al,{children:[w.jsx(or,{sx:{width:"15%"},children:pe.get("Name")}),w.jsx(or,{sx:{width:"15%"},children:pe.get("Title")}),w.jsx(or,{sx:{width:"10%"},children:pe.get("Units")}),w.jsx(or,{children:pe.get("Expression")})]})}),w.jsx(zj,{children:e.map((f,d)=>w.jsxs(al,{hover:!0,selected:d===r,onClick:()=>s(d),children:[w.jsx(or,{component:"th",scope:"row",children:f.name}),w.jsx(or,{children:f.title}),w.jsx(or,{children:f.units}),w.jsx(or,{children:f.expression||""})]},f.id))})]})})]})}const WVt=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/,VVt=/[a-zA-Z_$][a-zA-Z0-9_$]*/g,GVt=new Set;function HVt(t){return WVt.test(t)}function zve(t){const e=t.match(VVt);return e!==null?new Set(e):GVt}const Uve=["+","-","*","**","/","%","^","~","&","|","()","and","or","not","pi","sqrt()","sin()","cos()","tan()","min()","max()"],qVt=zve(Uve.join(" "));function XVt(t,e){if(t.trim()==="")return pe.get("Must not be empty");const n=new Set(e.variables.map(r=>r.name));for(const r of zve(t))if(!n.has(r)&&!qVt.has(r))return`${pe.get("Unknown identifier")}: ${r}`;return null}const Fu={container:{display:"flex",flexDirection:"column",height:"100%"},content:{flexGrow:1,display:"flex",flexDirection:"column",gap:2,padding:1},propertiesRow:{display:"flex",gap:1},expressionRow:{flexGrow:1},expressionParts:{paddingTop:1,overflowY:"auto"},expressionPart:{padding:.2},expressionPartChip:{fontFamily:"monospace"}};function QVt({userVariables:t,setUserVariables:e,editedVariable:n,setEditedVariable:r,contextDataset:i}){const o=[...t,...i.variables],{id:a,name:s,title:l,units:c,expression:u}=n.variable,f=o.findIndex(M=>M.id!==a&&M.name===s)>=0,d=!HVt(s),h=f?pe.get("Already in use"):d?pe.get("Not a valid identifier"):null,p=!h,m=XVt(u,i),v=p&&!m,y=(M,I)=>{r({...n,variable:{...n.variable,[M]:I}})},x=()=>{if(n.editMode==="add")e([n.variable,...t]);else{const M=t.findIndex(I=>I.id===n.variable.id);if(M>=0){const I=[...t];I[M]=n.variable,e(I)}}r(null)},b=()=>{r(null)},_=M=>{y("name",M.target.value)},S=M=>{y("title",M.target.value)},O=M=>{y("units",M.target.value)},C=M=>{y("expression",M)},E=M=>{y("expression",u.length&&!u.endsWith(" ")?`${u} ${M}`:u+M)};return w.jsxs(tt,{sx:Fu.container,children:[w.jsx(Bve,{selected:!0,title:n.editMode==="add"?pe.get("Add User Variable"):pe.get("Edit User Variable"),actions:w.jsx(q1,{size:"medium",onDone:x,doneDisabled:!v,onCancel:b})}),w.jsxs(tt,{sx:Fu.content,children:[w.jsxs(tt,{sx:Fu.propertiesRow,children:[w.jsx(sr,{sx:{flexGrow:.3},error:!p,helperText:h,size:"small",variant:"standard",label:pe.get("Name"),value:s,onChange:_}),w.jsx(sr,{sx:{flexGrow:.6},size:"small",variant:"standard",label:pe.get("Title"),value:l,onChange:S}),w.jsx(sr,{sx:{flexGrow:.1},size:"small",variant:"standard",label:pe.get("Units"),value:c,onChange:O})]}),w.jsxs(tt,{sx:Fu.expressionRow,children:[w.jsx(zt,{sx:M=>({paddingBottom:1,color:M.palette.text.secondary}),children:pe.get("Expression")}),w.jsx(m2,{theme:Wt.instance.branding.themeName||"light",width:"100%",height:"100px",extensions:[lhe()],value:u,onChange:C}),m&&w.jsx(zt,{sx:{paddingBottom:1},color:"error",fontSize:"small",children:m}),w.jsxs(tt,{sx:Fu.expressionParts,children:[Uve.map(M=>w.jsx(tt,{component:"span",sx:Fu.expressionPart,children:w.jsx(bV,{label:M,sx:Fu.expressionPartChip,size:"small",color:"primary",onClick:()=>E(M)})},M)),o.map(M=>!M.expression&&w.jsx(tt,{component:"span",sx:{padding:.2},children:w.jsx(bV,{label:M.name,sx:Fu.expressionPartChip,size:"small",color:"secondary",onClick:()=>E(M.name)})},M.id))]})]})]})]})}const RZ={contentContainer:{width:"100%",height:400,mb:2},contentPaper:{width:"100%",height:"100%"}};function YVt({open:t,closeDialog:e,selectedDataset:n,userVariables:r,updateDatasetUserVariables:i}){const[o,a]=k.useState(r),[s,l]=k.useState(null);if(k.useEffect(()=>{a(r)},[r]),!t||!n)return null;function c(){i(n.id,o),e(FT)}function u(){a(r),e(FT)}return w.jsxs(qs,{open:t,fullWidth:!0,maxWidth:"md",onClose:u,scroll:"body",children:[w.jsx(rd,{children:pe.get("User Variables")}),w.jsx(zs,{children:w.jsx(tt,{sx:RZ.contentContainer,children:w.jsx(Di,{elevation:1,sx:RZ.contentPaper,children:s===null?w.jsx(UVt,{userVariables:o,setUserVariables:a,contextDataset:n,setEditedVariable:l}):w.jsx(QVt,{userVariables:o,setUserVariables:a,editedVariable:s,setEditedVariable:l,contextDataset:n})})})}),w.jsxs(lp,{children:[w.jsx(Jn,{onClick:c,disabled:s!==null,children:pe.get("OK")}),w.jsx(Jn,{onClick:u,disabled:s!==null,children:pe.get("Cancel")})]})]})}const KVt=t=>({open:t.controlState.dialogOpen[FT],selectedDataset:ei(t),userVariables:B8e(t)}),ZVt={closeDialog:ey,updateDatasetUserVariables:NGe},JVt=sn(KVt,ZVt)(YVt),e8t=t=>({compact:Wt.instance.branding.compact}),t8t={},n8t=()=>xj({typography:{fontSize:12,htmlFontSize:14},palette:{mode:Wt.instance.branding.themeName,primary:Wt.instance.branding.primaryColor,secondary:Wt.instance.branding.secondaryColor}}),r8t=({compact:t})=>w.jsx(r3e,{children:w.jsx(_te,{injectFirst:!0,children:w.jsxs(XSe,{theme:n8t(),children:[w.jsx(CMe,{}),!t&&w.jsx(uQe,{}),w.jsx(w6t,{}),w.jsxs(w.Fragment,{children:[w.jsx(D6t,{}),w.jsx(aWt,{}),w.jsx(hWt,{}),w.jsx(kZ,{dialogId:"userOverlays"},"userOverlays"),w.jsx(kZ,{dialogId:"userBaseMaps"},"userBaseMaps"),w.jsx(JVt,{}),w.jsx(jWt,{}),w.jsx(bWt,{}),w.jsx(E6t,{}),w.jsx(Y6t,{})]})]})})}),i8t=sn(e8t,t8t)(r8t);function o8t(t,e,n){switch(t===void 0&&(t=s8e()),e.type){case _B:{const r={...t,...e.settings};return Ou(r),r}case Cb:{let r=t.selectedDatasetId||qu.get("dataset"),i=t.selectedVariableName||qu.get("variable"),o=t.mapInteraction,a=vb(e.datasets,r);const s=a&&CL(a,i)||null;return a?s||(i=a.variables.length?a.variables[0].name:null):(r=null,i=null,a=e.datasets.length?e.datasets[0]:null,a&&(r=a.id,a.variables.length>0&&(i=a.variables[0].name))),r||(o="Select"),{...t,selectedDatasetId:r,selectedVariableName:i,mapInteraction:o}}case Yae:{let r=t.selectedVariableName;const i=vb(e.datasets,e.selectedDatasetId);!CL(i,r)&&i.variables.length>0&&(r=i.variables[0].name);const a=e.selectedDatasetId,s=tie(i),l=s?s[1]:null;return{...t,selectedDatasetId:a,selectedVariableName:r,selectedTimeRange:s,selectedTime:l}}case ese:{const{location:r}=e;return t.flyTo!==r?{...t,flyTo:r}:t}case tse:{const r=e.selectedPlaceGroupIds;return{...t,selectedPlaceGroupIds:r,selectedPlaceId:null}}case nse:{const{placeId:r}=e;return{...t,selectedPlaceId:r}}case sse:return{...t,selectedVariableName:e.selectedVariableName};case rse:return{...t,layerVisibilities:{...t.layerVisibilities,[e.layerId]:e.visible}};case ose:{const{variableCompareMode:r}=e;return{...t,variableCompareMode:r,variableSplitPos:void 0}}case vB:{const{variableSplitPos:r}=e;return{...t,variableSplitPos:r}}case cse:{let{selectedTime:r}=e;if(r!==null&&n){const i=XL(n),o=i?aoe(i,r):-1;o>=0&&(r=i[o])}return t.selectedTime!==r?{...t,selectedTime:r}:t}case use:{if(n){let r=mae(n);if(r>=0){const i=XL(n);r+=e.increment,r<0&&(r=i.length-1),r>i.length-1&&(r=0);let o=i[r];const a=t.selectedTimeRange;if(a!==null&&(oa[1]&&(o=a[1])),t.selectedTime!==o)return{...t,selectedTime:o}}}return t}case yB:return{...t,selectedTimeRange:e.selectedTimeRange};case SHe:return{...t,timeSeriesUpdateMode:e.timeSeriesUpdateMode};case dse:return{...t,timeAnimationActive:e.timeAnimationActive,timeAnimationInterval:e.timeAnimationInterval};case fB:{const{id:r,selected:i}=e;return i?a8t(t,Ds,r):t}case dB:{const{placeGroups:r}=e;return r.length>0?{...t,selectedPlaceGroupIds:[...t.selectedPlaceGroupIds||[],r[0].id]}:t}case hB:{const{placeGroupId:r,newName:i}=e;return r===Ds?{...t,userDrawnPlaceGroupName:i}:t}case pB:{const{placeId:r,places:i}=e;if(r===t.selectedPlaceId){let o=null;const a=i.findIndex(s=>s.id===r);return a>=0&&(a0&&(o=i[a-1].id)),{...t,selectedPlaceId:o}}return t}case kse:{const r=e.colorBarId;return{...t,userColorBars:[{id:r,type:"node",code:sie},...t.userColorBars]}}case Ase:{const r=e.colorBarId,i=t.userColorBars.findIndex(o=>o.id===r);return i>=0?{...t,userColorBars:[...t.userColorBars.slice(0,i),...t.userColorBars.slice(i+1)]}:t}case Rse:{const r=e.userColorBar,i=t.userColorBars.findIndex(o=>o.id===r.id);return i>=0?{...t,userColorBars:[...t.userColorBars.slice(0,i),{...r},...t.userColorBars.slice(i+1)]}:t}case hse:{let r={...t,mapInteraction:e.mapInteraction,lastMapInteraction:t.mapInteraction};return e.mapInteraction==="Geometry"&&(r={...r,dialogOpen:{...t.dialogOpen,addUserPlacesFromText:!0}}),r}case mse:{const{layerMenuOpen:r}=e;return t={...t,layerMenuOpen:r},Ou(t),t}case vse:{const{sidebarPosition:r}=e;return t={...t,sidebarPosition:r},t}case yse:{const{sidebarOpen:r}=e;return t={...t,sidebarOpen:r},Ou(t),t}case xse:{const{sidebarPanelId:r}=e;return t={...t,sidebarPanelId:r},Ou(t),t}case bse:return t={...t,volumeRenderMode:e.volumeRenderMode},Ou(t),t;case _se:{const{volumeId:r,volumeState:i}=e;return t={...t,volumeStates:{...t.volumeStates,[r]:i}},t}case wse:{const r={...t.infoCardElementStates};return Object.getOwnPropertyNames(r).forEach(i=>{r[i]={...r[i],visible:e.visibleElements.includes(i)}}),t={...t,infoCardElementStates:r},Ou(t),t}case Sse:{const{elementType:r,viewMode:i}=e,o={...t,infoCardElementStates:{...t.infoCardElementStates,[r]:{...t.infoCardElementStates[r],viewMode:i}}};return Ou(o),o}case Ose:return{...t,activities:{...t.activities,[e.id]:e.message}};case Cse:{const r={...t.activities};return delete r[e.id],{...t,activities:r}}case Tse:{const r=e.locale;return pe.locale=r,r!==t.locale&&(t={...t,locale:r},Ou(t)),t}case Pse:{const r=e.dialogId;return{...t,dialogOpen:{...t.dialogOpen,[r]:!0}}}case Mse:{const r=e.dialogId;return{...t,dialogOpen:{...t.dialogOpen,[r]:!1}}}case lse:{const{selectedDataset2Id:r,selectedVariable2Name:i}=e;return r===t.selectedDataset2Id&&i===t.selectedVariable2Name?{...t,selectedDataset2Id:null,selectedVariable2Name:null,variableCompareMode:!1,variableSplitPos:void 0}:{...t,selectedDataset2Id:r,selectedVariable2Name:i,variableCompareMode:!0}}case mB:if(t.selectedServerId!==e.selectedServerId)return{...t,selectedServerId:e.selectedServerId}}return t}function a8t(t,e,n){let r=t.selectedPlaceGroupIds;return!t.selectedPlaceGroupIds||t.selectedPlaceGroupIds.length===0?r=[e]:t.selectedPlaceGroupIds.find(i=>i===e)||(r=[...t.selectedPlaceGroupIds,e]),{...t,selectedPlaceGroupIds:r,selectedPlaceId:n}}function s8t(){const t=t8e(),e=[{...Wt.instance.server}];return t.forEach(n=>{e.find(r=>r.id===n.id)||e.push(n)}),{serverInfo:null,datasets:[],colorBars:null,statistics:{loading:!1,records:[]},timeSeriesGroups:[],userPlaceGroups:[],userServers:e}}function l8t(t,e){switch(t===void 0&&(t=s8t()),e.type){case LT:return{...t,serverInfo:e.serverInfo};case Cb:return{...t,datasets:e.datasets};case Lae:{const{datasetId:n,userVariables:r}=e,i=t.datasets.findIndex(l=>l.id===n),o=t.datasets[i],[a,s]=E5(o);return{...t,datasets:[...t.datasets.slice(0,i),{...o,variables:[...a,...r]},...t.datasets.slice(i+1)]}}case qae:{const{datasetId:n,variableName:r,colorBarName:i,colorBarMinMax:o,colorBarNorm:a,opacity:s}=e,l={colorBarName:i,colorBarMin:o[0],colorBarMax:o[1],colorBarNorm:a,opacity:s};return IZ(t,n,r,l)}case Xae:{const{datasetId:n,variableName:r,volumeRenderMode:i,volumeIsoThreshold:o}=e;return IZ(t,n,r,{volumeRenderMode:i,volumeIsoThreshold:o})}case uB:{const n=e.placeGroup,r=t.datasets.map(i=>{if(i.placeGroups){const o=i.placeGroups.findIndex(a=>a.id===n.id);if(o>=0){const a=[...i.placeGroups];return a[o]=n,{...i,placeGroups:a}}}return i});return{...t,datasets:r}}case fB:{const{placeGroupTitle:n,id:r,properties:i,geometry:o}=e,a={type:"Feature",id:r,properties:i,geometry:o},s=t.userPlaceGroups,l=s.findIndex(c=>c.id===Ds);if(l>=0){const c=s[l];return{...t,userPlaceGroups:[...s.slice(0,l),{...c,features:[...c.features,a]},...s.slice(l+1)]}}else{const c=n&&n!==""?n:pe.get("My places");return{...t,userPlaceGroups:[{type:"FeatureCollection",id:Ds,title:c,features:[a]},...s]}}}case dB:{const{placeGroups:n}=e;return{...t,userPlaceGroups:[...t.userPlaceGroups,...n]}}case hB:{const{placeGroupId:n,newName:r}=e,i=t.userPlaceGroups,o=i.findIndex(a=>a.id===n);if(o>=0){const a=i[o];return{...t,userPlaceGroups:[...i.slice(0,o),{...a,title:r},...i.slice(o+1)]}}return t}case Nae:{const{placeGroupId:n,placeId:r,newName:i}=e,o=t.userPlaceGroups,a=o.findIndex(s=>s.id===n);if(a>=0){const s=o[a],l=s.features,c=l.findIndex(u=>u.id===r);if(c>=0){const u=l[c];return{...t,userPlaceGroups:[...o.slice(0,a),{...s,features:[...l.slice(0,c),{...u,properties:{...u.properties,label:i}},...l.slice(c+1)]},...o.slice(a+1)]}}}return t}case pB:{const{placeGroupId:n,placeId:r}=e,i=t.userPlaceGroups,o=i.findIndex(a=>a.id===n);if(o>=0){const a=i[o],s=a.features.findIndex(l=>l.id===r);if(s>=0){const l=DZ(t.timeSeriesGroups,[r]);let c=t.timeSeriesGroups;return l.forEach(u=>{c=tD(c,u,"remove","append")}),{...t,userPlaceGroups:[...i.slice(0,o),{...a,features:[...a.features.slice(0,s),...a.features.slice(s+1)]},...i.slice(o+1)],timeSeriesGroups:c}}}return t}case Fae:{const{placeGroupId:n}=e,r=t.userPlaceGroups,i=r.findIndex(o=>o.id===n);if(i>=0){const a=r[i].features.map(c=>c.id),s=DZ(t.timeSeriesGroups,a);let l=t.timeSeriesGroups;return s.forEach(c=>{l=tD(l,c,"remove","append")}),{...t,userPlaceGroups:[...r.slice(0,i),...r.slice(i+1)],timeSeriesGroups:l}}return t}case Hae:return{...t,colorBars:e.colorBars};case Uae:{const{timeSeriesGroupId:n,timeSeries:r}=e,i=t.timeSeriesGroups,o=i.findIndex(l=>l.id===n),a=i[o],s=[...i];return s[o]={...a,timeSeriesArray:[...a.timeSeriesArray,r]},{...t,timeSeriesGroups:s}}case jae:{const n=t.statistics;if(e.statistics===null)return{...t,statistics:{...n,loading:!0}};const r=n.records;return{...t,statistics:{...n,loading:!1,records:[e.statistics,...r]}}}case Bae:{const{index:n}=e,r=t.statistics,i=r.records;return{...t,statistics:{...r,records:[...i.slice(0,n),...i.slice(n+1)]}}}case zae:{const{timeSeries:n,updateMode:r,dataMode:i}=e,o=tD(t.timeSeriesGroups,n,r,i);return o!==t.timeSeriesGroups?{...t,timeSeriesGroups:o}:t}case Wae:{const n=t.timeSeriesGroups.findIndex(r=>r.id===e.groupId);if(n>=0){const r=[...t.timeSeriesGroups],i={...r[n]},o=[...i.timeSeriesArray];return o.splice(e.index,1),i.timeSeriesArray=o,r[n]=i,{...t,timeSeriesGroups:r}}return t}case Vae:{const n=t.timeSeriesGroups.findIndex(r=>r.id===e.id);if(n>=0){const r=[...t.timeSeriesGroups];return r.splice(n,1),{...t,timeSeriesGroups:r}}return t}case Gae:return{...t,timeSeriesGroups:[]};case yB:{const{selectedGroupId:n,selectedValueRange:r}=e;if(!n)return t;const i=t.timeSeriesGroups.findIndex(a=>a.id===n),o=r||void 0;return{...t,timeSeriesGroups:[...t.timeSeriesGroups.slice(0,i),{...t.timeSeriesGroups[i],variableRange:o},...t.timeSeriesGroups.slice(i+1)]}}case mB:return t.userServers!==e.servers?(e8e(e.servers),{...t,userServers:e.servers}):t;default:return t}}function IZ(t,e,n,r){const i=t.datasets.findIndex(o=>o.id===e);if(i>=0){const o=t.datasets[i],a=o.variables.findIndex(s=>s.name===n);if(a>=0){const s=o.variables[a],l=t.datasets.slice(),c=o.variables.slice();return c[a]={...s,...r},l[i]={...o,variables:c},{...t,datasets:l}}}return t}function tD(t,e,n,r){let i=e,o;const a=t.findIndex(s=>s.variableUnits===i.source.variableUnits);if(a>=0){const s=t[a],l=s.timeSeriesArray,c=l.findIndex(f=>f.source.datasetId===i.source.datasetId&&f.source.variableName===i.source.variableName&&f.source.placeId===i.source.placeId);let u;if(c>=0){const f=l[c];r==="append"&&(i={...i,data:[...i.data,...f.data]}),n==="replace"?u=[i]:n==="add"?(u=l.slice(),u[c]=i):(u=l.slice(),u.splice(c,1))}else n==="replace"?u=[i]:n==="add"?u=[i,...l]:u=l;n==="replace"?o=[{...s,timeSeriesArray:u}]:n==="add"?(o=t.slice(),o[a]={...s,timeSeriesArray:u}):u.length>=0?(o=t.slice(),o[a]={...s,timeSeriesArray:u}):(o=t.slice(),o.splice(a,1))}else n==="replace"?o=[{id:Wl("ts-"),variableUnits:i.source.variableUnits,timeSeriesArray:[i]}]:n==="add"?o=[{id:Wl("ts-"),variableUnits:i.source.variableUnits,timeSeriesArray:[i]},...t]:o=t;return o}function DZ(t,e){const n=[];return t.forEach(r=>{r.timeSeriesArray.forEach(i=>{e.forEach(o=>{i.source.placeId===o&&n.push(i)})})}),n}function c8t(){return{newEntries:[],oldEntries:[]}}let u8t=0;function f8t(t,e){t===void 0&&(t=c8t());const n=t.newEntries;switch(e.type){case Aae:{const r=e.messageType,i=e.messageText;let o=n.length?n[0]:null;return o&&r===o.type&&i===o.text?t:(o={id:++u8t,type:r,text:i},{...t,newEntries:[o,...n]})}case Rae:{const r=n.findIndex(i=>i.id===e.messageId);if(r>=0){const i=n[r],o=[...n];o.splice(r,1);const a=[i,...t.oldEntries];return{...t,newEntries:o,oldEntries:a}}}}return t}function d8t(){return{accessToken:null}}function h8t(t,e){switch(t===void 0&&(t=d8t()),e.type){case gle:return{...t,accessToken:e.accessToken}}return t}function p8t(t,e){return{dataState:l8t(t&&t.dataState,e),controlState:o8t(t&&t.controlState,e,t),messageLogState:f8t(t&&t.messageLogState,e),userAuthState:h8t(t&&t.userAuthState,e)}}Wt.load().then(()=>{const t=(o,a)=>a.type!==vB,e=gbe.createLogger({collapsed:!0,diff:!1,predicate:t}),n=mbe(vbe,e),r=Qee(p8t,n),i=r.dispatch;i(Ese(r.getState().controlState.locale)),i(LHe()),r.getState().controlState.privacyNoticeAccepted&&i(gB()),Rv.render(w.jsx(cxe,{store:r,children:w.jsx(i8t,{})}),document.getElementById("root"))}); diff --git a/xcube/webapi/viewer/data/assets/python-bw-BV0FRHt1.png b/xcube/webapi/viewer/data/assets/python-bw-BV0FRHt1.png deleted file mode 100644 index e860b501d19ea48d47a917c3cad8dda29692fc4f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14231 zcmZv@c|278`#(N*vX-(lMNyHZELoZIiQ2_s> z0MXL|e_6P{wI^RaGE`Rv75DM|1TLr@Zs^_sfy$y74{T_FYla6JcOHR2EN$dJ6kTp_ z?}0#aVwyK^7^AFkDGXm-Zr>qY<7}6T<$HJeM&Ug+?=>3UWKqn!c3Q^rcPHpitdR7d z_Rchp2YyID9c&?WgF>bpjShWBA9_e>pBGXPe5%qzmPr>dWauzt;g+v3L#uOrM|1ROVMT! z${ho{^)l>@B7ZP8V0|h|d)(i8Hv~sJy=w73&Roc=6)h51vDVtexG#$}Uq^>)kB>#P z?%oz_9xhXysh`7^_uCVDj%Db9sAlJ5^uJLBKMUR~EA_XA9-HKCQnw+%$9LOSStt1+ zVmW30JeV_MQ7(Es$!D7=>-mwqev@Tik4=t>H~aO;FAX!;ULR(#rf?oFwRzII5nM`D z>dh9>OSF!9x@KdhM**vs?ffQufk&knmc$4Vxb{G>h8uaU3i@<`V;r}X>RYUMC);$H zT9Qt3W-Y4k5LF1F*%>Moc^^Oz5qPP;&XkCB(a8^iFY~zD-gI1jJVm?Di9clMWli<^ z=B@Pn?Z+SmieJ>UM7vUyEY`pSD`L~#|C61P%2xS#2;4ubqADDIA1wUma2 zK<^s+ywL;Ee5rXT#QL4JYuT*@1@Bk!=g_s;m*z3dPd(FFvaxNj2DRaA6K}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8$(Dn_tVv2K9r_8*!JcF`~fZ0w%Zx%~0g zL%=(r1ZsiE4w=&KdIR|BS3EbRf{T8aWvXE4QWIM+$z|@-^YFcM)`7&G$+hNEG67|I zG8`oMFGDLd7+*Icm*`uWC(;Ed&ewbo;l;C`1j9EY!sg(`a<+>Gm!YT}x2|+tV+(EHy-9*>xjMG4Yb($3y2o32O`njXc3ST9)*>hFXx z&($A}Y&Qkm2Ua+3B#$c{3*RoCR#*48o;&%0fBbBq(iwp0+of`+!<;Hr7?5rR6|Z%sVK0%VGR$kiNzHyy9WP0j#vr zc8Wj=-TT%XW?UkV9a>P(26fv9TW?#tL39vw!O|zlA#-QiD*n=;=eA`43fSnMnfYP; zX>)Tk%G#43_?4!EnigM!_fO03W5}Vb#MIH%JSo55*(KuK7`Py8R>&h#XvWMCQ_x z?^BHd534DGwQ_MaUy&)gww)&%arO;i3~QC@V3Cmh)}6rD>dub>AFXeCc?rCEl)m*i wx1_a+Y0kkb)r;iGwCU4F6z^zU-G+8a25Lw3_J;t!Ob60b)w@}&Z2kEE121w3M*si- diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2 b/xcube/webapi/viewer/data/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2 deleted file mode 100644 index 9d7fb7f8780e829b48b20ace4398ea1729aa055d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9576 zcmV-uC70TFPew8T0RR9103~Pu5&!@I09W(?03`(g0RR9100000000000000000000 z0000QY8#eT95x1E0D=SvSP6qX5ey1}fHd+S3xW^;5`h!}HUcCAgd7AQ1%iABAPj;! z8<21k?2}v)p2xX= z&kZ#F0K{sR9HA4P+M7dRC)9*tMH!yv_U{;@YC@|-DI-!Gv>O9OKu`p0MU5K0gAEvE z%n_wXw1IgHT0jH~qi~8zw(&nESJSMXsOgC<Kk~gY_Ldawi$-KguG~Ffte@Sb6S;OK?g=D%F z;fO?AFdm+dmbEwARo!!UU{g{8hl@d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+1ZK2#niqH-i$6$cGCuG&*M#VT8X)=~DRTq3{Aa z&f{9^iqjG6qhpKOBUo&G?etcq-T2s!R_UbEeKxC1);lj;YKi^Z#jX(){yv7&iCx_q z;em0h>-3b@5Z`U8t0osqP-020)uigOL-%6O0{AjAqDBb#_x-8)hyoPP_wl0%e2$9Q zmdJNfs}0F|>B@98f$!}xynOGLx2d*AWR)n^OYg{T+tXoedwS_+)v4{H34D^5@4fIg SjT2?6sU{iFd1eU30{{SY&x$?( diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-300-normal-UX5PCucy.woff b/xcube/webapi/viewer/data/assets/roboto-cyrillic-300-normal-UX5PCucy.woff deleted file mode 100644 index d8b12c227e67755702b664328bb43238b6894ab1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8428 zcmYkBbx>Tr*T)xkch}++cbDSQ;!@mQ3oIu3z zDgRMj^Nl3{00@o%0Gf_O_64@QrnWQyfcW(0!~ai77(wvrnjG8!021$;t@b8UU}a&Y zg_D`<8w+`}``-G1x7+L)0e}Zj+`|NDyWcAjBf3v6G{6J*LLc6Xm9-eP(>5bw2 z^LupySo%OQdciO-pYQ>7oepNm1plU#50@Xpb#%-qU5YF?x|K5XaT*(Hw^wFn%ce3B zYDK!x+$WB~=)JMe4tkc&q>1nRgJqhF^tP%#(2!)fgluK}&?)y9L4BhxQ*=f1iNrXRl{SY+YWUZbf-ctMU;_qh=@IA~Ss+5J3ovv0Tx8$1Oa7$kw z45}7AoUDXW$3HE+uU*Oq-^J;q6Z4O*)5_{9{mhpl+xtYFjqT&-s^qHlF?kbh6dAhJ zNqkkmxhX(?_lp8q%?;$Ug&=?=LGsk>P}tDVx0pqo`|Y&5K5jGK(W4GIlJCV~g}5|lW)0T0Nsk-uz+RK=nBI=>ND7RtIbZUtc@0a| z6d)0J-3o*wo(Z#ISkn+*)q|$vZ)>C+ep?4{i%huaywt~Er+Nhh)__Jp4Zyx5u+4qD zTt?2Ss0;k!bhUCi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GYb)S>}q=OcW6~B*G|}wP_A&hq<#T!d+TbA$$0A-`uIPR2$(DZ^R}Lr(T-+$2MP} z)C`VMV@X?b(v&I57Z27-LmK2}L-QS@{bOwqD9LXbvPzI(Td1;CR=AfTud`G2oboWA!csH);gFA?thatzU|M=%Q(nQ`>UFQqqANVj1m4oTg+~0B z{@q?R?AkISZ(OZC&-)^NyS^`EdH&i5$6NV9JcELd&;R`T^|}dL$MO@j=?(qr75){5 zqhS_=_r8^*BB8=wh;vxLl+)kA_;h+Dw_f1siVOU#2wjI(ttaX)Ej*N6s9U*8&UY@C zHSh{w`Pi*-l8)WpQkt|;<@f}o@3U+SzxGhbKUORqi)96^aSoy+kjW4MW(NHao+)Hb z(Ods@MSr*$blU;#_(gsQeQJKBp|>`^w%H|typ~}E6KSbo%%lB5e^e{@h^lIZvP$8T z(QDzt@%iP?%bVcf&;5I!JNd54A*|E+~oN(tq8y*7DH0)RfMw`tbo6JzoHx}a(vn%xfySe}Fdo&;! zKmyPKp#6sc|9bhz0Axl0Isgf@W|D;BfdU|sGdndcqVm?E3>OuOf;gKnV~ia&@$Tn! z4+tqP85qKlKJiTJuds+r>%V0bn_k|(JMp|lCv6$IWghVwxurMtf6ypViDo0$Dy#CG zmS|sBoaWU?D;rJMuqjbUaI`VoWjg4n&~LQ>7ctk&Wh8snsl`^-a?NKD;aVxlgLWIDZrX#m0{Np5zxrSQ1rYvhh{K9w006MjBFzH+2iK_pKmY&$ diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-400-normal-DVDTZtmW.woff2 b/xcube/webapi/viewer/data/assets/roboto-cyrillic-400-normal-DVDTZtmW.woff2 deleted file mode 100644 index 47da362999e33cd11a91f4d62dc06d3b18df64f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9628 zcmV;NC1cumPew8T0RR91041CN5&!@I09dd903|s90RR9100000000000000000000 z0000QY8#eT95x1E0D=SvR0)GT5ey1}fo$_c3xW^;5`h!}HUcCAgd7AQ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ets/roboto-cyrillic-500-normal-QpWeYsca.woff deleted file mode 100644 index 4c8f96397b6cbdec34e72db7e1f6acbcdef0eb2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8700 zcmY*<1yEg2%4+kOTlA#KD*>n601|pj@Ps zmDIpkJOJ=1002Ptaz+!gky6tT1pwgCz&f1&I0-ojT1kzW6^u!PWkoO>dN~!$nb;aR zfUz{N+zYk=ZF&F$ZEoZY#^Aq$F{J+(4uENH;|T;~761TN8~{N4h&vsoXklh#`mYbx z`On8|?yQpq7z6-FSil%5n5hshJ_%dcx_E#wWw8AS005FG%z)*@#@+<1N4f^aP{E8Q z;jN%%Yvcj;OLht#NA`~)TcA+wjBL%odHEN|3Ro|IaEKSl!QR;gj2(h8%zt_xwg6KP z5OPl)1cV9}p!Sco5ghivkn*7NetbPWqZKWI;~w2jnN^-a16dxH8d)&PPlT8eEH?KF zBGbBWA2Ip7iD!_<{nj^g%#@0SHEQ%$_W(`@V&ih%!qCE*NT}P zo>@r{6bcd+?CAJEA_A5e*>|mMSYYW-xZ6LR1&6rv4oEw(>+)PDYh=w8jMMp^Ij8Ux z`htkeCOhh#J6W;W%ynOUs7*4;oS- z4wx_E*@l_1AD^6jqC5omy!%@Ea*s$ay2$Y^x~96Awu7tAMjQD_dQk&nO&*EN0t8=XCbgQLm6(7BS=zc%o z7edBNe~!_VPUn@;8C@LVmEaj&u;kSCi_nPtGO%%Th|4tQxz<9EV&3htv(0W(8=zTG92Fl<)BpBvXlphSLy5JR>4xtvm5NbYDf-(Kmb zW6rGlcx$8|n-l$bkDuU=878Amkr=Y(Dg>&gJOmrwG#%xHs*}n`GH@s+5LV`s)RXOnjvtJNnskv@UAtu(Ahw=w{C8=&z&^<$WjS z57id~*Otg8`(nVdPxL|%T?+&fi)gH4m8zU?M8kVkOeL(DMhI^#H&ur}FR=#@$5d`b zhZ!g7GyPDuiuq0JRw{wDIm?X&Hx|$tXg`eL4-$Kj?T7p_uX)l%pCyzbi63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AfoSrIPhn%%mMYyZR zLdLH|eqN{mKmdRbv_SyME(8~h3&ki3oKn6S2N^{!q%g)pLTXbDx3kt#C6!CG=;U&5 zCbsP1%A!e&f?$jfrET+S<*`j3IXziY{7wO>e+X2*^w<8~@XQ_POd_M7ecm0Kjs4HEf`C|$+P=#5c|6X!$yb{Uv;GWW@d4I7$vu+T$tFyS zS>!Trw3&|PhCk%nYsTSxpE%sTeU)&f=VF=k6ZO?Zygiw!oqgFV&hgCod=X8(yT3B+ zIl`pnN35r!nVh>^TuTwFx`m{acOh1=vKr=OyR_6y<)z%L5Lm7>r@W)Gr|8mC$!ygS z#X=C1pZaCeCom(20PvEUDSsM{Xozw;SraB&Qn#2dhO_!F*a*`>QL>INm=%!m18c)N z*mDxyvrUfR&~O3ZF6bVBs60tvwZPc{IJ0&oksm;E`LHPo+z$sSHUBvHUj>XlcIw!P zE{l+W;A_?*MF^R{&{&;uh3C^=$i<)nj2%sC=vZp&tLkM{zCkYrUG{a6JXQ}ZdAtKn z9jAy_H1O?&#chx}9EVRa6@^lB(>njF7-XO4nkv4~-ryr>I}RhA;=_1FRvo-7FXI5K zph}VPel-BMIbKq$`@?rD>hIu|UkVRQ-JeD0(9#7!_UtRQJSTQ_XTbDpu;|&*I$y)% z?&o65YlPx~p|Ts&{M61Cv_@f19)@^c8yqXv8220NJL4+5`@NxEzQ->sJRIup;Ge&5 z`$ao|(H|ITVeqY(4@oBSa_k3_9Cti(n`pFJF&}U?!WP(0duU{8kc}m_#7IE&-BCo! i*~HF9VPsk{A3SY=ea&I$GbF8vw5no8YZu}(I}!~ax{3Y( diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-700-normal-DAIxw5xX.woff b/xcube/webapi/viewer/data/assets/roboto-cyrillic-700-normal-DAIxw5xX.woff deleted file mode 100644 index 91386e661129ae3e80d3a32b1a725fd6ed314b4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8660 zcmY*<1yEc~(Cy;x?(R;21cE0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>Bv(6hMjUUL=va{oNR1C_5aRY0N-DA QFxfD*0RVOyxL<((1Drip5C8xG diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-300-normal-C7AGhuC_.woff b/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-300-normal-C7AGhuC_.woff deleted file mode 100644 index 9209306746ee39dcef6ec2cc725546fb9ec075b3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13548 zcmYkjb95%n^FDmXw(V?eW3#bs+qSjQ#gl?sy6a5M zoSM^Tu5yz>|3Uh{Ez_R3i8U| z*dzb|&ISO$2n{8+kcum-3IPC+|4rriPZAM+gUc&3vV3D)-@5F#7HNh9&?2Laj0-qan26+%PY>Pv?Fo zLYOmn9hJD}yw&eciT8X!O9#-!J^xOkM81VW<0kY6c&sNUC@1M?BZu}}bDQ&Q9fUu4 z-8tEAaOfFrG~52~xH@D{7Vw?|hMO06tGb?F>aLQ44|?RJ-gSRIo%DFtnf${|_NcRo zp2zU4Q@Ybq^@vv(nrE+wt65dKCys|QEKO$vW#vSbN(+MOyvDfyd|rMn-$t>I%RRTh z4|zW0-+5Q5x{cg?czo_=v(~|(zb=2*-m69v?{vOzSe!X%xs7}&HsM5h;@uN8;=2F& zI!2CsvLVSU3MpZFm6T11d|A*?YTKd<;6;3cY-lNN$!ZzOSci6SWwGt7ZmHoTcjGU! zT=Af+n*e`;_Z$^mq!q8*5Ukqr5SpASjiPdbcg>=vhqa&ar4_Rqb9 z&a_UQU5ht53EGG^2y&(6H!amx&lGR(HCq?6-tQFC?3y07zu;O+AW`aTe)zL0Nl4~K z{db0vd&Tnw-zIe{Y0I#oxMfW7l1c8j#>Nbp(@C>zv$dChM7`@;sgeGMk+<}dviF)5 zGKvPog`wrNv{=EP2aaEEjjm8EA%h&NLgd$KLY>p%KI2FqB8pN92}()%_!wn^vRd;Q z%`Qb~**FvAB`ncrlLnLxX;b*e^+~2xrUaR*{c6p1*#ws+SWsO3igJz_4I(eI&G%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400-normal--KougVX-.woff b/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-400-normal--KougVX-.woff deleted file mode 100644 index 0f4a8aa45e0ba6b443ed2e13b50e213268db88cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13468 zcmYj&18^oy8||B9lWc5jH@3}YNXJgyC`TkqC>UPcPnRDi8%u`cc zGgYTuWko~)Ab{_}oC$#c?=0>0&HtzT$Nv8!DkLld0DuU6Ya!p5LhwNVh|0+-erpo| zzz=2s07_smp_x!rQCR>0fcUQ|>widq^Zy~MNXPiCv43;vZ|HfL1a}!)>)U;6q2K)T zyAL(RCS7DxeaCMN@;?psfA|SNF|~3x`PLEv05VwsfPH^Ax|qt$SlL6UX*`R0?~aZcFE9Ef(dj!xgX`fq+H|HXY-1B~3( z;D$gTKtWIevoAP*Kz{%WXc3X)rBTWG`Gw*Tf0Gjvi~mAGZj%)Xqn*Xf`YkpB0zl~g z6Nk*77Op~5BEOsnfu+#^#p%>&%Af5Ak9Cq7CX;ru;SVmUUAq(ot_kCUe$H_`>z@E_ zO6ze@agh4OY0RKZY{(L+0gxS+Xt$qFOE0BcNVc)rr?$62 zPbWOvZ%P%{5gT_8PhHHGT39rfrEi+Ml_;Vej<@v-(|gU=5zmE2Y)Fq>yZi?1x4bW- z#E3`h;#|TIV#XJVKvKl>y!vA6W^Di${3}F#b76C4^I-bgPdjHu>yFCiDsEyIo)YtA zH`3biACIu^Bm4_gqP6S%6`O7X6O+Y}RCl{FO({KmhQk*fK$p)hQOZasm(nTU?DL-) zmMJrv4Jk&Qv_c#hR)aqHR4UYa*8aIz-evr-p3L*jM9!EA%$qg|3L>6S+{- zOp|gfyFcSvrEDf{>em-GkIJ9Z%lNCUPZK#DHAy#FdiaLdIj zsezyAn@>rKeENeeDpui>)C@#rOe&((Qr*Gyw_ctiJ zxRzIzz=gj`CvnD=@GdVN6){$o4@*C=SEm7mSn5U&@nwlP?Qq5{w|st!hq# zluj_a%Cr=d&c<3xD4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oBEB zVY`R9&Jp~9{0Djj)IH~ik{{>H56(XXm>?*6@D+b)>;N+T&Tc=hVspY!_w*Sj0$Xb^ zRR-EtK-=|vaiiw#8LIld-QcTtiM)n?GGQ5qsc|Mp9T-}#P&XxM>**Q{h9&W-B&b>Y zfY`DI?|v^o|E*c)fEWNeKnVc;KL+@3e-0=Bl=ypV4T#&Cb~Km+7ywmB_d+KJ*I5ZC zfRi=2)>@ksa`dE*;V`4UhgEz@O??~0pMFYpg^Yblm4ldTYWeW>%<%;Rqha`kbl7S5 z<+qNuPxFTO6oXuR!AOFfah_PDrLpcl$x%zOYNLKq4r%#ZVvJ*@ zOjt<;?R+9C+^tZ_KZ47}5xG3}fsVsyNS)_YMmP1AZjIMpO5$m*HpG>=T9yjQgUr$; zl=38n=2?**P~i(=BQ`Y#|3diA-S(@4pPRjDy_kZ(AN7BJazMbBIxGdO8UR2^05S{s EKYqF$@c;k- diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-400-normal-DORK9bGA.woff2 b/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-400-normal-DORK9bGA.woff2 deleted file mode 100644 index 22ddee9c93c8a4e9c905d9cddf88622f3c591b93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15344 zcmV*U;u(x2viA!JP`~Ef#@)S&^Zf(S^yG(cmXy7Bm;*q1Rw>1bO#^| zf=L@ueihspH*g+6P=4#a+H8dFaS(i{CW_KcI=JBfuL)|%*gw_*xH(Hi7(u3ru!NeR zr&MbE&ctS>wD8Fsf_=GS2_HP(% zv52zuly_yAhCN5g<>JC0L!je8e&$rT_?BBlM|WD;5gPj>m*@Ypd;Wh`_uADDL`H;C z1SkX;$+7SyjU0?FP7U#M`+FN>fK&;RMiYWHiIt@aWy6 zwi#+u2=iU1DgDkJ(qYWsT&mxeWa)?BS@Y910H4PTkXQk+leUzOg-LOP1-lC{K}s?E z6~I6A?{5E;Q)~XHwgTX`6Dh7>Wq;J!`y|VO_hj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EUY@S)a O=*P}hnT+8U0002VxO@Nr diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-500-normal-G9W8hgzQ.woff2 b/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-500-normal-G9W8hgzQ.woff2 deleted file mode 100644 index 8571683e543add18ef7f56763d3e91d1debeda27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14968 zcmV-;I)}w~Pew8T0RR9106KU85&!@I0E++s06G%@0RR9100000000000000000000 z0000QfleEeLL4>*U;u(x2wVw+JP`~Ef#W!V%RLK&S^yG(cmXy7Bm;*q1Rw>200$rp zf>RswdnIg}M)BZ0fS~;Le3emAKS-+rjYJ3=2S6ltI{5!j37iZOIu~s9yC@MA!V*xN zpg6u`5n!!Y3MM7%r^Mr-K1YLhM-&t->dUWVE!OYqh}VrDmVSZ)nyk6i7OxqeqksQD zYnx3p_I2BB8y(HvWg9k-2d6kfW1r-b#6Q{b|6e`5cF#Fa&YV&atnUnPNJc+`Ls%IY zT}=EW3YTKoj>%yF@aq7i=lsh5MnDecfuhwf@dpL=5+{$^r-xe4C77$oK zi&!+=sKVudCzQ2dWq)$B@67;__h!QK&$ZX`D(e)6B<%k&`@REOIo99L|;9OC|7dZj9b0k^K_RV7zQ61R>#*`L{{O59zU-5%LrF)r?vmIJI~QO%}%0dpV{yfB8c0ODT{7cAau{k_g?@ZpLhGP9h6C|4Y?u-v_Zc6ftzJ&nk0!3X)ltT(1OU(#N>4t`$FG!GJkO zQlkdsw%Z`}8bK)9L8#t?tXl`!vJJB969@zbI0SGU7>FYmK!d0IAkq{euDsgvGLU(K z7!?9!o*v~J3}l|;6%z(zK+k?EDhzOeaNq-q%>{<@NCNue9qylp0Gt)!xMZw2@`v0k zj{4rt$wiC_j{ZP-(EA>ii;BZ{N%|F0{VTUbGe&mRFhLzt>E%&A;$BRF)!QI|v8)#n z5H>s_1?#7cHgN+!FlcIvB{M&TY)i|1gw_whD+EDv9bR{zDZ3z)i{+`a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*@NW>K4w+9pPzJ;y7o_l|zdc8KkkLOGmVMRIbN>38o#hC&7*$~fH zT@;4lAQ4ZVHO^+e2a^?M)ug4=w?^?<~93O!lx55&yZi%DOQikRI8EfVJJp}$IAP~oLi2C0{i`15*bf%D#QS6_ujmv?v@EG^@^qA$td5Ppxy(pydA8n5Z5{NJE}~ zj(OENaxo^ps!^&4GWAtE&L zmbgN2k0QsSkStM#-^k^;cRa^Y%OdP z2h_Y%D1u=P+1BK+f(7g>O!)eC_<@763wRj7_J#=a*c*mJd?}nRMZn%jGROuKRJYz= z4wsEE5H12yltBIh#E_s)m0GjA1QX#5AcXJ!&4j^IHZD0d#Ii3oqfx_GW_?8=2-kzLd-Uqxe%1V&EM!%(4*;*bwyq&JniFTBprbG<0t2tIqCC}+3vJODc139s zKDPaF7@ScM=a~%9xHwP>RPeuXqtjCPplBL(Ky2$`XsIb(5fnI(Qiw`j49!Lgmx`ng z>6nPu#nN;ooRpH{l$h7Uf$NBf|AB~mF*Mv-Dw1ZUW1-8Bsz`}&h^WXj&y$Cu0RRBJ C{StNn diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-500-normal-sraxM_lR.woff b/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-500-normal-sraxM_lR.woff deleted file mode 100644 index 7223257ba5965ab0cfb30c0bc1d426eac2ae122a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13448 zcmYj&bC4&!_w{FNW5>2_+qSJ8+qP|U$F^b?) zH+eBJ01)7(u!IBP|GUdd{Mi3v{ z001R4Owqa_uB<8q0D%AZDBFKXf(rzdSEgtB;W&P5*&i5qPK3@G+ZfvaaN$4p*H0fB z$}RfH=7vr`9K?Sd?Ee4>Kry%WF#F+>0RVD#0Dz;IO}0|AtEQrqEZM7iXbfah}ZwCV`pLc^;R# z<-RrSO^f$_KuY`5#6JfnlOf(gpm5^(0o*ro5<%j1q)|hAGjckUGXC*3-YK}Z*kFgO zwb*R_cjeF+mFaN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$P53-;tT0q2~$^2S5kN0l@xe0scFG0}KFW z_&GWQ^uO=CXCU#TvNkZ;2W>d?#~3g(i3k2mU`+n`o;{+nm^9A4AvScr#az l9asPGcYEO%1p@2i&ujlrI}Ql?)`X>m)c^pf@PXz5{|`oB{SE*C diff --git a/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2 b/xcube/webapi/viewer/data/assets/roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2 deleted file mode 100644 index 639955285d3da100daab6772852ca53c1f55d071..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14684 zcmV-iIitpRPew8T0RR9106AO$5&!@I0Eid>066#n0RR9100000000000000000000 z0000QfleEeLL4>*U;u(x2uKNoJP`~Ef!+*(#C!{bS^yG(cmXy7Bm;*q1Rw>1eg_~7 zf+-tvcqQ!EivrFA5TxvRktl+V0|F#`|HweFaR4ZG)4~6LN}xlAg=q@lcahn0hDtpZ zTPqiu2A=>17pjEMDbH6*bTs*IH5;dbV>xM&Us{9`&-<-?WtKy;9HAjKJoEKBUf$EB zW6wDHe?LN5&4vk8sD7SnV=-lQ|G_G9w3FH)B@4x2ydY$exP&(KN z&m;r1$a8?;fQ9_}xI7wpZnylAa9_#w%c95OQn?g#yYNB@V~?x;;646<~kH!etrF`x>U1D;UUf|dQ>H9c_2)tJ@@ zwD^3WotiKcs!mNwdY(Q6jzE)PyPsn+9YHuy9xK}B!vE%fqP#JQL75^@%;VnoH4o-=rQ!ZV) zvszV+i&mj-{Mfhp16d|gQ9@pRm#_QOn5+dNE_I1z`G(NbiFW^XktYHA11W28P|?xBmTLPSAu0F<}8hKmf5}2jajHoEvu#Uw$9~0ziU=fJBM` ziI)J9Bn2d0I!LBmkRrt(Wy(M*RDjf|0jbjf(xeHbSu;qdZjfGsAaoxV&T5PnGTMEz@hul910k~R(;+%zI&yUhr?Dd769c_*Y4U<#lS)P4Hu2<|y=g_Xe z^3Q%3B@5`Y5$ft(Ma##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sn`= z?3aBGB3Z`@9%Dj18Y%E<>^DLS?Wt5D69Pbj+Nei>rjVh~fE3!)n76Ez-b3=sE6xSGU1xDmKWq&+ zF)9HiB1PH|@%kKpK}rsY+wj4sSs~*x9Jh*O#qU+#*6mUF_)o$_dZGgNoGFJ)gyOr+ z>dBJzeDUmQK^a`dRei@yvYJtv_I{5tD^AhslM`EVr&u=BvE^xNdkgV5^Iw3x3SS6_ zO2{!0M&4~HEHC*{o5av}{azG69>cukS{E_Vv-9OMM+A9QYte2rnGQnWokDDvyF$uC aWLNvI&RPJ1zqH}0;k5t&8bXjc!2bgpF!*-> diff --git a/xcube/webapi/viewer/data/assets/roboto-greek-300-normal-Dgbe-dnN.woff b/xcube/webapi/viewer/data/assets/roboto-greek-300-normal-Dgbe-dnN.woff deleted file mode 100644 index 04a5b7d9fba52a2ba54433f7fe9a1021e12a8e6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6444 zcmYjWbyyT%)Se}GK}v}gq(LO5q`SLQkfoOv>6C5|5TrvC3F(#&L6B}_DPieuL1Mr4 z_kDkScb@m$Iq#f1XXZTj-shQjyfqaR01$v~k2wIse?5a8+W(LF=l%btC?~G~03bOu zCy$0T#y1RiMJ-KTG#3v5nC<|8qoQlU+n}hcF9QJB|Aq?uLkdACmZt7=UNk3!_SMiZ z_b!TXuyVF=MRVb3zYL9aCIy;RxP?2K!{J8z5B>ufcm#LywMBDc06_P(97hYy-V=LIqSd(QePW+|uFR_Hhi zQ*_M0KQP^~@i|-gpz}h}F#z2^V5DH0x>z{dpgB3TKY<<_Km``wa((UYfv(lR9FP9R zp_~D09|S>n4G5$SU{|-XcVnmkKro)cxRecw{*dLp{PR-eDo`JJg`FYO>NPW`bt&^Plz1SDgoavBoL|2f~gZakM@@Hgr;vC4g>ha^rfGg&_F~3jo-(f} zoKU@LEGM^_`|S6a#E#QNYv$O+a_ak0jkt*AoeQQNr@CabJkcKr@$0D?wh6hQdpFC5 zt7jsgsOcJGI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+p0*haIs}y{h}=wBcB$ASB=qIpCs+ZpK~{V3gc9`uT`3rOd67&(%I Gr~m*%Pl@pW diff --git a/xcube/webapi/viewer/data/assets/roboto-greek-400-normal-BRWHCUYo.woff2 b/xcube/webapi/viewer/data/assets/roboto-greek-400-normal-BRWHCUYo.woff2 deleted file mode 100644 index fc71d944a5838fcf1a870298679652ccc81ee878..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7112 zcmV;(8#m;4Pew8T0RR9102{~v5&!@I06B;N02^ii0RR9100000000000000000000 z0000QWE+f195x1E0D)u(R0)GT5ey2?bjKMBfk*%nZ~-;~Bm;vC1Rw>1bO#^|f=L@M zGZowzH*g+6g3|tUQIreHBf1Yg$}X2&D`ZdAf-AXSWeC)F1z|{iAzzd$>UN0ccE2?_kjOAcbV;{}0Vps+ zM%DzQ2VyX)EU-rPh#rE`Jg>ipd46yE2nh%f4vVqGV+16adF-T~*URsMo~190&Lovo zGL3XUmlt4vyc1kB@K>68dkAKw5zt!`?Y~u@Nf5B*L{KuR@f|y^+u_ z^ZJBACr{}`Aq<|b^u~d77()U42LMduEHUow8m#Tb1lK55B81X*L)j&a!ms9RGjW$n zQnEsWU6@t@NtCQf%DQTx+e@xM|Npf)J&cWG!fwjv~}&&wH>w<@$7vJr*&KuC8GCX({$f*A{S{O zDUCR8e)|~CN3{hG6^wmZ1dL_$<2DQo#UzigQ$aYZA>39+xT~JDI&25lDTd#62hOLwU#edVgIsM5};>S_#3chX^|G-=678#UjS%=wU+ zsp1y|Q1eC(CzBF$RQ_@x0JC$1NESzbxv7v?G-^3JQEL45E%? zw>F%Vc5qpX3VI}w2|nuQdR;@WO&%Q|kwVtR z^@Efq*B!581<{1jfE5EY)1NKUTz+=_$^B=fpiyC?s=f@2S{#LfB&dcxdMR@X`L7=k@4w-tPqKGWR_11pho)3O!>^(Jn|< zv8{$)M{gL^bf9I!BmMJ$b&mUh{{SarNYOq>sbW`yh^E8OL+cRtq5qJSvH_CSY^ck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z3&gw3&a5LVD`7CU`WH^qtJj2b=aF9nYnV!Cp6WbW_vg4a z?$;h`T_k<9D!Wtn4EDF8lr1UOlC*jZxl>?$D*b>JhBj7SMl0NRKzsRN5#5!gk1Nj^ z5Qfic++lH+Ekk5Gqy33WnMyun5e(pvh5i+LQO5Rvj{?94kO(LN)C0x4IN<-l&%pFxb}&C!3@i(N1=a$;1w+BE-~ezmI2D`^E(h0vk>D=y5Doz6 z2@WX^Jq|aH*uOOd0mK7H0Xit@{qKqb{MGY801zVp69Dv{H;F@YMFSAan;n?uQF-W4 zhKLD=!(k@OSp7RSd|R0<9l|Qp28JuZ54DODN%aO4n-`HL&wOdfF znEegYmv=cazToIdDUeecbx@T*3DZa;x=)UW;1-vA+xhELg^8UO(7&w=BB F{{gQxxM=_Y diff --git a/xcube/webapi/viewer/data/assets/roboto-greek-500-normal-CVjdsdX9.woff b/xcube/webapi/viewer/data/assets/roboto-greek-500-normal-CVjdsdX9.woff deleted file mode 100644 index 9be83103112e64a8b00e63892f9e48d6723f6548..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6324 zcmYjVbyyVN`yG~L*+m)wY3UZEq`ReaK|s2f7LZ0jr29ilN~3hAq=|1hx}H* z|NQPe=gyon@4a{Coq68pxyMUgULHULQ0++_fcy7M+lAu)l)vo%Hw9Tac>q9@MQL&< zSb~~B?g|>}+9)j=0MG>i0OLZFiqS+tTUQzYz`dv#fxk$?c?VY4=HfwVcPOrkf~mJt zSds<8%mp<@1;xuz*kq8WUbiuG|Epc0IQBn40U{g6x7Gjv0RsS@9soQJP^LKMwzV>| z1OQ?qRLs9M?s6vFY*8XgOGarlC@^3hLMUw!9^NRe4)u(Tf1k7K6@{Urvjr-SWC;~B z_!qQ~nVuocyix0t7NYpmzW^nn<2jijtWetD_n1eG4Wbwj#&&Ub_dw+;7o`#Xje9@< zmfj0E-PLGlngB*s8+$iM832N?^u{Eu9%v7k^C!^SbTV43&Tx7QqYcQScm%8{hXjS9 z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_Ru2F<1QHuP&Q9<2D=6K4BZ3r&slPwH!H^6S8>ErnRJcEQA| zjA8Bw8j{Bs{2^a^MrR~>7(;AV1urJ0*{BZ3&FWk@b@}Nz({+`m&WaA@SUq!#3OKPj z;0^YZ2Y5L@0%x}$j30&MIt-X|6Tpv(DDD*-lPe0oBsytx)+aW`+pI~c2`h^sz5 gS)L$e!Q($eeZzkq9T4(hfX#{x2LLu2v~l470FB;}OaK4? diff --git a/xcube/webapi/viewer/data/assets/roboto-greek-500-normal-CpESfwfG.woff2 b/xcube/webapi/viewer/data/assets/roboto-greek-500-normal-CpESfwfG.woff2 deleted file mode 100644 index 0933dfe8719a8fc30c78d0654139c8c99c62d473..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7016 zcmV-u8<*sFPew8T0RR9102^ok5&!@I064q=02>AX0RR9100000000000000000000 z0000QWE+ci95x1E0D)u(TnU3b5ey2>V8w0=fk*%nZ~-;~Bm;vC1Rw>200$rpf>Rq# zG8JsxC5DXyU}oiBg8x4(a3V73uYqnVENV+9wDD8LZv3|DkSGdR^XqU_oe_1QFETNc z2j@vJu%&*jLY?uvbHBhYiZPez@IjnCe`{1cmeh8Y3b9OS-WnmvED!(g*S|YCC%H49 z3V`TptI@W)LQP*8JlYBctUBw)ptW@N=$VrX5Q8cZ3KvykSyx$M@&mNZ?gTNqzzXIZ zSb@a`L)%`r9AY4$Gei1%VPYYz#O3zqe_&@9p<`v_AZMKow%qNe*C%J-6w;{`zjo zqLn5ir7fVEOUyGOD@q`AszQ>LSI8(<(W2YjxcU^~3}wtRtgeEP=(Y zjmsD8*64@HzX>F!EdORGdW{1an`k#fKs!F|j(|ZUij7TK_4dYf?$>|zkHG+pnQ^KI zKK3QXHY45L^-9kOgX5wDt3tYR!C1!CH9jblLziICZT)fFEfTh}o6=@ods(0SF#%wU zxx)0`#*SrpV^yfw?Owp5Fk=P||K`)bAP$3Oct}6VZ_>0mdU7WTuGcTVcm3}|g|CigimOcVlnpBJ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{#sL7L=~PDm diff --git a/xcube/webapi/viewer/data/assets/roboto-greek-700-normal-CjuTpGfE.woff b/xcube/webapi/viewer/data/assets/roboto-greek-700-normal-CjuTpGfE.woff deleted file mode 100644 index a8ca4fce589d2ec24f849805c8c6324ee88a66e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6300 zcmYjVbyyT%*c}#jVUZL8DUnVo>29REmtK154na!k5~L+WX(^?oQxNG!knUKz;ah*- z_s93nbMDMJbLQUr+?jcw=e|Db^6~&0fQqNt0N%ed%_WNer~G68KNMu;&B=q(Zc$tn1#>_C zh)^ph3s=-LDkxrt!WzB&vt?TgkAK=FisSqTEP%)s;b#K?5DWmoR|kM6b+1#hDebH+ z-~d3ZgYx`0#_jYN%nl`@G}K%GY82=nF+w=)oIHI|S~+TtwEyPWy-u8gaIr%9NJdbe zpZ~ys#mePm;forVG#$mC{{!efI-#?LlQl|fKyj28Er{ZyP^znohbL;SB2gOAKi`8B z0Qa54?WjgW(*(d(&1@YYB>;GXtv4cR{XlcTR4|6ttdrSfeTv&%7;8ut!^3Y)IUpz$ zQ})C6Ix@E{h1kdr%6A+9W=D1AJNG&XebC$xCt|qEWxkHD&dJJYKKebBWSP}e&e7Ov zzD{g3?__jP-2`0bytgtF7905e~u&+gBH zk&Q)9)Sb$cBQQ*y^P-w$c<7`ju2jXv|2D3-tiRrAStt2%_lM=c^9@fv9cHQ|HVulNkouV?6X6w2Fr9Nx(N(#I2ZoDIYXVkMVe6Kr`PjAQc8 z-f|nMx%$;;S3xyJaQkY$fcui{GNaD0_J~HOLYrgGJdF=S0^%hZt(&Rj8^L2*0%~Tx z(Vz5&I2Y;Ik}ms5$E{_JhHs z!V_50Qsf^`my|R85WaW(#e*c*J=|!g(tEBT(g3SGd*cU46Undwo9{3mqrxRgd2<@uG42 zpV0-Fj=}{>C)C1fVX4vi$4`9cJ4B$1E<0T_fJw~i!OBar^#Fh_JpkFtBfT}Wz3h!;s2H#+(!(QupApNYNQ?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CLze52C08)Sopb3}- zZqc5gDWSQcMWB5_YeSm^p@W`+L_j7WH&6m72lNv(0$K)Lp!1?DpJ0UUhC<_^nb0rL8fXjjCv*fl z16_h{VL!)a#}>er!B)pM{_h*I0ulfcKn(!@$AEwJc@O~N0U!XH@0@CU2&B{eNkm(z z7QG|@0XgVKf>P-pv!WF^R9M%|emRARsj82Lc_FiehRznc+&DE><)fq<@hCf7Lm&!W zat@+6X?BDZ9GeZ&SqaOf$Cb;B0YQV%C|{!0Wp}0?OUZ;*cr|?rERfQP4aDIorybaD znf3kgx8=m2-0HvCOc-cvg;H&6DtU7a4gDp>zKiXnT}$nY%gC#6QAeFDs7+12X0eQY z(ULeJPS{U+AUG#&2}1;mTH~Qz>!2#BmP4VqBERvPR1WcT@%VK9tHl9f4~94_I0gW~ JN{u!O{10D>kk9}C diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-300-normal-Cs84CNT2.woff b/xcube/webapi/viewer/data/assets/roboto-latin-300-normal-Cs84CNT2.woff deleted file mode 100644 index 6e7a304f7839daf461935755f93ac8906d86b272..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14956 zcmZv@V|XTC&_4LYwrx9^*iI(4ZQHhOCllK?CeFmRZF}>3-~I3IhpoEqQ(gC|I^A8Z z^Wn6coR}B@2=F6Z)&ThbtTN+||3A!s-v3v`MMT8_03eYcPWwNAxq&5$%gZVKaQOfL zxF7%kd+-5S0V%GeA_M?H9Q^P_008h7l=TUmoDu^w000&Klc)b5oY{a9jBE_-f4GyM zIFkRyfIOimF*9)b;b35YV*VG902DK857QqG69Aw>1pqkqNKAtb%}or90f1k$KXGjT z;X`B2!u*H);eL1k>3@JO2ahqgad!XVe)bF83;=*4zKR&fS=$-?#IXzfaM1rDNh_Gm z#=!k&zns!Pd4&G~h#YWcYhYvY!&(3MTR+F=jVr;4WN+u>{8Ov{C+^z@VEj`pU;yq< z)PDm1;{p9x$p5h(KRwU@G63I?CkoL0X+3@v2oUh2K!B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3#t6Vj#OT1d z!Gy=;#D6dVE^ z8XR^UVH`OeEgUl(M;u?ANSsuhKR7iw9XP`{b2wW#XE;x|z_{?ZShz&ERJcsIoVbFx zlDG=E8n_0y7Pt;SH^a|+4hR$w2S5jC{H)~v?``@23iyBj^2x+a{T>uR4e9+-cb;#a zsM=t)aZ#8_K}8bORz6jfuv!q1kWxg`8>F~l^5)?WD-WL7$acEobR+L0ntnKWi1Qcs zCBCwsbQ{tM^%mW*I{ifF+X-gg3wRSA5=QE3Xl%)5Y2gzpHm1h1Ds8tGo{E}J6rwBr zQ_oJ_y1{rH$$fQ6BI_cjp04iUnwyY2@UYD*rPSOm)J+U^MP)YG25C*4mGSSf*F&qM zvzx}^GIOHU`)q~g9ZqSsc|OMTv}TB1wTBx`ry|)G diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-300-normal-ThHrQhYb.woff2 b/xcube/webapi/viewer/data/assets/roboto-latin-300-normal-ThHrQhYb.woff2 deleted file mode 100644 index 60681387e7bf93c19f6b2fcfac98037032e63531..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15740 zcmV-?J%hq`Pew8T0RR9106lyF5&!@I0FG<`06iA~0RR9100000000000000000000 z0000QWE+`e9EDy6U;u+42v`Y&JP`~Ef!uh3#B&RT3IGy<5CJv1dyc=*|(f1Id6p3>zl^_Olg627-+Pfa1Fq{QoI|lOaO4g;w(t zk+C~U>#x13mYwoEJpH%ftT{t8xBC?p zBh7(AOAQrAh|)PCw^4)98*F5al9Fl#97B+7!A7xZBZ4cPRZsVzh9$N|_F4<%LkhAF zBGm=q*T>mwF{WPx8uIx~`B{;q;P)-(;*dz*tFsTi;L)>3Z8NlGAZsM*y|;Va&F&@qf#_1a66OCQST=%^6hRTN?9`*I zt#B2tR<{aCNLwAN%pe|Z_tHp_ar$_#KYZ2lq^{u<6NO@`BRbBdWB%V-##ZHhh1WVz zBx)PuW3jD5*6&`UinK^bh?W1K3JgC09sq`$3_TDdULbMeKvJZDq)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=&Go;+@049sq7pKRz zw^Fxy7K0`9JNkX&mWciylrZtptX%OrYrs}wZlQitmQZAVxsqP_QWymOBZ%R!v+~N7EGccn7a5=GJIm>f9okLd&>w|#k=C}P z*6z-3^_yIP!_9e&ZI%g%aDfT5L52_XV52O?4i{*H3?JyhMp<+?#+5aH z-4Qx(w?RWgKY#V}TCd5SpP$(@LHrZ>AfQ?yF?dK2fOCKW_IxN1;D7`U>LcLM z0Jjq&!D}ZBzt~6N?MD&Vi6krCpdc^3FF!}q3{ZrN6Ddf5K+!NXs8Jsjh6zdtCL{XI zgz=|h&N(2D+N;wj))3hdMT(_-0u}Zs{7^*WIEJN4E3yG%kof}6DpHi7G|UH7R<82?a^NCict07n+Y-$}##nkeL1GGoAqH3v#hcsQ*F zZgQvuBdGXk&+;mkE=`k;!b9=Kzp92R{z?aph;i1*<-qk8;+;3&6zl*iV`+n63; zu6zw(^Ye2kvA}QBTFYh$Ls4wosV$nFEW%I5u+JXw5^s1(LbWZLZR1hALhp*VFOEh^ uFGj>@j0+sOK2AAecuC2JB9692v%S4S@20n(oR!z9Vhjc0dR`ui0ssICu!rve diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-400-normal-BU1SoK4h.woff b/xcube/webapi/viewer/data/assets/roboto-latin-400-normal-BU1SoK4h.woff deleted file mode 100644 index 297c0ba82558fa5de7b9300da57c61b9d349a136..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14384 zcmYkj18`X??;R3G@w!F&S%_dh@ZP)x1dOuji!0Dyew+fIDaq$v(FV|^n4fKl&T z!}=fIEoR-#zR7Rydrbi0H%MSwA@a?v9bLb<=5ISf006L`aNycbR`X%=?mI7V6fTV_`sJf~_g9sjR86FSf6= zcfyb*m{^jv5F#)XIK4$gL4s8PxUPoJf`)6$qXz8wxNcQgQ&aR267P%JbETr`~BRNS1Kf!wCj9_O^T!p2!cxVqo5$*p_5uwJliSDKG$9GU@2bjdZ;A-Yj8i~f&9qOy$CGsA`k-F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py2rksm&tPASO zimWOc^~RhOS?3_AvZTRIHuz{L&#Zy{12fA4Or(M4I~>moLR7dna|TWJw5qJcwCSpn zi;pEYqLi+AC55ywG#V|I3)k?uQ+_MQKRVEXc~&Ea42T-HCD>mQtw~jdwF$P$w9N@E v_R(}5j@PsG*s=8w_gnMm6!5H%zg_>&E}H@b{``TVgwX&1puz{71Ni>{8fMs= diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-500-normal-Dxdx3aXO.woff2 b/xcube/webapi/viewer/data/assets/roboto-latin-500-normal-Dxdx3aXO.woff2 deleted file mode 100644 index 29342a8de253983b7b1a8c94efc6bb5c4f72a5c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15920 zcmV-0KF`5-Pew8T0RR9106s7P5&!@I0FP7v06oh90RR9100000000000000000000 z0000QWE+|u9EDy6U;u+42wVw+JP`~Ef!+jx#t{pI3IGy<5CJv200$rp zf>RqIfF)zx4G+!(0I7U=wAq0cHjV&0;BzAb!NvigcwapD|8L0+5e54J8q*%CY`74` zO3z?$ylu>c!Z!N2v1s_5!WvcAa74x&3Q~mh{z03%;+5I|Lx)Vx%K`E+EFDDJp@LM$efh8kujnI-Aons*`a0FQDmCT0&p+>P?0l#U)zOkx zTXcq)P3heuoz{+I8D@5+`2M*9q@u*#l?(wi9k5^;De0u7XdbX=2t58R4RGz(S_{k#I5oP#9G18a%+;?A3DK@$SJ{hVeKCxw}VE zF{*T(iPGu9C93o-S7?Q*I#=`)kpsrAF>Ea#;pl<6K(g^@Ont4GnQTtG`d_AM``>|p zL}1R)u5)g>JtzUTrdR8x13wO0@a~{+5H&J`5=e&-xmd!+?I{72LrR_O%2wyrt|~XB z)s!x}!aRI`uW8PNq5*sOg`-mHO)Fc0-hA59crCl8O)~)sE`A|gh-@}}nN*c;f>I|W z4k`b~EfQDRRH6;GvOy94|204Dd-F1(Vp77{<+v{#_4t1(Y#r*EJCn@Jdy}6@J`isH z5=}~hGA@v-1Iqjb097W>AiJ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U|Rl=*H~QzVep@k z5)7b6y?bhyXNJ`05ukRkQ$2&N@UFWG+>xp`bi9KtONomM|Y8%@iFbOUH#WN5v zKr8?aAPWHhUvvZfx32C7;0F@`0s!K+CKKZi(Wi$J++D6n!ViG>VWAxMBbfw=3MAj6 z%D8#8_#T2sMs7CH`8tzh>S43ro?d=mG+eL^9;esNA405O#DW_()eI4v?zmMjGj_N9 zwq}>i(`VvmxEu2Rt^@g?0e@_lQ5{K=mKTmS^$$8Hkw0Fe2ANGrjk|FpjB=CI+N6Z0 z9Lc8jH7vR6>K^<&O*|JMuL2jmLZZ?P_~Cb(vP+BJlm=0>opB4ih@}!GsT2@}% v#_%AoO3msG22%lWT$Awa(pLz%@T^Mz#bFab;FmfqC9E0%K!p!73;6#4Aw1~{ diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-700-normal-CeM5gOv8.woff2 b/xcube/webapi/viewer/data/assets/roboto-latin-700-normal-CeM5gOv8.woff2 deleted file mode 100644 index 771fbeccc691aab1962e33dbdf2be7c659d84c27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15860 zcmV1eg_~7 zf+-saenkiJu9M!b9*Gb(4ggBn<&lA4;{YH!mj(Zy4mcS*x4|{5=nxvak|Bz0A8O_$ zQ&_fBL~Xao0a93KsO!4rCi0C~ro8*K?ie+Tm(^d4n2jI0o3+q}#|{g@h5oldxE14y zILL_vp+{-nrLAXxJ2|2eCl677_5I1n$cr)i!8P-RRnNDu7O@m}kSm60Zui@WlEIM3 z4YUykW5fWVw-GglBYTVyCD9|KN>D147-B1L#MBGIv;r)%r> zTl<`Qmp_nXGQ0bUvU>oavCPhvjjZ0f$|_gO!uJ2BzTdr5x}?!)R4mz+Y`xMar8$2) zTR@fukY5l?_^*5`@4U|8DF~*)0nDD#Q-9mL`8h@w1_%KL_Eeawbbz1_Ej?HeI!1I_ zz5jJu1Y6@j@$hCm{r#&A{6N;|t>qlsnW=jhwLJ>wWK97bq zrGH;rhSObrRzV|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1}sF5E`A?BW_59-Cpc1I+cl-0-& zT1P@7g^`}ff08pIBT*E^7!(x0ZiXT?XU5(F$rU3%=-xyMBM&40Z9RRP@@R*mRe8~) K;xZEf00030kB~Y5 diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-ext-300-normal-CaUuWeqj.woff b/xcube/webapi/viewer/data/assets/roboto-latin-ext-300-normal-CaUuWeqj.woff deleted file mode 100644 index 7c4c1d6244ffb04e55d3403a369c1dd0d772bd55..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10360 zcmYki1yEei6D_>ByF;)L972HL?m+@U7k77e3GS|8fyLc5=;H1KcXxOH`2FAas@~K+ zHFZw))J)CozB6^Z-4rAx0Z@RCM&}Md|F0Kb`QZOk{$u}dlM^deT=96KoYgbdAgZ_(}xE4-&oZD0TF;>X6<46p$!56q&ffq^Tnq56T7*I zfiVC;MfYLD`5#_1rY+1r#1BpXgOh*Y3vvm3u(^%1`-k@XV|{oZYr5d&)Y`MQGy1Tj zPWza1;R8?5;CmDs1NV=4X+Hp<_zy5lFxs{THYOih+y|ffu=6HC zIRDwb+W?H+m*Bdf;C~C_!gYFpf6r<_%TS0A9LkMkxfqyYyr% z=j0%v_z}TcehhYBs+fW)|AK@oJf-}=xrH_#mf1jL*T&h;x!qv1+-S4BX4iXND48td z$?wFs@8U*;{e5{z_eu<%Z%@57gV${dwl#z2^v3CwZF7ex@#Hhl{f$MUvrPRl9Fh{; zswS(VFbpFK z{DBJdV0ZbStgx7Yjl~CA>_&hsg_|XFR^!CJ!I0Gc$vsl)w+8>Mi3jSpaG@>ou&NSf z-H7$AV?$q@rhes1zm;-Xw>Bb3KSfK#`&P(d8d%NjMGp1>H4|SG$6xLi$ah=p@u2Q zDC-el-8{Z8Mcwkx?zo#jiq45rYU?ydrBfhiWsB48?~KlwYpmDmzAuLRq!`&<*Z}_~ zeU;}bXzi}@-sivw{IrtVan)eweayH1+!gD49SV8b)_XsmvFpsH?2(KjPUP-P#9l6f zt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%6|DUW@;L}C}PnK3m zvna2Lh0E{z*O+ba1o3P8W@#*awp=26T_<<#f41hUmyNg5tt9Zsfp-K3ZVxIkHc8FQ zFy2b8e_{T)7SSDy)P0xKm1(ZacQz}wYQ;&jtaqF>KVzGmbSY>bk<*#iSjc$n;xUDt z&t1GjYU$vVL^f@~A9Z^zwrWJ&p6ZsP4n6^q_UA{n3rl*XYBr)6S!?yD)!wAK*%9Xv zhu`RQZ~wDjE!i%dS;L?*u}`0^#Fy1^Ncbb3f914DIY0mlRNvj7TxW`se>g;S^C{VG z9rghIA=QrUA8DOy%G9uCWEaaX4MB6q8x z^Ees;=8?-(@q6o=@F;rl_ma-}TITjHd#g*TdOtf;_5S9-x7#4q8uf;j37kw)`sJp zv1tUOTq$fDfn^L z5Wzv`;o|(*e|o7(esC&<{?>VrYGVT;92M_CAb#A9IEps zek~w5)b&iz&AC6cddk$0t6pH@85zB*n=a?I8eOVev*rek?$ym&^YM+2*Das$Jdbk7 zyE|v4740{BIOzVF->>lC5)6you6t1Gh(F(@eN=smgKP=~F$?!%(Tn3N3MXN4h~rF& z++b1l;?@Y4V_{HW_XeuOp&^TE6eIo2p}Gl<{|1NONxT3hwE?~2PjCU}l1~Ves1H9H zNL`K0*~z&86S@JL5jf(&N7jGsP6FQEUniRmrv0ed003S9u>gF41_17V4Desw9W(&i z5daT>a$oux(~R6Lj4Kh#xTLNnZ(_EBEW(I|CBme_1eZz}9ETK+a_1Wj-c0p~qzoD% z9d9EocE}OW(MGu2_$!>)zWo_3D@L~2oo4_~)B6(;@157SdUpUfXEY9EhdmZtogZ~ zJeCY5B+6kv?7D8LS)&%0J(sFI?t&Y0gx198l?lnemXfQ_`?GV=ios9-J-eFqP2-ep fiywm|2j>5L*+}0M5csZvN{^}z05Fh4O#%Kt69^St diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-ext-300-normal-DEsNdRC-.woff2 b/xcube/webapi/viewer/data/assets/roboto-latin-ext-300-normal-DEsNdRC-.woff2 deleted file mode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NE4UG^@6D<>M0c{)o1G+nUBl<1|A%+x& zCq_B+ciI@nJtjJ)D5f=L2xb*#E9M~P4CWf<0p<+dH8XOKB5gd6OO&n7k z2OKY)P@DvuY@AY@I-D+?QJe*wZJaZlCtM_4AT9+i6D}XF6s{_+KCU&cD{cU8G;TWX zcic+c7Tf{cY1}p31Kb-R3=jiI1bh!<2MPn_fa*YFpdHW?7y?WHW&ulpwZKl`2=EVZ z3wR2Az(c^p#v{d}$K%Em$5X=7!HdOf$NP;phqr-ugm(vm17U$kKy)B3kSIt2qy;hq zeF1rc!a>QPJkU>2Bd8ZN0a^zA1zmz(@lo;d@!#RI;tS%-;H%-A;yd7b;fLWT;pal1 z{J&iE3`hXr12mx3IRDW96+{3GIL9!dN1^W{wzR4P2(8$7<2#dQT%{qN8;$e_YywRK z)L$|fq1^8^FJzx##ky6m@4;!5ePeBR6RW1=HIqO?!46TUNzZ;VL|^IlzQoDMHkOWs z-Zs)t((OYqO*mN6=e>hv{F}eQSV@ULiz<$-YI%4jJj>qwjY%+zc1UIz05CHc-xB6xat=Iei$o~SPs>7iG diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-ext-500-normal-B9pAx_JH.woff b/xcube/webapi/viewer/data/assets/roboto-latin-ext-500-normal-B9pAx_JH.woff deleted file mode 100644 index 04f853a235f7f12e633baf5b49a954c7a2ae4e54..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10184 zcmYj%1yCGK*Y)BKAtWp$Sc1E|yL)hVcXyZI5L_0Qpuyc2_u#g;23XwX<9Vz8s=uqw zblp?;R`=Yw-7__(JrpG*05E{}MmY??{I3^mdAI+^{Ad0DO;Su;0sw#!d*|5SAp~m( ziz2C{sQS+N0sydr000s?S3iD=q^g<-007tV?i2iuKYBO(7mBKkEC2w!(7Ubt4nwy@ zk!cemv;`~zgYDD0U3Z}Ve4i7&J6EWM}ryz54-{-~9r=4)LHnI=HyL=c?hI z!}-te%?@Ddxq{FOgBU3E38BX;H*j7H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o|>?WL}pq*O1P^r#yP*;;(*I{VCj3= zSgx5n{X>fBsnFpV3Y95HjuF3kFxSYXg|+ zZyp@)mKeoihJ_gHS8Al8Q9=W4l?)J-qqmBAPsseQI5Jy)ke@0h{##|m3U zga9xAAb@&O69%B~hIzPV+IJ9$)nfmbY9eSt8u$_L`9^rVF&rxf6xM{Z3HA{<>P3rX zqwUff@(NZMwE3`E7Rv1@zQf6Oe6QV+^w?!d+eYnID5VidAH&3`I2smv<6zMPvNhoQ znM;hSlBm+zXZuK2RSM$+$(Bc~m0_>%NH%56bp}DVt1f?zk|BWGIMi~AV1qHLBSfkO zVYL*PUrA6bVQ&YpcOmS38MNXlvjsSoiL$1l;#`XD00}BZhSx#U7wLL8t~LzGr%AWx z#Hd{!Gb@wBem4` zMiA%`$QW|HO$a0p@&ws~M7{C{sn*p1kSWL&$m^%;dSP<9c~(p}m>OR0z4rQg`v%P1xgIX{IY!Z9%IE?h#u-Gj0X zGtw0!Nh32&L||}9BokJ1>72chpd7piph3NT5^Q3DCdKCrO2(LBnaprAzX|#fyE2^= zh!_qyt7t$dDVZ7WSw0d2l1U>vkwEO#jwC6`R@fLqhk^r6F!8_%{it~yaIS7D{U?sHVQ-Ezs7U2!&1`?NCL}VUDBP_g#)Lc|v zLTC|Xzs?FOl8b2Ks%r9L>kMHfEP??$5?4@I$o~G4yX$loQ-eZv#TVh+u3`P3OE-abVu?e;dszqm(0U3m8G5JrXljRpyq&^X- eiu9L5SRK2?c9pHmprN8l#(*KZaBZL=HUI!Xf0hRT diff --git a/xcube/webapi/viewer/data/assets/roboto-latin-ext-700-normal-DwUXTeTv.woff b/xcube/webapi/viewer/data/assets/roboto-latin-ext-700-normal-DwUXTeTv.woff deleted file mode 100644 index 29ec516bbecb0fa3e4392508841d3a4b556b0965..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10168 zcmYj%V{oR=6YZO1V{MX+ZEIuO*2cDN+s4LkY}>YN+sVex&F_EjhdcG0n(9;CG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$oPOH#Hw9VQiSXi1`Ez}B_MKiyjRbf8RTC*P%Si}|YWoska1#Qv| SIH&J9Vr~U^zi5Nh0001)vX7Gh diff --git a/xcube/webapi/viewer/data/assets/roboto-vietnamese-300-normal-DOxDZ6bW.woff b/xcube/webapi/viewer/data/assets/roboto-vietnamese-300-normal-DOxDZ6bW.woff deleted file mode 100644 index 3cb04e5ed5d5f48e2ba8c1f50f8044c395e853a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4768 zcmYjVcQ{8h#%XaFib&IgDd?hNTD{-5%|{(n+aR#622G-Z^= zgMuiq2l%Mz=^CK4wp_b`af1JV1CTkoyhD{^qyPYZ4FHhkp3@V`JK2Nn z0DxE>W%FMfw`M<`olqi53r1;-D6rv`VUanxdi$fad=%eCwa=+aETHA$Zi})b`H1Q> zJ_?k%TbY)wV1HD*qz`>&dH{M0#!EM_t366${aBQL_Sndi}70safA<2@~D z`ar~LAmqkRym-FhhgpN`tZ1GJ=tD$~LLumfZ(+5$hsB|n%m}&O5i|Q)>KKD$MZMpTBu}y3=lrpp(X4Yvm(lT;or@n=oYzcN z@e*sh{zi@p&q6;6_k+l^g!@EAMui8Y@gK?jwaBOqiLfzcaSRhX`NgifU{j?Z$Ke1< zOy4$qmFC5t#YgQF!<3B8o z{{~=j0eiavEGP>A!1*snW%u_FPyP$GHV#9M(_kBW8=IWI*Q1@CoW!3q1cZx(gaicv zA#zSZ!6PR8rkk5q5s;uT*H;JItAWmhe%Tn@(g+V(^|-!hAB<3R5@8IW1B}OndLP}O z5Rtq*xyt0tznB2Fg4;>3BO9gIYfOt!RWU`MB#cL$!L&+nOpyr^q30RggqihDmpuZo z1u;iGJ;N$}jjX3~$U9lTg#9IW;r;NPy=?Z?#0B^s8K`F<6oM6s1E}=SqrMiDzvw7m z&{19x`!56;V;WkFQ09ot?vPk1=E8B-e-?p@}Qsf^T zR8}NByA^p<{zfKB`yg@tW^b=qnS~yg6z}=&2YI`staVnjFw<{X6*ho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WEvSF-y!n!sMGa50G6%;dNJp)HZ|6*K>1rq!h17%_foQvX{|(Lg*v377$x z|E(_I;d}-iK=%Z&05tyv?YL&VZd6narvZlT$%mRzKOwLReoL^AT!9)je>4XI_8=nG=;F8K`} ode0?d>~hvH>DB_{Ruv=pZ~jrSI}mzrM!-d23IN=UXp_MI0VK25SpWb4 diff --git a/xcube/webapi/viewer/data/assets/roboto-vietnamese-400-normal-BkEBOAV9.woff b/xcube/webapi/viewer/data/assets/roboto-vietnamese-400-normal-BkEBOAV9.woff deleted file mode 100644 index e65d4a9db3500d33d38882b6a8da06719fb85aca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4752 zcmYjVbyyVL+n%LC5TukwT*{S_?v{8ZmhN1-Szze}K}rQAmy&J}qy+^Ok&+gX5~U=T zZWh>Y@%PVnuDQ>d`##UibNZTR5IRqu03ZODsFQ))Hzlh9j{j3`*#A#zDymNa0HlJ` zAUKEsXuw}hS4SVGdE>wZ0QhD!dDloaeM2Pxz(e6|#BPvE@r*!6U*IuL8^duO9BlmQ zKO5P5*y5hUXUB0z93s?elpZ+Q!f&)V94G$=5`f0ZJqTBip9TQ8@&JIwZsQZG)!D%o z1^|>IIGcYyE?p;ropB;gbH{0HIDpC8i5@z8_yyv$mpFca^UtF%!#nBjWskF?iomt` z77p~;^6BqAYy)wA@7&n2-vF;2pVZUV!vUw&;P^1k&X3VhlFHi)?uQ$zP@G0{V~6zs zV1ctNgCHW@a|HF4AaF8C#F#P0KN>`%O6;yGN-o6bV{smP@|^ho49E@$oJ}9?Y0rQH zF@HkBFbJ`-nU-PG7LRF>d{v3~m^{T|iQ$0adNUvMUAXKJt?u}=?)&$Lnf%kpxvXN$ z@uI(9pWM}{mt?pu(snVinAo4TX_}4zmLkQZ^Ac~s%h&mCuz1WnPhlmAf)rfbfMHfKGmZ7R|HkQ(ntSeYI(zHm(EXy`=y&F!)H9_>{dzQ zOIv}4PKwe|FCTxEpn3YZS48;R<35>N1hUKK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HVyEIl&4cCiINC%W6z zch1%4*LQy3D)>^j=xOXj2ECF>_=s%lyvB%-Zc0gis;)zk`b#$l>lMzwZRN(zw&?|2 z)e~t+@LKKoiW>gOG+K%Sm5L>{ovD7^B8e{_))I-W&QOm7P20N6F4zq;vJjr&+CmFA zy^LNFt%`?G&Qg~*FM~-FzN`0p*4r(`%A*5U>SE4X!}vpmV{kj-U#t#9VNJ<-$xQ&@ JAsc8M_&=dRyQ%;H diff --git a/xcube/webapi/viewer/data/assets/roboto-vietnamese-400-normal-kCRe3VZk.woff2 b/xcube/webapi/viewer/data/assets/roboto-vietnamese-400-normal-kCRe3VZk.woff2 deleted file mode 100644 index 6284d2e3bc4f41a8b1dc580c489b85cd2f23e489..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5560 zcmV;p6-VlKPew8T0RR9102R0Z5&!@I05#+Q02NpO0RR9100000000000000000000 z0000QG#iFm95x1E0D%AqR0)GT5ey2=M83C=zk= z=FT9oXFRlV-!M%QLW-d5Ng9qvNHPo0quuxCW|GVr^A<$++5gV&1XiGm#%`(nz;Cnn z`2|>rStm0SBVv(=nXq=ZVaL`+ow8(WS#d_LN|)s_@js_3%WEiWt7|)foeE&4T{;7p zD{d)x|7Rdv1WXX!`_8`G`>7PLfCM<2uB8+Jj%lnkyDepQ|8u(HkVx)2_&IbAk50;5 z|1+0D7~GCiudaB(G1cVYfP*d}TMqK;Yaz8vzfRePOk;-e*;2=ClCf7#b(Ux%M^EA% z%EM+V z($=lZB0VLNC0ik|KLkI4QzBbICxt)>r=CAdEhi;_vm?wr(YSTpVAz+MjqRQd%!x(R zncH4pPhgXz?OTJxiV+|K5AewN>`4(6F&v+60SX>Tlp&FVNvfNdW8I6J3*geM_#lyD#RojY1uuSZ-UzLQt77*o8|$U7`E<)M z-pGr(SC4IH>+$hn&Qy0Dues{Pgb+X(_KQ(% zDV*N>wZW0e7LR#Z#k{TQ?W05`-vTBQ6f=++288452JUj)HP$>{HNk^ysM5J%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PW{LEXk7QDvbpIh;WmQ0RICUn83{d diff --git a/xcube/webapi/viewer/data/assets/roboto-vietnamese-500-normal-CcijQRVW.woff2 b/xcube/webapi/viewer/data/assets/roboto-vietnamese-500-normal-CcijQRVW.woff2 deleted file mode 100644 index 6b0b4afef95479fff34683895510f679a5ebd45a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5604 zcmV3CmxKT719J?g1=`;t*omE%DVl-mx!FcDRLO)EiWF%n+<2k; z{z!elnfh#A=$8#;!oA;6mu@pLR*NAVtg+#ALiW^f_ySP*^v)3)`y^K*nwsVo&Xm+~ zQXtm}w{@t54sii7Pz1cVK=4512TJ*thqv4N+ieFDwlzzlR>%WV4EEd^apPH1)UnWjm&>+$*LSaQ!hypx2nQCG zLhtfhOk#69N}~|A+V6@oo&h)=sa=$6+}x!>ZvQJIv~sZo+&sCcwbt$t^Z{`^3im?U zGzV5L7lcE?JmoT2GI(_I)OJU03Sp2nPVKu#I*j4}be8S^GaAA1$oHNPDqaW|ooxlN zOP8jRzIHA0*giz>5qU$T-9tM7gdIV7ZC;utU75B_nj){mF7m#G&0oIiJ(RT-N~x^K zRL1-MvkcA~-9uXWIyi_X*x~g?(J*1ckSeMpaTbHLGXMu=2)=BaC|-QY%QkzXn`Wr*+Hdm{ zHA3A`0ksP*@{k~PC2Od$rkZQ1wYE~E$&iIq%X=EDIQ0SXdb?br?u4G(P14&4$%